1 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
4 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6 (atomic_compare_and_exchange_val_acq): Use register asms to assign
7 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
8 Cast return to __typeof (oldval).
10 2015-08-08 Mike Frysinger <vapier@gentoo.org>
12 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
14 and delete sys/syscall.h include.
16 2015-08-07 Joseph Myers <joseph@codesourcery.com>
19 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20 (tan): Force underflow exception for arguments with small absolute
22 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23 (__kernel_tanf): Force underflow exception for arguments with
25 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26 (__kernel_tanl): Force underflow exception for arguments with
28 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
29 (__kernel_tanl): Force underflow exception for arguments with
31 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32 (__kernel_tanl): Force underflow exception for arguments with
34 * math/auto-libm-test-in: Add more tests of tan.
35 * math/auto-libm-test-out: Regenerated.
37 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39 Fix sysdeps/i386/fpu/s_scalbn.S build
41 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
43 2015-08-07 Mike Frysinger <vapier@gentoo.org>
45 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
47 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
49 Fix gcrt0.o compilation
51 When static-start-installed-name is different from
52 start-installed-name, we must not use the shared objects.
55 (extra-objs): Add gmon-start.o when building shared library and
56 $(static-start-installed-name) is different from
57 $(start-installed-name).
58 $(objpfx)g$(static-start-installed-name): When building shared
59 library and $(static-start-installed-name) is different from
60 $(static-start-installed-name), revert to non-shared rule,
61 i.e. using $(objpfx)% and gmon-start.o.
63 2015-08-06 Joseph Myers <joseph@codesourcery.com>
66 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
67 (__ieee754_sinh): Force underflow exception for arguments with
69 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
70 (__ieee754_sinhf): Force underflow exception for arguments with
72 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
73 (__ieee754_sinhl): Force underflow exception for arguments with
75 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
76 (__ieee754_sinhl): Force underflow exception for arguments with
78 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
79 (__ieee754_sinhl): Force underflow exception for arguments with
81 * math/auto-libm-test-in: Add more tests of sinh.
82 * math/auto-libm-test-out: Regenerated.
83 * sysdeps/i386/fpu/libm-test-ulps: Update.
85 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
87 * libio/oldfileops.c: Include unistd.h.
89 2015-08-06 Mike Frysinger <vapier@gentoo.org>
91 * stdlib/isomac.c: Include ctype.h.
93 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
95 * dirent/tst-seekdir.c (main): Converted to ...
97 (TEST_FUNCTION): New macro.
98 Include test-skeleton.c.
99 * elf/tst-dlmodcount.c (main): Converted to ...
101 (TEST_FUNCTION): New macro.
102 Include test-skeleton.c.
103 * elf/tst-order-main.c (main): Converted to ...
105 (TEST_FUNCTION): New macro.
106 Include test-skeleton.c.
107 * elf/tst-pie2.c (main): Converted to ...
109 (TEST_FUNCTION): New macro.
110 Include test-skeleton.c.
111 * inet/tst-ether_aton.c (main): Converted to ...
113 (TEST_FUNCTION): New macro.
114 Include test-skeleton.c.
115 * misc/tst-mntent.c (main): Converted to ...
117 (TEST_FUNCTION): New macro.
118 Include test-skeleton.c.
119 * misc/tst-tsearch.c (main): Converted to ...
121 (TEST_FUNCTION): New macro.
122 Include test-skeleton.c.
123 * posix/tst-regexloc.c (main): Converted to ...
125 (TEST_FUNCTION): New macro.
126 Include test-skeleton.c.
127 * resolv/tst-aton.c (main): Converted to ...
129 (TEST_FUNCTION): New macro.
130 Include test-skeleton.c.
131 * stdio-common/test-fwrite.c (main): Converted to ...
133 (TEST_FUNCTION): New macro.
134 Include test-skeleton.c.
135 * stdio-common/tst-ferror.c (main): Converted to ...
137 (TEST_FUNCTION): New macro.
138 Include test-skeleton.c.
139 * stdio-common/tst-printf.c (main): Converted to ...
141 (TEST_FUNCTION): New macro.
142 Include test-skeleton.c.
143 * stdio-common/tst-printfsz.c (main): Converted to ...
145 (TEST_FUNCTION): New macro.
146 Include test-skeleton.c.
147 * stdlib/tst-strtod.c (main): Converted to ...
149 (TEST_FUNCTION): New macro.
150 Include test-skeleton.c.
151 * string/tst-strlen.c (main): Converted to ...
153 (TEST_FUNCTION): New macro.
154 Include test-skeleton.c.
155 * string/tst-svc.c (main): Converted to ...
157 (TEST_FUNCTION): New macro.
158 Include test-skeleton.c.
159 * time/tst-strptime.c (main): Converted to ...
161 (TEST_FUNCTION): New macro.
162 Include test-skeleton.c.
163 * timezone/tst-timezone.c (main): Converted to ...
165 (TEST_FUNCTION): New macro.
166 Include test-skeleton.c.
168 2015-08-05 Zack Weinberg <zackw@panix.com>
170 * misc/regexp.h: Update comments.
172 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
175 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
178 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
181 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
182 when calling __errno_location.
183 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
184 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
186 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
190 (__lll_timedwait_tid): Align stack to 16 bytes when calling
193 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
196 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
197 (__start_context): Don't use pop to restore %rdi so that stack
198 is aligned to 16 bytes when calling __setcontext.
200 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
202 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
204 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
206 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
208 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
209 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
210 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
212 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
214 * string/memccpy.c (memccpy):
215 Improve performance by using memchr/memcpy/__mempcpy.
217 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
219 * string/strncpy.c (strncpy):
220 Improve performance by using __strnlen/memcpy.
222 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
224 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
225 Optimize to avoid an unnecessary FPCR read.
227 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
229 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
230 Optimize to reduce FPCR/FPSR accesses.
232 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
234 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
235 dead->data[category] != NULL.
237 2015-08-05 Joseph Myers <joseph@codesourcery.com>
240 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
241 and |x| close to 1, use absolute value of x when computing log.
242 * math/auto-libm-test-in: Add more tests of pow.
243 * math/auto-libm-test-out: Regenerated.
245 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
247 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
248 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
249 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
251 2015-08-05 Marko Myllynen <myllynen@redhat.com>
254 * locales/km_KH: Remove timezone definition.
255 * locales/lo_LA: Likewise.
256 * locales/my_MM: Likewise.
257 * locales/nan_TW@latin: Likewise.
258 * locales/th_TH: Likewise.
259 * locales/uk_UA: Likewise.
261 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
264 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
269 2015-08-05 Mike Frysinger <vapier@gentoo.org>
271 * test-skeleton.c (usage): New function.
272 (main): Call usage when opt is '?'.
274 2015-08-05 Mike Frysinger <vapier@gentoo.org>
276 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
279 2015-08-05 Mike Frysinger <vapier@gentoo.org>
281 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
282 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
285 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
287 * version.h (RELEASE): Set to "development".
288 (VERSION): Set to "2.22.90"
290 * version.h (RELEASE): Set to "stable".
291 (VERSION): Set to "2.22"
292 * include/features.h (__GLIBC_MINOR__): Set to 22.
294 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
296 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
297 Restructure macro to avoid "value computed is not used" warning.
298 (atomic_compare_and_exchange_val_acq): Likewise.
300 2015-08-04 Andreas Schwab <schwab@suse.de>
303 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
305 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
307 2015-08-01 Carlos O'Donell <carlos@redhat.com>
309 * po/pl.po: Updated translation.
310 * po/uk.po: Likewise.
311 * po/fi.po: Likewise.
312 * po/ko.po: Likewise.
313 * po/ru.po: Likewise.
314 * po/vi.po: Likewise.
316 2015-07-31 Zack Weinberg <zackw@panix.com>
319 * regexp.h: Add unconditional #warning stating that this header
320 will be removed soon. Revise banner comment to match.
321 (compile): Consistently use ERROR instead of RETURN to report
322 errors (partial fix for bz#18681).
323 * regexp.c: Don't include regexp.h. Remove some unnecessary
326 2015-07-31 Carlos O'Donell <carlos@redhat.com>
328 * po/libc.pot: Regenerated.
330 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
333 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
334 float-vlen4-arch-ext-cflags): Removed.
335 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
336 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
338 2015-07-30 Mike Frysinger <vapier@gentoo.org>
341 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
342 aligned to __aligned__.
343 (pthread_cond_t, pthread_rwlock_t): Likewise.
345 2015-07-30 Torvald Riegel <triegel@redhat.com>
347 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
349 2015-07-30 Mike Frysinger <vapier@gentoo.org>
351 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
352 (struct sigaction): Change sa_flags from a long to an int, and add
353 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
355 2015-07-30 Mike Frysinger <vapier@gentoo.org>
357 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
358 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
359 sysdeps/generic/sysdep.h include.
360 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
361 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
362 sysdeps/hppa/sysdep.h.
363 (ENTRY, PSEUDO): Undefine before defining.
365 2015-07-30 Mike Frysinger <vapier@gentoo.org>
367 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
368 from scratch to use INTERNAL_SYSCALL.
370 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
373 * scripts/check-localplt.awk: Support alternate relocations.
374 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
376 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
377 malloc entries with + REL R_386_GLOB_DAT.
378 * sysdeps/x86_64/localplt.data: New file.
380 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
383 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
384 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
385 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
387 2015-07-27 Mike Frysinger <vapier@gentoo.org>
389 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
391 2015-07-27 Mike Frysinger <vapier@gentoo.org>
393 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
394 directly in terms of __sync_fetch_and_add and delete (int) cast.
396 2015-07-27 Mike Frysinger <vapier@gentoo.org>
398 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
399 the -D_ASM_IA64_CURRENT_H flag.
401 2015-07-27 Mike Frysinger <vapier@gentoo.org>
404 * pwd/pwd.h (putpwent): Delete __nonnull markings.
406 2015-07-27 Andreas Schwab <schwab@suse.de>
408 * conform/conformtest.pl (checknamespace): Filter out string
409 literals while tokenizing.
411 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
413 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
414 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
415 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
417 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
419 * nptl/tst-join7mod.c: Add #include <string.h>.
421 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
423 * sysdeps/nios2/libm-test-ulps: Update.
425 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
427 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
428 Fix order of arguments to the rt_sigprocmask syscall.
429 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
432 2015-07-24 Roland McGrath <roland@hack.frob.com>
434 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
436 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
439 * nptl/Makefile (tests): New test case tst-join7.
440 (modules-names): New test case module tst-join7mod.
441 * nptl/tst-join7.c: New file.
442 * nptl/tst-join7mod.c: New file.
443 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
444 all translation units in libc.so, libpthread.so and rtld.
446 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
450 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
453 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
454 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
455 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
456 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
458 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
459 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
460 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
461 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
462 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
463 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
464 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
465 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
466 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
469 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
472 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
473 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
474 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
475 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
476 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
477 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
479 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
481 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
482 instead of just saying load lock in the comments.
484 2015-07-23 Roland McGrath <roland@hack.frob.com>
486 * sysdeps/unix/Subdirs: Moved ...
487 * sysdeps/posix/Subdirs: ... here.
488 * login/pty.h (struct termios, struct winsize): Add forward decls.
489 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
490 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
491 * sysdeps/arm/nacl/libc.abilist: Updated.
492 * sysdeps/nacl/libutil.abilist: New file.
494 * bits/signum.h: Update comments to mention 1003.1-2013 too.
495 (SIGWINCH): New macro.
497 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
498 * sysdeps/arm/nacl/libc.abilist: Add it.
500 2015-07-23 Mike Frysinger <vapier@gentoo.org>
502 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
504 2015-07-23 Mike Frysinger <vapier@gentoo.org>
506 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
507 Swap __glibc_reserved0 and sa_flags order.
509 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
512 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
513 are pending TLS destructor calls.
514 * include/link.h (struct link_map): Add concurrency note for
516 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
517 Don't touch the link map flag. Atomically increment
519 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
520 Avoid taking the load lock and don't touch the link map flag.
521 * stdlib/tst-tls-atexit-nodelete.c: New test case.
522 * stdlib/Makefile (tests): Use it.
523 * stdlib/tst-tls-atexit.c (do_test): dlopen
524 tst-tls-atexit-lib.so again before dlclose. Add conditionals
525 to allow tst-tls-atexit-nodelete test case to use it.
527 2015-07-22 Mike Frysinger <vapier@gentoo.org>
529 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
531 (msgqnum_t): New typedef.
532 (msglen_t): Likewise.
533 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
534 and msg_qbytes type to msglen_t.
536 2015-07-22 Mike Frysinger <vapier@gentoo.org>
538 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
539 pad0 to __glibc_reserved0.
540 (struct stat64): Likewise.
542 2015-07-22 Mike Frysinger <vapier@gentoo.org>
544 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
545 Change sa_flags from a long to an int and add __glibc_reserved0 before
548 2015-07-22 Mike Frysinger <vapier@gentoo.org>
550 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
551 anonymous by deleting "siginfo" name.
553 2015-07-21 Roland McGrath <roland@hack.frob.com>
555 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
556 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
557 rather than __nacl_irt_filename.
558 * sysdeps/nacl/xstat.c (__xstat): Likewise.
560 * NEWS: New item for arm-nacl port.
561 * sysdeps/arm/nacl/libc.abilist: New file.
562 * sysdeps/nacl/ld.abilist: New file.
563 * sysdeps/nacl/libBrokenLocale.abilist: New file.
564 * sysdeps/nacl/libanl.abilist: New file.
565 * sysdeps/nacl/libcrypt.abilist: New file.
566 * sysdeps/nacl/libdl.abilist: New file.
567 * sysdeps/nacl/libm.abilist: New file.
568 * sysdeps/nacl/libpthread.abilist: New file.
569 * sysdeps/nacl/libresolv.abilist: New file.
570 * sysdeps/nacl/librt.abilist: New file.
572 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
574 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
575 __startcontext to initialize the new context.
576 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
577 up CFI directive to forbid further backtracing.
579 2015-07-21 Marko Myllynen <myllynen@redhat.com>
581 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
583 * charmaps/ANSI_X3.4-1968: Likewise.
584 * charmaps/BS_4730: Likewise.
585 * charmaps/BS_VIEWDATA: Likewise.
586 * charmaps/CP1250: Likewise.
587 * charmaps/CP1251: Likewise.
588 * charmaps/CP1252: Likewise.
589 * charmaps/CP1253: Likewise.
590 * charmaps/CP1254: Likewise.
591 * charmaps/CP1255: Likewise.
592 * charmaps/CP1256: Likewise.
593 * charmaps/CSN_369103: Likewise.
594 * charmaps/EBCDIC-DK-NO: Likewise.
595 * charmaps/GB_1988-80: Likewise.
596 * charmaps/GREEK-CCITT: Likewise.
597 * charmaps/GREEK7: Likewise.
598 * charmaps/INIS-8: Likewise.
599 * charmaps/ISIRI-3342: Likewise.
600 * charmaps/ISO_2033-1983: Likewise.
601 * charmaps/ISO_5427-EXT: Likewise.
602 * locales/POSIX: Likewise.
603 * locales/ar_SA: Likewise.
604 * locales/be_BY: Likewise.
605 * locales/be_BY@latin: Likewise.
606 * locales/ca_ES: Likewise.
607 * locales/cs_CZ: Likewise.
608 * locales/da_DK: Likewise.
609 * locales/de_BE: Likewise.
610 * locales/de_CH: Likewise.
611 * locales/de_LU: Likewise.
612 * locales/en_AU: Likewise.
613 * locales/en_BW: Likewise.
614 * locales/en_CA: Likewise.
615 * locales/en_DK: Likewise.
616 * locales/en_GB: Likewise.
617 * locales/en_IE: Likewise.
618 * locales/en_NZ: Likewise.
619 * locales/en_ZA: Likewise.
620 * locales/en_ZW: Likewise.
621 * locales/es_AR: Likewise.
622 * locales/es_BO: Likewise.
623 * locales/es_CL: Likewise.
624 * locales/es_CO: Likewise.
625 * locales/es_DO: Likewise.
626 * locales/es_EC: Likewise.
627 * locales/es_ES: Likewise.
628 * locales/es_HN: Likewise.
629 * locales/es_MX: Likewise.
630 * locales/es_PA: Likewise.
631 * locales/es_PE: Likewise.
632 * locales/es_PY: Likewise.
633 * locales/es_SV: Likewise.
634 * locales/es_US: Likewise.
635 * locales/es_UY: Likewise.
636 * locales/es_VE: Likewise.
637 * locales/et_EE: Likewise.
638 * locales/fa_IR: Likewise.
639 * locales/fo_FO: Likewise.
640 * locales/fr_CA: Likewise.
641 * locales/fr_CH: Likewise.
642 * locales/gv_GB: Likewise.
643 * locales/he_IL: Likewise.
644 * locales/hr_HR: Likewise.
645 * locales/id_ID: Likewise.
646 * locales/is_IS: Likewise.
647 * locales/it_CH: Likewise.
648 * locales/iw_IL: Likewise.
649 * locales/kl_GL: Likewise.
650 * locales/ko_KR: Likewise.
651 * locales/kw_GB: Likewise.
652 * locales/lg_UG: Likewise.
653 * locales/lt_LT: Likewise.
654 * locales/lv_LV: Likewise.
655 * locales/mi_NZ: Likewise.
656 * locales/nhn_MX: Likewise.
657 * locales/nl_BE: Likewise.
658 * locales/pl_PL: Likewise.
659 * locales/sk_SK: Likewise.
660 * locales/sl_SI: Likewise.
661 * locales/sv_FI: Likewise.
662 * locales/tl_PH: Likewise.
663 * locales/tr_TR: Likewise.
664 * locales/vi_VN: Likewise.
666 2015-07-21 Khem Raj <raj.khem@gmail.com>
669 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
672 2015-07-21 Mike Frysinger <vapier@gentoo.org>
675 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
677 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
679 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
682 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
683 (spawn_thread): New function.
684 (load): Rename to reg_dtor_and_close. Move dlopen to...
685 (do_test): ... here. Use IS_LOADED to test for its
688 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
690 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
692 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
698 (si_upper): Likewise.
700 2015-07-16 David S. Miller <davem@davemloft.net>
702 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
704 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
706 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
708 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
709 fail output information.
711 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
716 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
717 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
718 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
719 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
721 2015-07-16 Mike Frysinger <vapier@gentoo.org>
723 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
724 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
725 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
726 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
728 2015-07-16 Mike Frysinger <vapier@gentoo.org>
730 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
731 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
733 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
735 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
737 * tst-nodelete-opened.c (do_test): Add comment to clarify how
740 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
743 * elf/tst-nodelete-opened.c: New test case.
744 * elf/tst-nodelete-opened-lib.c: New test case module.
745 * elf/Makefile (tests, modules-names): Use them.
746 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
749 2015-07-15 David S. Miller <davem@davemloft.net>
751 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
753 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
754 * sysdeps/sparc/sparc64/Makefile: Likewise.
755 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
756 Remove space from macro define.
757 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
759 2015-07-15 Pravin Satpute <psatpute@redhat.com>
762 * locale/iso-639.def: Update Bhili and Tulu language codes as
765 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
767 * elf/tst-leaks1.c (main): Converted to ...
769 (TEST_FUNCTION): New macro.
770 Include test-skeleton.c.
771 * localedata/tst-langinfo.c (main): Converted to ...
773 (TEST_FUNCTION): New macro.
774 Include test-skeleton.c.
775 * math/test-fpucw.c (main): Converted to ...
777 (TEST_FUNCTION): New macro.
778 Include test-skeleton.c.
779 * math/test-tgmath.c (main): Converted to ...
781 (TEST_FUNCTION): New macro.
782 Include test-skeleton.c.
783 * math/test-tgmath2.c (main): Converted to ...
785 (TEST_FUNCTION): New macro.
786 Include test-skeleton.c.
787 * setjmp/tst-setjmp.c (main): Converted to ...
789 (TEST_FUNCTION): New macro.
790 Include test-skeleton.c.
791 * stdio-common/tst-sscanf.c (main): Converted to ...
793 (TEST_FUNCTION): New macro.
794 Include test-skeleton.c.
795 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
797 (TEST_FUNCTION): New macro.
798 Include test-skeleton.c.
800 * elf/tst-audit9.c (main): Converted to ...
802 (TEST_FUNCTION): New macro.
803 Include test-skeleton.c.
805 2015-07-15 Mike Frysinger <vapier@gentoo.org>
807 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
809 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
811 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
814 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
816 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
818 2015-07-14 Roland McGrath <roland@hack.frob.com>
820 * sysdeps/generic/dl-fileid.h: New file.
821 * sysdeps/posix/dl-fileid.h: New file.
822 * sysdeps/nacl/dl-fileid.h: New file.
823 * include/link.h: Include <dl-fileid.h>.
824 (struct link_map): Replace l_dev and l_ino with l_file_id.
825 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
826 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
827 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
829 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
831 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
833 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
835 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
837 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
839 (tst-nodelete-zmodiff): Likewise.
840 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
842 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
844 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
846 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
848 * sysdeps/aarch64/fpu/math_private.h
849 (define math_opt_barrier): Add AArch64 version.
850 (math_force_eval): Likewise.
852 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
854 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
856 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
858 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
859 %ld with %jd and cast to intmax_t.
860 (do_test_length_zero): Likewise.
862 2015-07-10 Roland McGrath <roland@hack.frob.com>
864 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
866 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
868 * sysdeps/tile/libm-test-ulps: Regenerated.
870 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
871 Comment out the whole function, not just its body.
873 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
875 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
878 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
880 2015-07-10 Torvald Riegel <triegel@redhat.com>
882 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
883 (sem_assume_only_signals_cause_futex_EINTR): Remove.
885 2015-07-10 Torvald Riegel <triegel@redhat.com>
887 * sysdeps/nptl/futex-internal.h: New file.
888 * sysdeps/nacl/futex-internal.h: New file.
889 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
890 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
892 (setxid_unmark_thread): Likewise.
893 (__nptl_setxid): Likewise.
894 (__wait_lookup_done): Likewise.
895 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
896 * nptl/nptl-init.c (sighandler_setxid): Likewise.
897 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
898 * nptl/pthread_once.c (clear_once_control): Likewise.
899 (__pthread_once_slow): Likewise.
900 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
901 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
902 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
903 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
904 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
905 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
907 (__pthread_rwlock_rdlock): Likewise.
908 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
910 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
912 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
914 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
915 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
917 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
918 __ASSUME_PRIVATE_FUTEX check.
919 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
920 Check that shared futexes are supported.
921 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
922 wrappers with error checking.
923 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
924 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
925 * nptl/pthread_barrierattr_setpshared.c
926 (pthread_barrierattr_setpshared): Check that shared futexes are
928 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
930 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
932 * nptl/sem_init.c (futex_private_if_supported): Remove.
933 (__new_sem_init): Adapt and check that shared futexes are supported.
934 * nptl/sem_open.c (sem_open): Likewise.
935 * nptl/sem_post.c (futex_wake): Remove.
936 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
937 (do_futex_wait): Use futex wrappers with error checking.
938 * nptl/sem_wait.c: Include lowlevellock.h.
939 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
940 Use futex_supports_pshared.
941 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
942 Use futex wrappers with error checking.
943 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
945 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
946 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
947 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
948 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
949 (futex_wake): Likewise.
950 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
951 (do_futex_wait): Use futex wrappers with error checking.
952 (__new_sem_wait_slow): Update EINTR handling.
953 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
955 2015-07-09 Martin Sebor <msebor@redhat.com>
958 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
959 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
960 * nptl/Makefile (test-xfail-tst-once5): Define.
962 2015-07-09 Roland McGrath <roland@hack.frob.com>
964 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
965 * elf/dl-minimal.c: For readability, reorder some definitions and
966 introduce more page breaks. Include <stdio.h>.
967 (__libc_fatal): New function.
969 * include/unistd.h: Add rtld_hidden_proto for _exit.
970 * posix/_exit.c: Add rtld_hidden_def.
971 * sysdeps/mach/hurd/_exit.c: Likewise.
972 * sysdeps/nacl/_exit.c: Likewise.
973 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
974 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
976 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
979 bndmov encoding with zero displacement.
981 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
982 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
986 * sysdeps/i386/configure: Regenerated.
987 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
988 (_dl_runtime_profile): Save and restore Intel MPX return bound
989 registers when calling _dl_call_pltexit. Add
990 PRESERVE_BND_REGS_PREFIX before return.
991 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
992 (LRV_BND1_OFFSET): Likewise.
993 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
996 typo in bndmov encoding.
997 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
998 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
999 branch instructions to preserve bounds.
1001 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1004 [GLIBC_2.22]: Add fmemopen.
1006 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
1008 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1009 returns an error, also try to use host port from __mach_host_self for
1011 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1013 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1017 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1018 Fix pr_uid and pr_gid members.
1019 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1020 definition to elf_greg_t.
1022 2015-07-08 Roland McGrath <roland@hack.frob.com>
1025 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1026 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1027 * sysdeps/arm/configure: Regenerated.
1028 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1029 (test-xfail-tst-tlsalign-static): Variable removed.
1031 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1032 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1033 rather than explicit 'ln -s'.
1035 * resolv/rpc/netdb.h: New file.
1036 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1038 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1040 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1042 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1051 * include/stdio.h (fmemopen): Remove hidden prototype.
1052 (__fmemopen): Add new hidden prototype.
1053 * libio/Makefile: Add oldfmemopen object.
1054 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1055 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1057 * libio/oldfmemopen.c: New file: old fmemopen implementation for
1058 symbol compatibility.
1059 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1060 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1062 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1063 on append and read mode.
1064 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1066 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1067 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1068 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1069 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1071 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1072 [GLIBC_2.22]: Likewise.
1073 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1075 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1078 [GLIBC_2.22]: Likewise.
1079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1080 [GLIBC_2.22]: Likewise.
1081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1082 [GLIBC_2.22]: Likewise.
1083 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1084 [GLIBC_2.22]: Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1086 [GLIBC_2.22]: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1088 [GLIBC_2.22]: Likewise.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1090 [GLIBC_2.22]: Likewise.
1091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1093 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1095 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1096 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1097 [GLIBC_2.22]: Likewise.
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1099 [GLIBC_2.22]: Likewise.
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1101 [GLIBC_2.22]: Likewise.
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1103 [GLIBC_2.22]: Likewise.
1104 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1106 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1108 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1110 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1111 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1113 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1116 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1117 IPV6_PATHMTU, and IPV6_DONTFRAG.
1119 2015-07-08 Feng Gao <gfree.wind@gmail.com>
1121 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1123 * libio/oldfileops.c: Likewise.
1124 * libio/wfileops.c: Likewise.
1126 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1128 * nscd/selinux.c: Delete selinux/flask.h include.
1130 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1133 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1134 (putpwent): Likewise.
1135 (getpwnam): Likewise.
1136 (getpwent_r): Likewise.
1137 (getpwuid_r): Likewise.
1138 (getpwnam_r): Likewise.
1139 (fgetpwent_r): Likewise.
1141 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1144 * inet/rcmd.c (__validuser2_sa): Check user first to
1145 short-circuit host check.
1147 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
1148 Mikhail Ilin <m.ilin@samsung.com>
1151 * elf/Makefile (tests): Add tst-nodelete.
1152 (modules-names): Add tst-nodelete-uniquemod.
1153 (tst-nodelete-uniquemod.so-no-z-defs): New.
1154 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1155 (tst-nodelete-zmod.so-no-z-defs): Likewise.
1156 ($(objpfx)tst-nodelete): Likewise.
1157 ($(objpfx)tst-nodelete.out): Likewise.
1158 (LDFLAGS-tst-nodelete): Likewise.
1159 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1160 * elf/dl-close.c (_dl_close_worker): Add a parameter to
1161 implement forced object deletion.
1162 (_dl_close): Pass false to _dl_close_worker.
1163 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1164 * elf/tst-nodelete.cc: New file.
1165 * elf/tst-nodeletelib.cc: Likewise.
1166 * elf/tst-znodeletelib.cc: Likewise.
1167 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1169 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1172 * stdlib/Makefile ($(objpfx)tst-makecontext3):
1174 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1175 is not called infinitely times.
1176 (backtrace_helper): New function.
1177 (trace_arg): New struct.
1178 (st1): Enlarge stack size.
1179 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1180 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1181 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1184 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1186 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1188 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1190 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1191 Include sys/types.h instead of bits/types.h.
1192 Remove inclusion of bits/wordsize.h.
1194 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1196 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1197 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1198 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1199 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1200 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1201 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1203 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1205 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1207 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1208 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1209 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1211 * sysdeps/i386/link-defines.sym: New file.
1213 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1215 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1216 (modules-names): Add tst-auditmod3a tst-auditmod3b.
1217 ($(objpfx)tst-audit3): New rule.
1218 ($(objpfx)tst-audit3.out): Likewise.
1219 * sysdeps/i386/tst-audit3.c: New file.
1220 * sysdeps/i386/tst-audit3.h: Likewise.
1221 * sysdeps/i386/tst-auditmod3a.c: Likewise.
1222 * sysdeps/i386/tst-auditmod3b.c: Likewise.
1224 2015-07-07 Torvald Riegel <triegel@redhat.com>
1227 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1229 (__strcat_c): Likewise.
1230 (__strcat_g): Likewise.
1232 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
1235 * misc/sbrk.c: Set errno to ENOMEM on overflow.
1237 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1239 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1240 New function. (__ieee754_sqrtf): New function.
1241 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1243 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1246 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1248 * sysdeps/ieee754/support.c: Remove unused file.
1250 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1252 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1253 registers instead of d ones so the layout is kernel abi compatible.
1254 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1255 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1258 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1260 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1262 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1265 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1266 and return argument in case of subnormal argument.
1268 2015-07-01 Martin Sebor <msebor@redhat.com>
1271 * nptl/Makefile: Add tst-once5.cc.
1272 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1273 Remove macro redefinitions.
1274 * nptl/tst-once5.cc: New test.
1276 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1278 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1280 * sysdeps/arm/libm-test-ulps: Regenerated.
1282 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1283 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1285 2015-06-30 Torvald Riegel <triegel@redhat.com>
1287 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1288 lll_lock_wait_private and lll_futex_wake probes.
1290 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1293 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1295 * sysdeps/x86_64/bits/atomic.h: Likewise.
1296 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1297 to atomic_spin_nop and move ...
1298 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1300 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1301 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1302 atomic_spin_nop instead of BUSY_WAIT_NOP.
1303 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1305 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1306 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1307 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1308 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1309 instead of atomic_delay.
1311 2015-06-29 Joseph Myers <joseph@codesourcery.com>
1314 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1315 X_ADJ not X when adjusting exponent.
1316 (__ieee754_gamma_r): Do intermediate computations in
1317 round-to-nearest then adjust overflowing and underflowing results
1319 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1320 of X_ADJ not X when adjusting exponent.
1321 (__ieee754_gammaf_r): Do intermediate computations in
1322 round-to-nearest then adjust overflowing and underflowing results
1324 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1325 log of X_ADJ not X when adjusting exponent.
1326 (__ieee754_gammal_r): Do intermediate computations in
1327 round-to-nearest then adjust overflowing and underflowing results
1328 as needed. Use 1.0L not 1.0f as numerator of division.
1329 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1330 log of X_ADJ not X when adjusting exponent.
1331 (__ieee754_gammal_r): Do intermediate computations in
1332 round-to-nearest then adjust overflowing and underflowing results
1333 as needed. Use 1.0L not 1.0f as numerator of division.
1334 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1335 of X_ADJ not X when adjusting exponent.
1336 (__ieee754_gammal_r): Do intermediate computations in
1337 round-to-nearest then adjust overflowing and underflowing results
1338 as needed. Use 1.0L not 1.0f as numerator of division.
1339 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
1340 to auto-libm-test-in.
1341 (tgamma_test): Use ALL_RM_TEST.
1342 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
1343 tests of tgamma with spurious-overflow.
1344 * math/auto-libm-test-out: Regenerated.
1345 * math/gen-libm-have-vector-test.sh: Do not check for START.
1346 * sysdeps/i386/fpu/libm-test-ulps: Update.
1347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1351 arguments, just return 0.5 times the argument, with underflow
1353 * math/auto-libm-test-in: Add more tests of j1.
1354 * math/auto-libm-test-out: Regenerated.
1357 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1358 (__ieee754_j1): Force underflow exception for small results.
1359 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1360 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1361 (__ieee754_j1f): Force underflow exception for small results.
1362 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1363 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1366 (__ieee754_j1l): Force underflow exception for small results.
1367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1368 * math/auto-libm-test-in: Add more tests of j1 and jn.
1369 * math/auto-libm-test-out: Regenerated.
1371 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1372 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1373 (PF_MPLS): Likewise.
1375 (AF_MPLS): Likewise.
1376 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1378 (MS_RMT_MASK): Include MS_LAZYTIME.
1380 2015-06-26 Mel Gorman <mgorman@suse.de>
1383 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1386 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1388 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1389 (DT_MIPS_NUM): Update.
1390 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1391 DT_MIPS_RLD_MAP_REL.
1393 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1398 round-to-nearest internally then recompute results that
1399 underflowed to zero in the original rounding mode.
1400 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1401 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1403 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1404 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1408 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1410 * NEWS: Fixed description of link with vector math library.
1412 2015-06-25 Andreas Schwab <schwab@suse.de>
1415 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1416 * libio/test-fmemopen.c (do_test): Add test for it.
1418 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1421 * Makeconfig (no-pie-ldflag): New.
1422 (+link): Set to $(+link-pie) if default to PIE.
1423 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1424 * config.make.in (build-pie-default): New.
1425 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1426 is default. AC_SUBST.
1427 * configure: Regenerated.
1428 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1430 2015-06-24 Roland McGrath <roland@hack.frob.com>
1432 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1435 * resolv/gai_misc.h (struct waitlist): Change type of field
1436 counterp to 'volatile unsigned int *'.
1437 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1438 FUTEXADDR and OLDVAL.
1439 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1440 Give local variable TOTAL type 'volatile unsigned int'.
1441 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1442 * resolv/gai_suspend.c (gai_suspend):
1443 Give local variable CNTR type 'unsigned int'.
1445 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1446 counterp to 'volatile unsigned int *'.
1447 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1448 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1449 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1450 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1451 Give local variable TOTAL type 'volatile unsigned int'.
1452 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1454 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1457 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1458 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1459 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1460 comment for i386/x86-64.
1461 (test-xfail-tst-tlsalign-extern-static): Removed.
1463 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1465 * math/test-double.h: New file.
1466 * math/test-float.h: Likewise.
1467 * math/test-ldouble.h: Likewise.
1468 * math/test-math-inline.h: Likewise.
1469 * math/test-math-no-inline.h: Likewise.
1470 * math/test-math-scalar.h: Likewise.
1471 * math/test-math-vector.h: Likewise.
1472 * math/test-vec-loop.h: Remove file. Contents moved into
1474 * math/libm-test.inc (MATHCONST): Do not document macro.
1475 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1476 and test-math-scalar.h.
1477 (FUNC): Remove macro.
1478 (FUNC_TEST): Likewise.
1480 (MATHCONST): Likewise.
1481 (PRINTF_EXPR): Likewise.
1482 (PRINTF_XEXPR): Likewise.
1483 (PRINTF_NEXPR): Likewise.
1484 (TEST_DOUBLE): Likewise.
1485 (TEST_MATHVEC): Likewise.
1486 (__NO_MATH_INLINES): Likewise.
1487 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1488 and test-math-scalar.h.
1489 (FUNC): Remove macro.
1490 (FUNC_TEST): Likewise.
1492 (MATHCONST): Likewise.
1493 (PRINTF_EXPR): Likewise.
1494 (PRINTF_XEXPR): Likewise.
1495 (PRINTF_NEXPR): Likewise.
1496 (TEST_FLOAT): Likewise.
1497 (TEST_MATHVEC): Likewise.
1498 (__NO_MATH_INLINES): Likewise.
1499 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1500 and test-math-scalar.h.
1501 (FUNC): Remove macro.
1502 (FUNC_TEST): Likewise.
1504 (MATHCONST): Likewise.
1505 (PRINTF_EXPR): Likewise.
1506 (PRINTF_XEXPR): Likewise.
1507 (PRINTF_NEXPR): Likewise.
1508 (TEST_DOUBLE): Likewise.
1509 (TEST_MATHVEC): Likewise.
1510 (TEST_INLINE): Likewise.
1511 (__NO_MATH_INLINES): Likewise.
1512 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1514 (FUNC): Remove macro.
1515 (FUNC_TEST): Likewise.
1517 (MATHCONST): Likewise.
1518 (PRINTF_EXPR): Likewise.
1519 (PRINTF_XEXPR): Likewise.
1520 (PRINTF_NEXPR): Likewise.
1521 (TEST_FLOAT): Likewise.
1522 (TEST_MATHVEC): Likewise.
1523 (TEST_INLINE): Likewise.
1524 (__NO_MATH_INLINES): Likewise.
1525 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1526 and test-math-scalar.h.
1527 (FUNC): Remove macro.
1528 (FUNC_TEST): Likewise.
1530 (MATHCONST): Likewise.
1531 (PRINTF_EXPR): Likewise.
1532 (PRINTF_XEXPR): Likewise.
1533 (PRINTF_NEXPR): Likewise.
1534 (TEST_LDOUBLE): Likewise.
1535 (TEST_MATHVEC): Likewise.
1536 (TEST_INLINE): Likewise.
1537 (__NO_MATH_INLINES): Likewise.
1538 * math/test-ldouble.c: Include test-ldouble.h,
1539 test-math-no-inline.h and test-math-scalar.h.
1540 (FUNC): Remove macro.
1541 (FUNC_TEST): Likewise.
1543 (MATHCONST): Likewise.
1544 (PRINTF_EXPR): Likewise.
1545 (PRINTF_XEXPR): Likewise.
1546 (PRINTF_NEXPR): Likewise.
1547 (TEST_LDOUBLE): Likewise.
1548 (TEST_MATHVEC): Likewise.
1549 (__NO_MATH_INLINES): Likewise.
1550 * math/test-double-vlen2.h: Include test-double.h,
1551 test-math-no-inline.h and test-math-vector.h.
1552 (FLOAT): Remove macro.
1554 (MATHCONST): Likewise.
1555 (PRINTF_EXPR): Likewise.
1556 (PRINTF_XEXPR): Likewise.
1557 (PRINTF_NEXPR): Likewise.
1558 (TEST_DOUBLE): Likewise.
1559 (TEST_MATHVEC): Likewise.
1560 (__NO_MATH_INLINES): Likewise.
1563 (WRAPPER_NAME): Likewise.
1564 (WRAPPER_DECL): Likewise.
1565 (WRAPPER_DECL_ff): Likewise.
1566 (WRAPPER_DECL_fFF): Likewise.
1567 (VECTOR_WRAPPER): Likewise.
1568 (VECTOR_WRAPPER_ff): Likewise.
1569 (VECTOR_WRAPPER_fFF): Likewise.
1570 (VEC_LEN): New macro.
1571 * math/test-double-vlen4.h: Include test-double.h,
1572 test-math-no-inline.h and test-math-vector.h.
1573 (FLOAT): Remove macro.
1575 (MATHCONST): Likewise.
1576 (PRINTF_EXPR): Likewise.
1577 (PRINTF_XEXPR): Likewise.
1578 (PRINTF_NEXPR): Likewise.
1579 (TEST_DOUBLE): Likewise.
1580 (TEST_MATHVEC): Likewise.
1581 (__NO_MATH_INLINES): Likewise.
1584 (WRAPPER_NAME): Likewise.
1585 (WRAPPER_DECL): Likewise.
1586 (WRAPPER_DECL_ff): Likewise.
1587 (WRAPPER_DECL_fFF): Likewise.
1588 (VECTOR_WRAPPER): Likewise.
1589 (VECTOR_WRAPPER_ff): Likewise.
1590 (VECTOR_WRAPPER_fFF): Likewise.
1591 (VEC_LEN): New macro.
1592 * math/test-double-vlen8.h: Include test-double.h,
1593 test-math-no-inline.h and test-math-vector.h.
1594 (FLOAT): Remove macro.
1596 (MATHCONST): Likewise.
1597 (PRINTF_EXPR): Likewise.
1598 (PRINTF_XEXPR): Likewise.
1599 (PRINTF_NEXPR): Likewise.
1600 (TEST_DOUBLE): Likewise.
1601 (TEST_MATHVEC): Likewise.
1602 (__NO_MATH_INLINES): Likewise.
1605 (WRAPPER_NAME): Likewise.
1606 (WRAPPER_DECL): Likewise.
1607 (WRAPPER_DECL_ff): Likewise.
1608 (WRAPPER_DECL_fFF): Likewise.
1609 (VECTOR_WRAPPER): Likewise.
1610 (VECTOR_WRAPPER_ff): Likewise.
1611 (VECTOR_WRAPPER_fFF): Likewise.
1612 (VEC_LEN): New macro.
1613 * math/test-float-vlen4.h: Include test-float.h,
1614 test-math-no-inline.h and test-math-vector.h.
1615 (FLOAT): Remove macro.
1617 (MATHCONST): Likewise.
1618 (PRINTF_EXPR): Likewise.
1619 (PRINTF_XEXPR): Likewise.
1620 (PRINTF_NEXPR): Likewise.
1621 (TEST_FLOAT): Likewise.
1622 (TEST_MATHVEC): Likewise.
1623 (__NO_MATH_INLINES): Likewise.
1626 (WRAPPER_NAME): Likewise.
1627 (WRAPPER_DECL): Likewise.
1628 (WRAPPER_DECL_ff): Likewise.
1629 (WRAPPER_DECL_fFF): Likewise.
1630 (VECTOR_WRAPPER): Likewise.
1631 (VECTOR_WRAPPER_ff): Likewise.
1632 (VECTOR_WRAPPER_fFF): Likewise.
1633 (VEC_LEN): New macro.
1634 * math/test-float-vlen8.h: Include test-float.h,
1635 test-math-no-inline.h and test-math-vector.h.
1636 (FLOAT): Remove macro.
1638 (MATHCONST): Likewise.
1639 (PRINTF_EXPR): Likewise.
1640 (PRINTF_XEXPR): Likewise.
1641 (PRINTF_NEXPR): Likewise.
1642 (TEST_FLOAT): Likewise.
1643 (TEST_MATHVEC): Likewise.
1644 (__NO_MATH_INLINES): Likewise.
1647 (WRAPPER_NAME): Likewise.
1648 (WRAPPER_DECL): Likewise.
1649 (WRAPPER_DECL_ff): Likewise.
1650 (WRAPPER_DECL_fFF): Likewise.
1651 (VECTOR_WRAPPER): Likewise.
1652 (VECTOR_WRAPPER_ff): Likewise.
1653 (VECTOR_WRAPPER_fFF): Likewise.
1654 (VEC_LEN): New macro.
1655 * math/test-float-vlen16.h: Include test-float.h,
1656 test-math-no-inline.h and test-math-vector.h.
1657 (FLOAT): Remove macro.
1659 (MATHCONST): Likewise.
1660 (PRINTF_EXPR): Likewise.
1661 (PRINTF_XEXPR): Likewise.
1662 (PRINTF_NEXPR): Likewise.
1663 (TEST_FLOAT): Likewise.
1664 (TEST_MATHVEC): Likewise.
1665 (__NO_MATH_INLINES): Likewise.
1668 (WRAPPER_NAME): Likewise.
1669 (WRAPPER_DECL): Likewise.
1670 (WRAPPER_DECL_ff): Likewise.
1671 (WRAPPER_DECL_fFF): Likewise.
1672 (VECTOR_WRAPPER): Likewise.
1673 (VECTOR_WRAPPER_ff): Likewise.
1674 (VECTOR_WRAPPER_fFF): Likewise.
1675 (VEC_LEN): New macro.
1676 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1678 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1679 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1680 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1681 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1682 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1683 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1684 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1686 2015-06-24 Roland McGrath <roland@hack.frob.com>
1688 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1689 (__getlogin_r): ... this.
1691 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1694 * math/s_ccosh.c (__ccosh): Compare with least normal value
1695 instead of comparing class with FP_SUBNORMAL.
1696 * math/s_ccoshf.c (__ccoshf): Likewise.
1697 * math/s_ccoshl.c (__ccoshl): Likewise.
1698 * math/s_cexp.c (__cexp): Likewise.
1699 * math/s_cexpf.c (__cexpf): Likewise.
1700 * math/s_cexpl.c (__cexpl): Likewise.
1701 * math/s_csin.c (__csin): Likewise.
1702 * math/s_csinf.c (__csinf): Likewise.
1703 * math/s_csinh.c (__csinh): Likewise.
1704 * math/s_csinhf.c (__csinhf): Likewise.
1705 * math/s_csinhl.c (__csinhl): Likewise.
1706 * math/s_csinl.c (__csinl): Likewise.
1707 * math/s_ctan.c (__ctan): Likewise.
1708 * math/s_ctanf.c (__ctanf): Likewise.
1709 * math/s_ctanh.c (__ctanh): Likewise.
1710 * math/s_ctanhf.c (__ctanhf): Likewise.
1711 * math/s_ctanhl.c (__ctanhl): Likewise.
1712 * math/s_ctanl.c (__ctanl): Likewise.
1713 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1714 csin, csinh, ctan and ctanh.
1715 * math/auto-libm-test-out: Regenerated.
1716 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1717 * sysdeps/i386/fpu/libm-test-ulps: Update.
1718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1720 2015-06-24 Roland McGrath <roland@hack.frob.com>
1722 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1723 return value is wrong, print the expected value too.
1725 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1728 * elf/readlib.c (is_gdb_python_file): New.
1729 (process_file): Don't issue errors on filenames with -gdb.py
1732 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1734 * math/auto-libm-test-in: Add more tests of csin and csinh.
1735 * math/auto-libm-test-out: Regenerated.
1736 * math/libm-test.inc (csin_test_data): Remove tests moved to
1738 (csinh_test_data): Likewise.
1741 * math/s_csin.c (__csin): Negate before rather than after possibly
1742 overflowing multiplication.
1743 * math/s_csinf.c (__csinf): Likewise.
1744 * math/s_csinh.c (__csinh): Likewise.
1745 * math/s_csinhf.c (__csinhf): Likewise.
1746 * math/s_csinhl.c (__csinhl): Likewise.
1747 * math/s_csinl.c (__csinl): Likewise.
1748 * math/auto-libm-test-in: Add some tests of csin and csinh.
1749 * math/auto-libm-test-out: Regenerated.
1750 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1751 (csinh_test_data): Likewise.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1755 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1756 underflow exception for small results.
1758 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1760 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1761 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1762 variable and included header.
1763 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1764 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1765 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1766 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1767 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1768 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1769 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1770 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1771 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1772 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1773 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1774 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1775 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1776 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1777 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1778 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1780 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1784 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1785 (__sin): Force underflow exception for arguments with small
1787 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1788 (__kernel_sinf): Force underflow exception for arguments with
1789 small absolute value.
1790 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1791 (__kernel_sincosl): Force underflow exception for arguments with
1792 small absolute value.
1793 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1794 (__kernel_sinl): Force underflow exception for arguments with
1795 small absolute value.
1796 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1797 (__kernel_sincosl): Force underflow exception for arguments with
1798 small absolute value.
1799 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1800 (__kernel_sinl): Force underflow exception for arguments with
1801 small absolute value.
1802 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1803 (__kernel_sinl): Force underflow exception for arguments with
1804 small absolute value.
1805 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1806 (__kernel_sinf): Force underflow exception for arguments with
1807 small absolute value.
1808 * math/auto-libm-test-in: Add more tests of sin and sincos.
1809 * math/auto-libm-test-out: Regenerated.
1813 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1814 (__kernel_standard_l): Use feholdexcept and fesetenv around
1815 conversion to double instead of special-casing overflow and
1817 * math/libm-test.inc (fmod_test_data): Add more tests.
1818 (remainder_test_data): Likewise.
1819 (sqrt_test_data): Likewise.
1821 2015-06-23 Torvald Riegel <triegel@redhat.com>
1824 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1825 atomic_read_barrier, atomic_write_barrier): Define.
1826 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1827 atomic_read_barrier, atomic_write_barrier): Define.
1829 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1831 * math/Makefile [$(PERL) != no]
1832 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1833 dependency on libm-test.stmp below the inclusion of Rules.
1835 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1837 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1838 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1839 and included header.
1840 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1842 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1843 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1844 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1845 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1846 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1847 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1848 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1849 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1850 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1851 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1852 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1853 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1854 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1855 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1856 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1857 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1858 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1860 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1863 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1864 intermediate but not final result might underflow.
1865 * math/s_csqrtf.c (__csqrtf): Likewise.
1866 * math/s_csqrtl.c (__csqrtl): Likewise.
1867 * math/auto-libm-test-in: Add more tests of csqrt.
1868 * math/auto-libm-test-out: Regenerated.
1869 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1873 threshold on absolute value of exponent for which scaling is used.
1874 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1875 * math/auto-libm-test-in: Add more tests of exp2.
1876 * math/auto-libm-test-out: Regenerated.
1878 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1881 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1882 when initializing interface list, based on the bug analysis
1883 and the patch proposed by Eric Newton.
1884 * resolv/tst-res_hconf_reorder.c: New test.
1885 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1886 tst-res_hconf_reorder.
1887 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1888 and $(shared-thread-library).
1889 (tst-res_hconf_reorder-ENV): New variable.
1891 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1894 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1897 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1898 (__expm1): Force underflow exception for arguments with small
1900 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1901 (__expm1f): Force underflow exception for arguments with small
1903 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1904 (__expm1): Force underflow exception for arguments with small
1906 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1907 (__expm1f): Force underflow exception for arguments with small
1909 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1910 Check for small arguments before calling __expm1.
1911 * math/auto-libm-test-in: Do not mark underflow exceptions as
1912 possibly missing for bug 16353.
1913 * math/auto-libm-test-out: Regenerated.
1915 2015-06-22 Andreas Schwab <schwab@suse.de>
1918 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1921 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1923 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1925 * string/strcoll_l.c: Remove unused struct element idxnow.
1927 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1930 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1931 underflow and return argument in case of subnormal argument.
1932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1934 * math/auto-libm-test-in: Add more tests of expm1.
1935 * math/auto-libm-test-out: Regenerated.
1938 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1939 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1941 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1942 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1944 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1945 mark underflow exceptions as possibly missing for bug 16361.
1946 * math/auto-libm-test-out: Regenerated.
1948 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1950 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1951 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1953 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1954 (test-xfail-XOPEN2K8/utmpx.h/conform).
1956 * conform/conformtest.pl ($xerrors): New variable.
1957 (note_error): New function.
1958 (compiletest): New argument $xfail. Use not_error.
1959 (runtest): Likewise.
1960 (top level): Handle xfail- lines. Update calls to compiletest and
1961 runtest. Handle xfail- and optional- in headers listed with
1963 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1965 (O_SEARCH): Likewise.
1966 * conform/data/stropts.h-data (ioctl): Likewise.
1967 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1968 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1969 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1970 (msghdr.msg_controllen): Likewise.
1971 (cmsghdr.cmsg_len): Likewise.
1972 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1973 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1975 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1976 (test-xfail-XPG4/stropts.h/conform): Likewise.
1977 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1978 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1979 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1980 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1981 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1982 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1983 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1984 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1985 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1986 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1987 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1988 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1989 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1990 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1991 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1992 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1993 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1994 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1995 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1997 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1999 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2000 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2001 definitions for proper unfolding of __MATHDECL_VEC.
2003 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2005 * benchtests/bench-strcoll.c:
2007 (main): Remove unused variable res.
2009 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2011 * timezone/Makefile (%/UTC %/Universal):
2012 Generate test-result files for UTC and Universal.
2014 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2016 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2018 2015-06-18 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2022 for arguments with small absolute value.
2023 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2024 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2025 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2026 (__asinh): Force underflow exception for arguments with small
2028 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2029 (__asinhf): Force underflow exception for arguments with small
2031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2032 (__asinhl): Force underflow exception for arguments with small
2034 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2035 (__asinhl): Force underflow exception for arguments with small
2037 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2038 (__asinhl): Force underflow exception for arguments with small
2040 * math/auto-libm-test-in: Do not mark underflow exceptions as
2041 possibly missing for bug 16350.
2042 * math/auto-libm-test-out: Regenerated.
2044 * include/bits/ipc.h: Remove file.
2045 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2047 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2048 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2049 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2050 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2051 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2052 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2053 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2054 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2055 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2057 * math/auto-libm-test-in: Remove spurious underflow allowance for
2059 * math/auto-libm-test-out: Regenerated.
2062 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2063 unconditional definition.
2064 (MCAST_BLOCK_SOURCE): Likewise.
2065 (MCAST_UNBLOCK_SOURCE): Likewise.
2066 (MCAST_LEAVE_GROUP): Likewise.
2067 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2068 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2069 (MCAST_MSFILTER): Likewise.
2070 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2072 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2073 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2074 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2075 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2076 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2078 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
2080 * NEWS: Mention addition of x86_64 vector sincosf.
2081 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2082 * math/test-float-vlen4.h: Likewise.
2083 * math/test-float-vlen8.h: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2085 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2086 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2087 * sysdeps/x86_64/fpu/Versions: New versions added.
2088 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2089 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2090 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2091 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2092 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2093 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2094 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2095 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2096 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2097 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2098 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2099 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2100 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2101 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2102 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2103 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2104 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2105 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2106 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2107 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2108 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2109 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2110 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2111 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2113 * NEWS: Mention addition of x86_64 vector sincos.
2114 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2115 * math/math.h (__MATHDECL_VEC): New macro.
2116 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2117 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2118 declaration under condition.
2119 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2120 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2121 TEST_VEC_LOOP change.
2122 * math/test-double-vlen4.h: Likewise.
2123 * math/test-double-vlen8.h: Likewise.
2124 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2125 * math/test-float-vlen4.h: Likewise.
2126 * math/test-float-vlen8.h: Likewise.
2127 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2128 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2129 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2130 * sysdeps/x86_64/fpu/Versions: New versions added.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2132 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2133 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2140 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2141 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2142 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2143 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2144 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2145 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2146 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2147 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2148 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2149 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2150 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2151 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2152 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2153 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2154 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2157 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2158 redirections for powf.
2159 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2160 * sysdeps/x86_64/fpu/Versions: New versions added.
2161 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2162 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2163 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2164 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2165 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2166 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2167 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2168 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2169 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2170 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2171 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2172 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2173 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2174 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2175 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2176 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2177 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2178 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2179 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2180 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2181 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2182 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2183 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2184 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2185 * math/test-float-vlen16.h: Fixed 2 argument macro.
2186 * math/test-float-vlen4.h: Likewise.
2187 * math/test-float-vlen8.h: Likewise.
2188 * NEWS: Mention addition of x86_64 vector powf.
2190 2015-06-17 Joseph Myers <joseph@codesourcery.com>
2192 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2194 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2196 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2201 * resource/getpriority.c (getpriority): Rename to __getpriority
2202 and define as weak alias of __getpriority.
2203 * resource/setpriority.c (setpriority): Rename to __setpriority
2204 and define as weak alias of __setpriority.
2205 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2206 __getpriority and define as weak alias of __getpriority.
2207 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2208 __setpriority and define as weak alias of __setpriority.
2209 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2211 (setpriority): Use __setpriority as strong name.
2212 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2213 __getpriority and define as weak alias of __getpriority.
2214 * include/sys/resource.h (__getpriority): Declare. Use
2216 (__setpriority): Likewise.
2217 (getpriority): Don't use libc_hidden_proto.
2218 (setpriority): Likewise.
2219 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2220 getpriority. Call __setpriority instead of setpriority.
2221 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2225 * misc/getttyent.c (getttynam): Rename to __getttynam and define
2226 as weak alias of __getttynam. Use prototype function definition.
2227 Call __setttyent, __getttyent and __endttyent instead of
2228 setttyent, getttyent and endttyent.
2229 (getttyent): Rename to __getttyent and define as weak alias of
2230 __getttyent. Call __setttyent instead of setttyent. Call
2231 __fgets_unlocked instead of fgets_unlocked.
2232 (setttyent): Rename to __setttyent and define as weak alias of
2234 (endttyent): Rename to __endttyent and define as weak alias of
2236 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
2237 (__setttyent): Likewise.
2238 (__endttyent): Likewise.
2239 (getttyent): Don't use libc_hidden_proto.
2240 (setttyent): Likewise.
2241 (endttyent): Likewise.
2242 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2243 __endttyent instead of setttyent, getttyent and endttyent.
2244 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2248 * socket/recv.c (__recv): Use libc_hidden_def.
2249 * socket/socket.c (__socket): Likewise.
2250 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2251 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2252 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2253 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2254 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2256 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2258 * include/sys/socket.h (__socket): Do not use attribute_hidden.
2259 Use libc_hidden_proto.
2261 * socket/Versions (libc): Export __recv and __socket at version
2263 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2265 (init_mq_netlink): Call __socket instead of socket.
2266 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2270 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2271 __mq_timedreceive and define as alias of __mq_timedreceive. Use
2273 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2274 define as alias of __mq_timedsend. Use hidden_weak.
2275 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2276 __mq_timedsend as strong name.
2277 (mq_timedreceive): Use __mq_timedreceive as strong name.
2278 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
2279 (__mq_timedreceive): Likewise.
2280 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2281 __mq_timedreceive instead of mq_timedreceive.
2282 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2283 instead of mq_timedsend.
2284 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2287 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2288 hidden_def and hidden_weak instead of libc_hidden_def and
2290 (top level): Refer to hidden_def in comment.
2291 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2292 macro. Use it instead of libc_hidden_def.
2293 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2294 specify __GI_* name explicitly.
2295 (mq_timedreceive): Likewise.
2296 (mq_setattr): Likewise.
2299 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2300 __pthread_barrier_init and define as weak alias of
2301 __pthread_barrier_init.
2302 * sysdeps/sparc/nptl/pthread_barrier_init.c
2303 (pthread_barrier_init): Likewise.
2304 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2305 __pthread_barrier_wait and define as weak alias of
2306 __pthread_barrier_wait.
2307 * sysdeps/sparc/nptl/pthread_barrier_wait.c
2308 (pthread_barrier_wait): Likewise.
2309 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2310 (pthread_barrier_wait): Likewise.
2311 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2312 (pthread_barrier_wait): Likewise.
2313 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2314 (pthread_barrier_wait): Likewise.
2315 * nptl/Versions (libpthread): Export __pthread_barrier_init and
2316 __pthread_barrier_wait at version GLIBC_PRIVATE.
2317 * include/pthread.h (__pthread_barrier_init): Declare.
2318 (__pthread_barrier_wait): Likewise.
2319 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2320 Call __pthread_barrier_wait instead of pthread_barrier_wait.
2321 (helper_thread): Likewise.
2322 (init_mq_netlink): Call __pthread_barrier_init instead of
2323 pthread_barrier_init.
2326 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2327 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2328 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
2329 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2331 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2335 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2336 strong alias of _IO_fflush. Use libc_hidden_def.
2337 * libio/iofflush_u.c (fflush_unlocked): Rename to
2338 __fflush_unlocked and define as weak alias of __fflush_unlocked.
2339 Use libc_hidden_weak.
2340 * include/stdio.h (__fflush_unlocked): Declare. Use
2342 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2344 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2348 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2349 define as weak alias of __addseverity.
2350 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2352 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2353 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2354 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2357 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2358 (__tfind): Likewise.
2359 (__tdelete): Likewise.
2360 (__twalk): Likewise.
2361 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2362 __twalk to GLIBC_PRIVATE.
2363 * include/search.h (__tsearch): Use libc_hidden_proto.
2364 (__tfind): Likewise.
2365 (__tdelete): Likewise.
2366 (__twalk): Likewise.
2367 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2368 Call __tdelete instead of tdelete.
2369 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2370 tfind. Call __tsearch instead of tsearch.
2371 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2372 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2374 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2377 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2378 (dprintf): Define as a weak alias of __dprintf, not a strong
2380 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
2381 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2383 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2385 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2386 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2389 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2391 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2395 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2396 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2397 (in6addr_loopback): Rename to __in6addr_loopback and define as
2398 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2399 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2401 (__in6addr_any): Likewise.
2402 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2404 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2406 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2408 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2410 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2411 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2412 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2413 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2414 redirections for pow.
2415 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2416 * sysdeps/x86_64/fpu/Versions: New versions added.
2417 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2418 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2419 build of SSE, AVX2 and AVX512 IFUNC versions.
2420 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2421 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2422 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2423 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2424 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2425 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2426 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2427 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2428 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2429 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2430 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2431 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2432 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2433 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2434 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2435 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2436 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2437 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2438 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2439 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2440 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2441 * NEWS: Mention addition of x86_64 vector pow.
2443 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2444 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2445 redirections for expf.
2446 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2447 * sysdeps/x86_64/fpu/Versions: New versions added.
2448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2449 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2450 build of SSE, AVX2 and AVX512 IFUNC versions.
2451 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2452 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2453 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2454 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2455 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2456 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2457 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2458 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2459 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2460 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2461 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2462 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2463 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2464 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2465 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2466 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2467 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2468 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2469 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2470 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2471 * NEWS: Mention addition of x86_64 vector expf.
2473 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2474 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2475 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2476 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2477 redirections for exp.
2478 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2479 * sysdeps/x86_64/fpu/Versions: New versions added.
2480 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2481 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2482 build of SSE, AVX2 and AVX512 IFUNC versions.
2483 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2484 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2485 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2486 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2487 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2488 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2489 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2490 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2491 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2492 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2493 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2494 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2495 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2496 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2497 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2498 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2499 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2500 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2501 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2502 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2503 * NEWS: Mention addition of x86_64 vector exp.
2505 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2506 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2507 redirections for logf.
2508 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2509 * sysdeps/x86_64/fpu/Versions: New versions added.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2511 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2512 build of SSE, AVX2 and AVX512 IFUNC versions.
2513 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2514 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2515 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2516 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2517 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2518 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2519 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2520 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2521 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2522 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2523 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2524 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2525 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2526 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2527 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2528 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2529 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2530 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2531 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2532 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2533 * NEWS: Mention addition of x86_64 vector logf.
2535 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2536 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2537 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2538 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2539 redirections for log.
2540 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2541 * sysdeps/x86_64/fpu/Versions: New versions added.
2542 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2543 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2544 build of SSE, AVX2 and AVX512 IFUNC versions.
2545 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2546 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2547 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2548 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2549 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2550 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2551 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2552 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2553 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2554 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2555 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2556 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2557 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2559 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2560 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2561 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2562 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2563 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2564 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2565 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2566 * NEWS: Mention addition of x86_64 vector log.
2568 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2570 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2571 cfi_adjust_cfa_offset argument.
2572 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2573 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2576 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2577 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2578 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2579 ordering using ldar.
2580 (_dl_tlsdesc_dynamic): Likewise.
2581 (_dl_tlsdesc_return_lazy): Likewise.
2582 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2583 relaxed atomics instead of volatile and synchronize with release store.
2584 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2586 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2588 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2590 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2591 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2592 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2593 * sysdeps/x86_64/fpu/Versions: New versions added.
2594 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2595 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2596 build of SSE, AVX2 and AVX512 IFUNC versions.
2597 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2598 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2599 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2600 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2601 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2602 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2603 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2604 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2605 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2606 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2607 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2608 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2609 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2610 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2611 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2612 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2614 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2615 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2616 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2617 * NEWS: Mention addition of x86_64 vector sinf.
2619 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2621 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2622 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2623 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2625 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2626 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2628 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2631 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2632 strong alias of _IO_fputs. Use libc_hidden_def.
2633 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2634 and define as weak alias of __fputs_unlocked. Use
2636 * include/stdio.h (__fputs_unlocked): Declare. Use
2638 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2642 * resolv/netdb.h [__USE_POSIX]: Change condition to
2644 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2646 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2647 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2648 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2649 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2650 [XPG4 || UNIX98] (AI_ALL): Likewise.
2651 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2652 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2653 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2654 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2655 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2656 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2657 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2658 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2659 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2660 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2661 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2662 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2663 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2664 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2665 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2666 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2667 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2668 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2669 [XPG4 || UNIX98] (gai_strerror): Likewise.
2670 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2671 [XPG4 || UNIX98] (getnameinfo): Likewise.
2674 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2675 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2677 (getgrent): Likewise.
2678 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2680 [XPG3 || POSIX2008] (endgrent): Likewise.
2681 [XPG3] (setgrent): Likewise.
2682 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2684 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2687 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2688 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2689 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2690 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2691 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2692 * include/unistd.h (__getlogin_r): Declare. Use
2694 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2695 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2697 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2698 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2699 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2701 2015-06-12 Martin Sebor <msebor@redhat.com>
2704 * Makerules (check-install-supported): New target.
2705 (install): Add check-install-supported as a dependency.
2706 * manual/install.texi (Installing the C Library): Document
2707 that overriding prefix and exec_prefix is not supported.
2709 * INSTALL: Regenerate from the above.
2711 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2714 * posix/Versions (libc): Export __libc_pread at version
2716 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2718 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2723 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2724 (cvt_symbol): Use weak_alias instead of strong_alias.
2725 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2726 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2728 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2729 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2732 * inet/herrno.c (h_errno): Rename to __h_errno.
2733 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2734 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2735 to __h_errno instead of h_errno.
2736 * nptl/herrno.c (h_errno): Rename to __h_errno.
2737 (__h_errno_location): Refer to __h_errno not h_errno.
2738 * resolv/Versions (h_errno): Rename to __h_errno.
2739 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2741 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2743 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2745 * configure.ac: More strict check for AVX512 assembler support.
2746 * configure: Regenerated.
2748 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2749 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2750 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2751 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2752 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2753 * sysdeps/x86_64/fpu/Versions: New versions added.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2755 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2756 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2757 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2758 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2759 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2760 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2761 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2762 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2763 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2764 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2765 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2766 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2767 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2768 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2769 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2771 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2772 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2773 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2774 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2775 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2776 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2777 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2778 * NEWS: Mention addition of x86_64 vector sin.
2780 2015-06-11 Florian Weimer <fweimer@redhat.com>
2782 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2785 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2788 * nptl/pt-interp.c: New file.
2789 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2791 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2792 $(common-objpfx)runtime-linker.h.
2794 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2796 * Makeconfig (+interp): Remove unused variable.
2797 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2798 only. Depend on $(common-objpfx)runtime-linker.h instead of
2799 $(elf-objpfx)runtime-linker.h.
2800 ($(elf-objpfx)runtime-linker.h): Rename to
2801 $(common-objpfx)runtime-linker.h and move ...
2802 * Makerules [$(build-shared) = yes]: ... here.
2803 * elf/interp.c: Include <runtime-linker.h> instead of
2804 <elf/runtime-linker.h>.
2806 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2808 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2809 (__gettimeofday_syscall): Remove vsyscall fallback.
2810 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2811 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2812 Add syscall fallback function.
2813 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2814 if vDSO is not present.
2815 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2817 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2820 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2822 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2825 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2827 (wcscmp): Define as weak alias of WCSCMP.
2828 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2830 (USE_HIDDEN_DEF): Define.
2831 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2832 __wcscoll. Don't use libc_hidden_weak.
2833 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2835 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2836 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2838 (weak_alias): Undefine and redefine.
2839 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2840 __wcscmp and define as weak alias of __wcscmp.
2841 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2842 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2843 (__wcscoll): Likewise.
2844 (wcscmp): Don't use libc_hidden_proto.
2845 (wcscoll): Likewise.
2846 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2848 * posix/regexec.c (check_node_accept_bytes): Likewise.
2849 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2851 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2852 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2855 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2856 __fstatvfs and define as weak alias of __fstatvfs. Use
2858 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2859 and define as weak alias of __statvfs. Use libc_hidden_weak.
2860 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2861 Define as alias of __fstatvfs, not fstatvfs.
2862 (fstatvfs64): Likewise.
2863 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2864 Define as alias of __statvfs, not statvfs.
2865 (statvfs64): Likewise.
2866 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2869 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2872 (HAVE_GETCPU_VSYSCALL): Define.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2874 (HAVE_GETCPU_VSYSCALL): Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2876 * sysdeps/unix/sysv/linux/sched_getcpu.c
2877 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2878 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2879 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2881 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2882 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2883 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2891 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2893 * sysdeps/x86_64/fpu/Makefile: New file.
2894 * sysdeps/x86_64/fpu/Versions: New file.
2895 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2896 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2897 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2898 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2899 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2900 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2901 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2902 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2903 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2904 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2905 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2906 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2907 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2908 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2909 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2910 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2911 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2912 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2913 * sysdeps/x86_64/configure: Regenerated.
2914 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2915 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2916 * manual/install.texi (Configuring and compiling): Document
2918 * INSTALL: Regenerated.
2919 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2921 * math/Makefile: Added rules for vector tests.
2922 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2923 declaration under condition.
2924 * math/test-double-vlen2.h: New file.
2925 * math/test-double-vlen4.h: New file.
2926 * math/test-double-vlen8.h: New file.
2927 * math/test-vec-loop.h: Added initialization macro.
2928 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2929 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2930 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2931 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2932 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2933 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2934 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2935 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2936 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2937 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2938 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2940 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2941 * sysdeps/x86_64/fpu/Versions: New versions added.
2942 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2943 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2944 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2945 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2946 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2947 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2948 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2949 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2950 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2951 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2952 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2953 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2954 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2956 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2957 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2958 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2959 * NEWS: Mention addition of x86_64 vector cosf.
2961 * math/Makefile: Added CFLAGS for new tests.
2962 * math/test-float-vlen16.h: New file.
2963 * math/test-float-vlen4.h: New file.
2964 * math/test-float-vlen8.h: New file.
2965 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2966 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2967 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2968 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2969 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2970 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2971 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2972 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2973 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2974 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2975 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2977 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2979 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2980 * locale/programs/ld-ctype.c: Likewise.
2982 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2985 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2986 bit_ZMM16_31_state): New macro.
2987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2988 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2990 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2992 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2994 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2996 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2998 2015-06-05 Joseph Myers <joseph@codesourcery.com>
3001 * libio/memstream.c (open_memstream): Rename to __open_memstream
3002 and define as weak alias of __open_memstream.
3003 * include/stdio.h (__open_memstream): Declare. Use
3005 (open_memstream): Don't use libc_hidden_proto.
3006 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3008 * posix/getopt.c (_getopt_internal_r): Likewise.
3009 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3011 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3012 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3013 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3016 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3020 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3021 [__USE_XOPEN2K8]. Remove redundant #endif.
3022 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3023 Remove redundant #if.
3024 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3026 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3027 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3030 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3031 (__iswlower): Likewise.
3032 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
3033 (__iswlower): Likewise.
3034 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3035 instead of towlower.
3036 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3037 instead of iswlower. Call __towupper instead of towupper.
3038 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3039 instead of iswalnum.
3041 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3043 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3046 2015-06-05 Florian Weimer <fweimer@redhat.com>
3050 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3051 Check for overflow properly. Check for O_APPEND. Ignore large
3052 file system block sizes. Add comments about problems.
3053 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3054 * manual/filesys.texi (Storage Allocation): New node.
3056 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3058 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3059 cancellable syscalls.
3060 (SYS_ify): Add guard to no redefine it.
3061 (INLINE_SYSCALL): Likewise.
3062 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3063 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3064 SYSCALL_CANCEL instead.
3065 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3066 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3067 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3068 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3069 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3070 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3071 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3072 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3073 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3074 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3075 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3076 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3077 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3078 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3079 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3080 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3082 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3083 (__libc_pread64): Likewise.
3084 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3085 (__libc_preadv): Likewise.
3086 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3087 (__libc_readv64): Likewise.
3088 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3089 (__libc_pwrite): Likewise.
3090 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3091 (__libc_pwrite64): Likewise.
3092 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3093 (__libc_pwritev): Likewise.
3094 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3095 (__libc_pwritev64): Likewise.
3096 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3097 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3098 (sync_file_range): Likewise.
3099 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3101 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3103 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3104 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3105 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3106 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3107 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3108 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3109 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3110 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3114 (__libc_read64): Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3124 (__libc_pread64): Likewise.
3125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3128 (__libc_pwrite64): Likewise.
3129 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3130 (sync_file_range): Likewise.
3131 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3132 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3133 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3134 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3135 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3136 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3137 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3138 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3139 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3140 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3141 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3142 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3143 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3144 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3145 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3146 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3147 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3148 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3151 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3153 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3154 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3156 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3157 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3158 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3159 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3161 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3162 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3163 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3164 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3165 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3167 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
3169 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3171 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3172 Use VDSO routines for gettimeofday, clock_gettime if
3174 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3175 Declare VDSO symbols.
3176 * sysdeps/unix/sysv/linux/arm/sysdep.h:
3177 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3178 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3179 * sysdeps/unix/sysv/linux/arm/Versions: Add
3180 __vdso_clock_gettime.
3182 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3184 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3185 be an inline implementation regardless of library is built within.
3186 (open_not_cancel_2): Likewise.
3187 (__read_nocancel): Likewise.
3188 (__write_nocancel): Likewise.
3189 (openat_not_cancel): Likewise.
3190 (openat_not_cancel_3): Likewise.
3191 (openat64_not_cancel): Likewise.
3192 (openat64_not_cancel_3): Likewise.
3193 (__close_nocancel): Likewise.
3194 (pause_not_cancel): Likewise.
3195 (nanosleep_not_cancel): Likewise.
3196 (sigsuspend_not_cancel): Likewise.
3198 2015-06-04 Torvald Riegel <triegel@redhat.com>
3201 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3203 (__pthread_rwlock_rdlock_slow): Likewise.
3204 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3206 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3208 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3209 * nptl/tst-rwlock16.c: New file.
3210 * nptl/Makefile (tests): Add new test.
3212 2015-06-04 Torvald Riegel <triegel@redhat.com>
3215 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3216 missing wake-up of readers.
3217 * nptl/tst-rwlock15.c: New file.
3218 * nptl/Makefile (tests): Add new test.
3220 2015-06-03 Roland McGrath <roland@hack.frob.com>
3222 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3223 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3224 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3225 and __nacl_supply_interface_rtld.
3226 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3227 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3228 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3229 Add __nacl_supply_interface_rtld.
3230 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3232 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3237 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3239 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3241 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3242 __signbit* with standard C99 macros.
3243 * math/e_exp10l.c: Likewise.
3244 * math/e_exp2l.c: Likewise.
3245 * math/e_scalb.c: Likewise.
3246 * math/e_scalbf.c: Likewise.
3247 * math/e_scalbl.c: Likewise.
3248 * math/s_ldexp.c: Likewise.
3249 * math/s_ldexpf.c: Likewise.
3250 * math/s_ldexpl.c: Likewise.
3251 * math/w_atan2.c: Likewise.
3252 * math/w_atan2f.c: Likewise.
3253 * math/w_atan2l.c: Likewise.
3254 * math/w_cosh.c: Likewise.
3255 * math/w_coshf.c: Likewise.
3256 * math/w_coshl.c: Likewise.
3257 * math/w_exp10.c: Likewise.
3258 * math/w_exp10f.c: Likewise.
3259 * math/w_exp10l.c: Likewise.
3260 * math/w_exp2.c: Likewise.
3261 * math/w_exp2f.c: Likewise.
3262 * math/w_exp2l.c: Likewise.
3263 * math/w_fmod.c: Likewise.
3264 * math/w_fmodf.c: Likewise.
3265 * math/w_fmodl.c: Likewise.
3266 * math/w_hypot.c: Likewise.
3267 * math/w_hypotf.c: Likewise.
3268 * math/w_hypotl.c: Likewise.
3269 * math/w_jnl.c: Likewise.
3270 * math/w_lgamma.c: Likewise.
3271 * math/w_lgamma_r.c: Likewise.
3272 * math/w_lgammaf.c: Likewise.
3273 * math/w_lgammaf_r.c: Likewise.
3274 * math/w_lgammal.c: Likewise.
3275 * math/w_lgammal_r.c: Likewise.
3276 * math/w_pow.c: Likewise.
3277 * math/w_powf.c: Likewise.
3278 * math/w_powl.c: Likewise.
3279 * math/w_remainder.c: Likewise.
3280 * math/w_remainderf.c: Likewise.
3281 * math/w_remainderl.c: Likewise.
3282 * math/w_scalb.c: Likewise.
3283 * math/w_scalbf.c: Likewise.
3284 * math/w_scalbl.c: Likewise.
3285 * math/w_scalbln.c: Likewise.
3286 * math/w_scalblnf.c: Likewise.
3287 * math/w_scalblnl.c: Likewise.
3288 * math/w_sinh.c: Likewise.
3289 * math/w_sinhf.c: Likewise.
3290 * math/w_sinhl.c: Likewise.
3291 * math/w_tgamma.c: Likewise.
3292 * math/w_tgammaf.c: Likewise.
3293 * math/w_tgammal.c: Likewise.
3294 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3295 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3296 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3301 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3302 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3305 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3306 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3307 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3325 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3326 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3327 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3328 * stdio-common/printf_fp.c: Likewise.
3329 * stdio-common/printf_fphex.c: Likewise.
3330 * stdio-common/printf_size.c: Likewise.
3332 2015-06-03 Joseph Myers <joseph@codesourcery.com>
3335 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3337 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3339 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3340 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3341 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3342 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3343 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3344 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3345 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3346 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3347 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3348 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3351 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3352 weak alias of __wmemchr. Use libc_hidden_weak.
3353 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
3354 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3357 2015-06-02 Roland McGrath <roland@hack.frob.com>
3360 * elf/tst-tlsalign-extern.c: New file.
3361 * elf/tst-tlsalign-extern-static.c: New file.
3362 * elf/tst-tlsalign-vars.c: New file.
3363 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3364 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3365 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3366 ($(objpfx)tst-tlsalign-extern-static): Likewise.
3367 (test-xfail-tst-tlsalign-extern-static): New variable.
3369 2015-06-02 Joseph Myers <joseph@codesourcery.com>
3371 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3372 Use variable name _sc_err instead of err.
3373 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3375 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3376 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3377 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3378 (INLINE_SYSCALL): Likewise.
3380 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3381 * include/string.h (__strnlen): Use libc_hidden_proto.
3382 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3383 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3384 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3385 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3386 (libc_hidden_def): Undefine and redefine.
3387 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3388 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3390 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3392 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3395 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3396 weak alias of __towlower. Use libc_hidden_weak.
3397 (towupper): Rename to __towupper and define as weak alias of
3398 __towupper. Use libc_hidden_weak.
3399 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3400 (__towupper): Likewise.
3401 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3402 __towlower instead of towlower.
3404 2015-06-02 Roland McGrath <roland@hack.frob.com>
3406 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3407 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3409 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3411 * sysdeps/aarch64/libm-test-ulps: Update.
3413 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3415 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3417 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3419 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3420 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3421 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3422 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3423 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3425 2015-06-01 Martin Sebor <msebor@redhat.com>
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3429 (__setcontext): Use extended four-operand version of mtsf whenever
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3432 (__novec_swapcontext): Likewise.
3434 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3436 * benchtests/scripts/compare_bench.py: New file.
3437 * benchtests/scripts/import_bench.py (mean): New function.
3438 (split_list): Likewise.
3439 (do_for_all_timings): Likewise.
3440 (compress_timings): Likewise.
3442 * benchtests/scripts/import_bench.py: New file.
3443 * benchtests/scripts/validate_benchout.py: Import import_bench
3444 instead of jsonschema.
3445 (validate_bench): Remove function.
3446 (main): Use import_bench.
3448 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3450 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3451 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3453 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3457 2015-05-28 Roland McGrath <roland@hack.frob.com>
3459 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3460 set THREAD_SELF->tid to a magic value and futex-wake it.
3461 Pass its address to the thread_exit system call.
3462 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3464 * sysdeps/nacl/lowlevellock.h: New file.
3465 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3467 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3468 Add TIMEOUT to current time, don't subtract it.
3470 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3474 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3475 ($(objpfx)tst-audit2.out): Also depend on
3476 $(objpfx)tst-auditmod9b.so.
3477 * elf/tst-audit2.c: Include <dlfcn.h>.
3478 (calloc_called): New.
3479 (calloc): Allow to be called more than once.
3480 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3482 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3484 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3485 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3487 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3489 * stdlib/monetary.h: Fix comment.
3491 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3493 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3494 Avoid using variables in #defines that might cause shadowing.
3495 (INTERNAL_VSYSCALL_CALL): Likewise.
3497 2015-05-26 Roland McGrath <roland@hack.frob.com>
3499 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3501 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3502 * nptl/lll_timedlock_wait.c: ... to this new file.
3503 * nptl/Makefile (libpthread-routines): Add it.
3504 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3505 * nptl/lll_timedwait_tid.c: ... to this new file.
3506 * nptl/Makefile (libpthread-routines): Add it.
3507 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3508 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3509 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3510 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3511 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3512 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3513 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3514 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3515 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3516 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3518 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3520 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3521 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3522 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3524 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3526 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3528 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3529 * sysdeps/unix/sysv/linux/tile/sysdep.h
3530 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3531 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3532 using vDSO syscall macro.
3534 2015-05-26 Andriy Rysin <arysin@gmail.com>
3537 * uk_UA: Fix sorting order for Ukrainian locale
3539 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3541 * stdlib/monetary.h: Fix comment.
3543 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3546 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3547 st_mtim and st_ctim members.
3548 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3549 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3550 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3551 (struct stat64): Likewise.
3552 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3553 (struct stat64): Likewise.
3554 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3555 (struct stat64): Likewise.
3557 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3559 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3560 Define and include sysdep-vdso.h.
3561 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3563 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3565 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3566 Define with VDSO_SYMBOL and use PTR_MANGLE.
3567 (__vdso_clock_gettime): Likewise.
3568 (__vdso_clock_getres): Likewise.
3569 (_libc_vdso_platform_setup): Likewise.
3570 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3572 (_libc_vdso_platform_setup): Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3575 (__vdso_clock_gettime): Likewise.
3576 (__vdso_clock_getres): Likewise.
3577 (__vdso_get_tbfreq): Likewise.
3578 (__vdso_getcpu): Likewise.
3579 (__vdso_time): Likewise.
3580 (__vdso_sigtramp_rt64): Likewise.
3581 (__vdso_signtramp32): Likewise.
3582 (__vdso_sigtramp_rt32): Likewise.
3583 (_libc_vdso_platform_setup): Likewise.
3584 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3586 (__vdso_clock_gettime): Likewise.
3587 (__vdso_clock_getres): Likewise.
3588 (_libc_vdso_platform_setup): Likewise.
3589 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3591 (__vdso_clock_gettime): Likewise.
3592 (_libc_vdso_platform_setup): Likewise.
3593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3595 (__vdso_getcpu): Likewise.
3596 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3597 Use VDSO_SYMBOL macro to define.
3598 (__vdso_clock_gettime): Likewise.
3599 (__vdso_clock_getres): Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3602 (__vdso_clock_gettime): Likewise.
3603 (__vdso_clock_getres): Likewise.
3604 (__vdso_get_tbfreq): Likewise.
3605 (__vdso_getcpu): Likewise.
3606 (__vdso_time): Likewise.
3607 (__vdso_sigtramp_rt64): Likewise.
3608 (__vdso_signtramp32): Likewise.
3609 (__vdso_sigtramp_rt32): Likewise.
3610 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3612 (__vdso_clock_gettime): Likewise.
3613 (__vdso_clock_getres): Likewise.
3614 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3616 (__vdso_clock_gettime): Likewise.
3617 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3621 (INTERNAL_VSYSCALL): Likewise.
3622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3624 (INTERNAL_VSYSCALL): Likewise.
3625 (INTERNAL_VSYSCALL_NCS): Likewise.
3626 (INTERNAL_VSYSCALL_CALL): New macro.
3627 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3630 (INTERNAL_VSYSCALL): Likewise.
3631 (INTERNAL_VSYSCALL_NCS): Likewise.
3632 (INTERNAL_VSYSCALL_CALL): New macro.
3633 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3635 (INLINE_VSYSCALL): Remove macro.
3636 (INTERNAL_VSYSCALL): Remove macro.
3637 (INTERNAL_VSYSCALL_NCS): Remove macro.
3638 (INTERNAL_VSYSCALL_CALL): New macro.
3639 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3640 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3641 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3642 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3643 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3645 (INLINE_VSYSCALL): Remove macro.
3646 (INTERNAL_VSYSCALL): Likewise.
3647 (INTERNAL_VSYSCALL_NCS): Likewise.
3648 (INTERNAL_VSYSCALL_CALL): New macro.
3649 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3650 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3651 PTR_DEMANGLE on vDSO pointer.
3652 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3653 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3655 (INTERNAL_SYSCALL): Likewise.
3656 (INTERNAL_VSYSCALL_NCS): Remove macro.
3657 (INTERNAL_VSYSCALL_CALL): New macro.
3658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3660 (INTERNAL_VSYSCALL): Likewise.
3661 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3662 sysdep-vdso.h instead of libc-vdso.h.
3663 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3665 (INLINE_VSYSCALL): Likewise.
3666 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3667 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3669 (INLINE_VSYSCALL): Likewise.
3670 (INTERNAL_VSYSCALL): Likewise.
3671 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3672 * sysdeps/unix/sysv/linux/timespec_get.c
3673 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3674 (timespec_get): Use ANSI prototype.
3675 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3676 and definition for Linux.
3678 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3680 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3681 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3683 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3687 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3688 for missing DT_PLTRELSZ.
3690 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3692 Remove obsolete aliases that broke 'locale -a'
3694 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3695 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3696 breaking some applications that use 'locale -a' output.
3697 Change the encoding of this file from Latin-1 to ASCII to avoid
3698 other potential problems with people grepping this file.
3700 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3702 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3703 -fasynchronous-unwind-tables.
3704 (CFLAGS-sendto.c): Likewise.
3705 (CFLAGS-sendmsg.c): Likewise.
3706 (CFLAGS-connect.c): Likewise.
3707 (CFLAGS-recvmsg.c): Likewise.
3708 (CFLAGS-recvfrom.c): Likewise.
3709 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3710 (SOCKETCALL): New macro: non-cancellable socketcall.
3711 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3712 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3713 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3714 * sysdeps/unix/sysv/linux/accept.c: New file.
3715 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3716 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3717 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3718 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3719 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3720 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3721 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3722 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3723 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3724 * sysdeps/unix/sysv/linux/send.c: Likewise.
3725 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3726 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3727 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3728 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3729 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3730 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3731 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3733 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3734 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3735 instead of __internal_xxx function.
3736 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3738 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3739 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3740 instead of __internal_xxx function.
3741 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3743 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3744 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3745 instead of __internal_xxx function.
3746 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3747 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3748 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3749 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3750 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3751 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3752 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3753 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3754 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3755 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3756 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3757 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3758 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3759 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3761 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3762 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3763 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3764 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3765 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3768 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3769 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3770 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3771 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3773 * sysdeps/unix/sysv/linux/send.S: Likewise.
3774 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3775 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3776 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3777 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3778 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3779 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3780 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3782 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3783 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3784 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3785 socketcall is implemented in GLIBC.
3787 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3789 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3790 (__fma): Ignore uninitialized warnings around packing.
3791 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3792 (__fmaf): Ignore uninitialized warnings around packing.
3793 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3794 (__fmal): Ignore uninitialized warnings around packing.
3796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3797 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3798 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3799 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3801 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3802 switch statement into default case.
3803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3805 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3806 a conditional in forcing "inexact".
3807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3810 2015-05-22 Roland McGrath <roland@hack.frob.com>
3812 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3813 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3814 for each INTERNAL_SYSCALL use.
3816 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3819 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3820 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3824 * string/basename.c (basename): Rename to __basename and define as
3825 weak alias of __basename. Use libc_hidden_weak.
3826 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3827 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3828 __basename instead of basename.
3829 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3831 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3833 2015-05-18 Florian Weimer <fweimer@redhat.com>
3835 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3836 (_IO_JUMPS_FILE_plus): New.
3837 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3838 _IO_CAST_FIELD_ACCESS.
3839 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3840 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3841 * libio/freopen.c (freopen): Likewise.
3842 * libio/freopen64.c (freopen64): Likewise.
3843 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3844 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3845 * libio/iofwide.c (_IO_fwide): Likewise.
3846 * libio/memstream.c (open_memstream): Likewise.
3847 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3848 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3849 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3851 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3853 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3854 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3857 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3859 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3860 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3866 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3867 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3869 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3870 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3871 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3873 2015-05-21 Florian Weimer <fweimer@redhat.com>
3875 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3876 Adjust jump table label generation macros.
3878 2015-05-21 Florian Weimer <fweimer@redhat.com>
3880 * stdio-common/vfprintf.c (vfprintf): Move local variables
3881 args_malloced, specs, specs_malloced, and the code after
3882 do_positional to the printf_positional function.
3883 (printf_positional): New function.
3885 2015-05-21 Florian Weimer <fweimer@redhat.com>
3887 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3889 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3890 STEP4_TABLE, process_arg): Move macro definitions
3891 out of the vfprintf function. (Cosmetic change only.)
3893 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3895 * benchtests/Makefile (stdio-common-bench): Define.
3896 (benchset): Add stdio-common-bench.
3897 * sprintf-inputs: New file.
3898 * sprintf-source.c: New file.
3900 2015-05-21 Andreas Schwab <schwab@suse.de>
3904 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3905 of struct __res_state.
3906 * resolv/res_send.c (__libc_res_nsend): Likewise.
3907 (get_nsaddr): New function.
3908 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3911 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3913 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3914 -D_POSIX_C_SOURCE=199506L.
3916 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3918 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3919 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3920 Do not mention otherwise.
3921 [POSIX] (_XOPEN_VERSION): Do not expect.
3922 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3923 [POSIX] (_POSIX2_C_BIND): Likewise.
3924 [POSIX] (_POSIX2_VERSION): Likewise.
3925 [POSIX] (_XOPEN_XPG2): Likewise.
3926 [POSIX] (_XOPEN_XPG3): Likewise.
3927 [POSIX] (_XOPEN_XPG4): Likewise.
3928 [POSIX] (_XOPEN_UNIX): Likewise.
3929 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3930 [POSIX] (_POSIX_BARRIERS): Likewise.
3931 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3932 [POSIX] (_POSIX_CPUTIME): Likewise.
3933 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3934 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3935 [POSIX] (_POSIX_SHELL): Likewise.
3936 [POSIX] (_POSIX_SPAWN): Likewise.
3937 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3938 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3939 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3940 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3941 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3942 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3943 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3944 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3945 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3946 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3947 [POSIX] (_POSIX2_PBS): Likewise.
3948 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3949 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3950 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3951 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3952 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3953 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3954 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3955 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3956 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3957 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3958 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3959 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3960 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3961 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3962 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3963 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3964 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3965 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3966 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3967 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3968 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3969 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3970 [POSIX] (_SC_2_C_BIND): Likewise.
3971 [POSIX] (_SC_2_C_VERSION): Likewise.
3972 [POSIX] (_SC_2_PBS): Likewise.
3973 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3974 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3975 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3976 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3977 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3978 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3979 [POSIX] (_SC_BARRIERS): Likewise.
3980 [POSIX] (_SC_BASE): Likewise.
3981 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3982 [POSIX] (_SC_DEVICE_IO): Likewise.
3983 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3984 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3985 [POSIX] (_SC_FD_MGMT): Likewise.
3986 [POSIX] (_SC_FIFO): Likewise.
3987 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3988 [POSIX] (_SC_FILE_LOCKING): Likewise.
3989 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3990 [POSIX] (_SC_IOV_MAX): Likewise.
3991 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3992 [POSIX] (_SC_NETWORKING): Likewise.
3993 [POSIX] (_SC_PAGE_SIZE): Likewise.
3994 [POSIX] (_SC_PASS_MAX): Likewise.
3995 [POSIX] (_SC_PIPE): Likewise.
3996 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3997 [POSIX] (_SC_REGEXP): Likewise.
3998 [POSIX] (_SC_SHELL): Likewise.
3999 [POSIX] (_SC_SIGNALS): Likewise.
4000 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4001 [POSIX] (_SC_SPIN_LOCKS): Likewise.
4002 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4003 [POSIX] (_SC_USER_GROUPS): Likewise.
4004 [POSIX] (_SC_USER_GROUPS_R): Likewise.
4005 [POSIX] (_SC_STREAMS): Likewise.
4006 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4007 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4008 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4009 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4010 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4011 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4012 [POSIX] (_PC_FILESIZEBITS): Likewise.
4013 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4014 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4015 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4016 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4017 [POSIX] (uid_t): Likewise.
4018 [POSIX] (gid_t): Likewise.
4019 [POSIX] (off_t): Likewise.
4020 [POSIX] (pid_t): Likewise.
4021 [POSIX] (cuserid): Allow.
4022 (_SC_2_CHAR_TERM): Require constant.
4023 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4024 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4027 2015-05-20 Roland McGrath <roland@hack.frob.com>
4029 * sysdeps/nacl/pthread-pids.h: New file.
4030 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4031 (create_thread): Use __nacl_get_tid to initialize PD->tid.
4033 * nptl/pthread-pids.h: New file.
4034 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4035 * nptl/nptl-init.c: Include <pthread-pids.h>.
4036 (__pthread_initialize_minimal_internal):
4037 Call __pthread_initialize_pids instead of set_tid_address syscall.
4039 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4040 * sysdeps/posix/usleep.c: ... here.
4042 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4044 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4045 call_pselect6 object.
4046 [$(subdir) = io]: Remove call_sync_file_range object.
4047 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4048 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4049 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4050 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4052 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
4054 * math/s_cproj.c: Add include "math_private.h".
4055 * math/s_cprojf.c: Likewise.
4056 * math/s_cprojl.c: Likewise.
4058 2015-05-19 Joseph Myers <joseph@codesourcery.com>
4061 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4062 high mantissa bit when testing whether P is a NaN.
4063 * math/libm-test.inc (remainder_test_data): Add more tests.
4064 (remquo_test_data): Likewise.
4067 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4068 below -32, return the argument, with underflow if subnormal.
4069 * math/auto-libm-test-in: Add more tests of atanh.
4070 * math/auto-libm-test-out: Regenerated.
4072 2015-05-19 Roland McGrath <roland@hack.frob.com>
4075 * nptl/tst-sem15.c: New file.
4076 * nptl/Makefile (tests): Add it.
4077 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4078 s/<</>>/ to fix typo in EOVERFLOW check.
4079 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4081 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4083 * manual/strings.texi (envz_remove): Fix typo in safety
4086 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
4087 Steve Ellcey <sellcey@imgtec.com>
4089 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4090 in order to avoid strict alias warnings.
4091 (iruserok_af): Ditto for ra.
4093 2015-05-19 James Lemke <jwlemke@codesourcery.com>
4097 (magicbyte): Convert to a function and avoid returning 0x01.
4098 (mem2mem_check): Avoid using a length byte equal to the magic byte.
4099 (mem2chunk_check): Fix unsigned comparisons to zero.
4100 Hoist defs of sz and magic.
4102 2015-05-19 Richard Henderson <rth@redhat.com>
4104 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4106 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4108 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4111 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4112 * malloc/arena.c (arena_lock): Check if arena is corrupt.
4113 (reused_arena): Find a non-corrupt arena.
4114 (heap_trim): Pass arena to unlink.
4115 * malloc/hooks.c (malloc_check_get_size): Pass arena to
4117 (top_check): Likewise.
4118 (free_check): Likewise.
4119 (realloc_check): Likewise.
4120 * malloc/malloc.c (malloc_printerr): Add arena argument.
4122 (munmap_chunk): Adjust.
4123 (ARENA_CORRUPTION_BIT): New macro.
4124 (arena_is_corrupt): Likewise.
4125 (set_arena_corrupt): Likewise.
4126 (sysmalloc): Use mmap if there are no usable arenas.
4127 (_int_malloc): Likewise.
4128 (__libc_malloc): Don't fail if arena_get returns NULL.
4129 (_mid_memalign): Likewise.
4130 (__libc_calloc): Likewise.
4131 (__libc_realloc): Adjust for additional argument to
4133 (_int_free): Likewise.
4134 (malloc_consolidate): Likewise.
4135 (_int_realloc): Likewise.
4136 (_int_memalign): Don't touch corrupt arenas.
4137 * malloc/tst-malloc-backtrace.c: New test case.
4139 * Makefile (summarize-tests): Fix return value on success.
4141 * manual/string.texi (Envz Functions): Add envz_remove.
4143 2015-05-18 Roland McGrath <roland@hack.frob.com>
4145 * sysdeps/posix/opendir.c: Include <stdbool.h>.
4146 (invalid_name): New function, broken out of ...
4147 (__opendirat): ... here. Call it.
4148 (need_isdir_precheck): New function, broken out of ...
4149 (__opendirat): ... here. Call it.
4150 Use __fxstatat64, not __xstatat64.
4151 (opendir_oflags): New function, broken out of ...
4152 (__opendirat): ... here. Call it.
4153 (opendir_tail): New function, broken out of ...
4154 (__opendirat): ... here. Call it.
4155 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4156 opendir_tail, rather than punting to __opendirat.
4157 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4159 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4161 * .gitignore: Ignore generated *.pyc.
4163 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
4165 * include/stdio.h: Define __need_wint_t.
4166 * test-skeleton.c: Avoid `for' loop initial declaration.
4167 * nptl/tst-initializers1.c: Use test-skeleton.c.
4169 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4172 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4174 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4177 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4178 (__ieee754_atanh): Force underflow exception for results with
4179 small absolute value.
4180 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4181 (__ieee754_atanhf): Force underflow exception for results with
4182 small absolute value.
4183 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4184 (__ieee754_atanh): Force underflow exception for results with
4185 small absolute value.
4186 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4187 (__ieee754_atanhf): Force underflow exception for results with
4188 small absolute value.
4189 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4190 (__ieee754_atanhl): Force underflow exception for results with
4191 small absolute value.
4192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4193 (__ieee754_atanhl): Force underflow exception for results with
4194 small absolute value.
4195 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4196 (__ieee754_atanhl): Force underflow exception for results with
4197 small absolute value.
4198 * math/auto-libm-test-in: Do not allow missing underflow
4199 exceptions from atanh.
4200 * math/auto-libm-test-out: Regenerated.
4203 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4204 2**-28 as threshold for returning x or +/- 1/x.
4205 * math/auto-libm-test-in: Add more tests of tan.
4206 * math/auto-libm-test-out: Regenerated.
4209 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4210 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4211 * math/auto-libm-test-in: Add another test of lgamma.
4212 * math/auto-libm-test-out: Regenerated.
4214 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
4216 * stdio-common/printf_fp.c (___printf_fp): Use abs.
4217 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
4218 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4219 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4220 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
4221 (ADD2A): Use fabs. (SUB2A): Use fabs.
4222 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4225 (log1): Use fabs. (my_log2): Use fabs.
4226 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4227 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4229 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4231 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
4232 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
4233 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
4234 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
4235 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4236 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4238 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4241 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4242 as threshold for returning 1 - x.
4243 * math/auto-libm-test-in: Add more tests of erfc.
4244 * math/auto-libm-test-out: Regenerated.
4246 2015-05-14 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4250 threshold for large arguments.
4251 * math/auto-libm-test-in: Add another test of atan.
4252 * math/auto-libm-test-out: Regenerated.
4255 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4256 (__log1p): Force underflow exception for results with small
4258 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4259 (__log1pf): Force underflow exception for results with small
4261 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4262 (__log1p): Force underflow exception for results with small
4264 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4265 (__log1pf): Force underflow exception for results with small
4267 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4268 (__log1pl): Force underflow exception for results with small
4270 * math/auto-libm-test-in: Do not allow missing underflow
4271 exceptions from log1p.
4272 * math/auto-libm-test-out: Regenerated.
4274 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
4275 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4278 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4280 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
4282 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4283 (libmvec): New variable.
4284 * configure.ac: Added option for mathvec build.
4285 * configure: Regenerated.
4286 * mathvec/Depend: New file.
4287 * mathvec/Makefile: New file.
4288 * shlib-versions: Added libmvec.
4289 * math/Makefile: Added rule for libm.so installation.
4291 * bits/math-vector.h: New file.
4292 * bits/libm-simd-decl-stubs.h: New header.
4293 * math/Makefile (headers): Added new header
4294 libm-simd-decl-stubs.h.
4295 * math/math.h (__MATHCALL_VEC): New macro.
4297 * math/gen-libm-have-vector-test.sh: Script generates series of macros
4298 for conditions in testing functions.
4299 * math/Makefile: Added call of libm-have-vector-test.sh.
4300 * math/libm-test.inc (HAVE_VECTOR): New macros.
4302 * math/libm-test.inc: START refactored.
4303 * math/test-double.c (TEST_MATHVEC): Add define.
4304 * math/test-float.c: Likewise.
4305 * math/test-idouble.c: Likewise.
4306 * math/test-ifloat.c: Likewise.
4307 * math/test-ildoubl.c: Likewise.
4308 * math/test-ldouble.c: Likewise.
4309 * sysdeps/generic/math-tests-arch.h
4310 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4313 * math/test-double.c (FUNC_TEST): New macro.
4314 * math/test-float.c: Likewise.
4315 * math/test-idouble.c: Likewise.
4316 * math/test-ifloat.c: Likewise.
4317 * math/test-ildoubl.c: Likewise.
4318 * math/test-ldouble.c: Likewise.
4319 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4321 2015-05-13 Roland McGrath <roland@hack.frob.com>
4323 * sysdeps/nacl/fdopendir.c: New file.
4325 * dirent/scandir-tail.c: New file.
4326 * dirent/scandir64-tail.c: New file.
4327 * dirent/Makefile (routines): Add them.
4328 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4329 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4330 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4331 [!SCANDIR] (SCANDIR_TAIL): New macro.
4332 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4333 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4334 (SCANDIRAT): Macro removed.
4335 (SCANDIR_TAIL): New macro.
4336 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4337 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4338 (SCANDIRAT): Just call __opendirat and __scandir_tail.
4339 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4340 (READDIR): Macro removed.
4341 (SCANDIR_TAIL): New macro.
4342 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4343 (SCANDIR_TAIL): New macro.
4345 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4346 * dirent/scandir-cancel.c: ... to this new file.
4347 * dirent/Makefile (routines): Add it.
4348 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4349 * sysdeps/unix/sysv/linux/i386/scandir64.c
4350 (SKIP_SCANDIR_CANCEL): Macro removed.
4351 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4353 * dirent/tst-scandir.c: New file.
4354 * dirent/tst-scandir64.c: New file.
4355 * dirent/Makefile (tests): Add them.
4357 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
4360 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4362 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4364 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4367 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
4369 * benchtests/bench-strcoll.c: New benchmark.
4370 * benchtests/Makefile: Generate locales and run benchmark.
4371 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4372 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4373 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4374 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4375 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4376 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4377 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4378 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4379 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4380 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4381 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4382 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4383 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4384 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4385 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4386 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4387 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4388 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4389 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4390 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4391 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4392 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4393 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4394 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4396 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4398 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4399 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4401 2015-05-12 Roland McGrath <roland@hack.frob.com>
4403 * posix/uname-values.h: New file.
4404 * posix/uname.c: Include that instead of <config-name.h>.
4405 * sysdeps/nacl/uname-values.h: New file.
4406 * sysdeps/arm/nacl/uname-values.h: New file.
4408 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4410 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4411 splitting into fields.
4413 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4415 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4416 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4417 * locale/localeinfo.h: Add enum collation_encoding_type.
4418 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4419 * programs/ld-collate.c (collate_output): Add encoding type info.
4420 * string/strcoll_l.c (STRDIFF): New function.
4421 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4422 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4424 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4427 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4428 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4429 <fpu_control.h> instead of <math/fpu_control.c>.
4430 * sysdeps/mips/mips32/fpu/Makefile: New file.
4432 2015-05-11 Andreas Schwab <schwab@suse.de>
4435 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4437 (_nss_compat_endgrent): Call nss_endgrent.
4438 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4440 (_nss_compat_endpwent): Call nss_endpwent.
4441 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4442 needent, call nss_setspent only if non-zero.
4443 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4444 (internal_endspent): Don't call nss_endspent.
4445 (_nss_compat_endspent): Call nss_endspent.
4446 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4447 Remove. All uses removed.
4448 (internal_setent): Remove parameter stayopen, add parameter
4449 stream. Use it instead of global variable.
4450 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4451 (internal_endent, internal_getent): Add parameter stream. Use it
4452 instead of global variable.
4453 (CONCAT(_nss_files_end,ENTNAME))
4454 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4455 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4456 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4458 (internal_setent, internal_endent): Add parameter stream. Use it
4459 instead of global variable.
4460 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4462 (get_next_alias): Add parameter stream.
4463 (_nss_files_getaliasent_r): Pass global stream.
4464 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4465 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4466 (_nss_files_gethostbyname4_r): Pass local stream to
4467 internal_setent, internal_getent and internal_endent. Remove
4470 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4472 * tst-strfmon1.c (tests): Update expected currency symbol.
4474 2015-05-08 Roland McGrath <roland@hack.frob.com>
4476 * sysdeps/nacl/gethostname.c: New file.
4478 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4480 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4482 * math/auto-libm-test-out: Regenerated.
4483 * sysdeps/i386/fpu/libm-test-ulps: Update.
4484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4489 * stdlib/tst-setcontext3.c: New file.
4490 * stdlib/tst-setcontext3.sh: New file.
4491 * stdlib/Makefile (tests): Add tst-setcontext3.
4492 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4493 to verify test program created output file.
4494 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4495 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4496 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4497 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4499 2015-05-06 Roland McGrath <roland@hack.frob.com>
4502 * elf/tst-tlsalign.c: New file.
4503 * elf/tst-tlsalign-static.c: New file.
4504 * elf/tst-tlsalign-lib.c: New file.
4505 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4506 (tests-static): Add tst-tlsalign-static.
4507 (modules-names): Add tst-tlsalign-lib.
4508 (test-xfail-tst-tlsalign): New variable.
4509 (test-xfail-tst-tlsalign-static): New variable.
4511 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4512 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4514 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4516 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4517 csqrt, erfc, sin and sincos.
4518 * math/auto-libm-test-out: Regenerated.
4519 * sysdeps/i386/fpu/libm-test-ulps: Update.
4520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4522 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4524 * sysdeps/aarch64/libm-test-ulps: Update.
4526 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4528 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4529 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4530 * math/auto-libm-test-out: Regenerated.
4531 * sysdeps/i386/fpu/libm-test-ulps: Update.
4532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4537 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4538 (wcsncpy): Likewise.
4540 2015-05-05 Florian Weimer <fweimer@redhat.com>
4542 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4543 Assume __ASSUME_FALLOCATE is always true.
4544 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4545 (__posix_fallocate64_l64): Likweise.
4546 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4547 (posix_fallocate): Likewise.
4548 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4549 (__posix_fallocate64_l64): Likewise.
4550 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4551 [!__ASSUME_FALLOCATE]: Add comment.
4553 2015-05-05 Florian Weimer <fweimer@redhat.com>
4555 * sysdeps/unix/sysv/linux/i386/Makefile
4556 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4557 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4558 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4559 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4560 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4561 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4562 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4564 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4566 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4567 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4569 * math/auto-libm-test-out: Regenerated.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4573 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4575 * math/auto-libm-test-in: Add more tests of tgamma.
4576 * math/auto-libm-test-out: Regenerated.
4577 * sysdeps/i386/fpu/libm-test-ulps: Update.
4578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4580 * math/auto-libm-test-in: Add more tests of tanh.
4581 * math/auto-libm-test-out: Regenerated.
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4585 * math/auto-libm-test-in: Add more tests of tan.
4586 * math/auto-libm-test-out: Regenerated.
4587 * sysdeps/i386/fpu/libm-test-ulps: Update.
4588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4591 * math/auto-libm-test-out: Regenerated.
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4595 * math/auto-libm-test-in: Add another test of pow.
4596 * math/auto-libm-test-out: Regenerated.
4597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4599 * math/auto-libm-test-in: Add more tests of lgamma.
4600 * math/auto-libm-test-out: Regenerated.
4601 * sysdeps/i386/fpu/libm-test-ulps: Update.
4602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4604 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4606 * math/auto-libm-test-out: Regenerated.
4607 * sysdeps/i386/fpu/libm-test-ulps: Update.
4608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4610 2015-05-01 Mark Wielaard <mjw@redhat.com>
4612 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4613 Elf64_Chdr structs and ELFCOMPRESS constants.
4615 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4617 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4619 * math/auto-libm-test-out: Regenerated.
4620 * sysdeps/i386/fpu/libm-test-ulps: Update.
4621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4623 * math/auto-libm-test-in: Add more tests of erf and erfc.
4624 * math/auto-libm-test-out: Regenerated.
4625 * sysdeps/i386/fpu/libm-test-ulps: Update.
4626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4628 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4630 * config.h.in (HAVE_AARCH64_BE): Add.
4632 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4634 * math/auto-libm-test-in: Add more tests of csqrt.
4635 * math/auto-libm-test-out: Regenerated.
4636 * sysdeps/i386/fpu/libm-test-ulps: Update.
4637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4639 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4640 * math/auto-libm-test-out: Regenerated.
4641 * sysdeps/i386/fpu/libm-test-ulps: Update.
4642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4646 2015-04-29 Roland McGrath <roland@hack.frob.com>
4648 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4649 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4651 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4652 (euidaccess, eaccess): Define as weak aliases.
4654 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4655 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4656 but __suseconds_t is often 'long int' so some sources assume that
4657 type is being used (e.g. they use %ld to print tv_usec).
4659 2015-04-29 Florian Weimer <fweimer@redhat.com>
4662 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4664 * nss/tst-nss-getpwent.c: New file.
4665 * nss/Makefile (tests): Add new test.
4667 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4670 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4671 exponents less than 48 as cases where high part of mantissa needs
4672 examining to determine whether argument is integral.
4673 * math/libm-test.inc (round_test_data): Add more tests.
4675 2015-04-28 Mark Wielaard <mjw@redhat.com>
4677 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4679 2015-04-27 David S. Miller <davem@davemloft.net>
4681 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4683 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4685 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4688 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4690 2015-04-27 Florian Weimer <fweimer@redhat.com>
4693 * time/tzset.c (parse_tzname): Return error on memory allocation
4695 * test-skeleton.c (struct temp_name_list): Change type of name
4696 member to non-const.
4697 (add_temp_file): Create a copy of the file name.
4698 (delete_temp_files): Deallocate memory.
4699 (create_temp_file): Add comment.
4701 2015-04-24 Florian Weimer <fweimer@redhat.com>
4703 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4704 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4706 2015-04-24 Roland McGrath <roland@hack.frob.com>
4708 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4709 * sysdeps/arm/configure: Regenerated.
4711 2015-04-24 Florian Weimer <fweimer@redhat.com>
4714 * time/tzfile.c (__tzfile_read): Check for large values of
4715 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4716 * time/tzset.c (__tzstring_len): New function, based on the old
4717 __tzstring function.
4718 (__tzstring): Call __tzstring_len.
4719 (parse_tzname): New helper function extracted from
4720 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4722 (parse_offset): New helper function extracted from
4723 __tzset_parse_tz. Replace switch with fallthrough with
4724 initialization before sscanf.
4725 (parse_rule): Likewise.
4726 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4727 new-style function definition.
4728 * timezone/Makefile (tests): Add tst-tzset.
4729 (tst-tzset.out): Dependencies on time zone files.
4730 (tst-tzset-ENV): Set TZDIR.
4731 (testdata/XT%): Copy crafted time zone files.
4732 * timezone/README: Mention crafted time zone files.
4733 * timezone/testdata/XT1, timezone/testdata/XT2,
4734 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4736 * timezone/tst-tzset.c: New test.
4738 2015-04-24 Florian Weimer <fweimer@redhat.com>
4740 * Makeconfig (+gccwarn): Remove -Winline.
4742 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4744 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4746 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4748 * NEWS: Mention sysconf() cache information support for s390.
4749 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4751 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4753 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4755 (__nearbyint): Likewise.
4756 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4757 (copysignl): Likewise.
4759 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4762 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4763 based on padding. (CVE-2015-1781)
4765 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4767 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4769 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4770 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4771 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4772 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4773 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4774 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4778 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4779 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4780 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4781 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4782 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4783 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4784 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4785 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4787 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4788 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4789 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4790 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4791 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4793 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4795 * stdlib/setenv.c (__add_to_environ):
4796 Dump core quickly if setenv (..., NULL, ...) is called.
4797 This time, do it the right way, and pacify GCC with a pragma.
4799 2015-04-17 Roland McGrath <roland@hack.frob.com>
4801 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4802 IMAP->l_prev cannot be null, and #if out the code for the contrary
4803 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4804 believe that NS (&_dl_ns[NSID]) could point outside the array.
4806 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4807 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4808 before using NSID as an index.
4810 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4813 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4814 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4815 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4817 2015-04-17 Roland McGrath <roland@hack.frob.com>
4819 Add preliminary port to Google Native Client on ARM.
4820 * abi-tags (.*-.*-nacl.*): New entry.
4821 * sysdeps/arm/nacl: New directory.
4822 * sysdeps/nacl: New directory.
4824 2015-04-16 David S. Miller <davem@davemloft.net>
4826 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4827 lowlevellock-futex.h
4829 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4831 * sysdeps/tile/configure.ac: New file.
4832 * sysdeps/tile/configure: Regenerated.
4834 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4836 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4837 conditionals for weak_alias and libc_hidden_weak.
4838 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4839 libc_hidden_weak and weak_alias.
4840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4841 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4842 and weak_alias for static one.
4844 2015-04-15 David S. Miller <davem@davemloft.net>
4846 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4848 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4851 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4852 Use signed comparision instead of substraction to avoid
4854 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4855 Take the sign of ret.
4856 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4857 Do not expect precise return values. Only the sign matters.
4858 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4859 * wcsmbs/test-wcsncmp.c: New File.
4860 * string/test-strncmp.c: Add wcsncmp support.
4862 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4865 * math/w_log1p.c: New file.
4866 * math/w_log1pf.c: Likewise.
4867 * math/w_log1pl.c: Likewise.
4868 * math/Makefile (libm-calls): Add w_log1p.
4869 * math/s_log1pl.c (log1pl): Remove weak_alias.
4870 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4871 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4872 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4873 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4874 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4875 [NO_LONG_DOUBLE] (log1pl): Likewise.
4876 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4877 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4878 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4879 (log1p): Remove long_double_symbol.
4880 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4881 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4882 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4883 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4884 remove weak_alias for corresponding log1p function.
4885 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4886 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4887 * sysdeps/ia64/fpu/w_log1p.c: New file.
4888 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4889 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4890 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4892 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4896 decimal exponent by 1.
4897 * stdlib/tst-strtod-round-data: Add more tests.
4898 * stdlib/tst-strtod-round.c (tests): Regenerated.
4900 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4902 * math/auto-libm-test-in: Add more tests of clog and clog10.
4903 * math/auto-libm-test-out: Regenerated.
4904 * sysdeps/i386/fpu/libm-test-ulps: Update.
4905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4907 2015-04-09 Roland McGrath <roland@hack.frob.com>
4909 * Makeconfig (module-cppflags): Exclude all .v.i files.
4910 (skip-module-cppflags): Variable removed.
4912 * configure.ac (libc_config_ok): Initialize before reading
4913 preconfigure scripts, not after.
4914 * configure: Regenerated.
4916 * test-skeleton.c (TIMEOUT): Move #define to top level.
4917 (main): Grok environment variable TEST_DIRECT. If set, print
4918 test expectation details into that file and then behave as if
4921 2015-04-09 Florian Weimer <fweimer@redhat.com>
4923 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4926 2015-04-08 David S. Miller <davem@davemloft.net>
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4930 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4932 * math/auto-libm-test-in: Add more tests of atanh.
4933 * math/auto-libm-test-out: Regenerated.
4934 * sysdeps/i386/fpu/libm-test-ulps: Update.
4935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4937 * math/auto-libm-test-in: Add more tests of atan.
4938 * math/auto-libm-test-out: Regenerated.
4939 * sysdeps/i386/fpu/libm-test-ulps: Update.
4940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4942 2015-04-08 Florian Weimer <fweimer@redhat.com>
4944 * elf/pldd.c (main): Rewrite to use struct
4945 scratch_buffer instead of extend_alloca.
4946 * elf/pldd-xx.c (find_maps): Likewise.
4947 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4949 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4950 scratch_buffer instead of extend_alloca.
4951 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4952 grp/compat-initgroups.c.
4953 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4954 Rewrite to use struct scratch_buffer instead of extend_alloca.
4955 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4956 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4958 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4960 * math/auto-libm-test-in: Add more tests of cbrt.
4961 * math/auto-libm-test-out: Regenerated.
4962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4964 * math/auto-libm-test-in: Add more tests of cabs.
4965 * math/auto-libm-test-out: Regenerated.
4966 * sysdeps/i386/fpu/libm-test-ulps: Update.
4967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4972 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4974 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4976 * math/auto-libm-test-out: Regenerated.
4977 * sysdeps/i386/fpu/libm-test-ulps: Update.
4978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4981 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4982 (atan): Set FE_TONEAREST mode for internal computations.
4983 * math/auto-libm-test-in: Add more tests of atan.
4984 * math/auto-libm-test-out: Regenerated.
4986 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4989 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4991 2015-04-07 Florian Weimer <fweimer@redhat.com>
4993 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4995 2015-04-07 Florian Weimer <fweimer@redhat.com>
4997 * include/scratch_buffer.h: New file.
4998 * malloc/scratch_buffer_grow.c: Likewise.
4999 * malloc/scratch_buffer_grow_preserve.c: Likewise.
5000 * malloc/scratch_buffer_set_array_size.c: Likewise.
5001 * malloc/tst-scratch_buffer.c: Likewise.
5002 * malloc/Makefile (routines): Add scratch_buffer_grow.
5003 (tests): Add test case.
5004 * malloc/Versions (GLIBC_PRIVATE): Export
5005 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5006 __libc_scratch_buffer_set_array_size.
5008 2015-04-06 Richard Henderson <rth@redhat.com>
5010 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5011 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5013 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5014 unsigned int before printing.
5016 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5019 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5020 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5022 2015-04-02 Florian Weimer <fweimer@redhat.com>
5024 * include/libc-internal.h (libc_max_align_t): Define.
5026 2015-04-02 Andreas Schwab <schwab@suse.de>
5029 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5031 2015-04-02 Mel Gorman <mgorman@suse.de>
5034 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5035 as well as the main arena.
5037 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5040 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5041 sharing L2 cache to 2 for Silvermont/Knights Landing.
5043 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5046 * config.make.in (have-protected-data): New.
5047 * configure.ac: Check linker support for protected data symbol.
5048 * configure: Regenerated.
5049 * elf/Makefile (modules-names): Add tst-protected1moda and
5050 tst-protected1modb if $(have-protected-data) is yes.
5051 (tests): Add tst-protected1a and tst-protected1b if
5052 $(have-protected-data) is yes.
5053 ($(objpfx)tst-protected1a): New.
5054 ($(objpfx)tst-protected1b): Likewise.
5055 (tst-protected1modb.so-no-z-defs): Likewise.
5056 * elf/tst-protected1a.c: New file.
5057 * elf/tst-protected1b.c: Likewise.
5058 * elf/tst-protected1mod.h: Likewise.
5059 * elf/tst-protected1moda.c: Likewise.
5060 * elf/tst-protected1modb.c: Likewise.
5062 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5065 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5066 indicates it is called from do_lookup_x on relocation against
5067 protected data, skip the data definion in the executable from
5069 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5070 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5071 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5072 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5073 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5075 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5076 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5077 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5078 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5079 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5080 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5082 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
5084 * sysdeps/nptl/pthread.h: Remove duplicate definition of
5085 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5087 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
5089 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5091 * sysdeps/x86_64/nptl/tls.h: Ditto.
5093 2015-03-27 Roland McGrath <roland@hack.frob.com>
5095 * dlfcn/tststatic.c (main): Converted to ...
5096 (do_test): ... this.
5097 (TEST_FUNCTION): New macro.
5098 Include test-skeleton.c.
5100 2015-03-26 Alan Modra <amodra@gmail.com>
5102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5103 Don't segfault if ifunc resolver returns a NULL. Do set plt to
5104 zero for undefined weak.
5105 (elf_machine_plt_conflict): Similarly.
5107 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5109 * math/auto-libm-test-in: Add more tests of acosh, asinh and
5111 * math/auto-libm-test-out: Regenerated.
5112 * sysdeps/i386/fpu/libm-test-ulps: Update.
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5115 * math/auto-libm-test-in: Add another test of asin.
5116 * math/auto-libm-test-out: Regenerated.
5117 * sysdeps/i386/fpu/libm-test-ulps: Update.
5118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5122 (LLL_EBX_REG): Likewise.
5123 (LLL_ENTER_KERNEL): Likewise.
5125 * math/auto-libm-test-in: Add more tests of asin.
5126 * math/auto-libm-test-out: Regenerated.
5127 * sysdeps/i386/fpu/libm-test-ulps: Update.
5128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5131 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5132 libc_do_syscall_args): New structure.
5133 (INTERNAL_SYSCALL_MAIN_0): New macro.
5134 (INTERNAL_SYSCALL_MAIN_1): Likewise.
5135 (INTERNAL_SYSCALL_MAIN_2): Likewise.
5136 (INTERNAL_SYSCALL_MAIN_3): Likewise.
5137 (INTERNAL_SYSCALL_MAIN_4): Likewise.
5138 (INTERNAL_SYSCALL_MAIN_5): Likewise.
5139 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
5140 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5141 Replace conditional definitions by conditional definitions of ....
5142 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
5143 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5144 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5145 (libpthread-sysdep_routines): Add libc-do-syscall.
5146 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5148 to __NR_futex not 240.
5150 2015-03-25 Alan Modra <amodra@gmail.com>
5152 * NEWS: Advertise TLS optimization.
5153 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5154 (DT_PPC_NUM): Increment.
5155 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5156 (CHECK_STATIC_TLS): Use here.
5157 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5160 * sysdeps/powerpc/dl-tls.c: New file.
5161 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5162 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5163 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5164 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5169 2015-03-25 Alan Modra <amodra@gmail.com>
5171 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5172 for overlapping .opd entries" to "support...".
5173 * sysdeps/powerpc/powerpc64/configure: Regenerate
5175 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5177 * math/auto-libm-test-in: Add more tests of acos.
5178 * math/auto-libm-test-out: Regenerated.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update.
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5182 * math/auto-libm-test-in: Add more tests of expm1.
5183 * math/auto-libm-test-out: Regenerated.
5184 * sysdeps/i386/fpu/libm-test-ulps: Update.
5185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5187 2015-03-24 Joseph Myers <joseph@codesourcery.com>
5189 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5190 * math/auto-libm-test-out: Regenerated.
5191 * sysdeps/i386/fpu/libm-test-ulps: Update.
5192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5194 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5197 * math/auto-libm-test-in: Add more tests of log2.
5198 * math/auto-libm-test-out: Regenerated.
5199 * sysdeps/i386/fpu/libm-test-ulps: Update.
5200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5202 2015-03-23 Roland McGrath <roland@hack.frob.com>
5204 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5205 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
5206 _IO_IS_APPENDING bit in READ_WRITE instead.
5208 2015-03-23 Florian Weimer <fweimer@redhat.com>
5210 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5211 (__determine_cpumask_size): Replace extend_alloca with a
5212 variable-length array. Do not treat res == 0 as an error.
5214 2015-03-23 Florian Weimer <fweimer@redhat.com>
5217 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5218 and integer overflow.
5219 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5220 (main): Add integer overflow tests.
5221 * manual/pattern.texi (Calling Wordexp): Document additional use
5224 2015-03-23 Alan Modra <amodra@gmail.com>
5226 * config.h.in: Remove HAVE_ASM_PPC_REL16.
5227 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5228 and false branch of conditional.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5232 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
5234 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5236 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5237 unused declaration of _hurd_intr_rpc_msg_in_trap.
5238 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5239 defined instead of whether it is non-zero.
5240 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5241 input constraint instead of both input and output constraint. Use ecx
5242 clobber instead of %ecx.
5243 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5244 mutex_unlock): Use a statement expression instead of an expression list.
5245 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5246 type to vm_size_t instead of vm_address_t.
5247 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5248 defined instead of whether it is non-zero.
5249 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5250 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5251 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5252 comparisons with mapaddr.
5253 * nscd/nscd-client.h: Include <time.h>.
5254 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5255 9th parameter to __vm_region instead of int.
5256 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5257 * scripts/check-local-headers.sh (exclude): Add device/,
5258 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5261 2015-03-19 Roland McGrath <roland@hack.frob.com>
5263 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5264 to account for alignment padding.
5265 * sysdeps/arm/memmove.S: Likewise.
5267 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
5269 * sysdeps/unix/sysv/linux/generic/README: New file.
5271 2015-03-18 Joseph Myers <joseph@codesourcery.com>
5274 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5275 (futex_abstimed_wait)
5276 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5277 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5278 of lll_futex_timed_wait.
5280 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
5283 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5285 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
5292 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5293 entries with Static TLS too. Skip entries past the end of the
5294 allocated DTV, from Alan Modra.
5295 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
5296 Static TLS DTV entry set up from...
5297 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5298 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5299 * nptl/allocatestack.c (init_one_static_tls): ... and here...
5300 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5302 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
5303 that the slot we find is associated with the given map before
5304 using its generation count.
5305 * nptl_db/db_info.c: Include ldsodefs.h.
5306 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5307 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5308 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5309 (link_map::l_tls_offset): New struct field.
5310 (dtv_t::counter): Likewise.
5311 (rtld_global): New struct.
5312 (_rtld_global): New rtld variable.
5313 (dl_tls_dtv_slotinfo_list): New rtld global field.
5314 (dtv_slotinfo_list): New struct.
5315 (dtv_slotinfo): Likewise.
5316 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5317 (td_lookup): Rename to...
5318 (td_mod_lookup): ... this. Use new mod parameter instead of
5320 * nptl_db/td_thr_tlsbase.c: Include link.h.
5321 (dtv_slotinfo_list, dtv_slotinfo): New functions.
5322 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
5323 addresses even if the DTV is out of date or missing them.
5324 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5325 index zero-length arrays.
5326 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5327 (td_lookup): Make it a macro implemented in terms of...
5328 (td_mod_lookup): ... this declaration.
5329 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5330 (DB_MAIN_VARIABLE): Likewise.
5332 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
5335 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5337 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
5339 * stdlib/setenv.c (__add_to_environ): Revert previous change.
5341 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
5344 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5345 (atomic_add, atomic_increment_and_test)
5346 (atomic_decrement_and_test): Fix 64-bit arithmetic.
5348 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
5350 * stdlib/setenv.c (__add_to_environ):
5351 Dump core quickly if setenv (..., NULL, ...) is called.
5353 2015-03-13 Roland McGrath <roland@hack.frob.com>
5355 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5356 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5357 all the necessary asm magic in one place.
5358 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5361 2015-03-13 Carlos O'Donell <carlos@redhat.com>
5364 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5365 traced file mtime. Use consistent log message.
5366 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5367 (register_traced_file): Call install_watches. Always set mtime.
5368 (invalidate_cache): Iterate over all trace files. Call install_watches.
5369 (inotify_check_files): Don't inline. Handle watching parent
5370 directories and configuration file movement in and out.
5371 (handle_inotify_events): New function.
5372 (main_loop_poll): Call handle_inotify_events.
5373 (main_loop_epoll): Likewise.
5374 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5375 (struct traced_file): Use array of inotify fds. Add parent directory,
5377 (struct database_dyn): Remove unused file_mtime.
5378 (init_traced_file): New inline function.
5379 (define_traced_file): New macro.
5380 * nss/nss_db/db-init.c: Use define_traced_file.
5381 (_nss_db_init): Use init_traced_file.
5382 * nss/nss_files/files-init.c: Use define_traced_file.
5383 (_nss_files_init): Use init_traced_file.
5385 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5387 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5388 [_LIBC]: Do not include <stdlib.h>.
5389 [!_LIBC] (abort): Remove declaration.
5390 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5391 _FP_STATIC_ASSERT instead of conditionally calling abort.
5392 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5393 (_FP_EXTEND_CNAN): Likewise.
5394 (FP_TRUNC): Likewise.
5395 (__FP_CLZ): Likewise.
5396 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5398 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5400 * manual/string.texi (XPG basename): Fix prototype.
5402 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5406 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5407 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5408 (__setcontext): Likewise.
5409 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5410 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5411 Call rt_sigprocmask syscall one time to set new signal mask
5412 and retrieve the current signal mask instead of two calls.
5413 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5414 (__swapcontext): Likewise.
5415 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5416 * stdlib/tst-setcontext2.c: New file.
5418 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5420 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5422 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5425 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5428 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5431 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5433 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5435 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5436 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5438 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5439 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5440 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5441 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5442 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5443 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5445 * nptl_db/td_symbol_list.c (td_lookup): Remove
5446 HAVE_ASM_GLOBAL_DOT_NAME code.
5447 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5448 HAVE_ASM_GLOBAL_DOT_NAME check.
5449 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5450 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5451 (DOT_LABEL): Remove define.
5452 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5453 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5454 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5455 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5456 (__TLS_GET_ADDR): Likewise.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5458 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5460 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5463 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5464 (_FPU_SETCW): Initialize cw from fpsr before storing.
5465 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5466 (fesetexceptflag): Rewrite using fpu_control.h.
5467 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5469 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5472 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5474 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5476 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5478 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5479 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5481 (_FP_FMA): Likewise.
5482 (_FP_DIV): Likewise.
5484 2015-03-10 Roland McGrath <roland@hack.frob.com>
5486 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5487 with 0 in that case.
5488 * Makefile (summarize-tests): New canned sequence, factored out of
5489 commands for targets tests and xtests. Display summary lines that
5490 don't start with PASS: or XFAIL: rather than ones that do start with
5491 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5492 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5493 do start with ERROR: or FAIL:.
5494 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5495 (except for [$(build-shared) = yes]).
5496 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5497 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5498 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5499 * nptl/Makefile: Revert 2015-03-04 changes.
5500 [$(CXX) empty] (tests-unsupported): New variable.
5501 * debug/Makefile: Likewise.
5503 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5504 gnulib file. Replace __attribute with __attribute__ throughout.
5506 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5508 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5510 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5513 * math/auto-libm-test-in: Add another test of pow.
5514 * math/auto-libm-test-out: Regenerated.
5516 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5519 $(config-cflags-nofma).
5521 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5523 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5524 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5525 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5526 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5527 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5528 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5529 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5530 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5531 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5532 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5533 Add comment on closing #endif.
5535 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5537 * posix/wordexp.c (CHAR_IN_SET): New macro.
5538 (parse_param): Use it.
5540 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5542 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5544 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5547 * posix/wordexp.c (parse_param): Fix buffer overflow.
5548 * posix/wordexp-test.c (test_case): Add test case.
5550 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5553 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5554 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5556 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5559 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5560 (do_bz18043): Delete.
5562 (testit): Refactor to have words at the edge of unreadable page.
5564 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5567 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5568 Cleanup read-only streams as well.
5569 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5571 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5573 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5576 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5578 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5580 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5581 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5582 * soft-fp/op-common.h (_FP_DECL): Likewise.
5584 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5586 * elf/ifuncdep2.c (global): Replace
5587 __attribute__((visibility("protected"))) with
5588 asm (".protected global").
5589 * elf/ifuncmod1.c (global): Likewise.
5590 * elf/ifuncmod5.c (global): Likewise.
5592 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5594 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5595 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5597 2015-03-06 Roland McGrath <roland@hack.frob.com>
5599 * manual/install.texi (Configuring and compiling):
5600 Document test-wrapper-env-only.
5601 * INSTALL: Regenerated.
5603 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5606 * posix/wordexp.c (parse_param): Fix buffer overflow.
5607 * posix/wordexp-test.c (do_bz18043): Add test case.
5609 2015-03-06 Vincent Bernat <vincent@bernat.im>
5611 * time/tst-strptime2.c (do_test): Ensure failing tests are
5613 * time/tst-strptime3.c (do_test): Likewise.
5615 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5617 Fix aio_error thread-safety.
5618 * sysdeps/pthread/aio_error.c: New file
5619 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5622 2015-03-06 Florian Weimer <fweimer@redhat.com>
5624 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5625 (group_number, vfprintf): Use it.
5626 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5627 (JUMP, REF): Use it.
5628 (WORK_BUFFER_SIZE): New enum constant.
5629 (process_arg, vfprintf): Use it.
5631 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5633 * manual/errno.texi (Error Messages): Complete example function
5634 by adding missing #define.
5635 (program_invocation_name): Add statement indicating GNU
5636 extension and reference which header file declares the variable.
5637 (program_invocation_short_name): Likewise.
5639 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5641 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5644 2015-03-05 Roland McGrath <roland@hack.frob.com>
5646 * Makeconfig (test-wrapper-env-only): New variable.
5647 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5648 then use that with $(test-wrapper-env-only) rather than using
5649 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5651 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5654 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5655 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5656 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5657 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5658 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5659 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5660 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5661 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5663 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5666 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5672 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5677 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5678 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5680 2015-03-04 Roland McGrath <roland@hack.frob.com>
5682 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5683 (ETH_ALEN): New macro.
5684 (struct ether_addr): Use it for length of ether_addr_octet.
5686 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5687 (setdb): Don't call __nss_configure_lookup for "rpc".
5688 (do_test): Don't call test_rpc.
5689 (output_rpcent, test_rpc): Functions moved ...
5690 * sunrpc/test-rpcent.c: ... to this new file.
5691 * sunrpc/Makefile (tests): Add it.
5693 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5695 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5696 * nptl/tst-signal6.c: Likewise.
5697 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5698 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5700 * configure.ac (libc_cv_cxx_link_ok): New check.
5701 Reset CXX to empty if it fails to link.
5702 * configure: Regenerated.
5703 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5704 bug-atexit3-lib only if $(CXX) is nonempty.
5705 * nptl/Makefile (tests): Likewise for tst-cancel24.
5706 (tests, tests-static): Likewise for tst-cancel24-static.
5707 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5708 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5709 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5710 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5712 2015-03-04 Andreas Schwab <schwab@suse.de>
5715 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5716 for non-GCC compilers.
5717 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5720 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5723 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5724 integer before bitwise and assembly operations.
5725 (feclearexcept): Likewise.
5726 * math/test-fenvinline.c: New file.
5727 * math/Makefile: Add test-fenvinline test.
5729 2015-03-03 Alan Modra <amodra@gmail.com>
5732 * scripts/localplt.awk: Strip off symbol version.
5733 * NEWS: Mention bug fix.
5735 2015-03-02 Roland McGrath <roland@hack.frob.com>
5737 * sysdeps/pthread/timer_routines.c
5738 (timer_free_list, thread_free_list, thread_active_list): Make static.
5740 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5743 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5744 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5747 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5749 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5750 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5753 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5756 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5757 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5759 2015-03-02 Andreas Schwab <schwab@suse.de>
5761 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5764 2015-03-02 Florian Weimer <fweimer@redhat.com>
5766 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5767 Return error status.
5769 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5772 * locale/findlocale.c (_nl_find_locale): Introduce const
5773 version of loc_name and drop unsafe type casts.
5775 2015-02-27 Roland McGrath <roland@hack.frob.com>
5777 * dlfcn/tststatic2.c (main): Converted to ...
5778 (do_test): ... this.
5779 (TEST_FUNCTION): New macro.
5780 Include test-skeleton.c.
5782 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5785 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5786 (tests-pie): Add vismain.
5787 (CFLAGS-vismain.c): New.
5788 * elf/vismain.c: Add comments for PIE requirement.
5790 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5794 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5795 0x1p-56L as threshold for just returning the argument.
5796 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5797 0x1p-32L as threshold for just returning the argument.
5798 * math/auto-libm-test-in: Add more tests of atanh.
5799 * math/auto-libm-test-out: Regenerated.
5800 * sysdeps/i386/fpu/libm-test-ulps: Update.
5801 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5803 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5805 * string/bcopy.c (bcopy): Call memmove for performance.
5807 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5809 * string/bzero.c (__bzero): Call memset for performance.
5811 2015-02-27 John David Anglin <dave.anglin@bell.net>
5814 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5817 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5821 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5823 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5824 (__kernel_standard): Use CSTR macro when setting exc.name.
5825 * sysdeps/ieee754/Makefile [$(subdir) = math]
5826 (CFLAGS-k_standard.c): Remove variable.
5828 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5829 setting p and q from "else if" to "else".
5831 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5833 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5835 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5837 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5839 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5844 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5845 return pi/2 for arguments below 0x1p-113L.
5846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5847 return pi/2 for arguments below 0x1p-106L.
5848 * math/auto-libm-test-in: Add more tests of acos.
5849 * math/auto-libm-test-out: Regenerated.
5852 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5854 (__ieee754_asin): Force underflow exception for results with small
5856 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5858 (__ieee754_asinf): Force underflow exception for results with
5859 small absolute value.
5860 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5861 (__ieee754_asin): Force underflow exception for results with small
5863 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5864 (__ieee754_asinf): Force underflow exception for results with
5865 small absolute value.
5866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5867 (__ieee754_asinl): Force underflow exception for results with
5868 small absolute value.
5869 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5870 (__ieee754_asinl): Force underflow exception for results with
5871 small absolute value.
5872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5873 (__ieee754_asinl): Force underflow exception for results with
5874 small absolute value.
5875 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5877 * math/auto-libm-test-in: Do not mark underflow exceptions as
5878 possibly missing for bug 16351.
5879 * math/auto-libm-test-out: Regenerated.
5882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5883 of power of 2 down when low part has opposite sign.
5884 * math/libm-test.inc (logb_test_data): Add more tests.
5886 2015-02-26 Andreas Schwab <schwab@suse.de>
5889 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5890 over collating symbol inside a bracket expression. Minor cleanup.
5891 * posix/tst-fnmatch3.c (do_test): Add test case.
5893 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5896 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5897 Adjust exponent of power of 2 down when low part has opposite
5899 * math/libm-test.inc (ilogb_test_data): Add more tests.
5901 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5904 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5905 the previous change.
5908 * locale/findlocale.c (_nl_find_locale): Retry archive search
5909 after alias expansion.
5911 2015-02-25 Roland McGrath <roland@hack.frob.com>
5913 * iconv/tst-iconv3.c (main): Converted to ...
5914 (do_test): ... this.
5915 (TEST_FUNCTION): New macro.
5916 Include test-skeleton.c.
5918 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5919 (convert): Make function static.
5920 (test_unalign): Likewise. Add const to argument pointee types.
5921 (main): Replace with static function do_test.
5922 Print "Succeeded." only if RET is zero.
5923 (TEST_FUNCTION): New macro.
5924 Include test-skeleton.c.
5926 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5927 returns a null pointer.
5929 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5931 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5932 to __memcpy_ppc only for static builds.
5934 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5937 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5938 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5939 * math/auto-libm-test-in: Add more tests of asinh.
5940 * math/auto-libm-test-out: Regenerated.
5941 * sysdeps/i386/fpu/libm-test-ulps: Update.
5942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5944 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5947 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5948 and ip6_mtuinfo definitions here.
5949 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5950 in this define too. Update comment.
5952 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5954 * elf/sprof.c (load_shobj): Tweak error message to match others.
5956 2015-02-24 Kevin Easton <kevin@guarana.org>
5958 [BZ #16145] (partial fix)
5959 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5960 to reduce lock contention.
5962 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5964 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5965 (struct timex): Update time comment.
5966 (ADJ_SETOFFSET): Define.
5968 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5972 2**56 not 2**28 as threshold for log (2x) formula.
5973 * math/auto-libm-test-in: Add more tests of acosh.
5974 * math/auto-libm-test-out: Regenerated.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5980 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5981 parenthesis around the buf assignment.
5982 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5984 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5988 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5989 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5990 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5991 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5992 * math/libm-test.inc (scalb_test_data): Add more tests.
5994 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5997 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5998 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6000 2015-02-24 Eric Rannaud <e@nanocritical.com>
6003 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6004 * io/bits/fcntl2.h (open): Use it.
6006 * io/open.c (__libc_open): Likewise.
6007 * io/open64.c (__libc_open64): Likewise.
6008 * io/open64_2.c (__open64_2): Likewise.
6009 * io/open_2.c (__open_2): Likewise.
6010 * io/openat.c (__openat): Likewise.
6011 * io/openat64.c (__openat64): Likewise.
6012 * io/openat64_2.c (__openat64_2): Likewise.
6013 * io/openat_2.c (__openat_2): Likewise.
6014 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6015 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6016 * sysdeps/posix/open64.c (__libc_open64): Likewise.
6017 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6018 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6019 (__open_nocancel): Likewise.
6020 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6021 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6022 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6024 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6027 * resolv/gethnamaddr.c (getanswer): Skip logging if
6028 RES_USE_DNSSEC is set.
6029 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6031 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6033 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6035 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
6037 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6038 201304L, for Unicode 7.
6040 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
6043 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6044 shared library. Add gmon-start.os otherwise.
6045 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6046 $(objpfx)gmon-start.os if builing shared library.
6047 ($(objpfx)g$(static-start-installed-name)): Likewise.
6049 2015-02-23 Andreas Schwab <schwab@suse.de>
6051 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6053 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6056 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6057 (enlarge_userbuf): Likewise.
6059 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
6061 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6062 * math/atest-exp.c (TIMEOUT): Adjust to 200.
6063 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6064 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6066 2015-02-20 Joseph Myers <joseph@codesourcery.com>
6068 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6069 expression inside statement expression.
6071 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6073 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6074 <sysdeps/nptl/lowlevellock.h> and remove macros and
6075 functions that are now defined there.
6076 (SYS_futex): Remove.
6077 (lll_compare_and_swap): Remove.
6078 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6080 2015-02-19 Joseph Myers <joseph@codesourcery.com>
6083 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6084 instead of scandirat.
6085 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6086 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6087 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6089 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6090 (__scandirat): Declare. Use libc_hidden_proto.
6091 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6093 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6095 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6098 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6100 (__ieee754_atan2): For results with small absolute value, force
6101 underflow exception and remove excess range and precision from
6103 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6105 (__ieee754_atan2f): For results with small absolute value, force
6106 underflow exception and remove excess range and precision from
6108 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6110 (__atan): For results with small absolute value, force underflow
6111 exception and remove excess range and precision from return value.
6112 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6114 (__atanf): For results with small absolute value, force underflow
6115 exception and remove excess range and precision from return value.
6116 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6118 (__ieee754_atan2): Force underflow exception for results with
6119 small absolute value.
6120 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6122 (atan): Force underflow exception for results with small absolute
6124 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6125 (__atanf): Force underflow exception for results with small
6127 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6129 (__atanl): Force underflow exception for results with small
6131 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6132 (__atanl): Force underflow exception for results with small
6134 * sysdeps/x86/fpu/bits/mathinline.h
6135 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6136 (__ieee754_atan2): Only define inline for long double.
6137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6138 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6139 * math/auto-libm-test-in: Do not mark underflow exceptions as
6140 possibly missing for bug 15319. Add more tests of atan2.
6141 * math/auto-libm-test-out: Regenerated.
6142 * math/libm-test.inc (casin_test_data): Do not mark underflow
6143 exceptions as possibly missing for bug 15319.
6144 (casinh_test_data): Likewise.
6145 * sysdeps/i386/fpu/libm-test-ulps: Update.
6147 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
6149 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6150 * sysdeps/mips/bits/endian.h: Fix comments.
6152 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6155 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6156 (hdestroy_r): Likewise.
6157 (hsearch_r): Likewise.
6158 (__hcreate_r): Declare and use libc_hidden_proto.
6159 (__hdestroy_r): Likewise.
6160 (__hsearch_r): Likewise.
6161 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6162 (hcreate): Call __hcreate_r instead of hcreate_r.
6163 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6164 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6165 as weak alias of __hcreate_r.
6166 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6168 (hsearch_r): Rename to __hsearch_r and define as weak alias of
6170 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6172 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6173 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6174 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6175 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6177 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6179 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6180 arena_lock into a single arena_get.
6182 2015-02-17 Carlos O'Donell <carlos@redhat.com>
6184 * dl-reloc.c: Inlucde libc-internal.h.
6185 (_dl_try_allocate_static_tls): Call ALIGN_UP.
6186 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6187 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6188 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6189 (grow_heap): Likewise.
6190 * malloc/malloc.c: Include libc-internal.h.
6191 (do_check_malloc): Call powerof2.
6192 (sysmalloc): Use pagesize. Call ALIGN_UP.
6193 (systrim): Use pagesize.
6194 (mremap_chunk): Use pagesize. Call ALIGN_UP.
6195 (__libc_valloc): Use pagesize.
6196 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6198 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6201 * include/sys/resource.h (__getrlimit64): Declare. Use
6203 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6204 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
6205 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6207 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6209 [!getrlimit64] (getrlimit64): Define as weak alias of
6210 __getrlimit64. Use libc_hidden_weak.
6211 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6212 using __getrlimit64 not __new_getrlimit64.
6213 (__GI_getrlimit64): Likewise.
6214 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6216 (__GI_getrlimit64): Likewise.
6217 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6219 (getrlimit): Add __getrlimit64 alias.
6220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6222 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6224 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6225 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6227 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6229 * libio/fileops.c: Add missing sys/mman.h
6230 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6232 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6234 * manual/math.texi (Errors in Math Functions): Clarify goals
6235 regarding inexact and underflow exceptions.
6237 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6239 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6240 * sysdeps/mips/memset.S: Ditto.
6242 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6244 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6246 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6248 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6249 (__v1longjmp): Remove versioned symbol.
6250 (__v1siglongjmp): Remove alias and versioned symbol.
6251 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6252 (__v2siglongjmp): Likewise.
6254 2015-02-16 Torvald Riegel <triegel@redhat.com>
6256 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6258 2015-02-16 Mike Frysinger <vapier@gentoo.org>
6260 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6262 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6265 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6266 zero result does not depend on the sign resulting from
6268 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6270 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6271 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6273 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6274 * math/libm-test.inc (remquo_test_data): Add more tests.
6276 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
6278 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6279 Problem reported by J William Piggott.
6281 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6284 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6285 products 4 * y and 2 * y where those would overflow.
6286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6288 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6291 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6292 * math/libm-test.inc (remquo_test_data): Add more tests.
6294 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6296 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6297 [defined _COMPILING_NEWLIB].
6298 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6299 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6301 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6302 [!defined __mips_isa_rev || __mips_isa_rev < 6].
6304 2015-02-16 Torvald Riegel <triegel@redhat.com>
6306 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6309 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
6312 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6313 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6314 HOST_STACK_END_ADDR): Likewise.
6316 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
6318 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6319 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6320 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6322 2015-02-13 Roland McGrath <roland@hack.frob.com>
6324 * sysdeps/generic/c++-types.data: New file.
6325 * sysdeps/generic/ld.abilist: New file.
6326 * sysdeps/generic/libBrokenLocale.abilist: New file.
6327 * sysdeps/generic/libanl.abilist: New file.
6328 * sysdeps/generic/libc.abilist: New file.
6329 * sysdeps/generic/libcrypt.abilist: New file.
6330 * sysdeps/generic/libdl.abilist: New file.
6331 * sysdeps/generic/libm.abilist: New file.
6332 * sysdeps/generic/libpthread.abilist: New file.
6333 * sysdeps/generic/libresolv.abilist: New file.
6334 * sysdeps/generic/librt.abilist: New file.
6336 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6339 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6340 Compute absolute value of x as modified by fmod, not original
6342 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6343 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
6344 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
6345 RUN_TEST_ffI_f1_mod8.
6346 (remquo_test_data): Add more tests.
6348 2015-02-13 Roland McGrath <roland@hack.frob.com>
6350 * sysdeps/init_array/pt-crti.S: New file.
6352 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6355 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6356 __builtin_fmaf instead of relying on contraction of a * b + c.
6358 2015-02-12 J William Piggott <elseifthen@gmx.com>
6361 * manual/time.texi: correct the zoneinfo path in the TZ Variable
6364 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6367 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6368 __builtin_fma instead of relying on contraction of a * b + c.
6370 2015-02-12 Roland McGrath <roland@hack.frob.com>
6372 * Makeconfig (ASFLAGS): Add -Werror=undef.
6373 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6374 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6375 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6377 * Makeconfig (after-link): New variable.
6378 (+link-pie, +link-pie-tests): Use it.
6379 (+link-static, +link-static-tests): Likewise.
6380 (+link, +link-tests): Likewise.
6381 * Makerules (build-module, build-module-asneeded): Likewise.
6382 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6384 * elf/Makefile ($(objpfx)ld.so): Likewise.
6386 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6389 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6390 both struct timeval and struct timespec.
6392 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6395 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6397 (__ieee754_exp2l): Do not multiply small fractional parts by
6399 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6402 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6403 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6404 * math/auto-libm-test-in: Add more tests of exp2.
6405 * math/auto-libm-test-out: Regenerated.
6407 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6409 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6412 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6417 2015-02-12 Andreas Schwab <schwab@suse.de>
6420 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6421 Filter out elision flags from value returned in kind.
6422 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6423 * nptl/tst-pthread-mutexattr.c: New file.
6425 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6427 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6428 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6429 into gnu-gnu, and update comment to refer to abi-tags.
6431 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6434 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6435 (__sincos): Set errno to EDOM for infinite argument.
6436 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6437 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6438 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6439 (__sincosl): Set errno to EDOM for infinite argument.
6440 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6441 (__sincosl): Set errno to EDOM for infinite argument.
6442 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6443 (__sincosl): Set errno to EDOM for infinite argument.
6444 * math/libm-test.inc (sincos_test_data): Test errno setting.
6446 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6448 * string/strxfrm_l.c: Remove #define STRCMP.
6449 * string/strcoll_l.c: Remove #define STRLEN.
6450 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6451 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6453 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6455 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6456 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6457 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6458 * sysdeps/mips/mips64/Makefile: ... here.
6459 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6460 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6461 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6462 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6463 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6464 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6465 * sysdeps/mips/mips64/n64/Implies: Likewise.
6467 2015-02-10 Roland McGrath <roland@hack.frob.com>
6469 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6470 <sys/time.h>, <string.h>, and <errno.h>.
6471 (dest_offset, dest_address, value, zero): Remove unused variables.
6472 (ldouble): Remove typedef.
6473 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6474 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6476 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6477 (check): Function removed.
6479 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6480 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6481 Don't call set_sigaction_FP and remove_sigaction_FP here.
6482 (ldouble_test): Just use 'long double' as macro argument, no need for
6483 the 'ldouble' typedef.
6484 (do_test): Set up SIGFPE handler at start, using plain signal rather
6485 than sigaction. Fix code style.
6487 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6490 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6493 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6495 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6496 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6498 * sysdeps/powerpc/configure.ac: Remove file.
6499 * sysdeps/powerpc/configure: Likewise.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6502 [sysdep_routines]: Remove wordcopy-power6 object.
6503 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6504 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6505 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6506 (__memmove_ppc32): Likewise.
6507 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6509 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6511 Remove preprocessor.
6513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6514 [sysdep_routines]: Remove wide chars objects.
6515 [wcsmbs]: New rule for wide char objects.
6517 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6518 Remove wordcopy-power6 obejct.
6519 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6520 Use local call for wordcopy and memcpy symbols.
6521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6523 implementation for loader.
6524 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6527 Remove wordcopy-power7 object.
6528 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6529 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6530 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6531 (_wordcopy_fwd_dest_aligned): Likewise.
6532 (_wordcopy_bwd_aligned): Likewise.
6533 (_wordcopy_bwd_dest_aligned): Likewise.
6535 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6536 Rewrite to call __memmove_ppc instead of include default
6539 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6540 Remove wide chars objects.
6541 [wcsmbs]: New rule for wide char objects.
6543 2015-02-09 Andreas Schwab <schwab@suse.de>
6546 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6547 in terms of __O_DIRECTORY.
6549 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6551 * time/getdate.c: Include <stdbool.h>.
6552 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6554 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6557 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6559 Add ersatz _Static_assert on older C hosts
6560 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6561 pre-C11 C platform that is not known to support _Static_assert.
6563 2015-02-07 Richard Braun <rbraun@sceen.net>
6565 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6567 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6569 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6571 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6572 priority against unexistent AIO_PRIO_DELTA_MAX.
6573 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6575 * misc/fchflags.c (fchflags): Likewise.
6576 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6577 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6578 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6579 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6580 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6582 [__USE_MISC] (chflags, fchflags): Declare functions.
6583 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6584 EINVAL when nfds is greater than FD_SETSIZE.
6585 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6586 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6588 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6589 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6590 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6592 * hurd/hurd/signal.h (_hurd_self_sigstate,
6593 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6594 Explicit casts from void *.
6595 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6596 * abi-tags: Rename gnu-gnu os into gnu.
6599 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6600 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6601 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6602 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6603 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6604 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6607 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6608 duplicates ADDR->sun_path with sockaddr LEN limitation.
6609 * sysdeps/mach/hurd/connect.c: Include <string.h>
6610 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6611 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6612 * sysdeps/mach/hurd/sendto.c: Likewise.
6613 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6614 implementing it by hand.
6616 2015-02-06 Roland McGrath <roland@hack.frob.com>
6618 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6619 Use sfi_breg on ldr.
6620 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6623 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6625 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6626 Test SIGSETXID only if it's defined.
6628 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6630 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6631 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6633 * nptl/tst-align2.c: Moved ...
6634 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6635 * nptl/Makefile (tests): Remove tst-align2.
6636 * sysdeps/unix/sysv/linux/Makefile
6637 [$(subdir) = nptl] (tests): Add tst-align-clone.
6638 * nptl/tst-getpid1.c: Moved ...
6639 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6640 * nptl/tst-getpid2.c: Moved ...
6641 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6642 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6643 * sysdeps/unix/sysv/linux/Makefile
6644 [$(subdir) = nptl] (tests): ... here.
6645 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6646 * sysdeps/unix/sysv/linux/Makefile
6647 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6649 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6650 Drop trailing \n from perror argument. Use return rather than exit.
6652 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6654 * nptl/tst-cancel21.c (do_test): Likewise.
6655 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6656 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6657 [!SA_SIGINFO]: Make it a stub test.
6659 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6660 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6662 * posix/tst-getlogin.c: Move to ...
6663 * login/tst-getlogin.c: ... here.
6664 * posix/Makefile (tests): Move tst-getlogin to ...
6665 * login/Makefile (tests): ... here.
6667 * libio/tst-atime.c (do_test): Move local variables SV and E
6668 inside [ST_NOATIME] conditional.
6670 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6672 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6674 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6675 (wait_code): New function replaces macro.
6676 Call nanosleep rather than syscall.
6678 * nptl/pt-system.c: Rewritten. Put everything under
6679 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6680 Use IFUNC to redirect when possible.
6682 * nptl/pt-longjmp.c: Rewritten. Put everything under
6683 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6684 Use IFUNC to redirect when possible.
6686 * nptl/pt-fork.c: Rewritten. Put everything under
6687 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6688 Use IFUNC to redirect when possible.
6689 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6691 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6692 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6693 unconditionally nowadays. This included the only reference to
6694 __vdso_clock_gettime that appears outside libc proper.
6695 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6696 Remove version set (containing only __vdso_clock_gettime).
6697 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6698 Add attribute_hidden.
6699 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6700 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6701 libc_hidden_data_def.
6702 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6703 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6705 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6706 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6707 setrpcent, and getrpcport to ...
6708 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6709 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6710 getrpcbynumber_r, and getrpcent_r to ...
6711 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6712 * inet/getrpcbyname.c: Moved ...
6713 * sunrpc/getrpcbyname.c: ... here.
6714 * inet/getrpcbyname_r.c: Moved ...
6715 * sunrpc/getrpcbyname_r.c: ... here.
6716 * inet/getrpcbynumber.c: Moved ...
6717 * sunrpc/getrpcbynumber.c: ... here.
6718 * inet/getrpcbynumber_r.c: Moved ...
6719 * sunrpc/getrpcbynumber_r.c: ... here.
6720 * inet/getrpcent.c: Moved ...
6721 * sunrpc/getrpcent.c: ... here.
6722 * inet/getrpcent_r.c: Moved ...
6723 * sunrpc/getrpcent_r.c: ... here.
6724 * inet/Makefile (routines): Move those to ...
6725 * sunrpc/Makefile (routines): ... here.
6726 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6727 the $(subdirs) list.
6728 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6729 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6730 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6731 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6733 * elf/Makefile (routines): Include $(all-dl-routines), not just
6735 (rtld-routines): Likewise. Use = rather than :=.
6736 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6737 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6738 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6739 * sysdeps/arm/Makefile: Likewise.
6740 * sysdeps/i386/Makefile: Likewise.
6741 * sysdeps/x86_64/Makefile: Likewise.
6742 * sysdeps/hppa/Makefile [$(subdir) = elf]
6743 (sysdep_routines, sysdep-rtld-routines): Don't add
6744 $(sysdep-dl-routines) to these.
6745 * sysdeps/ia64/Makefile: Likewise.
6746 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6747 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6748 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6749 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6750 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6751 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6752 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6753 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6754 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6755 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6756 these; sysdep-dl-routines alone is enough.
6758 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6761 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6762 where multiplication results in zero and third argument is finite
6764 * math/auto-libm-test-in: Add more tests of fma.
6765 * math/auto-libm-test-out: Regenerated.
6767 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6768 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6769 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6770 (_FP_CMP_EQ): Likewise.
6771 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6773 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6774 extra argument CHECK_NAN. Redefine as wrapper around
6777 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6779 * version.h (RELEASE): Set to "stable".
6780 (VERSION): Set to "2.21"
6781 * include/features.h (__GLIBC_MINOR__): Set to 21.
6783 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6785 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6786 Paul Eggert <eggert@cs.ucla.edu>
6789 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6790 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6791 size in bytes. Store needed elements in wpmax. Use needed size
6792 in bytes for extend_alloca.
6794 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6796 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6797 binutls 2.25, and texinfo 5.2.
6798 * INSTALL: Regenerate.
6799 * sysdeps/nios2/configure: Regenerate.
6800 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6801 * manual/contrib.texi: Update.
6825 * po/pt_BR.po: Update.
6834 * po/zh_CN.po: Update.
6835 * po/zh_TW.po: Update.
6837 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6838 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6839 * sysdeps/hppa/dl-irel.h: Remove #warning.
6840 * sysdeps/hppa/entry.h: Provide prototype for
6841 __canonicalize_funcptr_for_compare and cast argument.
6842 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6843 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6844 * sysdeps/hppa/sotruss-lib.c: New file.
6845 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6846 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6847 (atomic_compare_and_exchange_bool_acq): Likewise.
6848 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6849 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6851 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6852 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6853 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6855 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6857 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6858 called function in non-PIC case.
6860 2015-01-31 David S. Miller <davem@davemloft.net>
6862 * sysdeps/sparc/sparc32/bits/atomic.h
6863 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6864 unlock not after it.
6865 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6866 volatile register usage warnings from the compiler.
6868 * sysdeps/sparc/nptl/sem_init.c: Delete.
6869 * sysdeps/sparc/nptl/sem_post.c: Delete.
6870 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6871 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6872 * sysdeps/sparc/sparc32/sem_init.c: New file.
6873 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6874 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6875 padding explicitly initialized.
6876 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6877 padding for in-semaphore spinlock.
6878 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6879 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6880 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6881 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6882 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6883 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6884 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6885 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6887 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6888 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6890 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6894 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6895 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6897 (index_AVX_Fast_Unaligned_Load): Likewise.
6898 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6899 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6900 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6901 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6902 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6903 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6904 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6905 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6906 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6908 2015-01-29 Andreas Schwab <schwab@suse.de>
6910 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6912 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6915 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6917 2015-01-28 Martin Sebor <msebor@redhat.com>
6919 * math/README.libm-test: Clarify. Add "How to read the test output."
6921 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6923 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6926 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6928 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6929 (__HAVE_64B_ATOMICS): Define to 0.
6931 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6935 value to set as new flag.
6938 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6939 and use _ARCH_PPCSQ instead.
6940 (__ieee754_sqrt): Likewise.
6941 (__ieee754_sqrtf): Likewise.
6942 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6943 _ARCH_PPCSQ is defined.
6944 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6946 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6947 _ARCH_PPCSQ is defined.
6948 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6950 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6952 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6954 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6955 bug (GCC BZ #64739).
6957 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6959 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6960 Mark _retval as used.
6961 (lll_futex_wake_unlock): Likewise.
6962 (lll_futex_timed_wait_requeue_pi): Likewise.
6964 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6965 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6968 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6971 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6972 (__bswap_64): Mark as __always_inline.
6974 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6977 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6978 when none of the search directories exist.
6980 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6983 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6984 power8 in .machine directive.
6987 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6988 set dependency from opd value.
6990 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6993 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6996 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6999 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7001 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7003 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7004 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7005 Replace 1UL with (uint64_t) 1.
7006 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7009 2015-01-23 Roland McGrath <roland@hack.frob.com>
7011 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7012 (if_freenameindex): Likewise.
7014 * resource/getrlimit64.c: Add missing libc_hidden_def.
7016 2015-01-22 Joseph Myers <joseph@codesourcery.com>
7018 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7020 (_FP_FMA): Likewise.
7021 (_FP_TO_INT_ROUND): Likewise.
7022 (_FP_FROM_INT): Likewise.
7024 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7028 Make code racy and cancel safe.
7030 2015-01-21 Carlos O'Donell <carlos@redhat.com>
7032 * sysdeps/arm/unwind-resume.h: Fix copyright year.
7033 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7036 * pwd/tst-getpw.c: Rewrite.
7039 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7040 (modules-names): Add moddummy1 and moddummy2.
7041 ($(objpfx)tst-rec-dlopen): Define.
7042 * dlfcn/moddummy1.c: New file.
7043 * dlfcn/moddummy2.c: New file.
7044 * dlfcn/tst-rec-dlopen.c: New file.
7045 * elf/dl-cache.c (_dl_load_cache_lookup):
7046 Return char*. Copy result with alloca/strcpy/strdup.
7047 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7048 returns char*. Free cached. If not saving realname
7050 * elf/dl-open.c (dl_open_worker): Do not assert that
7051 _r_debug->r_state is RT_CONSISTENT.
7052 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7055 2015-01-21 Torvald Riegel <triegel@redhat.com>
7056 Carlos O'Donell <carlos@redhat.com>
7059 * nptl/sem_waitcommon.c: New file.
7060 * nptl/sem_wait.c: Include sem_waitcommon.c.
7061 (__sem_wait_cleanup, do_futex_wait): Remove.
7062 (__new_sem_wait): Adapt.
7063 (__new_sem_trywait): New function.
7064 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7065 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7066 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7067 (sem_timedwait): Adapt.
7068 * nptl/sem_post.c (__new_sem_post): Adapt.
7069 (futex_wake): New function.
7070 (__old_sem_post): Add release MO fence.
7071 * nptl/sem_open.c (sem_open): Adapt.
7072 * nptl/sem_init.c (__new_sem_init): Adapt.
7073 (futex_private_if_supported): New function.
7074 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7075 (__old_sem_getvalue): Add using previous code.
7076 * sysdeps/nptl/internaltypes.h: Adapt.
7077 * nptl/tst-sem13.c (do_test): Adapt.
7078 * nptl/tst-sem11.c (main): Adapt.
7079 * nptl/sem_trywait.c: Remove.
7080 * nptl/DESIGN-sem.txt: Remove.
7081 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7082 (gen-as-const-headers): Remove structsem.sym.
7083 * nptl/structsem.sym: Remove.
7084 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7085 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7086 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7087 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7088 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7089 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7090 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7091 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7092 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7093 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7094 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7095 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7096 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7097 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7098 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7099 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7100 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7101 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7102 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7103 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7104 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7105 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7107 2015-01-20 Carlos O'Donell <carlos@redhat.com>
7109 * INSTALL: Regenerated.
7111 * po/libc.pot: Regenerated.
7113 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
7114 Sandra Loosemore <sandra@codesourcery.com>
7115 Andrew Jenner <andrew@codesourcery.com>
7116 Joseph Myers <joseph@codesourcery.com>
7117 Nathan Sidwell <nathan@codesourcery.com>
7119 * NEWS: Mention new Nios II port.
7120 * sysdeps/nios2/Implies: New file.
7121 * sysdeps/nios2/Makefile: New file.
7122 * sysdeps/nios2/Subdirs: New file.
7123 * sysdeps/nios2/Versions: New file.
7124 * sysdeps/nios2/__longjmp.S: New file.
7125 * sysdeps/nios2/abort-instr.h: New file.
7126 * sysdeps/nios2/backtrace.c: New file.
7127 * sysdeps/nios2/bits/endian.h: New file.
7128 * sysdeps/nios2/bits/fenv.h: New file.
7129 * sysdeps/nios2/bits/link.h: New file.
7130 * sysdeps/nios2/bits/setjmp.h: New file.
7131 * sysdeps/nios2/bsd-_setjmp.S: New file.
7132 * sysdeps/nios2/bsd-setjmp.S: New file.
7133 * sysdeps/nios2/configure: New generated file.
7134 * sysdeps/nios2/configure.ac: New file.
7135 * sysdeps/nios2/crti.S: New file.
7136 * sysdeps/nios2/crtn.S: New file.
7137 * sysdeps/nios2/dl-init.c: New file.
7138 * sysdeps/nios2/dl-machine.h: New file.
7139 * sysdeps/nios2/dl-sysdep.h: New file.
7140 * sysdeps/nios2/dl-tls.h: New file.
7141 * sysdeps/nios2/dl-trampoline.S: New file.
7142 * sysdeps/nios2/gccframe.h: New file.
7143 * sysdeps/nios2/gmp-mparam.h: New file.
7144 * sysdeps/nios2/jmpbuf-offsets.h: New file.
7145 * sysdeps/nios2/jmpbuf-unwind.h: New file.
7146 * sysdeps/nios2/ldsodefs.h: New file.
7147 * sysdeps/nios2/libc-tls.c: New file.
7148 * sysdeps/nios2/libm-test-ulps: New file.
7149 * sysdeps/nios2/machine-gmon.h: New file.
7150 * sysdeps/nios2/math-tests.h: New file.
7151 * sysdeps/nios2/math_private.h: New file.
7152 * sysdeps/nios2/memusage.h: New file.
7153 * sysdeps/nios2/nptl/Makefile: New file.
7154 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7155 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7156 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7157 * sysdeps/nios2/nptl/pthreaddef.h: New file.
7158 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7159 * sysdeps/nios2/nptl/tls.h: New file.
7160 * sysdeps/nios2/preconfigure: New file.
7161 * sysdeps/nios2/s_fma.c: New file.
7162 * sysdeps/nios2/s_fmaf.c: New file.
7163 * sysdeps/nios2/setjmp.S: New file.
7164 * sysdeps/nios2/sfp-machine.h: New file.
7165 * sysdeps/nios2/sotruss-lib.c: New file.
7166 * sysdeps/nios2/stackguard-macros.h: New file.
7167 * sysdeps/nios2/stackinfo.h: New file.
7168 * sysdeps/nios2/start.S: New file.
7169 * sysdeps/nios2/sysdep.h: New file.
7170 * sysdeps/nios2/tls-macros.h: New file.
7171 * sysdeps/nios2/tst-audit.h: New file.
7172 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7173 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7174 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7175 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7176 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7177 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7178 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7179 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7180 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7181 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7182 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7183 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7184 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7185 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7186 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7187 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7188 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7189 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7190 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7191 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7192 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7193 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7194 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7195 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7196 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7197 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7198 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7199 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7200 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7201 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7202 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7203 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7204 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7205 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7206 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7207 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7208 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7209 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7210 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7211 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7212 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7213 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7214 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7215 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7217 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7220 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7221 (getutent): Use weak_alias in non SHARED case
7222 and default_symbol_version in SHARED case.
7223 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7224 (getutent_r, pututline): Likewise.
7225 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7226 (getutid): Likewise.
7227 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7228 (getutid_r): Likewise.
7229 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7230 (getutline): Likewise.
7231 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7232 (getutline_r): Likewise.
7233 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7234 (updwtmp): Likewise.
7236 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7239 * sysdeps/s390/s390-32/memcmp.S
7240 (memcmp_g5): Rename to __memcmp_g5.
7241 * sysdeps/s390/s390-32/memcpy.S
7242 (memcpy_g5): Rename to __memcpy_g5.
7243 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7244 (memcpy_mvcle) Rename to __memcpy_mvcle.
7245 * sysdeps/s390/s390-32/memset.S
7246 (memset_g5): Rename to __memset_g5.
7247 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7248 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7249 and use prefixed functions.
7250 * sysdeps/s390/s390-32/multiarch/memcmp.S
7251 (memcmp_z196): Rename to __memcmp_z196.
7252 (memcmp_z10): Rename to __memcmp_z10.
7253 (memcmp): Set alias to __memcmp_g5.
7254 (bcmp): Set alias to __memcmp_g5.
7255 * sysdeps/s390/s390-32/multiarch/memcpy.S
7256 (memcpy_z196): Rename to __memcpy_z196.
7257 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7258 (memcpy_z10): Rename to __memcpy_z10.
7259 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7260 (memcpy): Set alias to __memcpy_g5.
7261 * sysdeps/s390/s390-32/multiarch/memset.S
7262 (memset_z196): Rename to __memset_z196.
7263 Jump to __memset_mvcle instead of memset_mvcle.
7264 (memset_z10): Rename to __memset_z10.
7265 Jump to __memset_mvcle instead of memset_mvcle.
7266 (memset_mvcle) Rename to __memset_mvcle.
7267 (memset): Set alias to __memset_g5.
7268 * sysdeps/s390/s390-64/memcmp.S
7269 (memcmp_z900): Rename to __memcmp_z900.
7270 * sysdeps/s390/s390-64/memcpy.S
7271 (memcpy_z900): Rename to __memcpy_z900.
7272 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7273 (memcpy_mvcle) Rename to __memcpy_mvcle.
7274 * sysdeps/s390/s390-64/memset.S
7275 (memset_z900): Rename to __memset_z900.
7276 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7277 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7278 and use prefixed functions.
7279 * sysdeps/s390/s390-64/multiarch/memcmp.S
7280 (memcmp_z196): Rename to __memcmp_z196.
7281 (memcmp_z10): Rename to __memcmp_z10.
7282 (memcmp): Set alias to __memcmp_z900.
7283 (bcmp): Set alias to __memcmp_z900.
7284 * sysdeps/s390/s390-64/multiarch/memcpy.S
7285 (memcpy_z196): Rename to __memcpy_z196.
7286 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7287 (memcpy_z10): Rename to __memcpy_z10.
7288 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7289 (memcpy): Set alias to __memcpy_z900.
7290 * sysdeps/s390/s390-64/multiarch/memset.S
7291 (memset_z196): Rename to __memset_z196.
7292 Jump to __memset_mvcle instead of memset_mvcle.
7293 (memset_z10): Rename to __memset_z10.
7294 Jump to __memset_mvcle instead of memset_mvcle.
7295 (memset_mvcle) Rename to __memset_mvcle.
7296 (memset): Set alias to __memset_z900.
7298 2015-01-14 Joseph Myers <joseph@codesourcery.com>
7301 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7302 __fesetenv instead of fesetenv.
7304 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7306 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7309 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7314 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7315 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7316 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7317 strncmp-power8 object.
7318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7319 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7320 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7323 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7324 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7326 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7327 trailing byte check.
7329 2015-01-13 David S. Miller <davem@davemloft.net>
7331 * include/signal.h (__sigreturn): Guard with __USE_MISC.
7333 2015-01-13 Roland McGrath <roland@hack.frob.com>
7335 * login/logout.c (logout): Use memset rather than bzero.
7336 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7337 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7338 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7339 (_gethtbyaddr): Likewise.
7340 * locale/programs/simple-hash.c (bcopy): Macro removed.
7342 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7345 Add strcmp-power8 object.
7346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7347 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7348 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7349 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7350 __strcmp_power8 implementation.
7351 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7354 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7355 Add strncpy-power8 and stpncpy-power8 objects.
7356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7357 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7359 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7360 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7361 __stpncpy_power8 implementation.
7362 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7363 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7364 __strncpy_power8 implementation.
7365 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7366 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7369 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7370 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7371 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7374 strncat-power8 object.
7375 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7376 __strcat_power8 implementation.
7377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7378 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7379 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7380 optimized strcat for power8.
7382 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7383 strcpy-power8 and stpcpy-power8 objects.
7384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7385 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7388 multiarch stpcpy implementation for POWER8.
7389 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7390 multiarch strcpy implementation for POWER8.
7391 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7392 __strcpy_power8 function.
7393 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7395 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7399 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7402 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7403 weights and rules. Use do_xfrm_cached if data fits in cache,
7404 do_xfrm otherwise. Moved former main loop to...
7405 * (do_xfrm_cached): New function.
7406 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7407 find_idx, find_position and stack_push.
7408 * (find_idx): New function.
7409 * (find_position): Likewise.
7410 * localedata/sort-test.sh: Added test run for do_xfrm.
7411 * localedata/xfrm-test.c (main): Added command line option
7412 -nocache to run the test with strings that are too large for
7415 2015-01-13 Torvald Riegel <triegel@redhat.com>
7417 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7418 variable to lll_futex_wake call, not the value itself.
7420 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7423 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7424 twom64. Adjust value to 0x1p-64L.
7425 (__scalblnl): Only return standard underflowing result for K <=
7426 -64 not K <= -63; adjust exponent for underflowing result by 64
7428 * math/libm-test.inc (scalbn_test_data): Add more tests.
7429 (scalbln_test_data): Likewise.
7432 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7434 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7436 * math/libm-test.inc (scalbn_test_data): Add more tests.
7437 (scalbln_test_data): Likewise.
7439 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7440 Stefani Seibold <stefani@seibold.net>
7442 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7443 (sysdep_routines): Add dl-vdso here, ...
7444 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7445 (sysdep_routines): ... not here.
7446 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7447 fallback when vDSO is not presented.
7448 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7449 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7450 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7451 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7452 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7453 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7454 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7456 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7458 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7459 fallback configurable symbol when vDSO is not available.
7460 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7461 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7462 be able to redefine fallback symbol when vDSO is not available.
7463 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7464 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7466 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7468 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7469 (TLS_INIT_TP): Add tm_capable initialization.
7470 (TLS_DEFINE_INIT_TP): Likewise.
7471 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7473 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7474 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7476 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7477 transactoion is lock elision is built and TCB tm_capable is set.
7478 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7480 (INTERNAL_SYSCALL_NCS): Likewise.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7482 (INTERNAL_SYSCALL_NCS): Likewise.
7483 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7485 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7487 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7488 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7489 and remove it for 32 bits case.
7490 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7493 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7494 Disable lock elision with rdlocks if elision is not available.
7496 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7497 (sysdep_routines): Add lock elision objects.
7498 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7499 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7500 [pthread_mutex_t] (__elision): Add field.
7501 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7502 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7503 elision definitions for powerpc.
7504 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7505 implementation of lock elision for powerpc.
7506 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7507 implementation of timed lock elision for powerpc.
7508 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7509 implementation of trylock with lock elision for powerpc.
7510 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7511 implementaion of unlock for lock elision for powerpc.
7512 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7513 automatic enable lock elision for mutexes.
7514 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7515 transaction execution definitions for powerpc.
7516 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7518 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7519 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7520 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7524 2015-01-09 Roland McGrath <roland@hack.frob.com>
7526 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7527 for #include of <shm-directory.h>.
7529 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7532 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7534 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7537 * NEWS: Mention bug fix.
7538 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7539 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7540 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7542 2015-01-09 Torvald Riegel <triegel@redhat.com>
7544 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7546 2015-01-09 Torvald Riegel <triegel@redhat.com>
7548 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7550 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7552 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7553 pointer and cast to uintptr_t.
7555 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7557 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7559 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7561 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7563 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7566 2015-01-08 Roland McGrath <roland@hack.frob.com>
7568 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7569 <nptl/pthreadP.h> instead.
7570 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7572 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7574 [__SIGRTMIN] (init): Function removed.
7575 [__SIGRTMIN] (initialized): Variable removed.
7576 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7577 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7578 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7579 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7580 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7581 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7582 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7583 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7584 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7585 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7586 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7587 * sysdeps/nptl/allocrtsig.c: New file.
7588 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7589 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7590 * sysdeps/generic/testrtsig.h: File removed.
7592 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7593 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7595 * nptl/nptl-init.c (pthread_functions): Conditionalize
7596 .ptr__nptl_setxid initialization on [SIGSETXID].
7598 * sysdeps/nptl/sys/procfs.h: New file.
7599 * nptl_db/Makefile (headers): Add it.
7600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7602 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7603 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7604 * nptl/pthread_attr_setaffinity.c: Include it.
7605 * nptl/pthread_setattr_default_np.c: Likewise.
7606 * nptl/check-cpuset.h: New file.
7608 2015-01-08 Richard Henderson <rth@redhat.com>
7610 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7611 (CFLAGS-tst-execstack-prog.c): Likewise.
7612 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7614 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7615 Sandra Loosemore <sandra@codesourcery.com>
7616 Andrew Jenner <andrew@codesourcery.com>
7617 Joseph Myers <joseph@codesourcery.com>
7618 Nathan Sidwell <nathan@codesourcery.com>
7620 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7621 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7622 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7623 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7624 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7625 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7626 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7627 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7628 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7629 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7630 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7631 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7632 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7633 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7634 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7635 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7636 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7638 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7640 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7641 timespec struct member in syscall macro.
7642 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7643 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7644 first timeval struct member in syscall macro.
7645 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7647 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7650 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7651 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7652 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7653 __feupdateenv and define as weak alias of __feupdateenv. Use
7655 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7657 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7658 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7659 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7660 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7662 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7663 __feupdateenv and define as weak alias of __feupdateenv. Use
7665 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7667 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7668 __feupdateenv and define as weak alias of __feupdateenv. Use
7670 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7672 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7673 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7674 (__feupdateenv): Likewise.
7675 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7676 __feupdateenv and define as weak alias of __feupdateenv. Use
7678 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7679 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7681 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7683 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7685 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7686 __feupdateenv instead of feupdateenv.
7687 (default_libc_feupdateenv_test): Likewise.
7688 (libc_feresetround_ctx): Likewise.
7690 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7692 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7695 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7697 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7698 COLL_SYM in a couple of places to avoid uninitialized variable
7699 wanings on tilegx gcc 4.8.2.
7701 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7703 * sysdeps/aarch64/strcpy.S: New file.
7704 * sysdeps/aarch64/stpcpy.S: New file.
7707 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7709 * sysdeps/aarch64/strrchr.S: New file.
7712 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7715 * stdlib/setenv.c: Fix memory leak when setting large,
7718 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7721 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7722 and tabs from buffer before parsing fstab entry.
7723 * misc/tst-mntent.c (main): Add test for mount entry with
7724 trailing spaces and tabs.
7726 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7729 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7730 * math/fesetround.c (fesetround): Rename to __fesetround and
7731 define as weak alias of __fesetround. Use libm_hidden_weak.
7732 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7733 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7734 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7735 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7736 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7737 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7738 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7739 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7740 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7741 __fesetround_inline.
7742 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7743 __fesetround_inline instead of __fesetround.
7744 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7745 __fesetround and define as weak alias of __fesetround. Use
7746 libm_hidden_weak. Call __fesetround_inline instead of
7748 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7749 __fesetround and define as weak alias of __fesetround. Use
7751 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7753 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7754 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7755 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7756 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7757 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7758 __fesetround and define as weak alias of __fesetround. Use
7760 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7761 __fesetround instead of fesetround.
7762 (default_libc_feholdexcept_setround): Likewise.
7763 (libc_feholdsetround_ctx): Likewise.
7764 (libc_feholdsetround_noex_ctx): Likewise.
7767 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7768 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7769 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7770 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7771 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7772 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7773 define as weak alias of __fesetenv. Use libm_hidden_weak.
7774 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7775 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7776 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7777 define as weak alias of __fesetenv. Use libm_hidden_weak.
7778 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7779 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7780 define as weak alias of __fesetenv. Use libm_hidden_weak.
7781 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7783 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7784 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7786 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7787 define as weak alias of __fesetenv. Use libm_hidden_weak.
7788 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7789 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7790 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7791 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7792 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7793 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7794 __fesetenv instead of fesetenv.
7795 (libc_feresetround_noex_ctx): Likewise.
7796 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7797 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7798 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7799 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7800 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7801 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7802 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7803 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7804 (__feupdateenv): Likewise.
7805 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7806 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7807 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7808 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7810 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7813 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7814 addresses have been freed.
7816 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7818 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7821 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7823 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7824 Clean up check_pf allocation pattern. addresses
7826 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7829 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7830 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7831 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7832 * nptl/pthread_join.c (pthread_join): Likewise.
7833 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7834 * sysdeps/posix/waitid.c (__waitid): Likewise.
7835 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7836 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7837 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7838 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7839 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7841 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7842 (__libc_pread64): Likewise.
7843 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7844 (__libc_pwrite): Likewise.
7845 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7846 (__libc_pwrite64): Likewsie.
7847 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7848 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7849 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7850 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7851 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7852 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7853 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7857 (__libc_pread64): Likewise.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7861 (__libc_pwrite64): Likewise.
7862 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7863 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7864 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7865 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7866 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7867 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7868 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7869 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7870 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7871 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7872 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7873 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7874 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7875 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7876 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7877 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7880 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7882 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7883 (CFLAGS-test-double.c): Likewise.
7884 (CFLAGS-test-ldouble.c): Likewise.
7885 (CPPFLAGS-test-ifloat.c): Likewise.
7886 (CPPFLAGS-test-idouble.c): Likewise.
7887 (CPPFLAGS-test-ildoubl.c): Likewise.
7888 (CFLAGS-test-test-fenv.c): Remove variable.
7889 (CFLAGS-test-misc.c): Likewise.
7891 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7894 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7895 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7896 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7897 CLOCKS_PER_SEC == 1000000.
7898 * time/clocktest.c (main): Replace %ld with %jd and cast to
7901 2015-01-05 Roland McGrath <roland@hack.frob.com>
7903 * sysdeps/generic/unwind-resume.h: New file.
7904 * sysdeps/gnu/unwind-resume.c: Include it.
7905 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7906 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7908 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7909 global rather than static.
7910 (_Unwind_Resume): Update user.
7911 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7912 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7913 rather than static. Add __attribute__ ((cold)).
7914 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7915 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7916 * sysdeps/arm/arm-unwind-resume.S: New file.
7917 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7918 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7919 * sysdeps/arm/Makefile [$(subdir) = csu]
7920 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7921 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7922 Add rt-arm-unwind-resume.
7924 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7925 Add pt-arm-unwind-resume.
7926 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7927 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7929 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7932 * include/fenv.h (__feholdexcept): Declare. Use
7934 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7935 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7936 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7937 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7938 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7939 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7940 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7941 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7942 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7943 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7944 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7945 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7946 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7947 (feholdexcept): Likewise.
7948 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7949 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7950 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7951 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7952 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7953 __feholdexcept instead of feholdexcept.
7954 (default_libc_feholdexcept_setround): Likewise.
7956 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7958 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7959 to avoid using stl/str to align destination.
7961 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7963 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7965 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7968 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7969 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7970 Define as weak alias not strong alias.
7972 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7974 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7975 bltzal with addiupc.
7976 (RTLD_START): Ditto.
7978 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7980 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7981 for __vdso_* functions in declarations.
7982 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7984 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7985 INTERNAL_VSYSCALL): Use struct return types to check for error.
7987 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7988 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7989 function with cast from llround().
7990 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7991 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7994 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7997 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7998 Define as weak alias not strong alias.
8001 * ctype/ctype-c99.c: New file. isblank implementation moved from
8003 * ctype/ctype-extn.c: ... here.
8004 (__isblank_l): Move to ...
8005 * ctype/ctype-c99_l.c: ... here. New file.
8006 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8007 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8009 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8010 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8011 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8012 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8013 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8016 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8017 (posix_fadvise64): Define as weak alias not strong alias.
8018 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8019 (posix_fallocate64): Likewise.
8020 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8022 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8023 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8024 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8025 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8026 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8028 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
8031 * NEWS: Mention bug fix.
8032 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8033 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8034 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8035 (HOST_STACK_END_ADDR): Likewise.
8037 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8040 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
8041 * math/fegetround.c (fegetround): Rename to __fegetround and
8042 define as weak alias of __fegetround. Use libm_hidden_weak.
8043 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8044 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8045 * sysdeps/arm/fegetround.c (fegetround): Likewise.
8046 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8047 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8048 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8049 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8050 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8051 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8052 Undefine after rather than before function definition; use
8053 parentheses around function name in definition.
8054 (__fegetround): Also undefine macro after function definition.
8055 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8056 __fegetround and define as weak alias of __fegetround. Use
8057 libm_hidden_weak. Do not undefine as macro.
8058 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8060 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8061 __fegetround and define as weak alias of __fegetround. Use
8063 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8064 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8065 * sysdeps/tile/math_private.h (__fegetround): New inline function.
8066 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8067 __fegetround and define as weak alias of __fegetround. Use
8069 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8070 __fegetround instead of fegetround.
8073 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8074 Condition macro definition on [__USE_MISC].
8077 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8078 (struct sigaction): Change type of sa_flags field to int.
8081 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8082 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8085 * nptl/version.c (banner): Use single year in copyright notice.
8087 * NEWS: Update copyright dates.
8088 * catgets/gencat.c (print_version): Likewise.
8089 * csu/version.c (banner): Likewise.
8090 * debug/catchsegv.sh: Likewise.
8091 * debug/pcprofiledump.c (print_version): Likewise.
8092 * debug/xtrace.sh (do_version): Likewise.
8093 * elf/ldconfig.c (print_version): Likewise.
8094 * elf/ldd.bash.in: Likewise.
8095 * elf/pldd.c (print_version): Likewise.
8096 * elf/sotruss.sh: Likewise.
8097 * elf/sprof.c (print_version): Likewise.
8098 * iconv/iconv_prog.c (print_version): Likewise.
8099 * iconv/iconvconfig.c (print_version): Likewise.
8100 * locale/programs/locale.c (print_version): Likewise.
8101 * locale/programs/localedef.c (print_version): Likewise.
8102 * login/programs/pt_chown.c (print_version): Likewise.
8103 * malloc/memusage.sh (do_version): Likewise.
8104 * malloc/memusagestat.c (print_version): Likewise.
8105 * malloc/mtrace.pl: Likewise.
8106 * manual/libc.texinfo: Likewise.
8107 * nptl/version.c (banner): Likewise.
8108 * nscd/nscd.c (print_version): Likewise.
8109 * nss/getent.c (print_version): Likewise.
8110 * nss/makedb.c (print_version): Likewise.
8111 * posix/getconf.c (main): Likewise.
8112 * scripts/test-installation.pl: Likewise.
8113 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8115 2015-01-02 Will Newton <will.newton@linaro.org>
8117 * sysdeps/arm/armv7/configure: Removed.
8118 * sysdeps/arm/armv7/configure.ac: Likewise.
8120 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8122 * All files with FSF copyright notices: Update copyright dates
8123 using scripts/update-copyrights.
8124 * intl/plural.c: Regenerated.
8125 * locale/programs/charmap-kw.h: Likewise.
8126 * locale/programs/locfile-kw.h: Likewise.
8128 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8130 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8132 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8135 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8136 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8137 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8138 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8139 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8140 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8141 define as weak alias of __fegetenv. Use libm_hidden_weak.
8142 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8143 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8144 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8145 define as weak alias of __fegetenv. Use libm_hidden_weak.
8146 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8147 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8148 define as weak alias of __fegetenv. Use libm_hidden_weak.
8149 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8151 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8154 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8155 define as weak alias of __fegetenv. Use libm_hidden_weak.
8156 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8157 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8158 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8159 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8160 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8161 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8162 __fegetenv instead of fegetenv.
8163 (libc_feholdsetround_noex_ctx): Likewise.
8165 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
8167 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8168 (Elf_MIPS_ABIFlags_v0): New structure.
8169 (EF_MIPS_FP64): Define.
8170 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8171 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8172 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8173 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8174 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8175 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8176 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8177 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8178 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8179 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8180 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8181 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8182 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8183 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8184 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8185 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8186 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8187 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8188 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8189 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8190 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8191 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8193 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8195 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8196 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8197 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8198 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8199 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8200 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8201 * sysdeps/mips/tst-abi-interlink.c: Likewise.
8202 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8203 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8204 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8205 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8206 record the current FP ABI extension.
8207 (mips-mode-switch): Define to show if kernel headers support mode
8209 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8210 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8211 supported SYSV ABI version to 3.
8212 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8215 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8216 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8218 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8220 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8222 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8224 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8225 __fegetround and redefine to call __fegetround. Remove condition
8226 on [!__NO_MATH_INLINES].
8227 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8229 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8230 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8233 instead of <fenv_libc.h>.
8234 (__llrintl): Call fegetround instead of __fegetround.
8235 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8236 instead of <fenv_libc.h>.
8237 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8238 (__lrintl): Call fegetround instead of __fegetround.
8239 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8240 instead of <fenv_libc.h>.
8241 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8242 (__rintl): Call fegetround instead of __fegetround.
8244 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8246 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8249 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8252 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8253 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8254 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8256 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8258 * sysdeps/i386/tls-macros.h: Include <features.h>.
8259 (TLS_LE): Use non-PIC version for GCC >= 5.0.
8263 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8264 define for GCC >= 5.0.
8266 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
8268 * math/test-fenv.c (test_single_exception, set_single_exc,
8269 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8270 feexcp_mask_test, feenable_test, fe_single_test): Add
8271 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8272 case where they are not used.
8273 * math/libm-test.inc: Likewise.
8274 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8275 unused in the absence of FP rounding/exception support.
8276 * stdio-common/tst-printf-round.c: Likewise.
8277 * stdlib/tst-strtod-round.c: Likewise.
8278 * stdlib/tst-strtod-underflow.c: Likewise.
8280 2014-12-30 Joseph Myers <joseph@codesourcery.com>
8283 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8284 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8285 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8286 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8288 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8289 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8290 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8292 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8293 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8295 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8297 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8298 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8299 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8301 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8303 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8304 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8305 (__feraiseexcept): Likewise.
8306 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8307 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8310 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8312 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8313 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8314 Use libm_hidden_def.
8315 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8317 (feraiseexcept): Define as weak not strong alias. Use
8319 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8320 New inline function. Factored out of ...
8321 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
8322 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8323 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8325 * math/w_acos.c (__acos): Likewise.
8326 * math/w_asin.c (__asin): Likewise.
8327 * math/w_ilogb.c (__ilogb): Likewise.
8328 * math/w_j0.c (y0): Likewise.
8329 * math/w_j1.c (y1): Likewise.
8330 * math/w_jn.c (yn): Likewise.
8331 * math/w_log.c (__log): Likewise.
8332 * math/w_log10.c (__log10): Likewise.
8333 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8334 * sysdeps/aarch64/fpu/math_private.h
8335 (libc_feupdateenv_test_aarch64): Likewise.
8336 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8337 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8338 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8339 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8340 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8341 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8342 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8343 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8344 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8345 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8347 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8350 * io/test-utime.c (main): Replace %ld with %jd and cast to
8352 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8353 * nptl/tst-mutex5.c: Include <stdint.h>.
8354 (do_test): Replace %ld with %jd and cast to intmax_t.
8355 * posix/tst-regex.c (run_test): Likewise.
8356 (run_test_backwards): Likewise.
8357 * rt/tst-clock.c: Include <stdint.h>.
8358 (clock_test): Replace %ld with %jd and cast to intmax_t.
8359 * rt/tst-cpuclock1.c: Include <stdint.h>.
8360 (do_test): Replace %lu with %ju and cast to uintmax_t.
8361 * rt/tst-cpuclock2.c: Include <stdint.h>.
8362 (do_test): Replace %lu with %ju and cast to uintmax_t.
8363 * rt/tst-mqueue1.c: Include <stdint.h>.
8364 (check_attrs): Replace %ld with %jd and cast to intmax_t.
8365 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8367 * rt/tst-mqueue4.c (do_test): Likewise.
8368 * rt/tst-timer4.c: Include <stdint.h>.
8369 (check_ts): Replace %ld with %jd and cast to intmax_t.
8370 (do_test): Likewise.
8371 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8372 and cast to intmax_t.
8373 * sysdeps/pthread/tst-timer.c (main): Likewise.
8374 * time/clocktest.c (main): Likewise.
8375 * time/tst-posixtz.c (do_test): Likewise.
8376 * timezone/tst-timezone.c (main): Likewise.
8378 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8379 H.J. Lu <hongjiu.lu@intel.com>
8381 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8382 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8383 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8384 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8385 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8386 version if bit_Fast_Unaligned_Load is set.
8387 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8388 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8389 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8390 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8391 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8392 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8394 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8395 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8396 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8398 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8399 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8400 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8401 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8403 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8405 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8406 instead of #if to avoid a Wundef warning.
8407 * stdlib/tst-limits.c (do_test): Likewise.
8409 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8410 parallel other exception macros.
8411 (fegetenv): Convert from macro to extern inline so that it applies
8412 retroactively to inline functions already seen by the compiler.
8413 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8415 * posix/Makefile (before-compile): Use $(objpfx) for
8416 posix-conf-vars-def.h.
8418 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8420 * posix/getconf.c (main): Use size_t for type of I.
8421 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8424 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8425 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8426 * posix/posix-envs.def: Likewise.
8427 * sysdeps/posix/sysconf.c: Likewise.
8428 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8429 (specs): Remove array.
8430 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8433 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8434 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8435 (__sysconf): Use CONF_IS_* macros.
8437 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8438 ($(objpfx)posix-conf-vars-def.h): New target.
8439 * posix/posix-conf-vars.list: New file.
8440 * posix/posix-conf-vars.h: New file.
8441 * posix/confstr.c: Include posix-conf-vars.h.
8442 (confstr): Use CONF_IS_* macros.
8443 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8445 * scripts/gen-posix-conf-vars.awk: New file.
8447 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8449 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8450 fegetround): Add no-op macros to avoid linknamespace issues.
8452 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8453 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8455 * sysdeps/unix/sysv/linux/tile/sysdep.h
8456 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8457 assembly-specific section to avoid a redefinition warning.
8459 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8460 long before casting to pointer to avoid a cast warning.
8462 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8464 * sysdeps/tile/tilegx/Implies: New file.
8466 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8468 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8470 2014-12-23 Florian Weimer <fweimer@redhat.com>
8472 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8474 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8478 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8479 <kernel-features.h>.
8480 (__utimes) [__NR_utimes]: Make code unconditional.
8481 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8482 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8483 (__ASSUME_UTIMES): Do not undefine.
8484 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8485 (__ASSUME_UTIMES): Likewise.
8486 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8487 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8488 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8489 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8491 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8493 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8495 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8498 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8499 alias to weak alias for j0l, y0l.
8500 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8501 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8504 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8507 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8509 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8510 to zero if not already defined.
8512 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8515 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8516 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8517 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8518 (char *) casts added.
8519 * sysdeps/ieee754/k_standardf.c: New file.
8520 * sysdeps/ieee754/k_standardl.c: Likewise.
8521 * math/Makefile (libm-support): Remove k_standard.
8522 (libm-calls): Add k_standard.
8524 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8526 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8527 Optimize to avoid an unnecessary FPCR read.
8529 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8531 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8532 Optimize to reduce FPCR/FPSR accesses.
8534 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8536 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8537 Call libc_fetestexcept_aarch64.
8539 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8541 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8542 Call libc_fesetround_aarch64.
8544 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8547 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8548 (__bind): Do not define as weak alias.
8549 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8551 (__getsockname): Do not define as weak alias.
8553 2014-12-22 Will Newton <will.newton@linaro.org>
8555 * manual/install.texi: Document that we require bison 2.7
8557 * INSTALL: Regenerate.
8558 * configure.ac: Use AC_CHECK_PROG_VER instead of
8559 AC_PATH_PROG when checking for bison and check for
8560 version 2.7 or above.
8561 * configure: Regenerate.
8563 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8566 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8567 * sysdeps/tile/ffsll.c (ffsll): To here.
8569 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8571 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8573 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8575 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8577 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8578 hidden ___tls_get_addr.
8579 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8580 hidden __tls_get_addr.
8581 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8582 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8585 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8587 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8590 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8592 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8593 from "call _dl_init@PLT".
8594 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8596 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8598 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8601 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8603 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8605 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8608 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8611 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8613 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8615 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8616 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8617 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8618 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8619 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8621 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8623 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8624 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8625 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8626 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8627 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8629 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8631 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8633 * string/strncat.c (STRNCAT): Simplify implementation.
8635 2014-12-19 David S. Miller <davem@davemloft.net>
8637 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8638 access the quad as both a long double and as a series of 4 words.
8640 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8641 link_map->l_info array access.
8643 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8645 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8647 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8648 * math/atest-exp2.c (TIMEOUT): Likewise.
8649 * math/atest-sincos.c (TIMEOUT): Likewise.
8651 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8653 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8654 -Wno-error with -fno-builtin-lround.
8656 2014-12-19 Torvald Riegel <triegel@redhat.com>
8658 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8659 Contains futex constants and functions moved over from ...
8660 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8661 <lowlevellock-futex.h>.
8662 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8663 (lll_timedwait_tid): Add comments and parentheses around macro
8666 2014-12-19 Torvald Riegel <triegel@redhat.com>
8668 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8669 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8670 (__lll_private_flag): Remove.
8671 (lll_futex_wait): Likewise.
8672 (lll_futex_timed_wait): Likewise.
8673 (lll_futex_wake): Likewise.
8674 (lll_futex_requeue): Likewise.
8675 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8676 (__lll_timedwait_tid): Spell out argument names.
8677 (lll_timedwait_tid): Add comments and parentheses around macro
8679 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8680 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8682 2014-12-19 Torvald Riegel <triegel@redhat.com>
8684 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8685 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8686 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8687 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8688 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8689 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8690 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8691 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8692 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8693 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8695 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8696 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8697 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8698 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8699 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8700 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8701 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8702 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8704 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/x86_64/x32/Makefile: New file.
8708 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8710 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8711 1L with (mp_limb_t) 1.
8713 2014-12-17 Roland McGrath <roland@hack.frob.com>
8715 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8716 * nptl/libc_pthread_init.c: ... here.
8717 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8718 * nptl/register-atfork.c: ... here.
8720 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8721 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8722 Use assert_perror to check its return value.
8723 (__gai_create_helper_thread): Likewise.
8725 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8727 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8729 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8732 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8734 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8736 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8738 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8740 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8741 (profil_counter): Likewise.
8742 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8743 (profil_counter): Likewise.
8744 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8746 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8748 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8749 (profil_counter): Likewise.
8750 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8752 [!__profil_counter] (profil_counter): Define as weak alias of
8754 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8755 (profil_counter): Rename to __profil_counter.
8756 [!__profil_counter] (profil_counter): Define as weak alias of
8758 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8759 (profil_counter): Rename to __profil_counter.
8760 [!__profil_counter] (profil_counter): Define as weak alias of
8762 * sysdeps/posix/profil.c: Update comment referring to
8764 (__profil): Use __profil_counter instead of profil_counter.
8765 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8766 __profil_counter. Use __profil_counter_ushort and
8767 __profil_counter_uint in definitions.
8768 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8769 instead of profil_counter_uint and profil_counter_ushort.
8772 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8773 define as weak alias of __inet_makeaddr.
8774 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8775 as weak alias of __inet_addr.
8776 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8777 as weak alias of __inet_pton. Use libc_hidden_weak.
8778 * include/arpa/inet.h (__inet_pton): Declare. Use
8780 (inet_makeaddr): Don't use libc_hidden_proto.
8781 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8782 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8783 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8784 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8786 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8787 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8789 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8791 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8793 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8795 * stdio-common/bug-vfprintf-nargs.c (do_test):
8796 Cast value to intptr_t to avoid format warning
8797 for usage with PRIdPTR printing macro.
8799 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8801 * libio/tst-widetext.c (do_test):
8802 Use format type %td instead of %Zd for ptrdiff_t
8803 in order to avoid format warning.
8805 2014-12-17 Andreas Schwab <schwab@suse.de>
8807 * nscd/mem.c (gc): Add size_t cast to match printf format.
8809 2014-12-16 Roland McGrath <roland@hack.frob.com>
8811 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8812 (init): Apply PTR_MANGLE to pointers before storing them.
8813 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8816 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8820 define as weak alias of __memrchr.
8821 (__memrchr): Do not define as strong alias of memrchr.
8822 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8824 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8825 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8826 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8829 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8830 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8831 (if_indextoname): Rename to __if_indextoname and define as weak
8832 alias of __if_indextoname. Use libc_hidden_weak.
8833 (if_freenameindex): Rename to __if_freenameindex and define as
8834 weak alias of __if_freenameindex.
8835 (if_nameindex): Rename to __if_nameindex and define as weak alias
8837 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8838 __if_nametoindex and define as weak alias of __if_nametoindex.
8839 Use libc_hidden_weak.
8840 (if_freenameindex): Rename to __if_freenameindex and define as
8841 weak alias of __if_freenameindex.
8842 (if_nameindex): Rename to __if_nameindex and define as weak alias
8844 (if_indextoname): Rename to __if_indextoname and define as weak
8845 alias of __if_indextoname. Use libc_hidden_weak.
8846 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8847 __if_nametoindex and define as weak alias of __if_nametoindex.
8848 Use libc_hidden_weak.
8849 (if_freenameindex): Rename to __if_freenameindex and define as
8850 weak alias of __if_freenameindex. Use libc_hidden_weak.
8851 (if_nameindex_netlink): Use __if_freenameindex instead of
8853 (if_nameindex): Rename to __if_nameindex and define as weak alias
8854 of __if_nameindex. Use libc_hidden_weak.
8855 (if_indextoname): Rename to __if_indextoname and define as weak
8856 alias of __if_indextoname. Use libc_hidden_weak.
8857 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8859 [!_ISOMAC] (__if_freenameindex): Likewise.
8860 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8862 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8864 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8865 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8866 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8867 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8868 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8869 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8870 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8872 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8874 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8875 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8877 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8879 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8880 subscript above bounds'
8882 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8885 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8887 * libio/tst-fopenloc.c: Use test-skeleton.c.
8889 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8890 (entry): Rename to ITEM.
8891 (do_test, comp): Adjust.
8893 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8895 2014-12-16 Torvald Riegel <triegel@redhat.com>
8897 * string/tester.c: Include <libc-internal.h>.
8898 (test_memset): Ignore -Wmemset-transposed-args.
8900 2014-12-16 Torvald Riegel <triegel@redhat.com>
8902 * misc/tst-mntent2.c (do_test): Fix warning.
8904 2014-12-16 Torvald Riegel <triegel@redhat.com>
8906 * elf/tst-unique4lib.cc(a): Mark as used.
8908 2014-12-16 Florian Weimer <fweimer@redhat.com>
8911 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8914 2014-12-16 Allan McRae <allan@archlinux.org>
8916 * stdio-common/Makefile (tests): Re-add bug26.
8918 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8921 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8924 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8926 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8927 (__lll_lock_wait): Likewise.
8928 (__lll_timedlock_wait): Likewise.
8929 (__lll_timedwait_tid): Likewise.
8930 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8931 (__lll_robust_timedlock_wait): Likewise.
8932 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8933 (lll_cond_trylock): Likewise.
8934 (__lll_lock): Likewise.
8935 (__lll_robust_lock): Likewise.
8936 (__lll_cond_lock): Likewise.
8937 (lll_robust_cond_lock): Likewise.
8938 (__lll_timedlock): Likewise.
8939 (__lll_robust_timedlock): Likewise.
8940 (__lll_unlock): Likewise.
8941 (__lll_robust_unlock): Likewise.
8942 (lll_wait_tid): Likewise.
8943 (lll_timedwait_tid): Likewise.
8945 2014-12-15 Torvald Riegel <triegel@redhat.com>
8947 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8949 2014-12-15 Torvald Riegel <triegel@redhat.com>
8951 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8953 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8955 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8956 * stdio-common/tst-sprintf.c: Likewise.
8958 2014-12-15 Torvald Riegel <triegel@redhat.com>
8960 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8962 2014-12-15 Jeff Law <law@redhat.com>
8965 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8966 on the heap. (CVE-2012-3406)
8967 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8968 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8969 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8971 2014-12-15 Will Newton <will.newton@linaro.org>
8973 * manual/install.texi: Bump required version of texinfo
8975 * INSTALL: Regenerated.
8976 * configure.ac: Check for makeinfo version 4.7 and above.
8977 * configure: Regenerated.
8979 2014-12-12 Roland McGrath <roland@hack.frob.com>
8981 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8982 PREFIX, string constant to insert between directory and name.
8983 * sysdeps/posix/shm_open.c: Update caller.
8984 * sysdeps/posix/shm_unlink.c: Likewise.
8985 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8986 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8987 (SEM_SHM_PREFIX): New macro.
8988 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8989 [$(have-thread-library) = no].
8990 * nptl/Makefile (libpthread-routines): Add shm-directory.
8991 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8992 * sysdeps/nptl/shm-directory.h: New file.
8993 * sysdeps/posix/shm-directory.c
8994 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8995 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8996 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8998 (__where_is_shmfs): Function removed.
8999 (mountpoint, defaultmount, defaultdir, __namedsem_once):
9001 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9003 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
9005 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9006 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9007 unconditional for use inside libpthread.
9008 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9010 2014-12-12 Roland McGrath <roland@hack.frob.com>
9012 * nptl/pthread_getaffinity.c: New file.
9013 * nptl/pthread_setaffinity.c: New file.
9014 * nptl/pthread_getname.c: New file.
9015 * nptl/pthread_setname.c: New file.
9017 * nptl/pthread_create.c (START_THREAD_DEFN)
9018 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9020 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9021 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023 * resolv/res_send.c (send_vc): Disable warning resplen may
9024 be used uninitialized.
9026 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9029 (ATTR_NULL): New define checks ATTR against NULL.
9030 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9031 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9033 2014-12-11 James Lemke <jwlemke@codesourcery.com>
9037 (mem2mem_check): Revert my previous change.
9038 (malloc_check_get_size): Revert my previous change.
9039 (mem2chunk_check): Revert my previous change.
9041 2014-12-11 Roland McGrath <roland@hack.frob.com>
9043 * sysdeps/posix/shm-directory.c: New file.
9044 * sysdeps/posix/shm-directory.h: New file.
9045 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9046 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9047 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
9048 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9049 Transmute EPERM to EACCES.
9050 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9052 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
9053 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9055 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9057 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9058 pointer and cast to uintptr_t.
9059 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9060 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9061 Add cast to avoid warning.
9062 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9064 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9066 * nptl/semaphore.h: Move to ...
9067 * sysdeps/pthread/semaphore.h: ... here.
9068 * Makefile (installed-headers): Change nptl/semaphore.h to
9069 sysdeps/pthread/semaphore.h.
9071 2014-12-11 Roland McGrath <roland@hack.frob.com>
9073 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9074 generated error format strings.
9076 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9077 -Wformat-extra-args warnings for scanf formats.
9078 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9079 test of zero-length format (duh).
9080 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9081 corner-case scanf format test.
9082 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9083 generated fprintf format string.
9084 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9085 corner-case sprintf format tests.
9086 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9087 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9088 -Wformat-extra-args warnings throughout.
9089 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9090 (CFLAGS-scanf4.c): Likewise.
9091 (CFLAGS-scanf7.c): Likewise.
9092 (CFLAGS-tst-sprintf.c): Likewise.
9093 (CFLAGS-tst-printf.c): Likewise.
9094 (CFLAGS-tst-printfsz.c): Likewise.
9096 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9098 * include/cpio.h: New file.
9099 * include/fmtmsg.h: Likewise.
9101 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
9102 corresponding format argument to size_t.
9103 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
9105 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
9106 corresponding format argument to size_t.
9107 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
9109 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
9110 corresponding format argument to size_t.
9111 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9112 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9113 (CFLAGS-tst-mbswcs2.c): Likewise.
9114 (CFLAGS-tst-mbswcs3.c): Likewise.
9115 (CFLAGS-tst-mbswcs4.c): Likewise.
9116 (CFLAGS-tst-mbswcs5.c): Likewise.
9117 (CFLAGS-tst-trans.c): Likewise
9119 2014-12-11 Roland McGrath <roland@hack.frob.com>
9121 * posix/regexbug1.c (main): Use "%s" format with regerror results,
9122 rather than assuming they won't contain any '%'s.
9124 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
9126 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9127 inhibit_loop_to_libcall to avoid recursive calls.
9128 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9129 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9131 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9133 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9136 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9138 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9139 integer value instead of boolean.
9141 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9143 * malloc/malloc.c: Fix powerof2 check.
9145 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9147 * locale/programs/locfile.h (maybe_swap_uint32):
9148 Remove inline and add unused attribute.
9150 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9153 Truncating assembler expression to a .long expression.
9155 2014-12-11 Andreas Schwab <schwab@suse.de>
9157 * elf/rtld.c (struct map_args): Constify str member.
9158 (do_preload): Constify fname argument.
9160 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9162 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9163 constants definition.
9165 2014-12-11 Andreas Schwab <schwab@suse.de>
9168 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9169 FORCE_ELISION instead of DO_ELISION.
9170 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9172 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9175 * iconvdata/gconv-modules: Remove duplicate entry.
9177 2014-12-11 Will Newton <will.newton@linaro.org>
9179 Merge gettext 0.19.3 into intl/.
9181 This involves a number of cosmetic changes to comments
9182 and ANSI function definitions and prototypes throughout
9183 all the files. The gettext copyright header is used but
9184 with the date ranges taken from the glibc copy.
9186 * NEWS: Add gettext merge to 2.21.
9187 * intl/bindtextdom.c: Switch to gettext copyright.
9188 Use ANSI definitions and prototypes.
9189 Use gl_* locking primitives rather than __libc_* ones.
9190 Use __builtin_expect rather than __glibc_likely/unlikely.
9191 * intl/dcgettext.c: Switch to gettext copyright.
9192 Use ANSI definitions and prototypes.
9193 * intl/dcigettext.c: Switch to gettext copyright.
9194 Use ANSI definitions and prototypes.
9195 (INTDIV0_RAISES_SIGFPE): New define.
9196 Use gl_* locking primitives rather than __libc_* ones.
9197 Include eval-plural.h instead of plural-eval.c.
9198 Use __builtin_expect rather than __glibc_likely/unlikely.
9199 * intl/dcngettext.c: Switch to gettext copyright.
9200 Use ANSI definitions and prototypes.
9201 * intl/dgettext.c: Likewise.
9202 * intl/dngettext.c: Likewise.
9203 * intl/plural-eval.c: Renamed to...
9204 * intl/eval-plural.h: ...this.
9205 * intl/explodename.c: Switch to gettext copyright.
9206 Use ANSI definitions and prototypes.
9207 (_nl_explode_name): Use strchr instead of __rawmemchr.
9208 * intl/finddomain.c: Switch to gettext copyright.
9209 Use ANSI definitions and prototypes.
9210 Use gl_* locking primitives rather than __libc_* ones.
9211 (_nl_find_domain): Use malloc rather than alloca for
9212 allocation of temporary locale name.
9213 * intl/gettext.c: Switch to gettext copyright.
9214 Use ANSI definitions and prototypes.
9215 * intl/gettextP.h: Switch to gettext copyright.
9216 Use ANSI definitions and prototypes.
9217 Use gl_* locking primitives rather than __libc_* ones.
9218 * intl/gmo.h: Switch to gettext copyright.
9219 (struct sysdep_string): Move struct segment_pair outside of
9221 * intl/hash-string.c: Use ANSI definitions and prototypes.
9222 * intl/hash-string.h: Switch to gettext copyright.
9223 Use ANSI definitions and prototypes.
9224 * intl/l10nflist.c: Switch to gettext copyright.
9225 Use ANSI definitions and prototypes.
9226 (_nl_normalize_codeset): Avoid integer overflow.
9227 * intl/loadinfo.h: Switch to gettext copyright.
9228 Use ANSI definitions and prototypes.
9229 (LIBINTL_DLL_EXPORTED): New define.
9230 (PATH_SEPARATOR): New define.
9231 * intl/loadmsgcat.c: Switch to gettext copyright.
9232 * intl/localealias.c: Switch to gettext copyright.
9233 Use ANSI definitions and prototypes.
9234 (_nl_expand_alias): Use PATH_SEPARATOR.
9235 * intl/ngettext.c: Switch to gettext copyright.
9236 Use ANSI definitions and prototypes.
9237 * intl/plural-exp.c: Likewise.
9238 * intl/plural-exp.h: Switch to gettext copyright.
9239 Use ANSI definitions and prototypes.
9240 (struct expression): Move definition of enum operator outside
9241 of struct definition.
9242 * intl/plural.c: Regenerate.
9243 * intl/plural.y: Switch to gettext copyright.
9244 Use ANSI definitions and prototypes.
9246 * intl/textdomain.c: Switch to gettext copyright.
9247 Use ANSI definitions and prototypes.
9248 Use gl_* locking primitives rather than __libc_* ones.
9250 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
9252 * debug/warning-nop.c: Add used atrribute.
9254 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9256 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9258 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9259 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9260 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9262 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9263 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9266 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9267 Undefine after defining function. Define as weak alias of
9268 __wcschr. Use libc_hidden_weak.
9269 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
9270 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9271 (libc_hidden_def): Also define __GI___wcschr alias.
9272 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9273 __wcschr and define as weak alias of __wcschr.
9274 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9276 [!WCSCHR] (DEFAULT_WCSCHR): Define.
9277 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9278 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
9279 libc_hidden_weak. Do not use libc_hidden_def.
9280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9281 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9282 __GI___wcschr alias.
9283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9284 [IS_IN (libc)] (wcschr): Define as macro expanding to
9286 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9287 [IS_IN (libc)] (__wcschr_power6): Likewise.
9288 [IS_IN (libc)] (__wcschr_power7): Likewise.
9289 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
9291 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9293 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9294 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9295 __wcschr and define as weak alias of __wcschr. Use
9296 libc_hidden_builtin_def.
9297 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9298 as weak alias of __wcschr. Use libc_hidden_weak.
9299 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9301 * time/era.c (_nl_init_era_entries): Likewise.
9302 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9304 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9305 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9307 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9309 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9310 format for long int variable.
9312 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
9315 * manual/search.texi: (Array Sort Function): Remove claim how to make
9318 2014-12-10 Andreas Schwab <schwab@suse.de>
9321 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9322 user-controlled locks.
9324 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
9326 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9329 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9331 * configure.ac (--disable-werror): New configure option.
9332 (enable_werror): New AC_SUBST.
9333 * configure: Regenerated.
9334 * config.make.in (enable-werror): New variable.
9335 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9337 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9338 * manual/install.texi (Configuring and compiling): Document
9340 * INSTALL: Regenerated.
9341 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9342 (CFLAGS-tst-chk2.c): Likewise.
9343 (CFLAGS-tst-chk3.c): Likewise.
9344 (CFLAGS-tst-chk4.cc): Likewise.
9345 (CFLAGS-tst-chk5.cc): Likewise.
9346 (CFLAGS-tst-chk6.cc): Likewise.
9347 (CFLAGS-tst-lfschk1.c): Likewise.
9348 (CFLAGS-tst-lfschk2.c): Likewise.
9349 (CFLAGS-tst-lfschk3.c): Likewise.
9350 (CFLAGS-tst-lfschk4.cc): Likewise.
9351 (CFLAGS-tst-lfschk5.cc): Likewise.
9352 (CFLAGS-tst-lfschk6.cc): Likewise.
9354 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9355 (main): Disable -Wdeprecated-declarations around calls to
9356 register_printf_function.
9358 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9359 (do_test): Disable -Wdiv-by-zero around some calls to
9360 fwrite_unlocked and fread_unlocked.
9362 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9363 (DIAG_POP_NEEDS_COMMENT): Likewise.
9364 (_DIAG_STR1): Likewise.
9365 (_DIAG_STR): Likewise.
9366 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9367 * stdio-common/bug21.c: Include <libc-internal.h>.
9368 (do_test): Disable -Wformat around call to sscanf.
9369 * stdio-common/scanf14.c: Include <libc-internal.h>.
9370 (main): Disable -Wformat around some calls to scanf functions.
9372 2014-12-09 Torvald Riegel <triegel@redhat.com>
9374 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9376 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9378 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9379 stack variable alignment.
9381 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9384 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9385 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9386 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9387 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9388 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9389 __getrlimit instead of getrlimit.
9390 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9391 __gettimeofday instead of gettimeofday.
9392 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9394 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9396 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9397 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9399 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9400 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9402 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9404 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9405 for wide-character tests.
9407 2014-12-04 Roland McGrath <roland@hack.frob.com>
9409 * io/openat64.c: #include <libc-internal.h>
9410 (__openat64): Prototypify. Use ignore_value on MODE.
9411 * io/openat.c: Likewise.
9412 * misc/reboot.c: #include <libc-internal.h>
9413 (reboot): Prototypify. Use ignore_value on HOWTO.
9414 * misc/ptrace.c: #include <libc-internal.h>
9415 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9417 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9419 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9420 XPG4, UNIX98 and XOPEN2K.
9421 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9423 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9425 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9427 * libio/fileops.c: Use ISO C style for function definitions.
9428 * libio/iofopen.c: Likewise.
9429 * libio/wfileops.c: Likewise.
9432 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9434 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9435 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9436 (fgets_func): Function pointer to fgets and fgetws.
9437 (do_ftell_test): Add test to verify ftell value after read
9439 (do_test): Set fgets_func.
9441 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9442 O_TRUNC flag for w and w+ modes.
9443 (do_rewind_test): Likewise.
9444 (do_ftell_test): Likewise.
9445 (do_write_test): Likewise.
9448 * libio/fileops.c (do_ftell): Seek only when there are
9450 * libio/wfileops.c (do_ftell_wide): Likewise.
9451 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9453 (do_one_test): Call it.
9455 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9457 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9458 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9459 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9461 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9462 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9463 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9465 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9467 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9469 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9472 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9473 as weak alias of __getifaddrs. Use libc_hidden_weak.
9474 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9475 __freeifaddrs. Use libc_hidden_weak.
9476 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9477 define as weak alias of __getifaddrs. Use libc_hidden_weak.
9478 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9479 __freeifaddrs. Use libc_hidden_weak.
9480 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9481 __getifaddrs and define as weak alias of __getifaddrs. Use
9483 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9484 __freeifaddrs. Use libc_hidden_weak.
9485 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9487 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9488 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9490 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9493 * sysdeps/mips/start.S (__start): Use indirect jump to call
9496 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9498 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9500 * nptl/tst-mutex1.c: Include <stdbool.h>.
9501 [!ATTR] (ATTR_NULL): New macro.
9502 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9503 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9504 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9506 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9510 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9511 Change conditional to [__USE_MISC].
9514 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9516 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9518 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9520 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9522 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9523 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9524 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9525 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9526 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9527 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9528 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9529 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9530 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9532 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9534 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9536 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9537 Remove strpbrk objects.
9538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9539 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9540 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9541 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9542 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9543 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9545 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9546 Remove strcspn objects.
9547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9548 (__libc_ifunc_impl_list): Remove strcspn implementation.
9549 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9550 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9551 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9552 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9555 Remove strspn objetcs.
9556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9557 (__libc_ifunc_impl_list): Remove strspn implementation.
9558 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9559 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9560 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9561 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9563 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9567 (mem2mem_check): Add a terminator to the chain of checking blocks.
9568 (malloc_check_get_size): Use it here.
9569 (mem2chunk_check): Ditto.
9571 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9573 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9574 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9576 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9578 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9580 * nptl/nptl-init.c: Include libc-internal.h.
9581 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9583 * elf/ldconfig.c (search_dir): Expand comment.
9585 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9587 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9589 (linknamespace-symlist-stdlibs-tests): Likewise.
9590 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9591 instead of $(objpfx)symlist-stdlibs.
9592 (linknamespace-libs-isoc): New variable.
9593 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9594 (linknamespace-libs-ISO): New variable.
9595 (linknamespace-libs-ISO99): Likewise.
9596 (linknamespace-libs-ISO11): Likewise.
9597 (linknamespace-libs-XPG3): Likewise.
9598 (linknamespace-libs-XPG4): Likewise.
9599 (linknamespace-libs-POSIX): Likewise.
9600 (linknamespace-libs-UNIX98): Likewise.
9601 (linknamespace-libs-XOPEN2K): Likewise.
9602 (linknamespace-libs-POSIX2008): Likewise.
9603 (linknamespace-libs-XOPEN2K8): Likewise.
9604 ($(objpfx)symlist-stdlibs): Replace by
9605 $(linknamespace-symlist-stdlibs-tests). Use
9606 $(linknamespace-libs-$*) as set of libraries.
9607 ($(linknamespace-header-tests)): Update dependencies. Use
9608 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9609 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9610 * conform/linknamespace.pl: Remove comment about considering
9611 definitions of symbols from irrelevant libraries.
9613 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9616 * elf/dl-tls.c: Include <atomic.h>.
9617 (oom): Remove #ifdef SHARED/#endif.
9618 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9619 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9620 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9622 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9623 * nptl/Makefile (tests): Add tst-stack4.
9624 (modules-names): Add tst-stack4mod.
9625 ($(objpfx)tst-stack4): New.
9626 (tst-stack4mod.sos): Likewise.
9627 ($(objpfx)tst-stack4.out): Likewise.
9628 ($(tst-stack4mod.sos)): Likewise.
9630 * nptl/tst-stack4.c: New file.
9631 * nptl/tst-stack4mod.c: Likewise.
9633 2014-11-27 J. Brown <jb999@gmx.de>
9635 * sysdeps/x86/bits/string.h: Add recent CPUs.
9637 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9639 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9642 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9645 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9648 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9650 * nscd/connections.c: Include libc-internal.h because of macro
9653 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9655 * string/bits/string3.h (__warn_memset_zero_len): Don't
9656 declare for gcc newer than 5.0.
9657 (memset): Don't test for zero-length __LEN for gcc newer than
9660 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9662 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9663 size_t for %zu format.
9665 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9666 difference, not %ju.
9668 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9670 * include/libc-internal.h (ignore_value): New macro.
9671 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9674 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9677 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9678 pthread_cleanup_push to void *.
9680 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9685 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9686 instead of 1L << 52.
9688 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9689 * libio/bug-rewind2.c (do_test): Likewise.
9691 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9692 * debug/test-strcpy_chk-ifunc.c: Likewise.
9693 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9699 * Rules [$(multi-arch) = no] (tests): Do not filter out
9701 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9702 * debug/Makefile (tests-ifunc): Remove variable.
9703 (tests): Do not add $(tests-ifunc).
9704 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9705 (tests): Do not add $(tests-ifunc).
9706 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9707 [TEST_IFUNC]: Remove conditionals.
9708 * string/test-string.h (TEST_IFUNC): Remove macro.
9709 [TEST_IFUNC]: Remove conditionals.
9711 * string/test-strchr.c [!WIDE] (L): New macro.
9712 [WIDE] (L): Likewise.
9713 (check1): Use CHAR instead of char. Use L on string and character
9716 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9718 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9720 * sysdeps/powerpc/bits/atomic.h
9721 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9722 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9723 (atomic_exchange_and_add_acq): Likewise.
9724 (atomic_exchange_and_add_rel): Likewise.
9725 * sysdeps/powerpc/powerpc32/bits/atomic.h
9726 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9727 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9728 * sysdeps/powerpc/powerpc64/bits/atomic.h
9729 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9730 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9732 2014-11-26 Torvald Riegel <triegel@redhat.com>
9734 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9735 Change synchronization of __sched_fifo_min_prio and
9736 __sched_fifo_max_prio.
9737 * nptl/pthread_mutexattr_getprioceiling.c
9738 (pthread_mutexattr_getprioceiling): Likewise.
9739 * nptl/pthread_mutexattr_setprioceiling.c
9740 (pthread_mutexattr_setprioceiling): Likewise.
9741 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9742 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9745 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9747 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9750 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9752 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9753 third argument const.
9755 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9757 fnmatch: work around GCC compiler warning bug with uninit var
9758 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9759 This works around a bug with x86-64 GCC 4.9.2 and earlier
9760 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9761 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9762 used uninitialized in this function [-Wmaybe-uninitialized]".
9764 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9766 * posix/bug-regex31.c (main): Return RES not 0.
9768 2014-11-25 Anton Blanchard <anton@samba.org>
9770 * sysdeps/powerpc/bits/atomic.h
9771 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9773 2014-11-24 Sterling Augustine <saugustine@google.com>
9775 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9777 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9780 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9782 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9785 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9786 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9788 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9789 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9791 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9793 * string/strncpy.c (strncpy): Improve performance by using memset.
9795 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9797 * string/strcpy.c (strcpy):
9798 Improve performance by using strlen and memcpy.
9800 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9802 * string/strcoll_l.c (get_next_seq): __always_inline.
9803 * string/strcoll_l.c (do_compare): __always_inline.
9805 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9807 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9809 * include/mqueue.h: Likewise.
9810 * include/stdlib.h: Likewise.
9812 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9813 (get_null_defines): Adjust.
9814 * sunrpc/Makefile: Adjust comment.
9815 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9816 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9817 (CFLAGS-interp.c): Likewise.
9818 (CFLAGS-ldconfig.c): Likewise.
9819 (CPPFLAGS-.os): Likewise.
9820 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9821 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9822 * extra-modules.mk (extra-modules.mk): Likewise.
9823 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9824 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9825 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9826 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9827 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9828 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9829 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9830 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9831 * iconvdata/Makefile (CPPFLAGS): Likewise.
9832 (cpp-srcs-left): Add libof for all iconvdata routines.
9833 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9834 * include/assert.h: Likewise.
9835 * include/ctype.h: Likewise.
9836 * include/errno.h: Likewise.
9837 * include/libc-symbols.h: Likewise.
9838 * include/math.h: Likewise.
9839 * include/netdb.h: Likewise.
9840 * include/resolv.h: Likewise.
9841 * include/stdio.h: Likewise.
9842 * include/stdlib.h: Likewise.
9843 * include/string.h: Likewise.
9844 * include/sys/stat.h: Likewise.
9845 * include/wctype.h: Likewise.
9846 * intl/l10nflist.c: Likewise.
9847 * libidn/idn-stub.c: Likewise.
9848 * libio/libioP.h: Likewise.
9849 * nptl/libc_multiple_threads.c: Likewise.
9850 * nptl/pthreadP.h: Likewise.
9851 * posix/regex_internal.h: Likewise.
9852 * resolv/res_hconf.c: Likewise.
9853 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9854 * sysdeps/arm/memmove.S: Likewise.
9855 * sysdeps/arm/sysdep.h: Likewise.
9856 * sysdeps/generic/_itoa.h: Likewise.
9857 * sysdeps/generic/symbol-hacks.h: Likewise.
9858 * sysdeps/gnu/errlist.awk: Likewise.
9859 * sysdeps/gnu/errlist.c: Likewise.
9860 * sysdeps/i386/i586/memcpy.S: Likewise.
9861 * sysdeps/i386/i586/memset.S: Likewise.
9862 * sysdeps/i386/i686/memcpy.S: Likewise.
9863 * sysdeps/i386/i686/memmove.S: Likewise.
9864 * sysdeps/i386/i686/mempcpy.S: Likewise.
9865 * sysdeps/i386/i686/memset.S: Likewise.
9866 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9867 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9868 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9869 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9870 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9872 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9873 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9874 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9876 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9877 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9879 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9880 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9881 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9882 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9883 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9884 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9885 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9886 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9887 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9892 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9893 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9896 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9901 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9902 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9903 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9904 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9906 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9908 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9910 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9911 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9912 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9913 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9914 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9916 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9917 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9918 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9919 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9920 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9921 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9922 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9923 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9924 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9926 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9927 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9928 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9929 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9930 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9931 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9932 * sysdeps/posix/closedir.c: Likewise.
9933 * sysdeps/posix/opendir.c: Likewise.
9934 * sysdeps/posix/readdir.c: Likewise.
9935 * sysdeps/posix/rewinddir.c: Likewise.
9936 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9937 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9938 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9939 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9942 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9956 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9958 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9963 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9974 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9975 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9976 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9978 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9980 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9981 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9982 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9983 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9984 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9985 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9986 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9987 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9988 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9989 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9990 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9991 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9993 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9994 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9995 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9996 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9997 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9998 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9999 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10000 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10001 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10002 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10003 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10004 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10005 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10006 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10007 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10008 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10009 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10010 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10011 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10012 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10013 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10015 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10016 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10018 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10020 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10022 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10023 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10024 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10025 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10026 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10027 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10028 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10032 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10033 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10034 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10035 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10036 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10037 * sysdeps/unix/alpha/sysdep.S: Likewise.
10038 * sysdeps/unix/alpha/sysdep.h: Likewise.
10039 * sysdeps/unix/make-syscalls.sh: Likewise.
10040 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10042 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10043 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10044 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10045 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10046 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10047 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10048 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10049 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10050 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10051 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10053 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10054 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10055 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10056 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10057 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10058 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10059 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10060 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10061 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10062 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10063 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10064 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10065 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10066 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10069 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10070 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10074 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10075 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10078 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10079 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10080 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10081 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10082 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10083 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10084 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10087 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10090 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10091 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10092 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10093 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10094 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10095 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10096 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10098 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10099 * sysdeps/x86_64/memcpy.S: Likewise.
10100 * sysdeps/x86_64/memmove.c: Likewise.
10101 * sysdeps/x86_64/memset.S: Likewise.
10102 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10104 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10105 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10106 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10109 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10110 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10111 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10112 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10113 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10114 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10115 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10116 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10118 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10119 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10121 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10122 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10123 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10126 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10127 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10128 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10129 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10130 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10131 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10132 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10133 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10134 * sysdeps/x86_64/strcmp.S: Likewise.
10136 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10138 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10139 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10140 * elf/rtld-Rules: Likewise.
10141 * elf/setup-vdso.h: Likewise.
10142 * include/assert.h: Likewise.
10143 * include/bits/stdlib-float.h: Likewise.
10144 * include/errno.h: Likewise.
10145 * include/sys/stat.h: Likewise.
10146 * include/unistd.h: Likewise.
10147 * sysdeps/aarch64/setjmp.S: Likewise.
10148 * sysdeps/alpha/setjmp.S: Likewise.
10149 * sysdeps/arm/__longjmp.S: Likewise.
10150 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10151 * sysdeps/arm/setjmp.S: Likewise.
10152 * sysdeps/arm/sysdep.h: Likewise.
10153 * sysdeps/generic/_itoa.h: Likewise.
10154 * sysdeps/generic/dl-sysdep.h: Likewise.
10155 * sysdeps/generic/ldsodefs.h: Likewise.
10156 * sysdeps/i386/dl-tls.h: Likewise.
10157 * sysdeps/i386/setjmp.S: Likewise.
10158 * sysdeps/m68k/setjmp.c: Likewise.
10159 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10160 * sysdeps/mach/hurd/opendir.c: Likewise.
10161 * sysdeps/posix/getcwd.c: Likewise.
10162 * sysdeps/posix/opendir.c: Likewise.
10163 * sysdeps/posix/profil.c: Likewise.
10164 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10165 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10166 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10167 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10168 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10169 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10170 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10171 * sysdeps/s390/dl-tls.h: Likewise.
10172 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10173 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10174 * sysdeps/sh/sh3/setjmp.S: Likewise.
10175 * sysdeps/sh/sh4/setjmp.S: Likewise.
10176 * sysdeps/unix/alpha/sysdep.h: Likewise.
10177 * sysdeps/unix/arm/sysdep.S: Likewise.
10178 * sysdeps/unix/i386/sysdep.S: Likewise.
10179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10180 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10181 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10182 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10183 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10184 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10185 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10186 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10187 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10188 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10189 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10190 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10191 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10195 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10196 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10197 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10198 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10199 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10202 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10203 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10207 * sysdeps/x86_64/setjmp.S: Likewise.
10209 * include/math.h: Use IS_IN instead of IS_IN_libm.
10210 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10215 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10221 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10222 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10223 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10224 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10225 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10226 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10227 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10228 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10229 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10230 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10231 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10232 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10233 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10234 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10235 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10236 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10237 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10238 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10239 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10240 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10241 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10242 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10253 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10255 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10256 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10257 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10258 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10264 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10265 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10266 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10267 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10268 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10269 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10272 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10277 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10279 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10281 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10282 * nptl/pthreadP.h: Likewise.
10283 * nptl_db/structs.def: Likewise.
10284 * sysdeps/arm/sysdep.h: Likewise.
10285 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10286 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10287 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10288 * sysdeps/unix/alpha/sysdep.h: Likewise.
10289 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10290 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10291 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10292 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10293 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10296 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10297 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10298 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10299 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10300 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10301 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10302 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10305 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10307 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10310 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10311 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10312 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10313 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10314 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10316 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10317 * nptl/pthreadP.h: Likewise.
10318 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10319 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10320 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10321 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10322 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10323 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10324 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10325 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10326 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10327 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10328 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10329 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10336 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10339 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10340 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10343 * dlfcn/dladdr.c: Use IS_IN.
10344 * dlfcn/dladdr1.c: Likewise.
10345 * dlfcn/dlclose.c: Likewise.
10346 * dlfcn/dlerror.c: Likewise.
10347 * dlfcn/dlinfo.c: Likewise.
10348 * dlfcn/dlmopen.c: Likewise.
10349 * dlfcn/dlopen.c: Likewise.
10350 * dlfcn/dlsym.c: Likewise.
10351 * dlfcn/dlvsym.c: Likewise.
10353 * include/ifaddrs.h: Use IS_IN.
10354 * inet/check_pf.c: Likewise.
10355 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10356 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10358 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10360 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10361 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10363 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10364 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10367 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10369 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10370 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10371 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10372 * include/libc-symbols.h (IS_IN_LIB): New macro.
10373 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10374 * include/netdb.h: Likewise.
10375 * include/stap-probe.h: Remove all uses of IN_LIB.
10377 * Makeconfig (module-cppflags-real): Define MODULE_NAME
10378 instead of IN_MODULE.
10379 * include/libc-symbols.h (IN_MODULE): Define using
10381 (PASTE_NAME, PASTE_NAME1): New macros.
10382 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10384 (STAP_PROBE_ASM): Likewise.
10386 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10388 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10389 __mach_init in dlopened libc.
10391 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10393 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10394 * sysdeps/arm/preconfigure: Regenerate.
10396 2014-11-21 Roland McGrath <roland@hack.frob.com>
10398 * nptl/pthread_create.c (__pthread_create_2_1): Set
10399 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10400 when copying values from IATTR into PD.
10402 2014-11-21 Will Newton <will.newton@linaro.org>
10403 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10405 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10406 Refactor inline-asm. Also add comment.
10408 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10409 ElfW macro instead of hardcoded Elf64 types.
10410 (la_aarch64_gnu_pltenter): Likewise.
10411 * sysdeps/aarch64/dl-machine.h
10412 (elf_machine_runtime_setup): Use ElfW(Addr).
10414 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10415 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10416 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10417 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10418 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10419 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10420 (R_AARCH64_TLS_DTPMOD): This.
10421 (R_AARCH64_TLS_DTPREL64): Rename to ...
10422 (R_AARCH64_TLS_DTPREL): This.
10423 (R_AARCH64_TLS_TPREL64): Rename to ...
10424 (R_AARCH64_TLS_TPREL): This.
10425 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10426 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10427 R_AARCH64_TLS_TPREL64.
10428 (elf_machine_rela): Likewise.
10430 2014-11-21 Torvald Riegel <triegel@redhat.com>
10432 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10433 by setting it to 0. 64b atomics are not supported currently.
10435 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10438 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10439 search domain names.
10441 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10445 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10447 * posix/tst-getaddrinfo5.c: New.
10448 * posix/Makefile (tests): Add it.
10450 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10454 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10455 after parsing line but before break_if_match.
10456 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10457 if there is a protocol mismatch.
10459 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10461 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10462 because the potential race is on the user-supplied stream.
10464 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10466 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10467 string literal if not passed a buffer.
10468 * manual/job.texi (ctermid): Update reasoning, note deviation
10469 from posix, suggest mtasurace when not passed a buffer, for
10470 future non-preliminary safety notes.
10472 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10474 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10475 of not passing it a buffer.
10476 Reported by Peng Haitao.
10478 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10480 * manual/Makefile ($(objpfx)stamp-summary): Require
10481 check-safety.sh to pass.
10482 * manual/check-safety.sh: Wish for verification that every
10483 @deftypefn and @deftypefun is followed by a @safety remark.
10485 2014-11-20 Roland McGrath <roland@hack.frob.com>
10487 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10489 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10490 PTHREAD_CANCEL_ASYNCHRONOUS.
10491 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10494 * nptl/default-sched.h: New file.
10495 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10496 * nptl/pthread_create.c: Include it.
10497 (__pthread_create_2_1): Use collect_default_sched instead of making
10498 Linux syscalls here directly.
10500 2014-11-20 Torvald Riegel <triegel@redhat.com>
10502 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10503 __pthread_once): Use C11 atomics.
10505 2014-11-20 Torvald Riegel <triegel@redhat.com>
10507 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10509 2014-11-20 Torvald Riegel <triegel@redhat.com>
10511 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10512 atomic_thread_fence_acquire, atomic_thread_fence_release,
10513 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10514 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10515 atomic_compare_exchange_weak_relaxed,
10516 atomic_compare_exchange_weak_acquire,
10517 atomic_compare_exchange_weak_release,
10518 atomic_exchange_acquire, atomic_exchange_release,
10519 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10520 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10521 atomic_fetch_and_acquire,
10522 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10524 2014-11-20 Torvald Riegel <triegel@redhat.com>
10526 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10527 USE_ATOMIC_COMPILER_BUILTINS): Define.
10528 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10530 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10532 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10534 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10535 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10536 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10538 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10540 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10541 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10542 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10543 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10544 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10545 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10546 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10547 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10548 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10549 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10550 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10551 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10552 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10553 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10554 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10555 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10556 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10557 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10558 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10559 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10560 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10561 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10562 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10563 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10564 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10565 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10566 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10567 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10569 2014-11-19 Roland McGrath <roland@hack.frob.com>
10571 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10572 the sched_priority value here. It was already checked when the user
10573 called pthread_attr_setschedparam.
10575 * nptl/tst-bad-schedattr.c: New file.
10576 * nptl/Makefile (tests): Add it.
10578 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10579 Florian Weimer <fweimer@redhat.com>
10580 Joseph Myers <joseph@codesourcery.com>
10581 Adam Conrad <adconrad@0c3.net>
10582 Andreas Schwab <schwab@suse.de>
10583 Brooks <bmoses@google.com>
10586 * wordexp-test.c (__dso_handle): Add prototype.
10587 (__register_atfork): Likewise.
10588 (__app_register_atfork): New function.
10589 (registered_forks): New global.
10590 (register_fork): New function.
10591 (test_case): Add 3 new tests for WRDE_CMDSUB.
10592 (main): Call __app_register_atfork.
10593 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10594 fork count is non-zero fail the test.
10595 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10597 (parse_dollars): Remove check for WRDE_NOCMD.
10598 (parse_dquote): Likewise.
10600 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * Makeconfig (built-modules): List non-library modules to be
10604 (module-cppflags): Include libc-modules.h for
10605 everything except shlib-versions.v.i.
10606 (CPPFLAGS): Use it.
10607 (before-compile): Add libc-modules.h.
10608 ($(common-objpfx)libc-modules.h,
10609 $(common-objpfx)libc-modules.stmp): New targets.
10610 (common-generated): Add libc-modules.h and libc-modules.stmp.
10611 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10612 * include/libc-symbols.h: Don't include libc-modules.h.
10613 * include/libc-modules.h: Remove file.
10614 * scripts/gen-libc-modules.awk: New script to generate
10616 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10617 Depend on libc-modules.stmp.
10619 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10621 * Makeconfig (in-module): Get value of libof set for the
10623 (CPPFLAGS): Use $(in-module).
10624 * Makerules: Don't suffix routine names for nonlib.
10625 * include/libc-modules.h: New file.
10626 * include/libc-symbols.h: Include libc-modules.h
10627 (IS_IN): New macro to replace IS_IN_* macros.
10628 * elf/Makefile: Set libof-* for each routine.
10629 * elf/rtld-Rules: Likewise.
10630 * extra-modules.mk: Likewise.
10631 * iconv/Makefile: Likewise.
10632 * iconvdata/Makefile: Likewise.
10633 * locale/Makefile: Likewise.
10634 * malloc/Makefile: Likewise.
10635 * nss/Makefile: Likewise.
10636 * sysdeps/gnu/Makefile: Likewise.
10637 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10638 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10639 * sysdeps/s390/s390-64/Makefile: Likewise.
10640 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10641 CPPFLAGS for nscd instead of nonlib.
10643 2014-11-18 Roland McGrath <roland@hack.frob.com>
10645 * nptl/createthread.c: New file.
10647 * nptl/createthread.c: Moved ...
10648 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10650 * nptl/createthread.c: Add proper top-line comment.
10651 (do_clone): Folded into ...
10652 (create_thread): ... here. Take new arguments STOPPED_START and
10653 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10654 increment __nptl_threads, do event-reporting logic, do
10655 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10656 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10657 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10658 just send SIGCANCEL.
10659 * nptl/pthread_create.c: Forward-declare create_thread before
10660 including createthread.c.
10661 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10662 declaration, and new macro START_THREAD_SELF to replace argument.
10663 Remove return statement.
10664 (report_thread_creation): New function.
10665 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10666 synchronization logic, and __nptl_nthreads increment here, around
10667 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10668 PD->parent_cancelhandling here, before create_thread. When
10669 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10670 __deallocate_stack, and ENOMEM translation here.
10672 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10675 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10676 (mptwo): Rename to __mptwo.
10677 (__inv): Use __mptwo instead of mptwo.
10678 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10679 (mptwo): Rename to __mptwo.
10680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10681 of mpone and __mptwo instead of mptwo.
10682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10685 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10686 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10687 of mpone and __mptwo instead of mptwo.
10688 (__mpranred): Use __mpone instead of mpone.
10689 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10691 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10692 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10693 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10694 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10695 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10696 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10697 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10698 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10699 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10700 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10701 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10702 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10703 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10704 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10705 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10706 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10707 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10708 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10709 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10711 2014-11-18 Tom de Vries <tom@codesoucery.com>
10713 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10714 replace BSD Handler xref with BSD Signal Handling.
10716 2014-11-17 Richard Henderson <rth@redhat.com>
10718 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10719 (_FP_PACK_RAW_2): Remove.
10720 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10721 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10722 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10723 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10724 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10725 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10726 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10727 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10728 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10729 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10730 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10731 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10732 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10733 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10734 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10735 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10737 2014-11-14 Roland McGrath <roland@hack.frob.com>
10739 * signal/signal.h [__USE_MISC]
10740 (struct sigvec): Remove type.
10741 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10742 (sigvec): Remove declaration.
10743 * sysdeps/posix/sigvec.c: Moved ...
10744 * signal/sigvec.c: ... here, replacing old file.
10745 (struct sigvec): New type, copied from old signal.h definition.
10746 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10747 (__sigvec): Convert definition to prototype.
10748 (sigvec): Replace weak_alias with compat_symbol.
10749 * signal/Versions (libc: GLIBC_2.21): New version set.
10750 * include/signal.h: Remove __sigvec declaration.
10751 * sysdeps/unix/bsd/sigvec.c: Remove file.
10752 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10753 * manual/signal.texi (BSD Handler): Remove subsection.
10754 Move siginterrupt up to ...
10755 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10756 (Blocking in BSD): Fold subsection into its parent.
10757 * NEWS: Mention sigvec removal.
10759 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10761 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10762 (DLA_FMS): Make definition conditional only on [__FMA4__].
10763 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10766 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10767 Make definition conditional only on [PROF].
10768 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10770 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10771 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10773 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10775 * include/signal.h (__sigpause): Move declaration above call to
10777 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10779 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10780 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10782 2014-11-14 David S. Miller <davem@davemloft.net>
10784 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10785 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10787 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10789 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10790 * configure: Regenerated.
10791 * manual/install.texi (Tools for Compilation): Document a
10792 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10793 compiler verified to work.
10794 * INSTALL: Regenerated.
10796 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10797 redeclare with asm name.
10798 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10799 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10800 including <string.h>.
10801 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10802 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10803 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10804 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10805 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10806 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10807 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10809 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10811 * stdlib/strtol.c (__strtol): Use prototype definition.
10814 * stdlib/strtol.c (SYM__): New macro.
10815 (SYM__1): Likewise.
10816 (__strtol): Likewise.
10817 (strtol): Rename to __strtol and define as weak alias of
10818 __strtol. Use libc_hidden_weak.
10820 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10822 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10823 Use numbered labels in inline assembly.
10825 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10827 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10828 Add setjmp LIBC_PROBE.
10829 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10831 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10832 Add longjmp, longjmp_target LIBC_PROBE.
10833 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10836 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10839 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10840 to get rid of unused variable warning.
10842 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10844 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10845 Check for unwind_backtrace == NULL only in SHARED case.
10846 (__backchain_backtrace): Compile only in SHARED case.
10847 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10849 (__backchain_backtrace): Declare as static.
10851 2014-11-12 Roland McGrath <roland@hack.frob.com>
10853 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10854 (__libc_multiple_threads_ptr): Variable moved ...
10855 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10857 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10859 * conform/GlibcConform.pm: New file.
10860 * conform/conformtest.pl: Use GlibcConform module.
10861 * conform/linknamespace.pl: New file.
10862 * conform/list-header-symbols.pl: Likewise.
10863 * conform/Makefile (linknamespace-symlists-base): New variable.
10864 (linknamespace-symlists-tests): Likewise.
10865 (linknamespace-header-base): Likewise.
10866 (linknamespace-header-tests): Likewise.
10867 (tests-special): Add new tests.
10868 ($(linknamespace-symlists-tests)): New rule.
10869 (linknamespace-libs): New variable.
10870 ($(objpfx)symlist-stdlibs): New rule.
10871 ($(linknamespace-header-tests)): Likewise.
10872 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10873 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10874 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10875 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10876 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10877 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10878 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10879 (test-xfail-ISO/math.h/linknamespace): Likewise.
10880 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10881 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10882 (test-xfail-ISO/time.h/linknamespace): Likewise.
10883 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10884 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10885 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10886 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10887 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10888 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10889 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10890 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10891 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10892 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10893 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10894 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10895 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10896 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10897 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10898 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10899 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10900 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10901 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10902 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10903 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10904 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10905 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10906 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10907 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10908 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10909 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10910 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10911 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10912 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10913 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10914 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10915 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10916 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10917 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10918 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10919 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10920 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10921 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10922 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10923 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10924 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10925 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10926 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10927 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10928 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10929 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10930 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10931 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10932 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10933 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10934 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10935 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10936 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10937 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10938 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10939 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10940 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10941 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10942 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10943 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10944 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10945 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10946 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10947 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10948 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10949 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10950 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10951 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10952 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10953 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10954 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10955 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10956 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10957 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10958 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10959 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10960 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10961 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10962 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10963 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10964 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10965 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10966 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10967 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10968 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10969 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10970 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10971 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10972 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10973 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10974 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10975 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10976 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10977 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10978 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10979 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10980 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10981 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10982 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10983 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10984 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10985 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10986 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10987 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10988 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10989 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10990 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10991 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10992 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10993 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10994 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10995 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10996 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10997 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10998 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10999 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11000 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11001 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11002 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11003 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11004 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11005 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11006 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11007 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11008 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11009 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11010 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11011 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11012 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11013 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11014 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11015 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11016 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11017 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11018 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11019 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11020 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11021 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11022 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11023 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11024 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11025 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11026 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11027 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11028 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11029 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11030 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11031 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11032 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11035 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11039 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11040 (memmem): Rename to __memmem and define as weak alias of
11041 __memmem. Use libc_hidden_weak.
11042 (__memmem): Use libc_hidden_def.
11043 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
11044 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11048 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11049 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
11050 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11051 and define as weak alias of __fgets_unlocked. Use
11053 (__fgets_unlocked): Use libc_hidden_def.
11054 * include/stdio.h (__fgets_unlocked): Declare. Use
11056 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11057 __fgets_unlocked instead of fgets_unlocked.
11058 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11059 (GET_NPROCS_CONF_PARSER): Likewise.
11060 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11061 (GET_NPROCS_CONF_PARSER): Likewise.
11064 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11065 weak alias of __wmemset. Use libc_hidden_weak.
11066 (__wmemset): Use libc_hidden_def.
11067 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
11068 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11072 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11073 with asm name __mempcpy.
11074 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11077 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11078 and define as weak alias of __rawmemchr.
11079 (__rawmemchr): Do not define as strong alias of rawmemchr.
11082 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11083 alias of __qsort_r.
11084 (qsort): Call __qsort_r instead of qsort_r.
11085 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11086 (__qsort_r): Declare. Call libc_hidden_proto.
11087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11088 instead of qsort_r.
11089 * nscd/gai.c (__qsort_r): Define to qsort_r.
11090 * posix/tst-rfc3484.c (__qsort_r): Likewise.
11091 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11092 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11095 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11096 define as weak alias of __malloc_info.
11099 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11100 as weak alias of __rewinddir. Don't use libc_hidden_def.
11101 (__rewinddir): Use libc_hidden_def.
11102 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11103 as weak alias of __rewinddir. Don't use libc_hidden_def.
11104 (__rewinddir): Use libc_hidden_def.
11105 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11106 weak alias of __rewinddir. Don't use libc_hidden_def.
11107 (__rewinddir): Use libc_hidden_def.
11108 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11109 (__rewinddir): Use libc_hidden_proto.
11110 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11112 (__getcwd): Use __rewinddir instead of rewinddir.
11115 * libio/fileno.c (fileno): Rename to __fileno and define as weak
11116 alias of __fileno. Use libc_hidden_weak.
11117 (__fileno): Use libc_hidden_def.
11118 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11119 * libio/ftello.c (ftello): Rename to __ftello and define as weak
11121 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11123 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11124 (__fread_unlocked): Define as strong alias of _IO_fread. Use
11126 (fread_unlocked): Don't use libc_hidden_ver.
11127 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11128 and define as weak alias of __fread_unlocked. Don't use
11130 (__fread_unlocked): Use libc_hidden_def.
11131 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
11132 (ftello): Don't use libc_hidden_proto.
11133 (__ftello): Declare. Use libc_hidden_proto.
11134 (fread_unlocked): Don't use libc_hidden_proto.
11135 (__fread_unlocked): Declare. Use libc_hidden_proto.
11136 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11137 and __ftello instead of fileno, fread_unlocked and ftello.
11139 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11141 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11145 (_dl_start_user): Likewise.
11146 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11148 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11149 Siddhesh Poyarekar <siddhesh@redhat.com>
11151 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11152 Move argv and envp down instead of moving argc up.
11153 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11155 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11158 * test-skeleton.c (main): Return successful if one of
11159 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11160 * string/tst-strcoll-overflow.c: Define expected status.
11162 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
11165 * locale/iso-639.def: Define Bhili and Tulu language codes.
11167 2014-11-11 Alan Hayward <alan.hayward@arm.com>
11169 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11171 2014-11-10 Renlin Li <Renlin.Li@arm.com>
11174 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11176 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11178 * configure.ac: Updated check of minimal required version to
11180 * manual/install.texi (Tools for Compilation): Updated version
11182 * configure: Regenerated.
11183 * INSTALL: Likewise.
11185 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
11187 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11190 2014-11-07 Joseph Myers <joseph@codesourcery.com>
11192 * include/sys/wait.h (__libc_waitpid): Remove declaration.
11193 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11194 (__waitpid): Don't define as alias. Use libc_hidden_def not
11196 (waitpid): Define as alias of __waitpid.
11197 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11199 (__waitpid): Don't define as alias. Use libc_hidden_def not
11201 (waitpid): Define as alias of __waitpid.
11202 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11203 __libc_waitpid alias.
11204 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11205 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11207 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11208 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11209 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11211 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11213 (__waitpid): Don't define as alias. Use libc_hidden_def not
11215 (waitpid): Define as alias of __waitpid.
11217 2014-11-06 Carlos O'Donell <carlos@redhat.com>
11219 * manual/llio.texi: Add comment that write safety has been
11222 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11223 (localplt-build-dso): Add elf/ld.so.
11224 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11225 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11226 and free for ld.so.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11228 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11233 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11234 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11235 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11236 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11237 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11238 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11239 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11240 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11241 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11242 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11245 2014-11-05 Joseph Myers <joseph@codesourcery.com>
11248 * include/libc-symbols.h (INTUSE): Remove macro.
11249 (INTDEF): Likewise.
11250 (INTVARDEF): Likewise.
11251 (_INTVARDEF): Likewise.
11252 (INTDEF2): Likewise.
11253 (INTVARDEF2): Likewise.
11254 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11255 rtld_hidden_def instead of INTVARDEF.
11256 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11257 (_dl_starting_up_internal): Remove declaration.
11258 (_dl_starting_up): Use rtld_hidden_proto.
11259 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11261 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11262 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11264 * elf/dl-writev.h (_dl_writev): Likewise.
11265 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11266 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11267 _dl_starting_up_internal.
11269 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11274 2014-11-05 Will Newton <will.newton@linaro.org>
11276 * benchtests/Makefile: (bench-malloc): Add malloc thread
11277 scalability benchmark.
11278 * benchtests/bench-malloc-threads.c: New file.
11280 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
11282 * sysdeps/aarch64/strchrnul.S: New file.
11284 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11286 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11288 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11296 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11299 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
11301 * catgets/test-gencat.c: Use test-skeleton.c.
11302 * catgets/tst-catgets.c: Likewise.
11303 * csu/tst-empty.c: Likewise.
11304 * elf/tst-audit2.c: Likewise.
11305 * elf/tst-global1.c: Likewise.
11306 * elf/tst-pathopt.c: Likewise.
11307 * elf/tst-piemod1.c: Likewise.
11308 * elf/tst-tls10.c: Likewise.
11309 * elf/tst-tls11.c: Likewise.
11310 * elf/tst-tls12.c: Likewise.
11311 * gnulib/tst-gcc.c: Likewise.
11312 * iconvdata/tst-e2big.c: Likewise.
11313 * iconvdata/tst-loading.c: Likewise.
11314 * iconv/tst-iconv1.c: Likewise.
11315 * iconv/tst-iconv2.c: Likewise.
11316 * inet/test-inet6_opt.c: Likewise.
11317 * inet/tst-gethnm.c: Likewise.
11318 * inet/tst-network.c: Likewise.
11319 * inet/tst-ntoa.c: Likewise.
11320 * intl/tst-codeset.c: Likewise.
11321 * intl/tst-gettext2.c: Likewise.
11322 * intl/tst-gettext3.c: Likewise.
11323 * intl/tst-ngettext.c: Likewise.
11324 * intl/tst-translit.c: Likewise.
11325 * io/test-stat.c: Likewise.
11326 * libio/test-fmemopen.c: Likewise.
11327 * libio/tst-freopen.c: Likewise.
11328 * libio/tst-sscanf.c: Likewise.
11329 * libio/tst-ungetwc1.c: Likewise.
11330 * libio/tst-ungetwc2.c: Likewise.
11331 * libio/tst-widetext.c: Likewise.
11332 * localedata/tst-ctype.c: Likewise.
11333 * localedata/tst-digits.c: Likewise.
11334 * localedata/tst-leaks.c: Likewise.
11335 * localedata/tst-mbswcs1.c: Likewise.
11336 * localedata/tst-mbswcs2.c: Likewise.
11337 * localedata/tst-mbswcs3.c: Likewise.
11338 * localedata/tst-mbswcs4.c: Likewise.
11339 * localedata/tst-mbswcs5.c: Likewise.
11340 * localedata/tst-setlocale.c: Likewise.
11341 * localedata/tst-trans.c: Likewise.
11342 * localedata/tst-wctype.c: Likewise.
11343 * localedata/tst-xlocale1.c: Likewise.
11344 * login/tst-grantpt.c: Likewise.
11345 * malloc/tst-calloc.c: Likewise.
11346 * malloc/tst-malloc.c: Likewise.
11347 * malloc/tst-mallocstate.c: Likewise.
11348 * malloc/tst-mcheck.c: Likewise.
11349 * malloc/tst-mtrace.c: Likewise.
11350 * malloc/tst-obstack.c: Likewise.
11351 * math/atest-exp2.c: Likewise.
11352 * math/atest-exp.c: Likewise.
11353 * math/atest-sincos.c: Likewise.
11354 * math/test-matherr.c: Likewise.
11355 * math/test-misc.c: Likewise.
11356 * math/test-powl.c: Likewise.
11357 * math/tst-definitions.c: Likewise.
11358 * misc/tst-dirname.c: Likewise.
11359 * misc/tst-efgcvt.c: Likewise.
11360 * misc/tst-fdset.c: Likewise.
11361 * misc/tst-hsearch.c: Likewise.
11362 * misc/tst-mntent2.c: Likewise.
11363 * nptl/tst-sem7.c: Likewise.
11364 * nptl/tst-sem8.c: Likewise.
11365 * nptl/tst-sem9.c: Likewise.
11366 * nss/test-netdb.c: Likewise.
11367 * posix/tst-fnmatch.c: Likewise.
11368 * posix/tst-getlogin.c: Likewise.
11369 * posix/tst-gnuglob.c: Likewise.
11370 * posix/tst-mmap.c: Likewise.
11371 * pwd/tst-getpw.c: Likewise.
11372 * resolv/tst-inet_ntop.c: Likewise.
11373 * rt/tst-timer.c: Likewise.
11374 * stdio-common/test-fseek.c: Likewise.
11375 * stdio-common/test-popen.c: Likewise.
11376 * stdio-common/test-vfprintf.c: Likewise.
11377 * stdio-common/tst-cookie.c: Likewise.
11378 * stdio-common/tst-fileno.c: Likewise.
11379 * stdio-common/tst-gets.c: Likewise.
11380 * stdio-common/tst-obprintf.c: Likewise.
11381 * stdio-common/tst-perror.c: Likewise.
11382 * stdio-common/tst-sprintf2.c: Likewise.
11383 * stdio-common/tst-sprintf3.c: Likewise.
11384 * stdio-common/tst-sprintf.c: Likewise.
11385 * stdio-common/tst-swprintf.c: Likewise.
11386 * stdio-common/tst-tmpnam.c: Likewise.
11387 * stdio-common/tst-unbputc.c: Likewise.
11388 * stdio-common/tst-wc-printf.c: Likewise.
11389 * stdlib/tst-environ.c: Likewise.
11390 * stdlib/tst-fmtmsg.c: Likewise.
11391 * stdlib/tst-limits.c: Likewise.
11392 * stdlib/tst-rand48-2.c: Likewise.
11393 * stdlib/tst-rand48.c: Likewise.
11394 * stdlib/tst-random2.c: Likewise.
11395 * stdlib/tst-random.c: Likewise.
11396 * stdlib/tst-strtol.c: Likewise.
11397 * stdlib/tst-strtoll.c: Likewise.
11398 * stdlib/tst-tls-atexit.c: Likewise.
11399 * stdlib/tst-xpg-basename.c: Likewise.
11400 * string/test-ffs.c: Likewise.
11401 * string/tst-bswap.c: Likewise.
11402 * string/tst-inlcall.c: Likewise.
11403 * string/tst-strtok.c: Likewise.
11404 * string/tst-strxfrm.c: Likewise.
11405 * sysdeps/x86_64/tst-audit10.c: Likewise.
11406 * sysdeps/x86_64/tst-audit3.c: Likewise.
11407 * sysdeps/x86_64/tst-audit4.c: Likewise.
11408 * sysdeps/x86_64/tst-audit5.c: Likewise.
11409 * time/tst-ftime_l.c: Likewise.
11410 * time/tst-getdate.c: Likewise.
11411 * time/tst-mktime3.c: Likewise.
11412 * time/tst-mktime.c: Likewise.
11413 * time/tst-posixtz.c: Likewise.
11414 * time/tst-strptime2.c: Likewise.
11415 * time/tst-strptime3.c: Likewise.
11416 * wcsmbs/tst-btowc.c: Likewise.
11417 * wcsmbs/tst-mbrtowc.c: Likewise.
11418 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11419 * wcsmbs/tst-wchar-h.c: Likewise.
11420 * wcsmbs/tst-wcpncpy.c: Likewise.
11421 * wcsmbs/tst-wcrtomb.c: Likewise.
11422 * wcsmbs/tst-wcsnlen.c: Likewise.
11423 * wcsmbs/tst-wcstof.c: Likewise.
11425 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11428 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11430 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11432 (_dl_mcount): Use rtld_hidden_proto.
11433 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11435 * elf/rtld.c (_rtld_global_ro): Likewise.
11438 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11439 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11440 of _dl_init_internal.
11441 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11442 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11443 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11444 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11445 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11446 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11447 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11448 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11449 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11450 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11451 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11452 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11453 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11454 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11455 * sysdeps/tile/dl-start.S (_start): Likewise.
11456 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11457 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11460 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11461 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11462 (rtld_progname): Make macro definition unconditional.
11463 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11465 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11466 (dl_main): Likewise.
11467 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11468 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11469 instead of _dl_argv_internal.
11470 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11471 __GI__dl_argv instead of INTUSE(_dl_argv).
11472 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11473 __GI__dl_argv instead of _dl_argv_internal.
11475 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11476 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11478 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11479 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11481 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11482 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11484 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11485 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11487 2014-11-04 Andreas Schwab <schwab@suse.de>
11489 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11491 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11493 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11494 mtvsrd instruction in binary form.
11496 2014-11-03 Andreas Schwab <schwab@suse.de>
11499 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11500 for less than MB_LEN_MAX use a local buffer of that size.
11501 * libio/tst-fputws.c: New file.
11502 * libio/Makefile (tests): Add tst-fputws.
11504 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11506 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11507 the size of the fpu_fr.fpu_dregs[] array.
11509 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11511 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11512 (__nanosleep): Do not define as alias.
11513 (nanosleep): Define as alias of __nanosleep.
11514 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11515 __libc_nanosleep name.
11517 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11519 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11520 install.texi in comment.
11522 2014-10-31 Torvald Riegel <triegel@redhat.com>
11524 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11525 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11526 ... add here and use lwsync or sync ...
11527 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11528 ... and add here using lwsync.
11530 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11532 * elf/dl-machine-reject-phdr.h: New file.
11533 * elf/dl-load.c: #include that.
11534 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11535 if that returned true.
11537 2014-10-31 Roland McGrath <roland@hack.frob.com>
11540 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11541 gen-as-const-headers chunk. Add a big scare comment after the last
11542 safe place to touch before-compile.
11544 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11546 * manual/install.texi (Tools for Compilation): Update autoconf
11547 version requirements.
11548 * INSTALL: Regenerated.
11550 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11551 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11552 (__libc_pselect): Likewise.
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11560 2014-10-31 Torvald Riegel <triegel@redhat.com>
11562 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11563 correct barrier instruction.
11564 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11566 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11569 2014-10-30 Roland McGrath <roland@hack.frob.com>
11571 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11572 after defining inlines. Instead, just use parens to defeat macro
11573 expansion of __isctype in its declaration.
11575 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11577 * include/sys/uio.h (__libc_readv): Remove declaration.
11578 (__libc_writev): Likewise.
11579 * misc/readv.c (__libc_readv): Rename to __readv.
11580 (__readv): Do not define as alias.
11581 (readv): Define as alias of __readv.
11582 * misc/writev.c (__libc_writev): Rename to __writev.
11583 (__writev): Do not define as alias.
11584 (writev): Define as alias of __writev.
11585 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11586 (__readv): Do not define as alias.
11587 (readv): Define unconditionally as alias of __readv.
11588 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11589 (__writev): Do not define as alias.
11590 (writev): Define unconditionally as alias of __writev.
11591 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11593 (writev): Do not define __libc_writev name.
11595 2014-10-30 Roland McGrath <roland@hack.frob.com>
11597 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11598 (convert_charseq): New function, broken out of ...
11599 (use_from_charmap): ... here. Call it.
11600 (use_to_charmap): Use convert_charseq and free instead of duplicating
11601 its code with a variable-length stack struct.
11603 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11605 * include/fcntl.h (__libc_creat): Remove declaration.
11606 * io/creat.c (__libc_creat): Rename to creat.
11607 (creat): Do not define as alias.
11608 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11609 of creat instead of __libc_creat.
11610 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11612 (creat): Do not define as alias.
11613 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11615 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11620 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11622 * manual/llio.texi: Add comments discussing why write() may be
11623 considered MT-unsafe on Linux.
11625 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11627 * dl-load.c (local_strdup): Remove.
11628 (expand_dynamic_string_token): Use __strdup.
11629 (decompose_rpath): Likewise.
11630 (_dl_map_object): Likewise.
11632 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11635 * sysdeps/generic/unwind-dw2-fde.c
11636 (__register_frame_info_bases_internal): Do not declare.
11637 (__register_frame_info_table_bases_internal): Likewise.
11638 (__deregister_frame_info_bases_internal): Likewise.
11639 (__register_frame_info_bases): Declare and use hidden_proto before
11640 definition. Use hidden_def instead of INTDEF.
11641 (__register_frame_info_table_bases): Likewise.
11642 (__deregister_frame_info_bases): Likewise.
11643 (__register_frame_info): Do not use INTUSE.
11644 (__register_frame): Likewise.
11645 (__register_frame_info_table): Likewise.
11646 (__register_frame_table): Likewise.
11647 (__deregister_frame_info): Likewise.
11648 (__deregister_frame): Likewise.
11650 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11652 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11653 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11655 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11657 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11660 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11663 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11664 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11665 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11666 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11667 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11668 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11669 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11670 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11671 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11672 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11673 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11675 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11677 (setfsuid): Likewise.
11678 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11679 (setfsuid): Likewise.
11680 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11681 (setfsuid): Likewise.
11682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11684 (setfsuid): Likewise.
11685 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11686 (setfsuid): Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11689 (setfsuid): Likewise.
11691 2014-10-27 Andreas Schwab <schwab@suse.de>
11694 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11695 check for Slow_SSE4_2 feature bit.
11696 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11697 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11698 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11699 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11701 2014-10-24 Roland McGrath <roland@hack.frob.com>
11703 * configure.ac: Validate compiler version with a empirical test of
11704 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11706 * configure: Regenerated.
11708 * inet/htons.c (htons): Prototypify.
11709 * inet/htonl.c (htonl): Likewise.
11711 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11713 * string/strncat.c (strncat): Improve performance by using strlen.
11715 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11717 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11719 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11721 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11722 Call libc_fetestexcept_aarch64.
11724 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11726 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11727 Call libc_feholdexcept_aarch64.
11729 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11731 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11732 Call get_rounding_mode.
11734 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11736 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11739 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11741 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11744 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11747 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11748 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11749 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11750 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11751 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11752 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11753 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11754 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11755 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11756 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11757 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11758 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11759 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11760 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11761 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11762 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11763 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11764 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11765 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11766 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11767 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11768 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11769 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11770 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11771 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11772 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11774 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11775 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11776 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11777 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11778 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11779 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11780 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11781 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11782 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11784 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11786 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11787 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11789 (geteuid): Likewise.
11790 (getgid): Likewise.
11791 (getuid): Likewise.
11792 (getresgid): Likewise.
11793 (getresuid): Likewise.
11794 (getgroups): Likewise.
11795 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11796 (geteuid): Likewise.
11797 (getgid): Likewise.
11798 (getuid): Likewise.
11799 (getresgid): Likewise.
11800 (getresuid): Likewise.
11801 (getgroups): Likewise.
11802 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11803 (geteuid): Likewise.
11804 (getgid): Likewise.
11805 (getuid): Likewise.
11806 (getresgid): Likewise.
11807 (getresuid): Likewise.
11808 (getgroups): Likewise.
11809 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11811 (geteuid): Likewise.
11812 (getgid): Likewise.
11813 (getuid): Likewise.
11814 (getresgid): Likewise.
11815 (getresuid): Likewise.
11816 (getgroups): Likewise.
11817 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11818 (geteuid): Likewise.
11819 (getgid): Likewise.
11820 (getuid): Likewise.
11821 (getresgid): Likewise.
11822 (getresuid): Likewise.
11823 (getgroups): Likewise.
11824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11826 (geteuid): Likewise.
11827 (getgid): Likewise.
11828 (getuid): Likewise.
11829 (getgroups): Likewise.
11832 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11833 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11834 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11835 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11836 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11838 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11839 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11840 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11841 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11842 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11844 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11846 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11847 (lchown): Likewise.
11848 (fchown): Likewise.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11851 (lchown): Likewise.
11852 (fchown): Likewise.
11853 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11854 (lchown): Likewise.
11855 (fchown): Likewise.
11856 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11858 (lchown): Likewise.
11859 (fchown): Likewise.
11861 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11863 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11866 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11868 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11871 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11873 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11874 Remove unused include.
11876 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11878 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11879 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11880 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11881 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11883 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11884 Helge Deller <deller@gmx.de>
11887 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11888 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11889 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11891 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11894 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11895 Remove macro definition.
11896 (__ashrdi3_v_glibc20): Likewise.
11897 (__lshrdi3_v_glibc20): Likewise.
11898 (__cmpdi2_v_glibc20): Likewise.
11899 (__ucmpdi2_v_glibc20): Likewise.
11900 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11901 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11902 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11903 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11904 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11905 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11907 2014-10-22 Roland McGrath <roland@hack.frob.com>
11909 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11910 old GNU extension [0] syntax.
11911 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11912 alloca rather than an array member with variable length.
11913 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11914 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11915 (parse_opt): ... here. Likewise use alloca there.
11916 Validate the -i argument before checking for rootness.
11917 (send_shutdown): New function, broken out of ...
11918 (parse_opt): ... here.
11920 2014-10-22 Roland McGrath <roland@hack.frob.com>
11922 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11923 macro to get at the _rt_local_ro field.
11924 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11925 ([PIC] case) or _dl_hwcap ([!PIC] case).
11926 * sysdeps/arm/setjmp.S: Likewise.
11928 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11929 * sysdeps/arm/configure.ac: New check to define it.
11930 * sysdeps/arm/configure: Regenerated.
11931 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11932 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11933 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11934 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11935 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11936 Use move/movt pair instead of a load.
11937 (LDST_GLOBAL): Macro removed.
11938 (LDR_GLOBAL): New macro replaces it.
11939 (LDR_HIDDEN): New macro.
11940 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11941 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11943 * setjmp/tst-setjmp-static.c: New file.
11944 * setjmp/Makefile (tests): Add it.
11945 (tests-static): New variable.
11947 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11950 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11952 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11955 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11957 2014-10-21 Roland McGrath <roland@hack.frob.com>
11959 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11961 2014-10-20 Roland McGrath <roland@hack.frob.com>
11963 * io/fts.c (dirent_not_directory): New function.
11964 (fts_build): Call it.
11966 2014-10-20 Roland McGrath <roland@hack.frob.com>
11968 * nptl/version.c (__nptl_main): Use normal __write rather than
11970 (banner): Update copyright years.
11972 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11974 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11975 * nptl/pthread_cond_timedwait.c: Likewise.
11976 * nptl/pthread_mutex_timedlock.c: Likewise.
11977 * nptl/sem_timedwait.c: Likewise.
11979 * sysdeps/nptl/bits/libc-lock.h
11980 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11981 (__libc_lock_init_recursive): Return void, not 0.
11982 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11983 (__libc_rwlock_init): Likewise.
11984 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11986 2014-10-20 Torvald Riegel <triegel@redhat.com>
11989 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11990 (__pthread_once_slow): ... here.
11991 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11992 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11994 2014-10-20 Torvald Riegel <triegel@redhat.com>
11997 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11998 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11999 * sysdeps/nptl/fork.c (__libc_fork): Use them.
12000 * nptl/pthread_once.c (__pthread_once): Likewise.
12003 2014-10-20 Joseph Myers <joseph@codesourcery.com>
12006 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12008 (writev): Use __libc_writev as strong name.
12009 * sysdeps/unix/sysv/linux/readv.c: Remove file.
12010 * sysdeps/unix/sysv/linux/writev.c: Likewise.
12012 2014-10-17 Roland McGrath <roland@hack.frob.com>
12014 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12016 * sysdeps/i386/nptl/tls.h
12017 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12018 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12020 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12021 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12022 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12023 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12024 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12025 Call CHECK_THREAD_SYSINFO instead of doing an assert.
12027 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12028 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12030 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12032 (__pthread_mutex_init): ... here. Call it.
12033 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12034 Conditionalize PI cases on [__NR_futex].
12035 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12036 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12037 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12039 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12040 conditional on [SIGSETXID].
12041 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12042 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12043 is defined. Likewise for SIGSETXID.
12044 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12045 Conditionalize definitions on [SIGSETXID].
12046 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12047 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12048 unblocking on [SIGCANCEL].
12050 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12051 [__NR_set_robust_list].
12053 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12055 * string/strcoll_l.c (get_next_seq): Fix up formatting.
12056 (do_compare): Likewise.
12058 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
12061 * string/strcoll_l.c: Don't include stdio.h.
12062 (coll_seq): Remove members idxarr and rulearr.
12063 (get_next_seq_cached): Remove function.
12064 (get_next_seq): Likewise.
12065 (get_next_seq_nocache): Rename to get_next_seq.
12066 (do_compare): Remove function.
12067 (do_compare_nocache): Rename to do_compare.
12068 (STRCOLL): Remove weight and rules cache.
12070 2014-10-16 Roland McGrath <roland@hack.frob.com>
12072 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12073 * sysdeps/arm/sfp-machine.h: ... to here.
12074 * sysdeps/arm/Implies: Remove arm/soft-fp.
12076 2014-10-14 Joseph Myers <joseph@codesourcery.com>
12078 * conform/data/sys/utsname.h-data (*_t): Allow.
12079 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12080 [POSIX] (WEXITED): Do not expect constant.
12081 [POSIX] (WSTOPPED): Likewise.
12082 [POSIX] (WNOHANG): Likewise.
12083 [POSIX] (WNOWAIT): Likewise.
12084 [POSIX] (siginfo_t): Do not expect type or elements.
12085 [POSIX] (pid_t): Do not expect type.
12086 [POSIX] (signal.h): Do not allow header.
12087 [POSIX] (sys/resource.h): Likewise.
12088 [POSIX] (si_*): Do not allow pattern.
12089 [POSIX] (W*): Likewise.
12090 [POSIX] (P_*): Likewise.
12091 [POSIX] (BUS_*): Likewise.
12092 [POSIX] (CLD_*): Likewise.
12093 [POSIX] (FPE_*): Likewise.
12094 [POSIX] (ILL_*): Likewise.
12095 [POSIX] (POLL_*): Likewise.
12096 [POSIX] (SEGV_*): Likewise.
12097 [POSIX] (SI_*): Likewise.
12098 [POSIX] (TRAP_*): Likewise.
12099 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12102 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12106 infinite loop when __recvmsg returns 0.
12108 2014-10-10 Joseph Myers <joseph@codesourcery.com>
12110 * CANCEL-FCT-WAIVE: Remove file.
12111 * CANCEL-FILE-WAIVE: Likewise.
12114 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12115 instead of INTVARDEF.
12116 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12117 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12118 rtld_hidden_data_def instead of INTVARDEF.
12119 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12120 * elf/dl-deps.c (expand_dst): Likewise.
12121 * elf/dl-load.c (_dl_dst_count): Likewise.
12122 (_dl_dst_substitute): Likewise.
12123 (decompose_rpath): Likewise.
12124 (_dl_init_paths): Likewise.
12125 (open_path): Likewise.
12126 (_dl_map_object): Likewise.
12127 * elf/rtld.c (dl_main): Likewise.
12128 (process_dl_audit): Likewise.
12129 (process_envvars): Likewise.
12130 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12131 Remove declaration.
12132 (__libc_enable_secure): Use rtld_hidden_proto.
12134 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12137 (add_path): New function broken out of _dl_rtld_di_serinfo.
12138 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
12140 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12142 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12143 parentheses around macro arguments.
12144 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12145 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12146 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12147 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12148 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12149 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12153 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12154 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12155 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12156 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12157 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12158 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12159 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12160 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12165 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12166 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12167 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12168 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12169 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12171 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12172 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12173 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12174 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12175 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12176 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12177 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12178 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12179 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12181 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12182 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12183 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12184 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12185 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12187 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12188 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12189 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12190 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12191 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12192 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12193 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12194 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12195 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12196 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12197 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12198 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12199 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12200 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12201 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12202 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12203 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12204 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12205 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12206 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12207 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12208 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12209 (_FP_FRAC_SRS_1): Likewise.
12210 (_FP_FRAC_CLZ_1): Likewise.
12211 (_FP_MUL_MEAT_1_imm): Likewise.
12212 (_FP_MUL_MEAT_1_wide): Likewise.
12213 (_FP_MUL_MEAT_1_hard): Likewise.
12214 (_FP_SQRT_MEAT_1): Likewise.
12215 (_FP_FRAC_ASSEMBLE_1): Likewise.
12216 (_FP_FRAC_DISASSEMBLE_1): Likewise.
12217 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12218 (__FP_CLZ_2): Likewise.
12219 (_FP_MUL_MEAT_2_wide): Likewise.
12220 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12221 (_FP_MUL_MEAT_2_gmp): Likewise.
12222 (_FP_MUL_MEAT_2_120_240_double): Likewise.
12223 (_FP_SQRT_MEAT_2): Likewise.
12224 (_FP_FRAC_ASSEMBLE_2): Likewise.
12225 (_FP_FRAC_DISASSEMBLE_2): Likewise.
12226 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12227 (_FP_FRAC_CLZ_4): Likewise.
12228 (_FP_MUL_MEAT_4_wide): Likewise.
12229 (_FP_MUL_MEAT_4_gmp): Likewise.
12230 (_FP_SQRT_MEAT_4): Likewise.
12231 (_FP_FRAC_ASSEMBLE_4): Likewise.
12232 (_FP_FRAC_DISASSEMBLE_4): Likewise.
12233 * soft-fp/op-common.h (_FP_CMP): Likewise.
12234 (_FP_CMP_EQ): Likewise.
12235 (_FP_CMP_UNORD): Likewise.
12236 (_FP_TO_INT): Likewise.
12237 (_FP_FROM_INT): Likewise.
12238 [!__FP_CLZ] (__FP_CLZ): Likewise.
12239 (_FP_DIV_HELP_imm): Likewise.
12240 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12242 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12244 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12245 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12246 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12247 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12249 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12250 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12253 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12254 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12255 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12256 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12257 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12258 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12259 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12260 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12261 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12262 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12271 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12272 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12274 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12275 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12276 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12277 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12278 (FP_UNPACK_RAW_SP): Likewise.
12279 (FP_PACK_RAW_S): Likewise.
12280 (FP_PACK_RAW_SP): Likewise.
12281 (FP_UNPACK_S): Likewise.
12282 (FP_UNPACK_SP): Likewise.
12283 (FP_UNPACK_SEMIRAW_S): Likewise.
12284 (FP_UNPACK_SEMIRAW_SP): Likewise.
12285 (FP_PACK_S): Likewise.
12286 (FP_PACK_SP): Likewise.
12287 (FP_PACK_SEMIRAW_S): Likewise.
12288 (FP_PACK_SEMIRAW_SP): Likewise.
12289 (_FP_SQRT_MEAT_S): Likewise.
12290 (FP_CMP_S): Likewise.
12291 (FP_CMP_EQ_S): Likewise.
12292 (FP_CMP_UNORD_S): Likewise.
12293 (FP_TO_INT_S): Likewise.
12294 (FP_FROM_INT_S): Likewise.
12296 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12298 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12299 (FP_EX_INVALID_IMZ): Likewise.
12300 (FP_EX_INVALID_IMZ_FMA): Likewise.
12301 (FP_EX_INVALID_ISI): Likewise.
12302 (FP_EX_INVALID_ZDZ): Likewise.
12303 (FP_EX_INVALID_IDI): Likewise.
12304 (FP_EX_INVALID_SQRT): Likewise.
12305 (FP_EX_INVALID_CVI): Likewise.
12306 (FP_EX_INVALID_VC): Likewise.
12307 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12308 "invalid" exceptions.
12309 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12310 (_FP_ADD_INTERNAL): Likewise.
12311 (_FP_MUL): Likewise.
12312 (_FP_FMA): Likewise.
12313 (_FP_DIV): Likewise.
12314 (_FP_CMP_CHECK_NAN): Likewise.
12315 (_FP_SQRT): Likewise.
12316 (_FP_TO_INT): Likewise.
12317 (FP_EXTEND): Likewise.
12319 2014-10-09 Allan McRae <allan@archlinux.org>
12321 * po/fr.po: Update French translation from translation project.
12323 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12326 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12328 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12329 (__cxa_atexit): Use libc_hidden_proto.
12330 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12333 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12335 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12336 [!_ISOMAC] (__iswspace_l_internal): Likewise.
12337 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12338 [!_ISOMAC] (__iswctype_internal): Likewise.
12339 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12340 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12342 (fcntl): Remove __fcntl_internal alias.
12343 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12344 __connect_internal alias.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12348 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12349 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12351 (_FP_CHECK_FLUSH_ZERO): New macro.
12352 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12353 (_FP_CMP): Likewise.
12354 (_FP_CMP_EQ): Likewise.
12355 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12357 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12358 (FP_TRUNC): Likewise.
12360 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12361 treated as invalid conversion, not as normal exponent.
12363 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12364 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
12365 (_FP_CMP_EQ): Likewise.
12366 (_FP_CMP_UNORD): Likewise.
12367 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12368 (FP_CMP_EQ_D): Likewise.
12369 (FP_CMP_UNORD_D): Likewise.
12370 * soft-fp/extended.h (FP_CMP_E): Likewise.
12371 (FP_CMP_EQ_E): Likewise.
12372 (FP_CMP_UNORD_E): Likewise.
12373 * soft-fp/quad.h (FP_CMP_Q): Likewise.
12374 (FP_CMP_EQ_Q): Likewise.
12375 (FP_CMP_UNORD_Q): Likewise.
12376 * soft-fp/single.h (FP_CMP_S): Likewise.
12377 (FP_CMP_EQ_S): Likewise.
12378 (FP_CMP_UNORD_S): Likewise.
12379 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12380 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12381 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12382 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12383 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12384 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12385 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12386 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12387 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12388 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12389 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12390 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12391 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12393 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12395 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12396 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12398 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12400 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12401 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12402 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12403 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12405 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12407 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12408 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12410 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12412 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12413 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12414 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12415 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12418 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12419 a subnormal result, set the underflow exception if trapping on
12420 underflow is enabled.
12421 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12422 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12423 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12425 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12426 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12427 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12428 * soft-fp/extendxftf2.c (__extendxftf2): Use
12429 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12431 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12432 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12433 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12434 FP_HANDLE_EXCEPTIONS.
12435 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12436 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12437 FP_HANDLE_EXCEPTIONS.
12438 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12439 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12440 FP_HANDLE_EXCEPTIONS.
12441 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12442 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12443 FP_HANDLE_EXCEPTIONS.
12445 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12448 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12449 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12451 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12452 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12454 (__adjtimex): Define using libc_hidden_ver.
12455 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12456 Remove declaration.
12457 (ntp_gettime): Call __adjtimex directly.
12458 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12459 Remove declaration.
12460 (ntp_gettimex): Call __adjtimex directly.
12461 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12462 __adjtimex_internal alias.
12464 2014-10-08 Roland McGrath <roland@hack.frob.com>
12467 * nscd/nscd.c (more_help): Rewrite list of tables collection
12468 using xstrdup and asprintf.
12470 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12472 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12473 Roland McGrath <roland@hack.frob.com>
12475 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12476 (do_lookup_unique): ... local function 'enter' here; update callers.
12478 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12480 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12481 compat_symbol calls on [SHARED].
12482 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12483 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12485 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12486 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12487 (oldsetrlimit): Remove.
12488 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12490 (lchown): New syscall entry.
12491 (oldsetrlimit): Remove.
12492 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12494 (oldsetrlimit): Remove.
12495 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12498 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12499 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12500 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12501 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12503 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12504 (fchown): Likewise.
12505 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12506 (fchown): Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12510 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12513 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12514 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12515 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12516 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12518 (__old_sem_post): Likewise.
12520 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12522 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12523 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12524 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12525 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12526 Use INLINE_VSYSCALL macro.
12527 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12528 __vdso_clock_gettime.
12529 * sysdeps/unix/sysv/linux/tile/init-first.c
12530 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12531 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12532 __vdso_clock_gettime.
12534 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12535 to set up frame more cleanly.
12537 * sysdeps/tile/memcmp.c: New file.
12539 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12541 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12542 * sysdeps/tile/tilegx/strcasestr.c: New file.
12543 * sysdeps/tile/tilegx/strnlen.c: New file.
12544 * sysdeps/tile/tilegx/strstr.c: New file.
12546 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12548 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12550 * nptl/tst-setuid3.c: Write errors to stdout.
12552 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12555 (preload): New functions broken out of _dl_map_object_deps.
12556 (_dl_map_object_deps): Remove a nested function. Update call sites.
12558 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12561 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12562 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12564 2014-10-01 Steve Ellcey <sellcey@mips.com>
12566 * sysdeps/mips/strcmp.S: New.
12568 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12571 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12572 (linkat): Likewise.
12573 (mkdirat): Likewise.
12574 (readlinkat): Likewise.
12575 (renameat): Likewise.
12576 (symlinkat): Likewise.
12577 (unlinkat): Likewise.
12578 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12579 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12580 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12581 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12582 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12583 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12584 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12586 2014-09-30 Will Newton <will.newton@linaro.org>
12588 * math/math.h: Define long double math functions if
12589 _LIBC_TEST is defined.
12590 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12592 * localedata/Makefile: Move assignment to tests-special
12593 into an ifdef testing run-built-tests.
12594 * timezone/Makefile: Likewise.
12596 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12598 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12599 with $(BASH) not $(SHELL).
12601 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12602 Matthew LeGendre <legendre1@llnl.gov>
12605 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12608 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12610 * stdio-common/printf_fp.c
12611 (hack_digit): New function, broken out of ...
12612 (__printf_fp): ... local function here. Update call sites.
12613 hack_digit now takes an additional parameter that is a pointer
12614 to a struct of the referenced locals. Those locals moved inside
12615 the struct and references updated.
12617 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12619 * aclocal.m4: Require autoconf 2.69.
12620 * configure: Regenerated.
12621 * sysdeps/aarch64/configure: Likewise.
12622 * sysdeps/alpha/configure: Likewise.
12623 * sysdeps/arm/armv7/configure: Likewise.
12624 * sysdeps/arm/configure: Likewise.
12625 * sysdeps/ia64/configure: Likewise.
12626 * sysdeps/mach/configure: Likewise.
12627 * sysdeps/mips/configure: Likewise.
12628 * sysdeps/s390/configure: Likewise.
12629 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12632 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12634 * sysdeps/ia64/configure.ac: Likewise.
12636 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12639 specify symbol version for ld.so. Do not include entry for
12641 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12642 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12643 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12646 * Makeconfig [$(build-shared) = yes]
12647 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12649 [$(build-shared) = yes && $(soversions.mk-done) = t]
12650 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12651 [$(build-shared) = yes && $(soversions.mk-done) = t]
12652 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12654 [$(build-shared) = yes && $(soversions.mk-done) = t]
12655 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12657 [$(build-shared) = yes && $(soversions.mk-done) = t]
12658 (common-generated): Don't append gnu/lib-names.h and
12659 gnu/lib-names.stmp here.
12660 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12661 (lib-names-h-abi): New variable.
12662 [$(build-shared) = yes && $(soversions.mk-done) = t]
12663 (lib-names-stmp-abi): Likewise.
12664 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12665 abi-variants] (before-compile): Append
12666 $(common-objpfx)$(lib-names-h-abi).
12667 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12668 abi-variants] (common-generated): Append gnu/lib-names.h.
12669 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12670 abi-variants] (install-others-nosubdir): Depend on
12671 $(inst_includedir)/$(lib-names-h-abi).
12672 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12673 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12674 [$(build-shared) = yes && $(soversions.mk-done) = t]
12675 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12676 [$(build-shared) = yes && $(soversions.mk-done) = t]
12677 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12678 [$(build-shared) = yes && $(soversions.mk-done) = t]
12679 (common-generated): Append $(lib-names-h-abi) and
12680 $(lib-names-stmp-abi).
12681 * scripts/lib-names.awk: Do not handle multi being set.
12682 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12684 (abi-lp64_be-ld-soname): Likewise.
12685 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12687 (abi-hard-ld-soname): Likewise.
12688 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12689 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12691 (abi-o32_hard-ld-soname): Likewise.
12692 (abi-o32_soft_2008-ld-soname): Likewise.
12693 (abi-o32_hard_2008-ld-soname): Likewise.
12694 (abi-n32_soft-ld-soname): Likewise.
12695 (abi-n32_hard-ld-soname): Likewise.
12696 (abi-n32_soft_2008-ld-soname): Likewise.
12697 (abi-n32_hard_2008-ld-soname): Likewise.
12698 (abi-n64_soft-ld-soname): Likewise.
12699 (abi-n64_hard-ld-soname): Likewise.
12700 (abi-n64_soft_2008-ld-soname): Likewise.
12701 (abi-n64_hard_2008-ld-soname): Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12704 (abi-64-v2-ld-soname): Likewise.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12707 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12709 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12711 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12713 (abi-64-ld-soname): Likewise.
12714 (abi-x32-ld-soname): Likewise.
12715 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12717 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12719 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12722 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12723 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12724 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12725 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12726 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12727 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12728 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12729 syscall entry for GLIBC_2.2 symbol version.
12730 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12733 (setrlimit): Likewise.
12734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12737 2014-09-23 Will Newton <will.newton@linaro.org>
12739 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12740 _LINUX_ARM_SYSDEP_H include guard too.
12741 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12744 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12746 * sysdeps/unix/sysv/linux/eventfd.c:
12747 Make first argument unsigned.
12748 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12749 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12751 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12753 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12754 * socket/sys/socket.h: Likewise
12755 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12757 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12759 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12761 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12763 * time/tst-ftime.c: New test.
12764 * time/Makefile (tests): Add tst-ftime.
12766 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12768 * soft-fp/extended.h: Fix comment formatting.
12769 * soft-fp/op-1.h: Likewise.
12770 * soft-fp/op-2.h: Likewise.
12771 * soft-fp/op-4.h: Likewise.
12772 * soft-fp/op-8.h: Likewise.
12773 * soft-fp/op-common.h: Likewise.
12774 * soft-fp/soft-fp.h: Likewise.
12776 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12778 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12781 * Makeconfig (soversions-default-setname): Remove variable.
12782 ($(common-objpfx)soversions.i): Don't pass default_setname to
12784 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12785 oldest_abi to abi-versions.awk.
12786 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12787 * config.make.in (oldest-abi): Remove variable.
12788 * configure.ac (--enable-oldest-abi): Remove configure option.
12789 * configure: Regenerated.
12790 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12792 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12793 * scripts/soversions.awk: Do not handle default_setname variable.
12794 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12796 * sysdeps/mach/hurd/configure: Regenerated.
12797 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12799 * sysdeps/unix/sysv/linux/configure: Regenerated.
12801 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12803 * elf/Makefile (CFLAGS-interp.c): Remove.
12804 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12806 * elf/interp.c: Include generated runtime-linker.h
12808 * Makerules (lib%.so): Don't include $(+interp) in
12810 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12811 * dlfcn/eval.c: Remove file.
12813 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12817 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12821 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12823 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12824 Jakub Jelinek <jakub@redhat.com>
12827 * libio/stdio.h: Check definition of __fortify_function
12828 instead of __extern_always_inline to include bits/stdio2.h.
12829 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12830 check if __extern_always_inline is defined.
12831 [__USE_MISC || __USE_XOPEN]: Likewise.
12832 [__USE_ISOC99] Likewise.
12833 * misc/sys/cdefs.h (__fortify_function): Define only if
12834 __extern_always_inline is defined.
12835 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12836 __extern_always_inline and __extern_inline only for g++-4.3
12837 and newer or a compatible gcc.
12839 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12842 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12843 last change to handle zero prefix length.
12845 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12847 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12850 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12851 _POSIX_RAW_SOCKETS.
12853 2014-09-13 Allan McRae <allan@archlinux.org>
12855 * po/ru.po: Update Russian translation from translation project.
12857 2014-09-12 Roland McGrath <roland@hack.frob.com>
12859 * locale/programs/locale.c (show_locale_vars): Inline local function
12860 into its sole call site. Clean up some style nits.
12861 (print_item): New function, broken out of ...
12862 (show_info): ... local function here. Clean up style nits.
12864 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12866 (set_class_defaults): ... local function set_default here.
12867 Define set_default as a macro locally to pass constant parameters.
12868 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12869 rather than a shared local.
12871 * stdlib/rpmatch.c (try): New function, broken out of ...
12872 (rpmatch): ... local function here. Also, prototypify definition.
12874 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12876 * scripts/soversions.awk: Do not handle configuration names.
12877 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12878 vendor and os variables to soversions.awk.
12879 * configure.ac: Do not modify gnu-* host_os.
12880 * configure: Regenerated
12881 * shlib-versions: Remove first column with configuration names.
12882 * nptl/shlib-versions: Likewise.
12883 * nptl_db/shlib-versions: Likewise.
12884 * sysdeps/hppa/shlib-versions: Likewise.
12885 * sysdeps/m68k/shlib-versions: Likewise.
12886 * sysdeps/mach/hurd/shlib-versions: Likewise.
12887 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12888 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12889 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12890 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12891 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12892 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12893 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12894 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12897 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12898 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12899 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12902 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12903 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12904 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12907 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12910 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12912 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12914 * shlib-versions: Remove OS-specific entries. Moved to files in
12916 * sysdeps/mach/hurd/shlib-versions: New file.
12917 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12919 * nptl/shlib-versions: Remove architecture-specific entries.
12920 Moved to files in sysdeps.
12921 * shlib-versions: Likewise.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12924 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12925 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12927 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12929 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12930 (UDP_NO_CHECK6_RX): Likewise.
12932 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * sysdeps/posix/sysconf.c (__sysconf): Spell
12935 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12937 2014-08-12 Florian Weimer <fweimer@redhat.com>
12939 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12941 * iconv/Versions (__gconv_transliterate): Export for use from
12943 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12944 (struct __gconv_trans_data, __gconv_trans_fct,
12945 __gconv_trans_context_fct, __gconv_trans_query_fct,
12946 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12948 (struct __gconv_step_data): Remove __trans member.
12949 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12950 longer hidden. Remove unused trans_data argument.
12951 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12952 (__gconv_translit_find): Remove declaration.
12953 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12955 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12956 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12957 trans_data argument. Add hidden definition.
12958 (__gconv_translit_find): Remove.
12959 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12960 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12961 * iconv/skeleton.c: Remove transliteration initialization.
12962 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12963 __gconv_step_data initialization.
12964 * libio/iofwide.c (__libio_translit_): Remove.
12965 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12966 * wcsmbs/btowc.c (__btowc): Likewise.
12967 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12968 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12969 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12970 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12971 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12972 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12973 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12974 * wcsmbs/wctob.c (wctob): Likewise.
12976 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12979 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12980 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12982 * sysdeps/x86/Makefile: Adjust.
12984 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12985 Roland McGrath <roland@hack.frob.com>
12987 * locale/weight.h: Add include guard.
12988 (findidx): Make static rather than auto; take new parameters
12989 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12990 * locale/weightwc.h: Likewise.
12991 * posix/fnmatch_loop.c
12992 (FCT): Change type of EXTRA from int32_t to wint_t.
12993 Don't include either header inside the function.
12994 Call FINDIDX rather than findidx, and pass new arguments.
12995 #undef FINDIDX at the end of the file.
12996 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12997 FINDIDX before including fnmatch_loop.c for the non-wide version.
12998 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12999 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13000 for the wide version.
13001 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13002 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13003 Pass new arguments to findidx.
13004 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13005 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13006 Don't #include it inside the function. Pass new arguments to findidx.
13007 * posix/regex_internal.h
13008 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13009 (re_string_elem_size_at): Don't #include it inside the function.
13010 Pass new arguments to findidx.
13011 * string/strcoll_l.c: #include WEIGHT_H at top level.
13012 (get_next_seq): Don't #include it inside the function.
13013 Pass new arguments to findidx.
13014 (get_next_seq_nocache): Likewise.
13015 * string/strxfrm_l.c: #include WEIGHT_H at top level.
13016 (STRXFRM): Don't #include it inside the function.
13017 Pass new arguments to findidx.
13019 2014-09-11 Florian Weimer <fweimer@redhat.com>
13022 * malloc/malloc.c (unlink): Turn asserts into a call to
13025 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
13028 * libio/wfileops (do_ftell_wide): Free OUT.
13030 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
13032 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13034 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13037 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13038 group if the current group is empty.
13040 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13042 * benchtests/bench-memset.c (test_main): Add more test from size
13043 from 32 to 512 bytes.
13044 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13045 Add POWER8 memset object.
13046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13047 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13048 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13050 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13052 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13053 multiarch POWER8 memset optimization.
13054 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13055 POWER8 memset optimization.
13057 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13058 Remove bzero multiarch objects.
13059 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13060 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13061 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13062 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13064 [__bzero]: Redefine to specific name.
13065 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13066 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13067 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13069 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13070 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13072 2014-09-10 Florian Weimer <fweimer@redhat.com>
13074 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13075 warnings into errors.
13077 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13078 __cxa_thread_atexit_impl prototype.
13080 2014-09-09 Steve Ellcey <sellcey@mips.com>
13082 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13083 Fix capitalization of error message.
13085 2014-09-09 Steve Ellcey <sellcey@mips.com>
13087 * sysdeps/mips/preconfigure: Modify ABI tests.
13089 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
13091 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13093 2014-09-07 Roland McGrath <roland@hack.frob.com>
13094 Carlos O'Donell <carlos@systemhalted.org>
13096 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13097 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13098 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13099 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13100 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13101 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13102 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13103 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13104 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13105 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13106 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13107 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13108 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13109 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13110 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13111 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13112 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13113 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13114 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13115 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13116 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13117 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13118 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13119 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13120 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13121 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13122 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13123 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13124 Deconditionalize the code that was previously under [RESET_PID].
13125 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13126 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13127 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13128 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13131 2014-09-08 Allan McRae <allan@archlinux.org>
13133 * version.h (RELEASE): Set to "development".
13134 (VERSION): Set to "2.20.90"
13136 2014-09-07 Allan McRae <allan@archlinux.org
13138 * version.h (RELEASE): Set to "stable".
13139 (VERSION): Set to "2.20"
13140 * include/features.h (__GLIBC_MINOR__): Set to 20.
13142 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13145 * po/ko.po: Update Korean translation from translation project.
13147 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13150 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13151 macro for handling signed relocations.
13153 2014-09-03 Florian Weimer <fweimer@redhat.com>
13156 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13157 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13159 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13160 * iconvdata/ibm935.c (BODY): Likewise.
13161 * iconvdata/ibm937.c (BODY): Likewise.
13162 * iconvdata/ibm939.c (BODY): Likewise.
13163 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13165 * iconvdata/Makefile (iconv-test.out): Pass module list to test
13167 * iconvdata/run-iconv-test.sh: New test loop for checking for
13170 2014-09-02 Khem Raj <raj.khem@gmail.com>
13172 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13175 2014-09-01 Allan McRae <allan@archlinux.org>
13177 * po/eo.po: Update Esperanto translation from translation project.
13179 * po/ca.po: Update Catalan translation from translation project.
13181 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13183 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13184 __proc_dostop call.
13186 2014-08-27 Mark Wielaard <mjw@redhat.com>
13189 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13190 to call set_thread_area instead of hand written asm.
13191 (__NR_set_thread_area): Removed define.
13192 (TLS_FLAG_WRITABLE): Likewise.
13193 (__ASSUME_SET_THREAD_AREA): Remove check.
13194 (TLS_EBX_ARG): Remove define.
13195 (TLS_LOAD_EBX): Likewise.
13197 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13199 Simplify atomicity of socket creation in bind.
13201 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13202 looking up the name after linking the file.
13204 2014-08-27 Allan McRae <allan@archlinux.org>
13206 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13208 2014-08-26 Florian Weimer <fweimer@redhat.com>
13211 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13212 trans_compare, open_translit, __gconv_translit_find):
13213 Remove module loading code.
13215 2014-08-26 Allan McRae <allan@archlinux.org>
13217 * po/vi.po: Update Vietnamese translation from translation project.
13219 * po/uk.po: Update Ukrainian translation from translation project.
13221 * po/fr.po: Update French translation from translation project.
13223 * po/ru.po: Update Russian translation from translation project.
13225 * po/pl.po: Update Polish translation from translation project.
13227 * po/cs.po: Update Czech translation from translation project.
13229 * po/de.po: Update German translation from translation project.
13231 * po/bg.po: Update Bulgarian translation from translation project.
13233 * po/sv.po: Update Sweedish translation from translation project.
13235 * po/nl.po: Update Dutch translation from translation project.
13237 * po/es.po: Update Spanish translation from translation project.
13239 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13241 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13243 * catgets/Makefile (CPPFLAGS-gencat): Remove.
13244 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13245 (CPPFLAGS-iconvconfig): Likewise.
13246 * timezone/Makefile (CPPFLAGS-zic): Likewise.
13248 * include/libc-symbols.h: Remove unnecessary check for
13250 * nptl/pthreadP.h: Likewise.
13251 * sysdeps/aarch64/setjmp.S: Likewise.
13252 * sysdeps/alpha/setjmp.S: Likewise.
13253 * sysdeps/arm/sysdep.h: Likewise.
13254 * sysdeps/i386/setjmp.S: Likewise.
13255 * sysdeps/m68k/setjmp.c: Likewise.
13256 * sysdeps/posix/getcwd.c: Likewise.
13257 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13258 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13259 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13260 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13261 * sysdeps/sh/sh3/setjmp.S: Likewise.
13262 * sysdeps/sh/sh4/setjmp.S: Likewise.
13263 * sysdeps/unix/alpha/sysdep.h: Likewise.
13264 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13266 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13267 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13272 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13275 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13277 * sysdeps/x86_64/setjmp.S: Likewise.
13279 2014-08-13 Joseph Myers <joseph@codesourcery.com>
13282 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13284 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13285 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13287 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13289 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13292 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13293 and __x86_64__ when disabling x87 inline functions.
13295 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
13298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13299 asm statement with __cpuid_count.
13301 2014-08-12 Mike Frysinger <vapier@gentoo.org>
13303 * configure.ac: Change __ehdr_start code to dereference the struct.
13304 Run readelf on the output to look for relocations.
13305 * configure: Regenerated.
13307 2014-08-12 Joseph Myers <joseph@codesourcery.com>
13310 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13312 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13314 2014-08-12 Roland McGrath <roland@hack.frob.com>
13316 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13318 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
13321 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13322 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13324 2014-08-12 Sean Anderson <seanga2@gmail.com>
13326 * malloc/malloc.c: Fix typo in comment.
13328 2014-08-09 Allan McRae <allan@archlinux.org>
13330 * Regenerate libc.po.
13332 2014-08-08 Mike Frysinger <vapier@gentoo.org>
13334 * intl/tst-gettext2.sh: Check every lang file for creation.
13336 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13338 * sysdeps/aarch64/fpu/math_private.h
13339 (libc_feholdsetround_noex_aarch64_ctx): New function.
13341 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13343 * sysdeps/arm/armv6/strcpy.S (strcpy):
13344 Fix performance issue in misaligned cases.
13346 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13348 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13349 Move definition from termios.h.
13350 (struct termio): Likewise.
13351 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13352 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13353 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13354 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13357 Move definition to ioctl-types.h
13358 (struct termio): Likewise.
13359 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13360 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13361 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13362 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13365 2014-08-05 Richard Henderson <rth@redhat.com>
13367 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13369 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13371 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13372 Use __feraiseexcept.
13373 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13374 Protect libm symbols with IS_IN_libm.
13376 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13378 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
13380 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13382 2014-08-04 Will Newton <will.newton@linaro.org>
13384 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13387 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13389 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13390 variants for each function.
13392 2014-08-04 Roland McGrath <roland@hack.frob.com>
13394 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13396 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13397 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13399 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13400 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13401 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13402 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13403 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13404 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13405 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13406 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13407 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13408 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13409 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13410 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13411 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13412 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13413 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13414 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13415 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13416 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13417 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13418 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13419 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13420 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13421 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13422 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13423 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13424 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13425 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13426 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13427 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13428 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13429 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13430 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13431 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13432 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13433 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13434 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13435 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13436 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13437 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13438 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13439 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13440 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13441 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13442 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13443 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13444 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13445 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13447 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13449 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13450 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13451 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13453 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13454 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13456 2014-08-04 Roland McGrath <roland@hack.frob.com>
13458 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13459 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13460 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13461 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13462 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13463 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13465 2014-08-04 Roland McGrath <roland@hack.frob.com>
13467 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13468 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13469 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13470 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13472 2014-08-04 Roland McGrath <roland@hack.frob.com>
13474 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13475 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13476 (__libc_vfork): Define function under this name.
13477 (__vfork): Define as an alias.
13478 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13479 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13481 2014-08-04 Roland McGrath <roland@hack.frob.com>
13483 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13484 that was previously under [RESET_PID].
13485 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13487 2014-08-04 Andreas Schwab <schwab@suse.de>
13489 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13491 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13493 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13496 2014-08-01 Roland McGrath <roland@hack.frob.com>
13498 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13500 2014-08-01 Richard Henderon <rth@redhat.com>
13502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13503 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13504 typo in exact zero test.
13505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13509 2014-08-01 Roland McGrath <roland@hack.frob.com>
13511 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13512 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13513 * sysdeps/arm/sysdep.h: ... here.
13514 [!__ASSEMBLER__]: Include <stdint.h>.
13516 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13518 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13519 (HAVE_WCTYPE_H): Likewise.
13520 (HAVE_ISWCTYPE): Likewise.
13521 (ENABLE_NLS): Likewise.
13522 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13523 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13525 * posix/regex_internal.c: Check if DEBUG is defined and is
13528 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13529 (HAVE_MBSRTOWCS): Likewise.
13530 * posix/fnmatch.c: Include string.h unconditionally.
13532 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13534 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13537 2014-07-31 Roland McGrath <roland@hack.frob.com>
13539 * sysdeps/generic/safe-fatal.h: New file.
13540 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13541 * nptl/forward.c: Include it.
13542 (__pthread_unwind): Use __safe_fatal as default action, rather
13543 than a bogus use of INTERNAL_SYSCALL that could never work.
13545 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13546 * configure.ac (libc_cv_builtin_trap): New test.
13547 * configure: Regenerated.
13548 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13549 (ABORT_INSTRUCTION): Define using __builtin_trap.
13551 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13552 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13553 * sysdeps/nptl/nptl-signals.h: New file.
13554 * nptl/pthreadP.h: Include <nptl-signals.h>.
13556 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13558 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13559 (ONE_DIRECTION): Define.
13560 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13561 (ONE_DIRECTION): Define.
13562 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13563 (ONE_DIRECTION): Define.
13565 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13567 * sysdeps/s390/Makefile: Delete file.
13568 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13569 * sysdeps/s390/__longjmp.c: Delete file.
13570 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13571 Remove fields __flags and __reserved.
13572 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13573 and add versioning.
13574 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13575 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13576 * sysdeps/s390/rtld-setjmp.S: Likewise.
13577 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13578 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13579 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13580 * sysdeps/s390/s390-32/setjmp.S: ... here.
13582 (__sigsetjmp): Remove setting __flags field.
13583 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13584 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13585 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13586 * sysdeps/s390/s390-64/setjmp.S: ... here.
13588 (__sigsetjmp): Remove setting __flags field.
13589 * sysdeps/s390/setjmp.S: Delete file.
13590 * sysdeps/s390/sigjmp.c: Likewise.
13591 * sysdeps/s390/v1-longjmp.c: Likewise.
13592 * sysdeps/s390/v1-setjmp.h: Likewise.
13593 * sysdeps/s390/v1-sigjmp.c: Likewise.
13594 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13595 Remove v1-longjmp_chk.
13596 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13597 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13598 Include debug/longjmp_chk.c and add versioning.
13599 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13600 Include nptl/pt-longjmp.c and add versioning.
13601 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13602 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13603 Include __longjmp.c.
13604 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13607 (__getcontext): Remove setting __flags field.
13609 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13610 Don't restore upper high grps.
13611 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13613 (__swapcontext): Remove setting uc_flags field.
13614 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13616 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13617 Include __longjmp.c.
13618 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13620 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13621 (__getcontext): Remove setting __flags field.
13623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13624 (__swapcontext): Remove setting uc_flags field.
13625 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13626 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13627 Remove fields uc_high_gprs and __reserved.
13628 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13629 New file with reverted content.
13630 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13631 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13636 2014-07-31 Andreas Schwab <schwab@suse.de>
13638 * config.h.in (HAVE_IFUNC): Define to 0.
13639 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13642 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13645 memmove-avx-unaligned, memcpy-avx-unaligned and
13646 mempcpy-avx-unaligned.
13647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13648 Add tests for AVX memcpy functions.
13649 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13650 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13652 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13653 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13655 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13656 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13658 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13659 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13660 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13662 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13665 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13668 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13671 * manual/llio.texi: Add section about open file description locks.
13672 * manual/examples/ofdlocks.c: Example of open file description
13674 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13675 F_OFD_SETLK, and F_OFD_SETLKW.
13677 2014-07-23 Allan McRae <allan@archlinux.org>
13679 * po/es.po: Update Spanish translation from translation project.
13681 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13683 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13685 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13688 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13689 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13690 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13692 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13695 * math/fesetenv.c (__fesetenv)
13696 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13697 * math/feupdateenv.c (__feupdateenv)
13698 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13700 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13701 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13702 (__ASSUME_SOCKETCALL): Do not define.
13704 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13705 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13706 (__ASSUME_SOCKETCALL): Do not define.
13707 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13708 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13709 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13710 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13711 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13712 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13713 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13714 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13716 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13717 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13718 (__ASSUME_SOCKETCALL): Do not define.
13719 (__ASSUME_IPC64): Define unconditionally.
13720 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13721 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13722 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13723 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13724 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13725 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13726 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13729 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13730 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13731 (__ASSUME_SOCKETCALL): Do not define.
13732 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13733 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13734 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13735 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13736 (__ASSUME_REQUEUE_PI): Define unconditionally.
13737 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13738 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13739 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13740 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13741 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13742 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13744 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13745 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13746 (__ASSUME_SOCKETCALL): Do not define.
13747 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13748 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13749 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13750 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13751 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13752 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13754 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13755 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13756 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13757 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13758 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13759 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13760 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13761 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13762 (__ASSUME_GETCPU_SYSCALL): Likewise.
13764 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13765 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13766 cases for individual architectures.
13767 * sysdeps/gnu/configure: Regenerated.
13768 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13769 LIBC_SLIBDIR_RTLDDIR.
13770 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13771 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13772 LIBC_SLIBDIR_RTLDDIR.
13773 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13775 LIBC_SLIBDIR_RTLDDIR.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13778 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13779 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13781 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13782 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13784 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13785 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13786 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13787 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13789 * sysdeps/aarch64/shlib-versions: Move to ...
13790 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13791 * sysdeps/alpha/shlib-versions: Move to ...
13792 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13793 * sysdeps/arm/shlib-versions: Move to ...
13794 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13795 * sysdeps/hppa/shlib-versions: Move all contents except for
13796 libgcc_s entry to ...
13797 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13799 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13800 * sysdeps/ia64/shlib-versions: Move to ...
13801 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13803 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13804 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13805 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13806 * sysdeps/microblaze/shlib-versions: Move to ...
13807 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13808 * sysdeps/mips/shlib-versions: Move to ...
13809 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13811 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13812 * sysdeps/tile/shlib-versions: Move to ...
13813 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13814 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13816 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13817 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13819 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13821 2014-07-17 Will Newton <will.newton@linaro.org>
13823 * sysdeps/arm/bits/atomic.h
13824 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13825 (__arch_compare_and_exchange_bool_16_int): Likewise.
13826 (__arch_compare_and_exchange_bool_64_int): Likewise.
13828 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13829 into an #else block.
13831 2014-07-16 Roland McGrath <roland@hack.frob.com>
13833 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13834 just Linux configurations. Test empirically that the compiler sets
13835 __ARM_EABI__, rather than using the tuple to decide.
13836 * sysdeps/arm/preconfigure: Regenerated.
13837 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13838 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13839 contents appended ...
13840 * sysdeps/arm/configure.ac: ... here.
13841 * sysdeps/arm/configure: Regenerated.
13843 2014-07-15 Roland McGrath <roland@hack.frob.com>
13845 * nptl/pthread_kill.c: New file.
13846 * nptl/pthread_sigmask.c: New file.
13847 * nptl/pthread_sigqueue.c: New file.
13849 * sysdeps/nptl/lowlevellock.h: New file.
13850 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13851 * sysdeps/nptl/lowlevellock-futex.h: New file.
13853 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13854 Remove dead declarations.
13856 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13858 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13859 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13860 config-cflags-avx2.
13861 * sysdeps/x86_64/configure.ac: Likewise.
13862 * sysdeps/i386/configure: Regenerated.
13863 * sysdeps/x86_64/configure: Likewise.
13864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13865 memset-avx2 only if config-cflags-avx2 is yes.
13866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13867 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13869 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13870 only if HAVE_AVX2_SUPPORT is defined.
13871 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13873 2014-07-14 Alan Modra <amodra@gmail.com>
13876 * elf/elf.h (DT_PPC64_NUM): Correct value.
13877 * NEWS: Add to fixed bug list.
13879 2014-07-13 Jim Meyering <meyering@fb.com>
13882 regex: don't deref NULL upon heap allocation failure
13883 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13884 failure in one more place.
13885 To trigger the segfault, configure grep -with-included-regex,
13886 build it, and run these commands:
13887 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13889 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13891 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13893 2014-07-11 Richard Henderson <rth@redhat.com>
13895 * sysdeps/aarch64/libm-test-ulps: Update.
13897 2014-07-10 Florian Weimer <fweimer@redhat.com>
13900 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13901 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13902 (__nptl_setxid): Initialize error member. Call
13903 __nptl_setxid_error.
13904 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13905 * nptl/descr.h (struct xid_command): Add error member.
13906 * nptl/tst-setuid3.c: New file.
13907 * nptl/Makefile (tests): Add it.
13909 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13913 (__lll_trylock): Use __lll_base_trylock.
13914 (__lll_cond_trylock): Likewise.
13916 2014-07-10 Roland McGrath <roland@hack.frob.com>
13918 * nptl/pthread_create.c (start_thread): Use atomic_or and
13919 lll_futex_wake directly rather than lll_robust_dead.
13920 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13921 (lll_robust_dead): Macro removed.
13922 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13923 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13924 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13925 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13926 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13927 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13928 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13929 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13930 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13932 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13933 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13934 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13935 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13938 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13939 Use atomic_compare_and_exchange_val_acq directly rather than
13940 lll_robust_trylock.
13941 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13942 (__lll_robust_trylock, lll_robust_trylock): Removed.
13943 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13944 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13945 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13946 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13947 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13948 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13949 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13950 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13952 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13953 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13955 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13956 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13958 2014-07-02 Florian Weimer <fweimer@redhat.com>
13960 * manual/locale.texi (Locale Names): New section documenting
13961 locale name syntax. Adjust menu and node chaining accordingly.
13962 (Choosing Locale): Reference Locale Names, Locale Categories.
13963 Mention setting LC_ALL=C. Reflect that name syntax is now
13965 (Locale Categories): New section title. Reference Locale Names.
13966 LC_ALL is an environment variable, but not a category.
13967 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13968 description, now in Locale Name. Reference that section. Locale
13969 name syntax is now documented.
13971 2014-07-02 Florian Weimer <fweimer@redhat.com>
13974 * locale/findlocale.c (name_present, valid_locale_name): New
13976 (_nl_find_locale): Use the loc_name variable to store name
13977 candidates. Call name_present and valid_locale_name to check and
13978 validate locale names. Return an error if the locale is invalid.
13980 2014-07-02 Florian Weimer <fweimer@redhat.com>
13982 * locale/setlocale.c (setlocale): Use strdup for allocating
13983 composite name copy.
13985 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13987 Sync up with gnulib.
13988 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13989 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13990 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13991 and _GL_ARG_NONNULL.
13992 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13993 [!_LIBC]: Include code for Windows and Cygwin.
13994 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13995 Include prototype for int strerror_r.
13996 [!_LIBC] (is_open): New function.
13997 (flush_stdout): New function.
13998 (print_errno_message): Use it.
14000 (error_at_line): Likewise.
14001 (error_tail) Add function attribute macros. Use
14004 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14006 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14008 * io/ftw.c: Include sys/param.h unconditionally.
14010 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14013 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14015 (freecache): New function to free CACHE on exit.
14017 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14020 2014-07-09 David S. Miller <davem@davemloft.net>
14022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14024 * sysdeps/sparc/nptl/internaltypes.h: Delete.
14025 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14026 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14027 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14028 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14029 * sysdeps/sparc/nptl/sem_init.c: Likewise.
14030 * sysdeps/sparc/nptl/sem_post.c: Likewise.
14031 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14032 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14033 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14034 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14035 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14036 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14038 2014-07-09 Andreas Schwab <schwab@suse.de>
14040 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14042 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14043 (do_test): Likewise.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14047 2014-07-09 Will Newton <will.newton@linaro.org>
14049 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14050 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14051 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14052 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14053 * sysdeps/hppa/start.S (_start): Likewise.
14055 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14057 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14059 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14062 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14064 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14065 after checking that it is non-NULL.
14067 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14069 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14071 * sysdeps/powerpc/memmove.c: Remove file.
14072 * sysdeps/powerpc/powerpc32/power4/memcopy.h
14073 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14074 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14075 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14076 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14077 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14078 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14079 string memmove instead of removed powerpc one.
14081 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14082 [weak_alias]: Fix compiler warning due trailing data.
14083 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14084 [weak_alias]: Likewise.
14085 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14086 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14089 (__libc_ifunc_impl_list): Add memmove functions.
14091 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14093 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14095 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14097 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14099 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14101 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14103 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14105 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14107 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14109 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14111 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14113 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14115 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14117 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14119 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14121 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14123 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14125 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14128 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14131 to avoid alignment traps in non-cacheable memory.
14132 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14134 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14136 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14137 file: multiarch power7 memmove.
14138 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14139 multiarch default memmove.
14140 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14141 multiarch memove for powerpc32/power4.
14143 * string/bcopy.c: Use full path to include memmove.c.
14144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14146 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14147 bcopy for powerpc64.
14148 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14149 bcopy for powerpc64.
14150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14151 and memmove implementations.
14152 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14153 optimized multiarch memmove for POWER7/powerpc64.
14154 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14155 default multiarch memmove for powerpc64.
14156 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14157 multiarch for powerpc64.
14158 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14159 for POWER7/powerpc64.
14160 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14161 memmove for POWER7/powerpc64.
14163 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14166 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14167 __ELF_NATIVE_CLASS equal to 64.
14169 2014-07-07 Roland McGrath <roland@hack.frob.com>
14171 * sysdeps/nptl/lowlevellock.h: File removed.
14173 * NEWS: NPTL is no longer an add-on!
14174 * nptl/internaltypes.h: Moved ...
14175 * sysdeps/nptl/internaltypes.h: ... here.
14176 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14177 * sysdeps/nptl/fork.c: Likewise.
14178 * sysdeps/nptl/gai_misc.h: Likewise.
14179 * sysdeps/nptl/librt-cancellation.c: Likewise.
14180 * sysdeps/nptl/jmp-unwind.c: Likewise.
14181 * sysdeps/nptl/setxid.h: Likewise.
14182 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14183 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14184 * sysdeps/unix/sysv/linux/arm/Implies: New file.
14185 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14186 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14187 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14188 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14189 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14190 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14191 * sysdeps/unix/sysv/linux/mips/Implies: New file.
14192 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14193 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14194 * sysdeps/unix/sysv/linux/sh/Implies: New file.
14195 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14196 * sysdeps/unix/sysv/linux/tile/Implies: New file.
14197 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14198 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14199 * nptl/Makeconfig: Moved ...
14200 * sysdeps/nptl/Makeconfig: ... here.
14201 * nptl/configure: File removed.
14202 * nptl/ANNOUNCE: File removed.
14203 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14204 * sysdeps/unix/sysv/linux/configure: Regenerated.
14206 * nptl/Makefile (routines): Add libc_pthread_init,
14207 libc_multiple_threads, register-atfork and unregister-atfork.
14208 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14209 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14210 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14211 pthread-pi-defines.sym, structsem.sym.
14212 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14213 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14214 [$(subdir) = nptl] (tests): Add tst-setgetname.
14215 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14216 * sysdeps/unix/sysv/linux/sigaction.c: Just include
14217 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14218 [!LIBC_SIGACTION]: Remove aliases.
14219 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14220 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14221 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14222 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14223 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14224 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14228 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14229 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14230 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14231 __libc_allocate_rtsig_private.
14232 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14233 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14234 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14235 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14236 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14237 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14238 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14239 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14240 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14241 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14242 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14243 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14244 * nptl/internaltypes.h: ... here.
14245 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14246 * sysdeps/nptl/jmp-unwind.c: ... here.
14247 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14248 * nptl/libc-lowlevellock.c: ... here.
14249 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14250 * nptl/libc_multiple_threads.c: ... here.
14251 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14252 * nptl/libc_pthread_init.c: ... here.
14253 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14254 * nptl/lowlevelbarrier.sym: ... here.
14255 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14256 * nptl/lowlevelcond.sym: ... here.
14257 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14258 * nptl/lowlevellock.c: ... here.
14259 * nptl/lowlevellock.h: Moved ...
14260 * sysdeps/nptl/lowlevellock.h: ... here.
14261 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14262 * nptl/lowlevelrobustlock.c: ... here.
14263 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14264 * nptl/lowlevelrobustlock.sym: ... here.
14265 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14266 * nptl/lowlevelrwlock.sym: ... here.
14267 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14268 * nptl/pt-fork.c: ... here.
14269 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14270 * nptl/pthread-pi-defines.sym: ... here.
14271 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14272 * nptl/pthread_attr_getaffinity.c: ... here.
14273 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14274 * nptl/pthread_attr_setaffinity.c: ... here.
14275 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14276 * nptl/pthread_mutex_cond_lock.c: ... here.
14277 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14279 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14280 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14281 * nptl/pthread_once.c: ... here, replacing old file.
14282 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14283 * nptl/pthread_yield.c: ... here.
14284 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14285 * nptl/register-atfork.c: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14287 * nptl/sem_post.c: ... here.
14288 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14289 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14290 * nptl/sem_timedwait.c: ... here.
14291 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14292 * nptl/sem_trywait.c: ... here.
14293 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14294 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14295 * nptl/sem_wait.c: ... here.
14296 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14297 * nptl/structsem.sym: ... here.
14298 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14299 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14300 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14301 * nptl/unregister-atfork.c: ... here.
14302 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14303 * nptl/unwindbuf.sym: ... here.
14304 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14305 * sysdeps/nptl/fork.c: ... here.
14306 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14307 * sysdeps/nptl/fork.h: ... here.
14308 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14309 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14310 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14311 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14312 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14313 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14314 * sysdeps/unix/sysv/linux/getpid.c: ... here.
14315 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14316 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14317 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14318 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14319 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14320 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14322 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14323 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14324 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14325 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14326 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14327 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14328 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14330 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14331 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14332 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14334 * sysdeps/unix/sysv/linux/raise.c: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14336 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14338 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14339 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14340 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14341 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14342 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14343 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14344 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14346 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14347 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14348 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14349 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14351 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14353 * sysdeps/generic/memcopy.h: Add comment for
14354 MEMCPY_OK_FOR_FWD_MEMMOVE.
14356 2014-07-04 Will Newton <will.newton@linaro.org>
14358 * string/memchr.c: Merge from gnulib.
14359 [_LIBC]: Remove conditionals.
14360 (__ptr_t): Remove define.
14361 (LONG_MAX_32_BITS): Likewise.
14362 (LONG_MAX): Likewise.
14363 (MEMCHR): Use ANSI prototype and optimize algorithm.
14365 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14367 2014-07-03 Roland McGrath <roland@hack.frob.com>
14369 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14370 (lll_futex_timed_wait_bitset): Fix syscall argument count.
14372 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14373 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14374 in a bare environment with no <stdlib.h> installed.
14375 * sysdeps/nptl/configure: Regenerated.
14377 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14379 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14380 AC_EGREP_CPP for kernel header checks, so they only succeed if
14381 including <linux/version.h> actually works right.
14382 * sysdeps/unix/sysv/linux/configure: Regenerated.
14384 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14385 value so it's not diagnosed as unused.
14387 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14388 thing) with "ifeq ($(subdir),rt)".
14390 2014-07-03 Richard Henderson <rth@redhat.com>
14392 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14393 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14394 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14396 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14397 (math_force_eval): New.
14399 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14400 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14402 * sysdeps/alpha/fpu/s_round.c: Remove file.
14403 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14405 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14406 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14407 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14408 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14409 (_dl_start, print_statistics): Likewise.
14410 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14411 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14413 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14414 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14415 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14416 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14417 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14418 (HP_SMALL_TIMING_AVAIL): Define.
14419 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14420 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14421 (HP_SMALL_TIMING_AVAIL): Define.
14422 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14423 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14425 * sysdeps/aarch64/hp-timing.h: New file.
14427 * sysdeps/generic/hp-timing.h: Remove dead comment.
14428 * sysdeps/generic/hp-timing-common.h: New file.
14429 * sysdeps/alpha/hp-timing.h: Include it.
14430 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14431 * sysdeps/i386/i686/hp-timing.h: Likewise.
14432 * sysdeps/ia64/hp-timing.h: Likewise.
14433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14434 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14435 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14436 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14437 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14438 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14439 (hp_timing_t): New.
14441 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14442 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14443 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14444 * elf/rtld.c (_dl_start_final): Likewise.
14445 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14446 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14447 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14448 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14449 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14451 (HP_TIMING_DIFF_INIT): Remove.
14452 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14453 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14454 (HP_TIMING_DIFF_INIT): Remove.
14455 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14456 * sysdeps/i386/i686/hp-timing.c: Remove file.
14457 * sysdeps/x86_64/hp-timing.c: Remove file.
14458 * sysdeps/ia64/hp-timing.c: Remove file.
14459 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14460 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14461 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14462 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14464 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14465 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14466 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14467 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14468 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14469 (HP_TIMING_ACCUM): Remove.
14470 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14471 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14472 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14474 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14475 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14476 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14477 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14478 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14479 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14480 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14481 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14483 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14485 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14487 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14489 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14491 Sync up with gettext.
14492 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14493 [_MSC_VER]: Include malloc.h
14494 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14495 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14496 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14497 TEMP_FAILURE_RETRY. Cast return of alloca.
14498 [!_LIBC] Call gl_rwlock_init.
14499 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14501 2014-07-02 Roland McGrath <roland@hack.frob.com>
14503 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14504 before checking its value.
14506 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14508 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14510 * debug/memcpy_chk.c: Don't include pagecopy.h.
14511 * debug/mempcpy_chk.c: Likewise.
14512 * string/memcpy.c: Likewise.
14513 * string/memmove.c: Likewise.
14514 * sysdeps/powerpc/memmove.c: Likewise.
14515 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14516 definition of PAGE_COPY_FWD_MAYBE here...
14517 * sysdeps/generic/pagecopy.h: ... from here.
14518 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14520 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14521 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14523 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14527 (__libc_ifunc_impl_list): Likewise.
14528 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14529 multiarch strcat for PPC64.
14530 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14531 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14533 2014-07-02 Roland McGrath <roland@hack.frob.com>
14535 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14537 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14539 * intl/loadmsgcat.c: Remove declaration of
14540 get_sysdep_segment_value.
14541 (get_sysdep_segment_value): Use ISO C style.
14542 (_nl_load_domain): Use ISO C style. Get rid of redundant
14543 semicolon. Fix typo and formatting in comment.
14544 (_nl_unload_domain): Use ISO C style.
14546 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14548 2014-07-02 Will Newton <will.newton@linaro.org>
14550 * malloc/obstack.c: Merge from gnulib master.
14551 [HAVE_CONFIG_H]: Remove conditional code.
14552 [!_LIBC]: Include config.h.
14553 [!ELIDE_CODE]: Don't include inttypes.h, include
14554 stdint.h unconditionally.
14555 (print_and_abort): Mark as _Noreturn.
14556 (_obstack_allocated_p): Mark as __attribute_pure__.
14557 (obstack_free): Rename to __obstack_free.
14558 [!__attribute__]: Remove conditional code.
14559 * malloc/obstack.h: Merge from gnulib master.
14560 [__cplusplus]: Move conditional down.
14561 [!__attribute_pure__]: Define __attribute_pure__ here
14562 if it is not already defined.
14563 (_obstack_memory_used): Mark as __attribute_pure__.
14564 [!__obstack_free]: Define as obstack_free.
14565 [__GNUC__]: Remove check for ancient NeXT gcc.
14567 2014-07-02 Will Newton <will.newton@linaro.org>
14568 Paul Eggert <eggert@cs.ucla.edu>
14570 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14572 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14574 * resolv/gethnamaddr.c: Add comment warning that the file is
14577 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14579 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14582 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14583 entry for aio_cancel and aio_cancel64.
14584 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14585 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14586 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14587 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14588 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14589 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14590 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14591 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14592 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14593 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14594 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14595 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14596 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14598 2014-07-01 Roland McGrath <roland@hack.frob.com>
14600 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14601 * nptl/pthread_mutex_lock.c: Likewise.
14602 * nptl/pthread_mutex_timedlock.c: Likewise.
14603 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14605 2014-07-01 Richard henderson <rth@redhat.com>
14607 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14608 (__isnan, __isnanl): Remove.
14609 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14611 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14613 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14615 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14617 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14619 * resolv/nss_dns/dns-host.c (getanswer_r)
14620 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14622 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14625 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14627 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14628 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14630 2014-07-01 Roland McGrath <roland@hack.frob.com>
14632 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14633 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14635 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14636 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14638 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14639 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14641 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14642 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14644 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14645 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14646 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14647 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14649 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14650 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14651 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14652 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14653 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14655 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14657 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14658 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14659 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14660 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14661 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14662 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14664 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14665 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14666 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14667 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14668 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14669 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14670 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14671 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14672 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14673 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14674 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14675 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14676 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14678 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14679 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14680 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14681 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14682 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14683 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14684 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14685 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14687 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14689 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14690 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14691 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14694 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14698 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14700 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14701 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14703 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14705 * sysdeps/arm/libm-test-ulps: Regenerated.
14707 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14708 Roland McGrath <roland@hack.frob.com>
14710 * test-skeleton.c (signal_handler): Kill the whole process group
14711 before killing the child individually.
14712 (main): Report any failure on `setpgid'.
14714 2014-06-30 Roland McGrath <roland@hack.frob.com>
14716 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14717 from _TLS_H to _ARM_NPTL_TLS_H.
14718 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14719 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14721 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14724 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14725 (__expm1l): Return argument unchanged when small but not
14728 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14729 include macro name.
14730 (_FP_UNPACK_RAW_1_P): Likewise.
14731 (_FP_PACK_RAW_1): Likewise.
14732 (_FP_PACK_RAW_1_P): Likewise.
14733 (_FP_MUL_MEAT_1_wide): Likewise.
14734 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14735 (_FP_MUL_MEAT_1_hard): Likewise.
14736 (_FP_DIV_MEAT_1_imm): Likewise.
14737 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14738 (_FP_DIV_MEAT_1_udiv): Likewise.
14739 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14740 (_FP_UNPACK_RAW_2): Likewise.
14741 (_FP_UNPACK_RAW_2_P): Likewise.
14742 (_FP_PACK_RAW_2): Likewise.
14743 (_FP_PACK_RAW_2_P): Likewise.
14744 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14745 (_FP_MUL_MEAT_2_wide): Likewise.
14746 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14747 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14748 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14749 (_FP_MUL_MEAT_2_gmp): Likewise.
14750 (_FP_DIV_MEAT_2_udiv): Likewise.
14751 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14752 (_FP_FRAC_SRL_4): Likewise.
14753 (_FP_FRAC_SRST_4): Likewise.
14754 (_FP_FRAC_SRS_4): Likewise.
14755 (_FP_UNPACK_RAW_4): Likewise.
14756 (_FP_UNPACK_RAW_4_P): Likewise.
14757 (_FP_PACK_RAW_4): Likewise.
14758 (_FP_PACK_RAW_4_P): Likewise.
14759 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14760 (_FP_MUL_MEAT_4_wide): Likewise.
14761 (_FP_MUL_MEAT_4_gmp): Likewise.
14762 (umul_ppppmnnn): Likewise.
14763 (_FP_DIV_MEAT_4_udiv): Likewise.
14764 (__FP_FRAC_ADD_4): Likewise.
14765 (__FP_FRAC_SUB_3): Likewise.
14766 (__FP_FRAC_SUB_4): Likewise.
14767 (__FP_FRAC_DEC_3): Likewise.
14768 (__FP_FRAC_DEC_4): Likewise.
14769 (__FP_FRAC_ADDI_4): Likewise.
14770 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14771 (_FP_FRAC_SRL_8): Likewise.
14772 (_FP_FRAC_SRS_8): Likewise.
14774 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14775 include macro name.
14776 (FP_UNPACK_RAW_EP): Likewise.
14777 (FP_PACK_RAW_E): Likewise.
14778 (FP_PACK_RAW_EP): Likewise.
14779 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14780 (_FP_ISSIGNAN): Likewise.
14781 (_FP_ADD_INTERNAL): Likewise.
14782 (_FP_FMA): Likewise.
14783 (_FP_CMP): Likewise.
14784 (_FP_SQRT): Likewise.
14785 (_FP_TO_INT): Likewise.
14786 (_FP_FROM_INT): Likewise.
14787 (FP_EXTEND): Likewise.
14788 (_FP_DIV_MEAT_N_loop): Likewise.
14790 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14792 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14795 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14798 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14799 result with correct sign in case of exponents that produce
14800 overflow except for X very close to 1.
14802 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14804 mktime: merge #if/#ifdef usage from glibc
14805 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14806 as that works with both Glibc's and Gnulib's style.
14807 See thread starting at Siddhesh Poyarekar's bug report at:
14808 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14810 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14812 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14813 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14814 * sysdeps/tile/tilegx/memmove.c: Remove file.
14816 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14818 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14819 abi-name definition.
14820 * scripts/soversions.awk: Do not handle or generate ABI lines.
14821 * shlib-versions: Remove ABI entries.
14822 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14823 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14825 2014-06-27 Roland McGrath <roland@hack.frob.com>
14827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14828 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14829 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14830 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14832 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14835 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14838 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14840 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14842 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14844 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14846 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14848 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14853 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14855 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14858 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14859 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14861 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14863 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14866 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14868 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14870 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14872 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14875 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14876 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14877 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14878 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14880 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14881 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14883 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14885 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14886 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14888 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14891 Identical file removed.
14892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14894 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14896 Identical file removed.
14897 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14898 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14901 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14903 Identical file removed.
14904 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14905 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14907 Identical file removed.
14908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14909 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14910 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14911 Identical file removed.
14912 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14913 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14915 Identical file removed.
14916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14918 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14920 Identical file removed.
14921 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14924 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14925 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14926 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14927 Identical file removed.
14928 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14930 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14932 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14933 Identical file removed.
14934 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14936 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14937 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14938 Identical file removed.
14939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14941 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14942 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14943 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14944 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14945 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14946 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14949 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14950 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14952 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14953 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14954 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14955 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14956 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14958 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14961 * nscd/nscd.c (monitor_child): Return exit status of child
14962 instead of return value from wait syscall.
14964 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14966 * configure.ac (libc_commonpagesize): Remove variable.
14967 (libc_relro_required): Likewise.
14968 (libc_cv_z_relro): Remove configure test.
14969 * configure: Regenerated.
14970 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14972 (libc_relro_required): Likewise.
14973 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14974 (libc_relro_required): Likewise.
14975 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14976 (libc_relro_required): Likewise.
14977 * sysdeps/arm/preconfigure: Regenerated.
14978 * sysdeps/ia64/preconfigure: Remove file.
14979 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14981 (libc_relro_required): Likewise.
14985 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14986 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14987 recompute overflowing results in original rounding mode.
14988 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14989 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14990 recompute overflowing results in original rounding mode.
14991 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14992 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14993 recompute overflowing results in original rounding mode.
14994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14995 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14996 recompute overflowing results in original rounding mode.
14997 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14998 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14999 recompute overflowing results in original rounding mode.
15000 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15001 (libc_feholdsetround_ctx): New macro.
15002 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15003 * sysdeps/i386/fpu/libm-test-ulps: Update.
15004 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15006 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15008 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15009 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15010 corresponding .cpsetup call.
15012 2014-06-26 Roland McGrath <roland@hack.frob.com>
15014 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15015 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15016 * sysdeps/arm/Makefile [$(subdir) = csu]
15017 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15018 (static-only-routines): Add aeabi_read_tp here.
15019 (shared-only-routines): Add libc-aeabi_read_tp here.
15020 (CFLAGS-libc-start.c): Add -fexceptions here.
15021 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15022 (sysdep_routines, static-only-routines, shared-only-routines):
15023 Don't add to these here.
15024 (CFLAGS-libc-start.c): Likewise.
15026 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15027 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15028 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15029 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15030 * sysdeps/arm/Makefile [$(subdir) = rt]
15031 (librt-sysdep_routines, librt-shared-only-routines):
15032 Append rt-aeabi_unwind_cpp_pr1 here.
15033 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15034 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15035 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15036 (libpthread-sysdep_routines, libpthread-shared-only-routines):
15037 Append nptl-aeabi_unwind_cpp_pr1 here.
15038 (tests): Filter out tst-cleanupx4 here.
15039 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15040 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15041 Don't do those here.
15043 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15045 * scripts/list-sources.sh: Do not handle ports specially.
15047 2014-06-26 Roland McGrath <roland@hack.frob.com>
15049 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15050 * sysdeps/arm/feupdateenv.c: Likewise.
15052 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15054 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15056 * manual/texinfo.tex: Update to version 2014-05-05.10 with
15057 trailing whitespace removed.
15058 * scripts/config.guess: Update to version 2014-03-23.
15059 * scripts/config.sub: Update to version 2014-05-01
15060 * scripts/install-sh: Update to version 2013-12-25.23.
15061 * scripts/move-if-change: Update from gnulib.
15063 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15065 * debug/memmove_chk.c: Remove pagecopy.h include.
15067 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
15069 * time/mktime.c (leapyear): Remove inline keyword. The code is now
15070 identical to gnulib mktime.
15072 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15074 * configure.ac: Do not test for machine being rs6000. Do not test
15075 for powerpc*-*soft.
15076 * configure: Regenerated.
15079 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15081 * configure: Regenerated.
15082 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15083 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15084 Remove configure test.
15085 * sysdeps/arm/configure: Regenerated.
15086 * sysdeps/nptl/configure.ac: Do not check
15087 libc_cv_asm_cfi_directives.
15088 * sysdeps/nptl/configure: Regenerated.
15089 * sysdeps/x86_64/nptl/configure.ac: Remove file.
15090 * sysdeps/x86_64/nptl/configure: Remove generated file.
15091 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15093 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15095 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15097 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15098 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15099 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15102 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15103 instead of whether it is defined.
15104 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15105 * sysdeps/hppa/dl-machine.h: Likewise.
15106 * sysdeps/ia64/dl-machine.h: Likewise.
15107 * sysdeps/m68k/dl-machine.h: Likewise.
15108 * sysdeps/microblaze/dl-machine.h: Likewise.
15109 * sysdeps/mips/dl-machine.: Likewise.
15110 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15111 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15112 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15113 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15114 * sysdeps/sh/dl-machine.h: Likewise.
15115 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15116 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15117 * sysdeps/tile/dl-machine.h: Likewise.
15118 * sysdeps/x86_64/dl-machine.h: Likewise.
15120 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15122 (verify_persistent_db): Likewise.
15124 2014-06-26 Roland McGrath <roland@hack.frob.com>
15126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15127 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15129 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15132 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15135 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15137 Identical file removed.
15138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15139 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15141 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15143 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15145 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15147 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15150 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15152 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15154 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15157 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15159 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15161 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15163 Identical file removed.
15164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15165 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15167 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15170 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15175 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15177 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15179 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15181 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15184 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15187 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15189 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15192 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15194 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15196 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15198 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15199 * sysdeps/unix/sysv/linux/s390/Versions
15200 (libpthread: GLIBC_2.19): New version set.
15201 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15202 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15203 (librt: GLIBC_2.3.3): New version set.
15204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15205 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15206 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15207 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15208 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15209 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15210 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15211 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15212 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15213 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15214 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15215 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15216 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15217 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15218 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15219 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15220 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15221 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15222 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15223 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15224 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15226 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15228 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15230 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15232 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15233 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15234 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15235 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15240 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15241 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15242 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15244 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15246 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15248 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15250 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15251 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15252 (__libc_vfork): Define the function under this name.
15253 [!NOT_IN_libc] (__vfork): Make this an alias.
15254 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15256 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15257 (__libc_vfork): Define the function under this name.
15258 [!NOT_IN_libc] (__vfork): Make this an alias.
15259 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15260 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15261 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15263 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15264 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15266 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15267 code that was previously under [RESET_PID].
15268 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15269 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15272 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15273 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15274 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15275 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15276 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15277 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15278 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15279 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15280 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15281 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15282 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15284 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15285 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15286 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15287 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15288 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15289 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15290 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15291 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15292 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15293 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15294 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15295 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15296 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15297 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15298 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15299 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15300 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15301 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15302 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15303 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15304 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15305 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15306 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15307 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15308 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15309 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15310 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15312 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15314 2014-06-25 Roland McGrath <roland@hack.frob.com>
15316 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15317 that was previously under [RESET_PID].
15318 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15320 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15322 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15323 not undefine and redefine.
15324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15325 [O_CLOEXEC]: Make code unconditional.
15326 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15327 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15328 <kernel-features.h>.
15329 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15330 conditional variable definition.
15331 (shm_open) [O_CLOEXEC]: Make code unconditional.
15332 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15335 * configure.ac (USE_REGPARMS): Don't define here.
15336 * configure: Regenerated.
15337 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15338 * sysdeps/i386/configure: Regenerated.
15340 * nptl/createthread.c: Don't include kernel-features.h.
15341 * nptl/pthread_cancel.c: Likewise.
15342 * nptl/pthread_condattr_setclock.c: Likewise.
15343 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15344 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15345 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15346 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15347 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15348 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15352 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15353 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15354 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15355 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15356 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15357 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15358 * nscd/gai.c: Likewise.
15359 * nss/nss_db/db-open.c: Likewise.
15360 * sysdeps/generic/ldsodefs.h: Likewise.
15361 * sysdeps/sh/nptl/tls.h: Likewise.
15362 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15363 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15364 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15365 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15366 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15367 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15368 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15369 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15371 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15372 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15373 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15374 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15375 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15376 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15377 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15378 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15379 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15380 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15381 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15382 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15383 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15384 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15385 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15386 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15390 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15391 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15392 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15393 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15394 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15395 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15396 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15397 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15398 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15399 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15400 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15401 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15402 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15403 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15404 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15405 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15406 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15407 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15408 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15409 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15410 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15411 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15412 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15413 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15414 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15415 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15416 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15417 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15418 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15442 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15443 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15444 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15445 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15446 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15447 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15449 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15450 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15451 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15452 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15453 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15454 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15455 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15456 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15457 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15458 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15459 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15460 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15461 * sysdeps/unix/sysv/linux/system.c: Likewise.
15462 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15463 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15464 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15465 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15466 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15467 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15468 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15470 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15471 * configure: Regenerated.
15472 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15474 * configure.ac (base_machine): Do not set specially for particular
15476 * configure: Regenerated.
15477 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15478 settings from configure.ac.
15479 * sysdeps/i386/preconfigure: New file.
15480 * sysdeps/s390/preconfigure: Likewise.
15481 * sysdeps/sh/preconfigure: Likewise.
15482 * sysdeps/sparc/preconfigure: Likewise.
15484 2014-06-25 Roland McGrath <roland@hack.frob.com>
15486 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15487 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15488 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15489 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15490 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15491 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15492 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15493 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15494 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15495 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15496 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15497 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15498 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15500 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15502 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15503 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15504 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15506 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15507 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15508 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15509 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15510 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15511 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15512 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15513 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15514 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15515 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15516 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15517 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15518 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15519 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15520 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15521 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15522 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15523 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15524 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15525 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15526 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15527 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15529 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15530 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15531 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15533 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15534 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15535 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15537 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15538 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15539 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15541 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15542 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15543 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15546 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15548 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15554 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15559 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15561 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15563 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15565 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15568 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15571 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15576 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15578 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15582 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15584 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15587 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15590 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15592 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15595 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15601 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15604 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15614 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15616 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15618 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15620 * timezone/checktab.awk: Update from tzcode 2014e.
15621 * timezone/private.h: Likewise.
15622 * timezone/tzfile.h: Likewise.
15623 * timezone/zdump.c: Likewise.
15624 * timezone/zic.c: Likewise.
15626 * sysdeps/unix/sysv/linux/kernel-features.h
15627 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15629 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15630 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15631 Remove conditional code.
15633 2014-06-25 Will Newton <will.newton@linaro.org>
15635 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15636 (_dl_arm_cap_flags): Add HWCAP2 values.
15637 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15638 (_DL_HWCAP_COUNT): Increase to 37.
15639 (_DL_HWCAP_LAST): New define.
15640 (_DL_HWCAP2_LAST): New define.
15641 (_dl_procinfo): Add support for printing
15643 (_dl_string_hwcap): Use _dl_hwcap_string.
15645 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15649 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15651 * README: Do not mention ports directory.
15653 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15655 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15656 <kernel-features.h>.
15657 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15658 conditional variable definition.
15659 (__futimes): Update comment.
15660 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15661 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15664 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15665 arguments close to 0.
15666 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15668 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15670 * math/auto-libm-test-in: Add more tests of exp10.
15671 * math/auto-libm-test-out: Regenerated.
15672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15674 * sysdeps/unix/sysv/linux/kernel-features.h
15675 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15676 * sysdeps/unix/sysv/linux/readv.c: Do not include
15677 <kernel-features.h>.
15678 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15679 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15680 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15682 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15684 * sysdeps/unix/sysv/linux/writev.c: Do not include
15685 <kernel-features.h>.
15686 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15687 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15688 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15690 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15693 2014-06-25 Will Newton <will.newton@linaro.org>
15695 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15696 comment changes throughout the file. Remove checks
15697 for HAVE_*_H definitions that are not required.
15698 (__gen_tempname): Call abort if an unknown kind value is
15701 2014-06-25 Andreas Schwab <schwab@suse.de>
15704 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15705 scalbln, scalblnf, scalblnl in libc.
15707 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15710 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15711 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15712 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15714 2014-06-24 Roland McGrath <roland@hack.frob.com>
15716 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15717 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15718 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15719 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15721 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15722 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15724 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15725 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15726 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15727 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15728 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15729 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15730 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15731 * sysdeps/x86/bits/semaphore.h: ... here.
15732 * sysdeps/x86/nptl/elide.h: Moved ...
15733 * sysdeps/x86/elide.h: ... here.
15734 * sysdeps/x86_64/nptl/Implies: File removed.
15735 * sysdeps/i386/nptl/Implies: File removed.
15737 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15740 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15741 return the argument for normal arguments with exponent below -64.
15742 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15744 * math/auto-libm-test-in: Add another test of expm1.
15745 * math/auto-libm-test-out: Regenerated.
15748 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15749 calling __erfcl for arguments at least 16.
15750 * math/auto-libm-test-in: Add more tests of erf.
15751 * math/auto-libm-test-out: Regenerated.
15753 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15754 individual architectures.
15755 * sysdeps/unix/sysv/linux/configure: Regenerated.
15756 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15757 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15758 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15759 (ldd_rewrite_script): Define variable.
15760 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15765 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15766 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15767 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15768 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15769 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15770 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15771 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15772 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15774 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15777 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15778 Rename member __data.d to __data.__elision_data.
15780 2014-06-24 Wilco <wdijkstr@arm.com>
15782 * NEWS: Add 16918 to fixed bug list.
15784 2014-06-24 Wilco <wdijkstr@arm.com>
15786 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15788 2014-06-24 Wilco <wdijkstr@arm.com>
15790 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15791 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15792 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15793 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15794 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15795 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15796 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15799 2014-06-24 Wilco <wdijkstr@arm.com>
15801 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15803 2014-06-24 Wilco <wdijkstr@arm.com>
15805 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15806 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15807 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15808 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15810 2014-06-24 Wilco <wdijkstr@arm.com>
15813 * sysdeps/arm/feupdateenv.c (feupdateenv):
15814 Rewrite to reduce FPSCR accesses and fix return value.
15816 2014-06-24 Wilco <wdijkstr@arm.com>
15818 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15819 Optimize to avoid unnecessary FPSCR writes.
15820 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15821 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15822 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15823 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15825 2014-06-24 Wilco <wdijkstr@arm.com>
15827 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15828 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15829 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15830 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15831 Call libc_fetestexcept_vfp.
15832 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15833 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15834 __SOFTFP__ ifdef so that they can be built for softfp.
15836 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15839 argument type signed char.
15841 * Makerules (check-abi): Dump diff of symlist if the test
15844 2014-06-23 Roland McGrath <roland@hack.frob.com>
15846 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15849 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15850 Remove unused variable ST.
15852 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15856 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15857 small arguments before calling __expm1.
15858 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15859 small arguments before calling __expm1f.
15860 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15861 small arguments before calling __expm1l.
15862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15864 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15865 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15866 spurious underflow for some cosh tests.
15867 * math/auto-libm-test-out: Regenerated.
15868 * sysdeps/i386/fpu/libm-test-ulps: Update.
15871 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15872 (__ieee754_y1): Set errno if return value overflows.
15873 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15874 (__ieee754_y1f): Set errno if return value overflows.
15875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15876 (__ieee754_y1l): Set errno if return value overflows.
15877 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15878 (__ieee754_y1l): Set errno if return value overflows.
15879 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15880 * math/auto-libm-test-out: Regenerated.
15882 * math/gen-auto-libm-tests.c: Document use of
15883 ignore-zero-inf-sign.
15884 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15885 (input_flags): Add ignore-zero-inf-sign.
15886 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15887 * math/gen-libm-test.pl (generate_testfile): Handle
15888 ignore-zero-inf-sign.
15889 * math/auto-libm-test-in: Mark some cpow tests with
15890 ignore-zero-inf-sign and some with xfail-rounding.
15891 * math/auto-libm-test-out: Regenerated.
15892 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15893 * sysdeps/i386/fpu/libm-test-ulps: Update.
15894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15898 overflowing or underflowing operations take place with sign of
15900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15901 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15902 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15903 (__ieee754_pow): Recompute overflowing and underflowing results in
15904 original rounding mode.
15905 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15906 (__powl_helper): Allow negative argument X and scale negated value
15907 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15908 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15909 overflowing or underflowing operations take place with sign of
15911 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15913 * math/auto-libm-test-in: Add more tests of pow.
15914 * math/auto-libm-test-out: Regenerated.
15915 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15916 (pow_tonearest_test_data): Remove.
15917 (pow_test_tonearest): Likewise.
15918 (pow_towardzero_test_data): Likewise.
15919 (pow_test_towardzero): Likewise.
15920 (pow_downward_test_data): Likewise.
15921 (pow_test_downward): Likewise.
15922 (pow_upward_test_data): Likewise.
15923 (pow_test_upward): Likewise.
15924 (main): Don't call removed functions.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15928 2014-06-23 Roland McGrath <roland@hack.frob.com>
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16104 2014-06-23 Will Newton <will.newton@linaro.org>
16105 Wilco <wdijkstr@arm.com>
16107 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16108 implementation. Include get-rounding-mode.h.
16109 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16110 [!libc_feholdsetround_noex_ctx]: Define
16111 libc_feholdsetround_noex_ctx.
16112 [!libc_feholdsetround_noexf_ctx]: Define
16113 libc_feholdsetround_noexf_ctx.
16114 [!libc_feholdsetround_noexl_ctx]: Define
16115 libc_feholdsetround_noexl_ctx.
16116 (libc_feholdsetround_ctx): New function.
16117 (libc_feresetround_ctx): New function.
16118 (libc_feholdsetround_noex_ctx): New function.
16119 (libc_feresetround_noex_ctx): New function.
16121 2014-06-23 Roland McGrath <roland@hack.frob.com>
16123 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16124 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16125 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16126 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16127 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16128 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16130 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16131 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16132 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16133 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16134 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16135 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16136 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16137 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16138 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16139 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16142 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16144 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16145 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16147 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16150 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16151 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16152 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16154 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16155 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16156 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16157 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16159 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16160 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16162 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16164 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16165 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16167 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16168 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16169 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16170 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16171 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16172 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16173 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16175 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16176 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16178 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16180 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16181 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16183 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16184 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16185 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16186 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16187 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16188 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16191 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16192 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16194 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16196 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16197 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16198 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16199 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16201 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16202 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16203 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16204 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16205 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16207 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16208 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16209 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16210 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16211 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16212 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16214 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16216 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16217 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16218 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16219 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16220 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16221 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16222 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16223 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16224 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16225 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16226 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16227 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16228 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16229 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16230 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16231 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16232 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16233 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16234 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16236 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16238 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16239 (FALLOC_FL_COLLAPSE_RANGE): New macro.
16240 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16241 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16242 (IPV6_PMTUDISC_INTERFACE): Likewise.
16243 (IPV6_PMTUDISC_OMIT): Likewise.
16245 2014-06-23 Andreas Schwab <schwab@suse.de>
16247 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16248 Remove unused errout label.
16250 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16252 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16253 macro: hardware supports Vector Crypto instructions.
16255 2014-06-23 Will Newton <will.newton@linaro.org>
16257 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16258 rather than __builtin_expect.
16260 * elf/dl-lookup.c (undefined_msg): Remove variable.
16261 (_dl_lookup_symbol_x): Replace undefined_msg with string
16264 * elf/dl-lookup.c (do_lookup_unique): New function.
16265 (do_lookup_x): Move STB_GNU_UNIQUE handling code
16266 to a separate function.
16268 2014-06-23 Andreas Schwab <schwab@suse.de>
16271 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16272 before reading the next line.
16274 2014-06-23 Will Newton <will.newton@linaro.org>
16276 * test-skeleton.c (signal_handler): Use printf and %m
16277 rather than perror. Use printf rather than fprintf to
16278 stderr. Use puts rather than fputs to stderr.
16281 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16283 * nscd/nscd.c (thread_info_t): Remove typedef.
16284 (thread_info): Remove variable.
16286 2014-06-21 Allan McRae <allan@archlinux.org>
16288 * NEWS: Mention CVE-2014-4043.
16290 2014-06-20 Roland McGrath <roland@hack.frob.com>
16292 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16293 * nptl/smp.h: ... here.
16295 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16297 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16298 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16299 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16300 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16302 * nptl/allocatestack.c: Include <stack-aliasing.h>.
16303 * nptl/stack-aliasing.h: New file.
16304 * sysdeps/i386/i686/stack-aliasing.h: New file.
16305 * sysdeps/i386/i686/nptl/Makefile: File removed.
16306 * sysdeps/x86_64/stack-aliasing.h: New file.
16307 * sysdeps/x86_64/nptl/Makefile
16308 (CFLAGS-pthread_create.c): Variable removed.
16310 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16311 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16313 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16314 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16317 2014-06-21 Joseph Myers <joseph@codesourcery.com>
16319 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16320 (__ASSUME_SIGFRAME_V2): Remove macro.
16321 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16322 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16323 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16324 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16325 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16326 Declare as function. Remove conditional macro definitions.
16327 (__default_rt_sa_restorer): Likewise.
16328 (__default_sa_restorer_v1): Remove declaration.
16329 (__default_sa_restorer_v2): Likewise.
16330 (__default_rt_sa_restorer_v1): Likewise.
16331 (__default_rt_sa_restorer_v2): Likewise.
16332 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16333 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16334 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16336 2014-06-20 Roland McGrath <roland@hack.frob.com>
16338 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16339 (libpthread-routines): Add sysdep.
16340 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16341 * sysdeps/unix/sysv/linux/sparc/Versions
16342 (libpthread: GLIBC_2.3.3): New version set.
16343 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16344 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16345 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16346 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16347 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
16348 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16350 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16351 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16352 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16353 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16354 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16355 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16356 * sysdeps/sparc/nptl/sem_init.c: ... here.
16357 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16358 * sysdeps/sparc/nptl/sem_post.c: ... here.
16359 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16360 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16361 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16362 * sysdeps/sparc/nptl/sem_wait.c: ... here.
16363 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16364 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16365 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16366 (libpthread-routines): Add cpu_relax.
16367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16369 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16370 (librt: GLIBC_2.3.3): New version set.
16371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16372 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16374 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16377 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16380 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16382 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16384 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16386 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16388 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16391 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16395 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16399 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16403 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16407 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16411 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16414 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16420 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16422 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16423 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16425 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16427 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16429 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16431 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16433 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16434 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16435 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16436 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16437 * nscd/nscd.c: Likewise.
16438 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16439 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16440 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16441 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16443 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16444 <kernel-features.h>.
16445 (init_mq_netlink): Remove conditional have_sock_cloexec
16446 definitions. Remove code conditional on have_sock_cloexec < 0.
16447 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16448 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16449 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16450 <kernel-features.h>.
16451 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16452 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16454 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16457 Add tests for memset_chk and memset.
16459 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16462 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16465 * elf/tst-dl-iter-static.c: New file.
16466 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16468 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16471 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16473 * sysdeps/unix/sysv/linux/kernel-features.h
16474 (__ASSUME_F_GETOWN_EX): Remove macro.
16475 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16476 <kernel-features.h>.
16477 (miss_F_GETOWN_EX): Remove variable or macro.
16478 (do_fcntl): Do not check miss_F_GETOWN_EX.
16479 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16481 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16484 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16485 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16487 * sysdeps/unix/sysv/linux/kernel-features.h
16488 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16489 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16490 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16491 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16493 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16496 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16497 Fix calculation of the symbol's value.
16498 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16499 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16500 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16501 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16502 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16503 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16504 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16505 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16506 (modules-names): Add `tst-armtlsdescmod',
16507 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16508 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16509 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16510 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16511 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16512 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16513 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16514 ($(objpfx)tst-armtlsdescloc): New dependency.
16515 ($(objpfx)tst-armtlsdescextnow): Likewise.
16516 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16517 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16518 TLS scheme support.
16519 * sysdeps/arm/configure: Regenerate.
16521 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16523 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16524 (__atfct_seterrno_2): Likewise.
16525 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16526 <kernel-features.h>.
16527 (__ASSUME_ATFCTS): Do not undefine and redefine.
16528 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16529 (__have_atfcts): Remove conditional definition.
16530 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16531 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16532 unreachable if [__ASSUME_ATFCTS].
16533 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16534 not undefine and redefine.
16535 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16536 <kernel-features.h>.
16537 (faccessat) [__NR_faccessat]: Make code unconditional.
16538 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16539 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16540 <kernel-features.h>.
16541 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16542 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16543 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16544 <kernel-features.h>.
16545 (fchownat) [__NR_fchownat]: Make code unconditional.
16546 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16547 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16548 <kernel-features.h>.
16549 (futimesat) [__NR_futimesat]: Make code unconditional.
16550 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16551 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16552 <kernel-features.h>.
16553 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16554 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16555 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16556 <kernel-features.h>.
16557 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16558 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16559 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16560 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16561 <kernel-features.h>.
16562 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16563 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16564 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16565 <kernel-features.h>.
16566 (linkat) [__NR_linkat]: Make code unconditional.
16567 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16568 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16569 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16570 <kernel-features.h>.
16571 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16572 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16573 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16574 <kernel-features.h>.
16575 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16576 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16577 * sysdeps/unix/sysv/linux/openat.c: Do not include
16578 <kernel-features.h>.
16579 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16580 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16581 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16582 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16584 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16585 <kernel-features.h>.
16586 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16587 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16588 result of INLINE_SYSCALL directly, not via int variable.
16589 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16590 <kernel-features.h>.
16591 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16592 (renameat) [__NR_renameat]: Make code unconditional.
16593 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16594 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16595 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16596 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16597 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16598 (__ASSUME_ATFCTS): Do not undefine and redefine.
16599 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16600 <kernel-features.h>.
16601 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16602 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16603 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16604 <kernel-features.h>.
16605 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16606 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16608 (__ASSUME_ATFCTS): Do not undefine and redefine.
16609 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16610 <kernel-features.h>.
16611 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16612 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16613 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16614 <kernel-features.h>.
16615 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16616 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16618 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16620 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16622 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16625 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16626 constructed tree before returning error.
16627 * posix/bug-regexp36.c: Expand test case.
16629 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16632 * math/libm-test.inc (scalbln_test_date):
16633 Add errno expectations.
16634 * math/w_scalblnf.c: New File.
16635 Add wrapper which checks for setting errno to ERANGE.
16636 Add weak_alias for corresponding scalbln function.
16637 * math/w_scalbln.c: Likewise.
16638 * math/w_scalblnl.c: Likewise.
16639 * math/Makefile (libm-calls): Add w_scalbln.
16640 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16641 Remove weak_alias for corresponding scalbln function.
16642 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16646 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16647 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16648 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16649 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16650 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16651 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16652 Remove long_double_symbol for scalblnl function in libm, libc.
16653 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16654 Add wrapper which checks for setting errno to ERANGE.
16655 Add long_double_symbol for scalblnl function in libm, libc.
16656 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16657 Remove long_double_symbol for scalblnl in libm.
16658 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16659 Add wrapper which checks for setting errno to ERANGE.
16660 Add long_double_symbol for scalblnl function in libm.
16661 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16662 Do not use wrapper because of own implementation.
16664 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16666 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16667 3 bytes for __pad1 for x32.
16668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16670 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16671 H.J. Lu <hongjiu.lu@intel.com>
16673 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16674 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16675 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16676 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16677 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16679 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16682 * posix/regcomp.c (parse_expression): Deallocate partially
16683 constructed tree before returning error.
16684 * posix/Makefile.c (tests): Add bug-regex36.
16685 (generated): Add bug-regex36.mtrace.
16686 (tests-special): Add $(objpfx)bug-regex36-mem.out
16687 (bug-regex36-ENV): New variable.
16688 ($(objpfx)bug-regex36-mem.out): New rule.
16689 * posix/bug-regex36.c: New file.
16691 2014-06-19 Will Newton <will.newton@linaro.org>
16693 * malloc/malloc.c (systrim): If extra is zero then return
16696 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16698 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16700 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16702 * sysdeps/aarch64/strchr.S: New file.
16704 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16707 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16708 from arguments -2 or below.
16709 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16710 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16712 2014-06-18 Andreas Schwab <schwab@suse.de>
16715 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16716 of a bracket expr not to run off the end of the string.
16717 * posix/Makefile (tests): Add tst-fnmatch3.
16718 * posix/tst-fnmatch3.c: New file.
16720 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16722 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16723 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16724 [$(cross-compiling) = no]: Likewise.
16725 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16726 [$(cross-compiling) = no]: Likewise.
16728 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16731 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16732 double, adjusted for any remainder from the high double.
16733 * math/libm-test.inc (nearbyint): Add tests.
16736 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16738 * nptl/sysdeps/powerpc/Makefile: Moved ...
16739 * sysdeps/powerpc/nptl/Makefile: ... here.
16740 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16741 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16742 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16743 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16744 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16745 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16746 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16747 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16748 * nptl/sysdeps/powerpc/tls.h: Moved ...
16749 * sysdeps/powerpc/nptl/tls.h: ... here.
16751 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16754 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16755 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16756 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16757 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16758 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16759 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16760 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16761 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16762 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16764 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16766 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16768 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16770 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16773 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16776 2014-06-16 Florian Weimer <fweimer@redhat.com>
16779 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16780 non-executed part of the test.
16782 2014-06-16 Andreas Schwab <schwab@suse.de>
16784 * string/bits/string2.h (strdup, strndup): Update feature guard.
16786 2014-06-14 David S. Miller <davem@davemloft.net>
16788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16790 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16792 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16793 that was previously under [RESET_PID].
16794 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16796 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16797 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16798 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16799 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16800 (__libc_vfork): New strong alias.
16801 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16803 2014-06-14 Andi Kleen <ak@linux.intel.com>
16805 * sysdeps/generic/elide.h: New file.
16807 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16809 * Makefile (installed-headers): Adjust path of pthread.h header.
16811 2014-06-13 Roland McGrath <roland@hack.frob.com>
16813 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16814 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16815 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16816 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16818 * nptl/sysdeps/s390/Makefile: Moved ...
16819 * sysdeps/s390/nptl/Makefile: ... here.
16820 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16821 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16822 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16823 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16824 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16825 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16826 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16827 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16828 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16829 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16830 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16831 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16832 * nptl/sysdeps/s390/tls.h: Moved ...
16833 * sysdeps/s390/nptl/tls.h: ... here.
16835 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16836 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16838 2014-06-13 David S. Miller <davem@davemloft.net>
16840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16843 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16847 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16848 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16849 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16851 Remove RESET_PID cpp guards.
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16853 Remove RESET_PID cpp guards.
16854 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16856 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16858 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16861 2014-06-13 Andi Kleen <ak@linux.intel.com>
16863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16867 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16868 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16871 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16872 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16876 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16877 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16880 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16882 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16884 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16885 (pthread_rwlock_rdlock): Add elision.
16886 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16887 (pthread_rwlock_wrlock): Add elision.
16888 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16889 (pthread_rwlock_trywrlock): Add elision.
16890 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16891 (pthread_rwlock_tryrdlock): Add elision.
16892 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16893 (pthread_rwlock_tryrdlock): Add elision unlock.
16894 * nptl/sysdeps/pthread/pthread.h:
16895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16896 (PTHREAD_RWLOCK_INITIALIZER,
16897 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16898 Handle new elision field.
16899 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16900 * sysdeps/arm/nptl/bits/pthreadtypes.h
16901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16902 * sysdeps/sh/nptl/bits/pthreadtypes.h
16903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16904 * sysdeps/tile/nptl/bits/pthreadtypes.h
16905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16906 * sysdeps/a/nptl/bits/pthreadtypes.h
16907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16908 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16909 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16910 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16911 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16912 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16913 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16914 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16916 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16917 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16918 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16919 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16920 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16922 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16924 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16925 (elision_init): Set try_xbegin to zero when no RTM.
16926 * sysdeps/x86/nptl/bits/pthreadtypes.h
16927 (pthread_rwlock_t): Change __pad1 to __rwelision.
16928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16930 2014-06-13 Andi Kleen <ak@linux.intel.com>
16932 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16933 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16934 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16935 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16937 2014-06-13 Meador Inge <meadori@codesourcery.com>
16940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16941 that the cached result has been set before returning it.
16943 2014-06-12 Roland McGrath <roland@hack.frob.com>
16945 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16946 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16947 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16948 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16949 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16950 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16952 * nptl/sysdeps/sparc/Makefile: Moved ...
16953 * sysdeps/sparc/nptl/Makefile: ... here.
16954 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16955 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16956 * nptl/sysdeps/sparc/tls.h: Moved ...
16957 * sysdeps/sparc/nptl/tls.h: ... here.
16958 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16959 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16960 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16961 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16962 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16963 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16964 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16965 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16966 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16967 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16968 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16969 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16970 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16971 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16972 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16973 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16974 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16975 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16977 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16978 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16980 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16981 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16983 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16984 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16987 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16989 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16990 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16992 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16993 (struct list_links): Type removed.
16994 (struct thread_node, struct timer_node): Replace struct list_links
16995 with struct list_head.
16996 (list_unlink_ip): Likewise.
16997 * sysdeps/pthread/timer_routines.c
16998 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16999 (list_append, list_insbefore): Likewise.
17000 (list_init): Function removed.
17001 (thread_init, init_module): Use INIT_LIST_HEAD instead.
17002 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17003 * sysdeps/pthread/Makefile: ... here, new file.
17005 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17006 * sysdeps/nptl/Implies: ... here.
17007 * sysdeps/unix/sysv/linux/Implies: Add nptl.
17008 * nptl/sysdeps/pthread/list.h: Moved ...
17009 * include/list.h: ... here.
17010 * nptl/sysdeps/pthread/createthread.c: Moved ...
17011 * nptl/createthread.c: ... here.
17012 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17013 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17014 * nptl/pt-longjmp.c: ... here.
17015 * nptl/sysdeps/pthread/Makefile: Moved ...
17016 * sysdeps/nptl/Makefile: ... here.
17017 * nptl/sysdeps/pthread/Subdirs: Moved ...
17018 * sysdeps/nptl/Subdirs: ... here.
17019 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17020 * sysdeps/nptl/aio_misc.h: ... here.
17021 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17022 * sysdeps/nptl/bits/libc-lock.h: ... here.
17023 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17024 * sysdeps/nptl/bits/libc-lockP.h: ... here.
17025 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17026 * sysdeps/nptl/bits/stdio-lock.h: ... here.
17027 * nptl/sysdeps/pthread/configure: Moved ...
17028 * sysdeps/nptl/configure: ... here.
17029 * nptl/sysdeps/pthread/configure.ac: Moved ...
17030 * sysdeps/nptl/configure.ac: ... here.
17031 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17032 * sysdeps/nptl/gai_misc.h: ... here.
17033 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17034 * sysdeps/nptl/librt-cancellation.c: ... here.
17035 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17036 * sysdeps/nptl/malloc-machine.h: ... here.
17037 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17038 * sysdeps/nptl/pthread-functions.h: ... here.
17039 * nptl/sysdeps/pthread/pthread.h: Moved ...
17040 * sysdeps/nptl/pthread.h: ... here.
17041 * nptl/sysdeps/pthread/setxid.h: Moved ...
17042 * sysdeps/nptl/setxid.h: ... here.
17043 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17044 * sysdeps/nptl/sigfillset.c: ... here.
17045 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17046 * sysdeps/nptl/tcb-offsets.h: ... here.
17047 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17048 * sysdeps/nptl/tst-mqueue8x.c: ... here.
17049 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17050 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17051 * nptl/sysdeps/pthread/allocalim.h: Moved ...
17052 * sysdeps/pthread/allocalim.h: ... here.
17053 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17054 * sysdeps/pthread/bits/sigthread.h: ... here.
17055 * nptl/sysdeps/pthread/flockfile.c: Moved ...
17056 * sysdeps/pthread/flockfile.c: ... here.
17057 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17058 * sysdeps/pthread/ftrylockfile.c: ... here.
17059 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17060 * sysdeps/pthread/funlockfile.c: ... here.
17061 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17062 * sysdeps/pthread/posix-timer.h: ... here.
17063 * nptl/sysdeps/pthread/timer_create.c: Moved ...
17064 * sysdeps/pthread/timer_create.c: ... here.
17065 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17066 * sysdeps/pthread/timer_delete.c: ... here.
17067 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17068 * sysdeps/pthread/timer_getoverr.c: ... here.
17069 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17070 * sysdeps/pthread/timer_gettime.c: ... here.
17071 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17072 * sysdeps/pthread/timer_routines.c: ... here.
17073 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17074 * sysdeps/pthread/timer_settime.c: ... here.
17075 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17076 * sysdeps/pthread/tst-timer.c: ... here.
17077 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17078 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17080 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17081 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17083 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17084 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17085 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17086 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17087 Update #include target.
17088 * nptl/sysdeps/i386/i686/Makefile: Moved ...
17089 * sysdeps/i386/i686/nptl/Makefile: ... here.
17090 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17091 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17092 Update #include target.
17093 * nptl/sysdeps/i386/i686/tls.h: Moved ...
17094 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
17095 * nptl/sysdeps/i386/Makefile: Moved ...
17096 * sysdeps/i386/nptl/Makefile: ... here.
17097 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17098 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17099 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17100 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17101 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17102 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17103 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17104 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17105 * sysdeps/i386/nptl/pthreaddef.h: ... here.
17106 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17107 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17108 * nptl/sysdeps/i386/tls.h: Moved ...
17109 * sysdeps/i386/nptl/tls.h: ... here.
17111 * sysdeps/sh/Makefile [$(subdir) = csu]
17112 (gen-as-const-headers): Add tcb-offsets.sym.
17113 * nptl/sysdeps/sh/Makefile: File removed.
17114 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17115 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17116 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17117 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17118 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17119 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17120 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17121 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17122 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17123 * sysdeps/sh/nptl/pthreaddef.h: ... here.
17124 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17125 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17126 * nptl/sysdeps/sh/tls.h: Moved ...
17127 * sysdeps/sh/nptl/tls.h: ... here.
17128 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17129 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17130 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17131 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17132 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17133 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17134 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17135 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17136 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17137 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17139 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17141 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17142 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17143 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17144 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17145 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17146 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17147 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17149 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17150 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17151 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17152 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17154 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17155 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17157 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17159 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17160 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17161 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17162 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17163 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17164 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17165 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17166 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17167 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17168 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17169 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17170 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17171 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17172 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17173 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17174 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17175 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17177 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17179 * posix/spawn_faction_addopen.c: Include string.h.
17181 2014-06-11 Roland McGrath <roland@hack.frob.com>
17183 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17184 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17185 * nptl/sysdeps/x86_64/Makefile: Moved ...
17186 * sysdeps/x86_64/nptl/Makefile: ... here.
17187 * nptl/sysdeps/x86_64/configure: Moved ...
17188 * sysdeps/x86_64/nptl/configure: ... here.
17189 * nptl/sysdeps/x86_64/configure.ac: Moved ...
17190 * sysdeps/x86_64/nptl/configure.ac: ... here.
17191 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17192 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17193 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17194 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17195 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17196 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17197 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17198 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17199 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17200 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17201 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17202 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17203 * nptl/sysdeps/x86_64/tls.h: Moved ...
17204 * sysdeps/x86_64/nptl/tls.h: ... here.
17205 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17206 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17207 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17208 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17210 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17212 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17216 2014-06-11 Joseph Myers <joseph@codesourcery.com>
17218 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17220 [POSIX] (off_t): Likewise.
17221 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17222 [POSIX] (S_ISBLK): Require macro.
17223 [POSIX] (S_ISCHR): Likewise.
17224 [POSIX] (S_ISDIR): Likewise.
17225 [POSIX] (S_ISFIFO): Likewise.
17226 [POSIX] (S_ISREG): Likewise.
17227 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17229 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17231 [POSIX] (time_t): Likewise.
17232 [POSIX] (timer_t): Likewise.
17234 2014-06-11 Florian Weimer <fweimer@redhat.com>
17237 * posix/spawn_int.h (struct __spawn_action): Make the path string
17238 non-const to support deallocation.
17239 * posix/spawn_faction_addopen.c
17240 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17241 * posix/spawn_faction_destroy.c
17242 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
17243 path in all spawn_do_open actions.
17244 * posix/tst-spawn.c (do_test): Exercise the copy operation in
17245 posix_spawn_file_actions_addopen.
17247 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
17249 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17250 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17251 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17252 conditional code always true.
17253 (__libc_vfork): New alias.
17255 2014-06-11 Roland McGrath <roland@hack.frob.com>
17257 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17258 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17260 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17262 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17263 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17265 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17266 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17268 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17269 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17271 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17273 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17274 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17275 multiarch strcmp for PPC64.
17276 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17277 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17279 multiarch optimizations.
17280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17281 (__libc_ifunc_impl_list): Likewise.
17283 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17285 * benchtests/scripts/validate_benchout.py: New script.
17286 * benchtests/Makefile (bench-func): Call it.
17287 * benchtests/scripts/benchout.schema.json: New file.
17289 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
17291 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17292 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17293 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17294 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17295 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17296 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17297 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17298 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17299 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17300 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17301 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17302 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17303 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17304 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17305 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17306 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17411 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17412 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17413 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17414 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17416 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17419 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17420 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17421 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17422 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17423 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17425 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17427 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17428 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17429 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17432 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17435 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17436 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17437 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17438 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17440 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17442 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17443 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17444 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17445 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17446 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17448 2014-06-10 Wilco <wdijkstr@arm.com>
17450 * math/test-fenv-return.c: New file.
17451 * math/Makefile: Add new test test-fenv-return.
17453 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17456 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17457 when x - 1 is zero.
17458 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17459 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17460 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17461 0.0L for an argument of 1.0L.
17462 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17464 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17465 value when x - 1 is zero.
17466 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17473 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17475 2014-06-09 Roland McGrath <roland@hack.frob.com>
17477 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17478 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17480 2014-06-09 Roland McGrath <roland@hack.frob.com>
17482 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17483 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17485 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17486 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17488 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17489 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17491 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17492 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17494 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17495 if not already defined.
17496 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17497 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17498 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17499 (TLS_INIT_TP): Use it.
17500 (TLS_DEFINE_INIT_TP): New macro.
17501 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17503 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17505 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17507 [POSIX] (IXANY): Likewise.
17508 [POSIX] (OLCUC): Likewise.
17509 [POSIX || POSIX2008] (CBAUD): Do not allow.
17510 [POSIX || POSIX2008] (DEFECHO): Likewise.
17511 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17512 [POSIX || POSIX2008] (ECHOKE): Likewise.
17513 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17514 [POSIX || POSIX2008] (EXTA): Likewise.
17515 [POSIX || POSIX2008] (EXTB): Likewise.
17516 [POSIX || POSIX2008] (FLUSHO): Likewise.
17517 [POSIX || POSIX2008] (LOBLK): Likewise.
17518 [POSIX || POSIX2008] (PENDIN): Likewise.
17519 [POSIX || POSIX2008] (SWTCH): Likewise.
17520 [POSIX || POSIX2008] (VDISCARD): Likewise.
17521 [POSIX || POSIX2008] (VDSUSP): Likewise.
17522 [POSIX || POSIX2008] (VLNEXT): Likewise.
17523 [POSIX || POSIX2008] (VREPRINT): Likewise.
17524 [POSIX || POSIX2008] (VSTATUS): Likewise.
17525 [POSIX || POSIX2008] (VWERASE): Likewise.
17526 (B*): Change to B[0123456789]*.
17527 * conform/data/time.h-data [POSIX || UNIX98]
17528 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17529 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17530 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17531 [POSIX] (tm_*): Do not allow.
17533 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17535 * Makefile (install): Don't set LANGUAGE.
17536 * Makefile.in (install): Likewise.
17537 * assert/Makefile (test-assert-ENV): Remove variable.
17538 (test-assert-perr-ENV): Likewise.
17539 * elf/Makefile (neededtest4-ENV): Likewise.
17540 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17541 [$(cross-compiling) = no]: Don't set LANGUAGE.
17542 * io/ftwtest-sh (LANG): Remove variable.
17543 * libio/Makefile (tst-widetext-ENV): Likewise.
17544 * manual/install.texi (Running make install): Don't refer to
17545 environment settings for make install.
17546 * INSTALL: Regenerated.
17547 * nptl/tst-tls6.sh: Don't set LANG.
17548 * posix/globtest.sh (LANG): Remove variable.
17549 * string/Makefile (tester-ENV): Likewise.
17550 (inl-tester-ENV): Likewise.
17551 (noinl-tester-ENV): Likewise.
17552 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17553 [$(cross-compiling) = no]: Don't set LANGUAGE.
17554 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17555 without explicit environment settings.
17557 2014-06-06 Roland McGrath <roland@hack.frob.com>
17559 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17560 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17562 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17564 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17566 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17567 other files in the crypt directory.
17568 * crypt/crypt.c: Remove duplicate includes.
17569 * crypt/crypt-entry.c: Likewise.
17570 * crypt/crypt_util.c: Likewise.
17572 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17574 * Makeconfig (run-program-env): New variable.
17575 (run-program-prefix-before-env): Likewise.
17576 (run-program-prefix-after-env): Likewise.
17577 (run-program-prefix): Define in terms of new variables.
17578 (built-program-cmd-before-env): New variable.
17579 (built-program-cmd-after-env): Likewise.
17580 (built-program-cmd): Define in terms of new variables.
17581 (test-program-prefix-before-env): New variable.
17582 (test-program-prefix-after-env): Likewise.
17583 (test-program-prefix): Define in terms of new variables.
17584 (test-program-cmd-before-env): New variable.
17585 (test-program-cmd-after-env): Likewise.
17586 (test-program-cmd): Define in terms of new variables.
17587 * Rules (make-test-out): Use $(run-program-env).
17588 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17589 (help): Do not mention environment variables. Mention
17590 --timeoutfactor option.
17591 (timeoutfactor): New variable.
17592 (blacklist_exports): Remove function.
17593 (exports): Remove variable.
17594 (command): Do not include ${exports}.
17595 * manual/install.texi (Configuring and compiling): Do not mention
17596 test wrappers preserving environment variables. Mention that last
17597 assignment to a variable must take precedence.
17598 * INSTALL: Regenerated.
17599 * benchtests/Makefile (run-bench): Use $(run-program-env).
17600 * catgets/Makefile ($(objpfx)test1.cat): Use
17601 $(built-program-cmd-before-env), $(run-program-env) and
17602 $(built-program-cmd-after-env).
17603 ($(objpfx)test2.cat): Do not specify environment variables
17605 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17606 $(run-program-env) and $(built-program-cmd-after-env).
17607 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17608 $(run-program-env) and $(test-program-cmd-after-env).
17609 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17611 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17612 run_program_env and test_program_cmd_after_env arguments.
17613 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17614 * elf/tst-pathopt.sh: Use run_program_env argument.
17615 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17616 $(test-wrapper-env) and $(run-program-env).
17617 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17618 run_program_env arguments.
17619 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17620 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17621 $(test-program-prefix-before-env), $(run-program-env) and
17622 $(test-program-prefix-after-env).
17623 ($(objpfx)tst-gettext2.out): Likewise.
17624 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17625 run_program_env and test_program_prefix_after_env arguments.
17626 * intl/tst-gettext2.sh: Likewise.
17627 * intl/tst-gettext4.sh: Do not set environment variables
17629 * intl/tst-gettext6.sh: Likewise.
17630 * intl/tst-translit.sh: Likewise.
17631 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17632 $(test-program-prefix-before-env), $(run-program-env) and
17633 $(test-program-prefix-after-env).
17634 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17635 run_program_env and test_program_prefix_after_env arguments.
17636 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17637 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17638 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17639 explicitly with each use of ${test_wrapper_env}.
17640 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17641 $(test-program-prefix-before-env), $(run-program-env) and
17642 $(test-program-prefix-after-env).
17643 * posix/tst-getconf.sh: Do not set environment variables
17645 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17646 run_program_env and test_program_prefix_after_env arguments.
17647 * stdio-common/tst-printf.sh: Do not set environment variables
17649 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17650 $(test-program-prefix-before-env), $(run-program-env) and
17651 $(test-program-prefix-after-env).
17652 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17653 run_program_env and test_program_prefix_after_env arguments.
17654 Split $test calls into $test_pre and $test.
17655 * timezone/Makefile (build-testdata): Use
17656 $(built-program-cmd-before-env), $(run-program-env) and
17657 $(built-program-cmd-after-env).
17659 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17661 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17662 strlen for non SHARED builds.
17664 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * nptl/allocatestack.c (check_list): Inlined function...
17667 (__reclaim_stacks): ... here.
17669 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17672 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17675 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17677 * Rules (make-test-out): Include
17678 LOCPATH=$(common-objpfx)localedata in default environment.
17679 * debug/Makefile (tst-chk1-ENV): Remove variable.
17680 (tst-chk2-ENV): Likewise.
17681 (tst-chk3-ENV): Likewise.
17682 (tst-chk4-ENV): Likewise.
17683 (tst-chk5-ENV): Likewise.
17684 (tst-chk6-ENV): Likewise.
17685 (tst-lfschk1-ENV): Likewise.
17686 (tst-lfschk2-ENV): Likewise.
17687 (tst-lfschk3-ENV): Likewise.
17688 (tst-lfschk4-ENV): Likewise.
17689 (tst-lfschk5-ENV): Likewise.
17690 (tst-lfschk6-ENV): Likewise.
17691 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17692 (tst-iconv7-ENV): Likewise.
17693 * intl/Makefile (LOCPATH-ENV): Likewise.
17694 (tst-codeset-ENV): Likewise.
17695 (tst-gettext3-ENV): Likewise.
17696 (tst-gettext5-ENV): Likewise.
17697 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17698 (tst-fopenloc-ENV): Likewise.
17699 (tst-fgetws-ENV): Remove variable.
17700 (tst-ungetwc1-ENV): Likewise.
17701 (tst-ungetwc2-ENV): Likewise.
17702 (bug-ungetwc2-ENV): Likewise.
17703 (tst-swscanf-ENV): Likewise.
17704 (bug-ftell-ENV): Likewise.
17705 (tst-fgetwc-ENV): Likewise.
17706 (tst-fseek-ENV): Likewise.
17707 (tst-ftell-partial-wide-ENV): Likewise.
17708 (tst-ftell-active-handler-ENV): Likewise.
17709 (tst-ftell-append-ENV): Likewise.
17710 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17711 (tst-regexloc-ENV): Likewise.
17712 (bug-regex1-ENV): Likewise.
17713 (tst-regex-ENV): Likewise.
17714 (tst-regex2-ENV): Likewise.
17715 (bug-regex5-ENV): Likewise.
17716 (bug-regex6-ENV): Likewise.
17717 (bug-regex17-ENV): Likewise.
17718 (bug-regex18-ENV): Likewise.
17719 (bug-regex19-ENV): Likewise.
17720 (bug-regex20-ENV): Likewise.
17721 (bug-regex22-ENV): Likewise.
17722 (bug-regex23-ENV): Likewise.
17723 (bug-regex25-ENV): Likewise.
17724 (bug-regex26-ENV): Likewise.
17725 (bug-regex30-ENV): Likewise.
17726 (bug-regex32-ENV): Likewise.
17727 (bug-regex33-ENV): Likewise.
17728 (bug-regex34-ENV): Likewise.
17729 (bug-regex35-ENV): Likewise.
17730 (tst-rxspencer-ENV): Likewise.
17731 (tst-rxspencer-no-utf8-ENV): Likewise.
17732 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17733 (tst-sscanf-ENV): Likewise.
17734 (tst-swprintf-ENV): Likewise.
17735 (tst-swscanf-ENV): Likewise.
17736 (test-vfprintf-ENV): Likewise.
17737 (scanf13-ENV): Likewise.
17738 (bug14-ENV): Likewise.
17739 (tst-grouping-ENV): Likewise.
17740 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17741 (tst-strtod3-ENV): Likewise.
17742 (tst-strtod4-ENV): Likewise.
17743 (tst-strtod5-ENV): Likewise.
17744 (testmb2-ENV): Likewise./
17745 * string/Makefile (tst-strxfrm-ENV): Likewise.
17746 (tst-strxfrm2-ENV): Likewise.
17747 (bug-strcoll1-ENV): Likewise.
17748 (test-strcasecmp-ENV): Likewise.
17749 (test-strncasecmp-ENV): Likewise.
17750 * time/Makefile (tst-strptime-ENV): Likewise.
17751 (tst-ftime_l-ENV): Likewise.
17752 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17753 (tst-mbrtowc-ENV): Likewise.
17754 (tst-wcrtomb-ENV): Likewise.
17755 (tst-mbrtowc2-ENV): Likewise.
17756 (tst-c16c32-1-ENV): Likewise.
17757 (tst-mbsnrtowcs-ENV): Likewise.
17759 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17761 * manual/resource.texi (How to get information about the memory
17762 subsystem?): Fix typo.
17763 Reported by Peon de la Parra Ivan <peon@keba.com>
17765 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17768 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17769 (pthread_spin_lock): Branch out of spin loop to proper location.
17770 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17771 (pthread_spin_lock): Likewise.
17773 * nptl/tst-spin4.c: New test.
17774 * nptl/Makefile (tests): Add tst-spin4.
17776 2014-06-03 Andreas Schwab <schwab@suse.de>
17779 * resolv/res_send.c (send_dg): Reload file descriptor after
17782 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17784 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17786 2014-06-03 Richard Henderson <rth@redhat.com>
17788 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17789 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17790 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17791 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17792 in the SAVE_PID block.
17793 (__libc_vfork): New alias.
17794 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17796 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17797 child in registers, not on the stack. Remove RESET_PID conditionals.
17798 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17800 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17802 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17804 2014-06-03 Wilco <wdijkstr@arm.com>
17806 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17807 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17808 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17809 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17810 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17813 2014-06-03 Wilco <wdijkstr@arm.com>
17815 * sysdeps/aarch64/fpu/math_private.h
17816 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17817 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17818 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17819 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17822 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17824 * crypt/crypt-private.h: Include ufc-crypt.h.
17825 (__b64_from_24bit): Declare extern.
17826 * crypt/crypt_util.c(__b64_from_24bit): New function.
17827 (b64t): New static const variable.
17828 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17829 (b64t): Remove variable.
17830 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17831 * crypt/sha256-crypt.c: Include crypt-private.h.
17832 (b64t): Remove variable.
17833 (__sha256_crypt_r): Remove b64_from_24bit and replace
17834 with __b64_from_24bit.
17835 * crypt/sha512-crypt.c: Likewise.
17837 2014-06-02 Roland McGrath <roland@hack.frob.com>
17839 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17840 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17841 Label the code __libc_vfork rather than __vfork.
17842 [!NOT_IN_libc] (vfork): Define as weak alias.
17843 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17844 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17845 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17847 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17849 * malloc/malloc.c (malloc_info): Fix format specifier for
17852 2014-06-02 Wilco <wdijkstr@arm.com>
17854 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17857 2014-06-02 Wilco <wdijkstr@arm.com>
17860 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17861 Rewrite to reduce FPCR/FPSR accesses.
17863 2014-06-01 David S. Miller <davem@davemloft.net>
17865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17867 2014-05-31 David S. Miller <davem@davemloft.net>
17869 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17870 to occur in round to nearest mode when |x| >= 2.0
17872 2014-05-30 Richard Henderson <rth@twiddle.net>
17874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17875 (PSEUDO_RET_NOERRNO): Remove.
17876 (ret): Don't redefine.
17877 (ret_NOERRNO): Define in terms of ret.
17878 (ret_ERRVAL): Likewise.
17880 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17881 use of PSEUDO_RET; perform the error check directly.
17883 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17885 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17888 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17890 * malloc/malloc (malloc_info): Fix formatting.
17892 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17893 Roland McGrath <roland@hack.frob.com>
17895 * malloc/malloc (malloc_info): Also print mmapped statistics.
17897 2014-05-30 Roland McGrath <roland@hack.frob.com>
17899 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17900 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17902 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17904 * malloc/malloc.c (malloc_info): Inline mi_arena.
17906 2014-05-29 Richard Henderson <rth@twiddle.net>
17908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17909 Remove comma before expanding ASM_ARGS_##nr.
17910 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17911 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17913 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17914 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17915 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17916 (ASM_ARGS_1): Add leading comma.
17918 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17919 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17920 to __errno_location.
17921 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17922 Remove the expected plt for __errno_location.
17924 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17925 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17928 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17929 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17930 it and break it down.
17931 (DOCARGS_0, DOCARGS_1): Do nothing.
17932 (DOCARGS_2): Update to store into the new stack frame.
17933 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17934 (UNDOCARGS_1): Update to restore from the new stack frame.
17935 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17936 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17938 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17939 (SINGLE_THREAD_P): New parameter for result regno.
17940 (PSEUDO): Update to match; use cbz instead of beq.
17942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17943 Use ENTRY to define the _nocancel entry point. Share the syscall
17944 and syscall error check paths with the cancel path.
17947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17948 whitespace; tabs before and after asm mnemonics.
17950 2014-05-29 Eric Wong <normalperson@yhbt.net>
17953 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17954 Call fstat64 or stat64 internally, depending on arguments passed.
17955 Replace stat buffer argument with file descriptor argument.
17956 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17957 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17958 Pass fd to __internal_statvfs instead of calling fstat64.
17959 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17960 Pass fd to __internal_statvfs64 instead of calling fstat64.
17961 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17962 Pass -1 to __internal_statvfs instead of calling stat64.
17963 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17964 Pass -1 to __internal_statvfs64 instead of calling stat64.
17966 2014-05-28 Roland McGrath <roland@hack.frob.com>
17968 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17969 that was previously under [RESET_PID].
17970 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17972 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17973 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17975 2014-05-27 Roland McGrath <roland@hack.frob.com>
17977 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17979 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17980 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17982 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17984 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17986 2014-05-27 Andreas Schwab <schwab@suse.de>
17988 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17990 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17991 * elf/rtld.c (init_tls, dl_main): Likewise.
17992 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17993 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17994 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17995 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17996 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17997 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17998 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17999 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18000 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18001 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18002 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18003 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18004 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18005 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18006 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18007 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18008 * sysdeps/generic/tls.h: Update description.
18010 2014-05-27 Will Newton <will.newton@linaro.org>
18013 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18014 and restore r2 rather than just restoring.
18016 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18019 * libio/tst-ftell-append.c: New test case.
18020 * libio/Makefile (tests): Add test case.
18021 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18023 * libio/wfileops.c (do_ftell_wide): Likewise.
18025 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18029 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18033 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18034 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18035 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18036 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18037 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18038 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18042 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18045 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18046 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18047 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18048 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18049 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18051 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18052 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18054 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18056 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18058 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18059 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18060 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18062 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18063 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18064 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18065 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18088 conditional [RESET_PID].
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18097 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18098 (__libc_vfork): New strong alias.
18099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18106 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18107 (__libc_vfork): New strong alias.
18108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18113 2014-05-26 Carlos O'Donell <carlos@redhat.com>
18115 * malloc/malloc.c (mi_arena): New function.
18116 (malloc_info): Remove nested function mi_arena. Call non-nosted
18119 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18121 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18123 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18124 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18125 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18126 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18127 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18128 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18129 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18131 2014-05-26 Andreas Schwab <schwab@suse.de>
18134 * locale/programs/repertoire.c (repertoire_read): Add slash
18135 between I18NPATH element and file name.
18136 * locale/programs/locfile.c (locfile_read): Likewise.
18138 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18140 * nptl/pthread_mutexattr_settype.c
18141 (__pthread_mutexattr_settype):
18142 Disable lock elision for PTHREAD_MUTEX_NORMAL.
18144 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18146 * nptl/tst-mutex5 (do_test):
18147 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18149 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18151 * benchtests/README: Document 'init' directive.
18152 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18154 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18155 (parse_file): Recognize 'init' directive.
18157 2014-05-26 Kyle McMartin <kyle@redhat.com>
18160 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18161 alignment of struct pthread.
18163 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18166 * nscd/netgroupcache.c (addgetnetgrentX): Look for
18167 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18168 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18169 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18171 2014-05-25 Richard Henderson <rth@twiddle.net>
18173 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18174 (SINGLE_THREAD_P_PIC): Remove.
18175 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18176 (SINGLE_THREAD_P_PIC): Remove.
18178 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18179 branch to syscall error ...
18180 (PSEUDO): ... here.
18181 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18182 from __local_syscall_error to .Lsyscall_error.
18183 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18184 (SYSCALL_ERROR): Update label name.
18186 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18187 Do not use DOARGS/UNDOARGS.
18188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18189 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18190 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18191 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18192 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18194 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18197 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18198 define if !NOT_IN_libc.
18199 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18200 define with non-default symbol versions.
18202 2014-05-23 Richard Henderson <rth@twiddle.net>
18204 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18205 (vfork, __vfork): Define via compat_symbol.
18207 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18208 [!HAVE_IFUNC] (vfork_compat): Remove.
18209 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18211 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18214 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18215 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18218 2014-05-23 Richard Henderson <rth@twiddle.net>
18220 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18221 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18222 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18223 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18225 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18226 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18227 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18228 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18229 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18230 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18231 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18232 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18233 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18234 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18235 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18236 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18237 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18238 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18239 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18240 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18241 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18242 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18243 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18244 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18245 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18246 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18247 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18248 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18249 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18250 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18251 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18252 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18253 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18254 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18256 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18258 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18259 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18260 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18261 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18262 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18264 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18265 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18266 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18267 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18268 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18269 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18270 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18271 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18272 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18273 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18274 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18276 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18278 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18280 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18282 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18283 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18284 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
18285 before exiting on error.
18286 (__libc_vfork): New strong alias.
18287 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18288 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18290 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18291 that was previously under [RESET_PID].
18292 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18294 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18296 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18300 value when x - 1 is zero.
18301 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18302 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18303 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18304 0.0L for an argument of 1.0L.
18305 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18307 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18308 value when x - 1 is zero.
18309 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18310 * sysdeps/i386/fpu/libm-test-ulps: Update.
18311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18313 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18315 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18316 alphasort and versionsort.
18318 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18320 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18322 [copysignf]: Likewise.
18324 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18326 * crypt/md5-crypt.c: Fix formatting.
18328 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18330 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18331 (b64_from_24bit): New function.
18333 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18336 libc_hidden_builtin_def to ifunc.
18337 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18338 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18340 2014-05-21 Roland McGrath <roland@hack.frob.com>
18342 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18343 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18345 2014-05-21 Joseph Myers <joseph@codesourcery.com>
18347 * nscd/Depend (linuxthreads): Remove.
18349 * resolv/Depend (linuxthreads): Remove.
18350 * rt/Depend (linuxthreads): Remove.
18352 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18353 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18354 $(common-objpfx)elf/.
18355 (link-libc-before-gnulib): Likewise.
18356 (elfobjdir): Remove variable.
18357 * Makefile (install): Use $(elf-objpfx) instead of
18358 $(common-objpfx)elf/.
18359 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18361 (link-libc-deps): Likewise.
18362 ($(common-objpfx)libc.so): Likewise.
18363 ($(common-objpfx)linkobj/libc.so): Likewise.
18364 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18365 instead of $(common-objpfx)elf/.
18366 (symbolic-link-list): Likewise.
18367 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18368 [$(cross-compiling) = no]: Likewise.
18369 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18371 (static-gnulib-arch): Likewise.
18372 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18373 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18374 $(common-objpfx)elf/.
18376 2014-05-21 Richard Henderson <rth@redhat.com>
18378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18379 (SINGLE_THREAD_P): Use the correct width load. Fold
18380 into the ldr offset.
18382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18383 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18385 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18387 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18388 (libgcc_s_resume): Use __attribute_used__.
18389 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18392 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18394 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18395 optimization when used with float constants.
18397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18399 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18402 * locale/nl_langinfo_l.c: Make direct reference to every
18403 _nl_current_CATEGORY symbol.
18404 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18405 (tests-static): Add tst-langinfo-static.
18406 (tests-special): Add tst-langinfo-static.out.
18407 ($(objpfx)tst-langinfo.out): Redirect output.
18408 ($(objpfx)tst-langinfo-static.out): New.
18409 * localedata/tst-langinfo.sh: Send output to stdout.
18410 * localedata/tst-langinfo-static.c: New file.
18413 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18414 when the shift amount is modulo the limb size.
18416 2014-05-20 Richard Henderson <rth@redhat.com>
18419 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18420 Change type of sa_flags from unsigned int to int.
18423 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18425 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18427 2014-05-20 Will Newton <will.newton@linaro.org>
18429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18430 Test the return value of the system call in the nocancel case.
18432 2014-05-20 Will Newton <will.newton@linaro.org>
18433 Yvan Roux <yvan.roux@linaro.org>
18435 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18436 #include of asm/ptrace.h.
18437 (PTRACE_GET_THREAD_AREA): Remove #undef.
18438 (PTRACE_GETHBPREGS): Likewise.
18439 (PTRACE_SETHBPREGS): Likewise.
18440 (struct user_regs_struct): New structure.
18441 (struct user_fpsimd_struct): New structure.
18442 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18443 #include of asm/ptrace.h and second #include of sys/user.h.
18444 (PTRACE_GET_THREAD_AREA): Remove #undef.
18445 (PTRACE_GETHBPREGS): Likewise.
18446 (PTRACE_SETHBPREGS): Likewise.
18447 (ELF_NGREG): Use new struct user_regs_struct.
18448 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18450 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18452 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18455 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18459 membar to avoid block loads/stores to overlap previous stores.
18461 2014-05-17 Richard Henderson <rth@redhat.com>
18463 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18464 Create the __##syscall_name##_nocancel entry point.
18465 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18466 Remove; let the sysdep-cancel.h code create it.
18468 2014-05-17 David S. Miller <davem@davemloft.net>
18470 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18471 Protect with __USE_GNU.
18472 (TIOCSET_TEMPT): Likewise.
18473 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18474 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18475 these are already provided in bits/ioctl-types.h
18477 2014-05-16 Roland McGrath <roland@hack.frob.com>
18479 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18480 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18482 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18483 Use wait4 regardless of [__NR_waitpid].
18485 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18488 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18489 (_FP_NANSIGN_Q): Set the quiet bit.
18491 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18493 * benchtests/Makefile
18494 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18495 not $(common-objpfx)math/libm.so.
18496 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18497 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18498 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18499 $(common-objpfx)dlfcn/libdl.so.
18500 ($(objpfx)tst-audit8): Depend on $(libm), not
18501 $(common-objpfx)math/libm.so.
18502 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18503 not $(common-objpfx)dlfcn/libdl.so.
18505 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18506 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18507 [$(build-shared) = yes].
18508 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18509 $(common-objpfx)nptl/libpthread.so.
18510 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18511 $(common-objpfx)math/libm.so$(libm.so-version) or
18512 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18513 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18514 $(common-objpfx)dlfcn/libdl.so.
18515 * setjmp/Makefile (link-libm): Remove variable.
18516 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18517 * stdio-common/Makefile (link-libm): Remove variable.
18518 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18519 * stdlib/Makefile (link-libm): Remove variable.
18520 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18521 ($(objpfx)tst-strtod-round): Likewise.
18522 ($(objpfx)tst-tininess): Likewise.
18523 ($(objpfx)tst-strtod-underflow): Likewise.
18524 ($(objpfx)tst-strtod6): Likewise.
18525 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18526 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18527 $(common-objpfx)dlfcn/libdl.so.
18529 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18532 BSD terminal modes definitions.
18534 2014-05-16 Roland McGrath <roland@hack.frob.com>
18536 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18537 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18539 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18540 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18541 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18542 Don't do #include_next.
18543 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18544 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18545 Don't do #include_next.
18546 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18547 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18548 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18549 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18551 2014-05-16 Allan McRae <allan@archlinux.org>
18553 * po/sv.po: Update Swedish translation from translation project.
18555 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18558 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18562 errno if the TIOCGPTN ioctl fails with an error different than
18564 * login/tst-ptsname.c: New file.
18565 * login/Makefile (tests): Add tst-ptsname.
18568 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18571 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18575 herrno to return EAI_AGAIN.
18577 2014-05-14 Roland McGrath <roland@hack.frob.com>
18579 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18580 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18581 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18582 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18583 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18584 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18585 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18586 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18588 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18589 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18590 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18591 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18592 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18593 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18594 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18595 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18596 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18597 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18598 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18599 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18600 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18601 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18602 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18604 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18605 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18606 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18607 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18608 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18610 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18612 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18615 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18617 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18621 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18623 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18625 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18627 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18629 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18631 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18633 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18635 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18637 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18639 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18641 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18644 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18646 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18652 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18656 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18658 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18660 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18665 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18667 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18669 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18670 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18671 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18672 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18673 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18674 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18675 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18676 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18677 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18678 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18679 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18680 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18681 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18682 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18683 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18684 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18685 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18686 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18687 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18688 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18689 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18690 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18691 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18692 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18693 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18694 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18695 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18696 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18697 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18698 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18699 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18701 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18702 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18704 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18705 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18706 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18707 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18708 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18709 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18711 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18714 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18717 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18718 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18720 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18721 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18722 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18723 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18725 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18726 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18727 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18729 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18730 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18731 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18734 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18737 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18739 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18740 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18741 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18742 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18743 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18747 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18750 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18751 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18752 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18753 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18754 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18756 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18759 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18762 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18763 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18765 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18766 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18767 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18768 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18770 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18771 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18772 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18774 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18775 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18776 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18779 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18782 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18784 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18785 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18786 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18787 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18788 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18790 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18792 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18794 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18795 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18796 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18797 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18798 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18799 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18800 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18801 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18802 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18806 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18808 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18809 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18811 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18812 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18814 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18815 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18816 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18817 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18818 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18821 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18822 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18823 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18824 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18825 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18826 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18827 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18828 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18830 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18831 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18833 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18835 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18836 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18837 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18838 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18839 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18843 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18845 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18846 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18847 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18848 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18849 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18850 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18851 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18852 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18853 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18854 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18855 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18857 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18858 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18860 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18861 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18863 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18864 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18865 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18866 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18867 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18868 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18869 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18870 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18871 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18872 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18873 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18874 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18875 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18876 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18877 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18879 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18883 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18884 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18887 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18888 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18889 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18891 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18892 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18893 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18896 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18897 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18902 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18903 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18904 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18905 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18906 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18907 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18908 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18909 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18910 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18911 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18912 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18913 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18914 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18915 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18917 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18918 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18919 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18920 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18921 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18923 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18924 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18925 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18926 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18927 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18928 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18929 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18930 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18931 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18932 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18935 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18937 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18938 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18939 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18940 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18941 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18942 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18943 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18944 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18945 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18946 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18947 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18948 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18949 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18950 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18955 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18957 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18959 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18971 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18972 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18974 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18976 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18977 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18978 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18979 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18980 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18981 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18982 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18984 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18985 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18988 that was previously under [RESET_PID].
18989 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18990 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18991 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18993 * sysdeps/i386/nptl/Implies: New file.
18994 * sysdeps/x86_64/nptl/Implies: New file.
18995 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18996 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18997 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18998 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19000 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19001 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19002 (__libc_vfork): New strong alias.
19003 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19004 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19006 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19007 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19008 (__libc_vfork): New strong alias.
19009 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19010 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19012 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19013 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19014 (__libc_vfork): New strong alias.
19015 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19016 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19017 * nptl/pt-vfork.c: New file.
19018 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19019 (libpthread: GLIBC_2.20): New version set (empty).
19021 2014-05-14 Will Newton <will.newton@linaro.org>
19023 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19026 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19029 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19030 arguments with exponent 65 or above.
19031 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19032 arguments 0x1p113L or above.
19033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19034 to arguments 0x1p107L or above.
19035 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19036 positive arguments with exponent 65 or above.
19037 * math/auto-libm-test-in: Add more tests of log1p.
19038 * math/auto-libm-test-out: Regenerated.
19041 * math/s_cacos.c (__cacos): Ensure zero real part of result from
19042 non-finite arguments is +0.
19043 * math/s_cacosf.c (__cacosf): Likewise.
19044 * math/s_cacosl.c (__cacosl): Likewise.
19045 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19050 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19052 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19053 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19054 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19055 for explicit high bit of mantissa when testing for argument equal
19057 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19058 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19062 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19063 (__erf): Scale by 16 instead of 8 in potentially underflowing
19064 case. Ensure exception if result actually underflows.
19065 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19066 (__erff): Scale by 16 instead of 8 in potentially underflowing
19067 case. Ensure exception if result actually underflows.
19068 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19069 (efx8): Remove variable.
19070 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19071 case. Ensure exception if result actually underflows.
19072 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19073 (efx8): Remove variable.
19074 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19075 case. Ensure exception if result actually underflows.
19076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19077 (efx8): Remove variable.
19078 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19079 case. Ensure exception if result actually underflows.
19080 * math/auto-libm-test-in: Add more tests of erf.
19081 * math/auto-libm-test-out: Regenerated.
19083 2014-05-14 Andreas Schwab <schwab@suse.de>
19085 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19086 Remove code conditionalized on USE___THREAD.
19088 * config.h.in (HAVE_PT_CHOWN): Define as 0.
19089 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19092 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19094 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19095 Define unconditionally.
19096 (__ASSUME_O_CLOEXEC): Likewise.
19097 (__ASSUME_SOCK_CLOEXEC): Likewise.
19098 (__ASSUME_IN_NONBLOCK): Likewise.
19099 (__ASSUME_PIPE2): Likewise.
19100 (__ASSUME_EVENTFD2): Likewise.
19101 (__ASSUME_SIGNALFD4): Likewise.
19102 (__ASSUME_DUP3): Likewise.
19103 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19104 (__ASSUME_DUP3): Do not define.
19105 (__ASSUME_EVENTFD2): Likewise.
19106 (__ASSUME_IN_NONBLOCK): Likewise.
19107 (__ASSUME_O_CLOEXEC): Likewise.
19108 (__ASSUME_PIPE2): Likewise.
19109 (__ASSUME_SIGNALFD4): Likewise.
19110 (__ASSUME_SOCK_CLOEXEC): Likewise.
19111 (__ASSUME_UTIMES): Undefine.
19112 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19113 (__ASSUME_UTIMES): Do not define.
19114 (__ASSUME_O_CLOEXEC): Likewise.
19115 (__ASSUME_SOCK_CLOEXEC): Likewise.
19116 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19117 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19119 (__ASSUME_PIPE2): Likewise.
19120 (__ASSUME_EVENTFD2): Likewise.
19121 (__ASSUME_SIGNALFD4): Likewise.
19122 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19123 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19125 (__ASSUME_EVENTFD2): Likewise.
19126 (__ASSUME_SIGNALFD4): Likewise.
19127 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19128 (__ASSUME_32BITUIDS): Likewise.
19129 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19130 (__ASSUME_IPC64): Likewise.
19131 (__ASSUME_ST_INO_64_BIT): Likewise.
19132 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19133 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19134 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19135 (__ASSUME_UTIMES): Do not define.
19136 (__ASSUME_PSELECT): Likewise.
19137 (__ASSUME_PPOLL): Likewise.
19138 (__ASSUME_O_CLOEXEC): Likewise.
19139 (__ASSUME_SOCK_CLOEXEC): Likewise.
19140 (__ASSUME_IN_NONBLOCK): Likewise.
19141 (__ASSUME_PIPE2): Likewise.
19142 (__ASSUME_EVENTFD2): Likewise.
19143 (__ASSUME_SIGNALFD4): Likewise.
19144 (__ASSUME_DUP3): Likewise.
19145 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19146 (__ASSUME_UTIMES): Likewise.
19147 (__ASSUME_O_CLOEXEC): Likewise.
19148 (__ASSUME_SOCK_CLOEXEC): Likewise.
19149 (__ASSUME_IN_NONBLOCK): Likewise.
19150 (__ASSUME_PIPE2): Likewise.
19151 (__ASSUME_EVENTFD2): Likewise.
19152 (__ASSUME_SIGNALFD4): Likewise.
19153 (__ASSUME_DUP3): Likewise.
19154 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19155 (__ASSUME_UTIMES): Likewise.
19156 (__ASSUME_O_CLOEXEC): Likewise.
19157 (__ASSUME_SOCK_CLOEXEC): Likewise.
19158 (__ASSUME_IN_NONBLOCK): Likewise.
19159 (__ASSUME_PIPE2): Likewise.
19160 (__ASSUME_EVENTFD2): Likewise.
19161 (__ASSUME_SIGNALFD4): Likewise.
19162 (__ASSUME_DUP3): Likewise.
19163 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19165 (__ASSUME_UTIMES): Likewise.
19166 (__ASSUME_EVENTFD2): Likewise.
19167 (__ASSUME_SIGNALFD4): Likewise.
19168 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19169 (__ASSUME_O_CLOEXEC): Likewise.
19170 (__ASSUME_SOCK_CLOEXEC): Likewise.
19171 (__ASSUME_IN_NONBLOCK): Likewise.
19172 (__ASSUME_PIPE2): Likewise.
19173 (__ASSUME_EVENTFD2): Likewise.
19174 (__ASSUME_SIGNALFD4): Likewise.
19175 (__ASSUME_DUP3): Likewise.
19176 (__ASSUME_UTIMES): Undefine.
19178 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19179 feclearexcept. Remove symbol versioning code.
19180 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
19181 symbol versioning code.
19182 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
19183 symbol versioning code.
19184 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19185 feupdateenv. Remove symbol versioning code.
19186 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19187 fegetexceptflag. Remove symbol versioning code.
19188 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19189 fesetexceptflag. Remove symbol versioning code.
19190 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19191 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
19192 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19193 (__posix_fadvise64_l32): Remove prototype.
19194 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19197 2014-05-13 Roland McGrath <roland@hack.frob.com>
19199 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19200 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19201 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19202 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19204 2014-05-13 Sami Kerola <kerolasa@iki.fi>
19206 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19207 current working directory
19209 2014-05-13 Roland McGrath <roland@hack.frob.com>
19211 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19212 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19213 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19214 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19215 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19216 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19217 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19218 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19219 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19220 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19221 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19222 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19223 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19224 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19225 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19226 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19227 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19228 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19229 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19230 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19231 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19232 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19233 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19234 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19235 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19236 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19237 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19238 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19239 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19240 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19241 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19242 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19243 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19244 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19245 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19246 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19247 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19248 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19249 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19250 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19251 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19252 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19254 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19255 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19257 * sysdeps/unix/sysv/linux/arm/Makefile
19258 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19259 Add rt-aeabi_unwind_cpp_pr1.
19260 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19261 Add nptl-aeabi_unwind_cpp_pr1.
19262 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19263 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19264 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19265 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19266 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19267 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19269 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19270 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19271 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19272 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19274 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19275 Deconditionalize the code that was previously under [RESET_PID].
19276 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19278 * sysdeps/generic/exit-thread.h: New file.
19279 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19280 * include/unistd.h (__exit_thread): Remove declaration.
19281 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19282 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19283 * csu/libc-start.c: Include <exit-thread.h>.
19284 (LIBC_START_MAIN): Pass no argument to __exit_thread.
19285 * nptl/pthread_create.c: Include <exit-thread.h>.
19286 (start_thread): Call __exit_thread in place of __exit_thread_inline.
19287 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19288 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19289 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19290 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19291 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19292 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19293 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19294 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19295 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19296 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19297 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19298 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19299 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19300 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19301 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19302 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19304 2014-05-13 Andreas Schwab <schwab@suse.de>
19306 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19308 2014-05-12 Joseph Myers <joseph@codesourcery.com>
19310 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19311 (__ASSUME_UTIMES): Do not condition on kernel version.
19312 (__ASSUME_PSELECT): Define unconditionally.
19313 (__ASSUME_PPOLL): Likewise.
19314 (__ASSUME_ATFCTS): Likewise.
19315 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19316 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19317 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19318 (__ASSUME_UTIMENSAT): Define unconditionally.
19319 (__ASSUME_PRIVATE_FUTEX): Likewise.
19320 (__ASSUME_FALLOCATE): Likewise.
19321 (__ASSUME_O_CLOEXEC): Likewise.
19322 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19323 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19324 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19325 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19326 (__ASSUME_IN_NONBLOCK): Likewise.
19327 (__ASSUME_PIPE2): Likewise.
19328 (__ASSUME_EVENTFD2): Likewise.
19329 (__ASSUME_SIGNALFD4): Likewise.
19330 (__ASSUME_DUP3): Likewise.
19331 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19332 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19333 (__ASSUME_AT_RANDOM): Likewise.
19334 (__ASSUME_PREADV): Likewise.
19335 (__ASSUME_PWRITEV): Likewise.
19336 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19337 (__ASSUME_F_GETOWN_EX): Define unconditionally.
19338 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19339 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19340 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19341 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19342 (__ASSUME_O_CLOEXEC): Define unconditionally.
19343 (__ASSUME_PSELECT): Do not undefine conditionally.
19344 (__ASSUME_PPOLL): Likewise.
19345 (__ASSUME_ATFCTS): Likewise.
19346 (__ASSUME_SET_ROBUST_LIST): Likewise.
19347 (__ASSUME_UTIMENSAT): Likewise.
19348 (__ASSUME_FDATASYNC): Define unconditionally.
19349 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19350 (__ASSUME_SIGFRAME_V2): Likewise.
19351 )__ASSUME_EVENTFD2): Likewise.
19352 (__ASSUME_SIGNALFD4): Likewise.
19353 (__ASSUME_PSELECT): Do not undefine conditionally.
19354 (__ASSUME_PPOLL): Likewise.
19355 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19356 (__ASSUME_PSELECT): Define unconditionally.
19357 (__ASSUME_PPOLL): Likewise.
19358 (__ASSUME_O_CLOEXEC): Likewise.
19359 (__ASSUME_SOCK_CLOEXEC): Likewise.
19360 (__ASSUME_IN_NONBLOCK): Likewise.
19361 (__ASSUME_PIPE2): Likewise.
19362 (__ASSUME_EVENTFD2): Likewise.
19363 (__ASSUME_SIGNALFD4): Likewise.
19364 (__ASSUME_DUP3): Likewise.
19365 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19366 (__ASSUME_O_CLOEXEC): Likewise.
19367 (__ASSUME_SOCK_CLOEXEC): Likewise.
19368 (__ASSUME_IN_NONBLOCK): Likewise.
19369 (__ASSUME_PIPE2): Likewise.
19370 (__ASSUME_EVENTFD2): Likewise.
19371 (__ASSUME_SIGNALFD4): Likewise.
19372 (__ASSUME_DUP3): Likewise.
19373 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19374 (__ASSUME_EVENTFD2): Likewise.
19375 (__ASSUME_SIGNALFD4): Likewise.
19376 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19378 2014-05-12 Andreas Schwab <schwab@suse.de>
19381 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19382 (_nss_nis_gethostbyname4_r): Return error if item length is larger
19383 than maximum RPC packet size.
19384 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19385 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19386 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19387 (_nss_nis_getservbyport_r): Likewise.
19389 2014-05-12 Will Newton <will.newton@linaro.org>
19391 * malloc/Makefile (tests): Add tst-mallopt.
19392 * malloc/tst-mallopt.c: New file.
19394 2014-05-09 Roland McGrath <roland@hack.frob.com>
19396 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19397 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19399 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19401 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19402 (tst-tlsmod6.so): Likewise.
19404 2014-05-09 Roland McGrath <roland@hack.frob.com>
19406 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19408 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19411 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19412 and <dl-procinfo.h>.
19413 (__fegetenv): Save SSE state in envp->__eip if supported.
19414 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19415 envp->__eip if supported.
19416 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19417 and <dl-procinfo.h>.
19418 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19419 __data_offset and __data_selector in environment to 0. Set SSE
19420 state if supported.
19421 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19423 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19425 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19427 2014-05-09 Will Newton <will.newton@linaro.org>
19429 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19430 and libc_relro_required for ARM.
19431 * sysdeps/arm/preconfigure: Regenerate.
19433 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19434 Stefan Liebler <stli@linux.vnet.ibm.com>
19436 * config.make.in (enable-lock-elision): New Makefile variable.
19437 * configure.ac: Likewise.
19438 * configure: Regenerate.
19439 * sysdeps/s390/configure.ac:
19440 Add check for gcc transactions support.
19441 * sysdeps/s390/configure: Regenerate.
19442 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19443 Build elision files if enabled.
19444 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19445 Add lock elision support for s390.
19446 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19447 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19448 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19449 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19450 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19451 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19452 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19454 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19456 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19458 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19460 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19461 (__lll_timedlock_elision, __lll_lock_elision)
19462 (__lll_unlock_elision, __lll_trylock_elision)
19463 (lll_timedlock_elision, lll_lock_elision)
19464 (lll_unlock_elision, lll_trylock_elision): Add.
19465 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19466 (pthread_mutex_t): Add lock elision support for s390.
19468 2014-05-14 Wilco <wdijkstr@arm.com>
19470 * sysdeps/arm/fclrexcpt.c: Cleanup.
19471 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19472 * sysdeps/arm/feenablxcpt.c: Cleanup.
19473 * sysdeps/arm/fegetenv.c: Cleanup.
19474 * sysdeps/arm/fegetexcept.c: Cleanup.
19475 * sysdeps/arm/fegetround.c: Cleanup.
19476 * sysdeps/arm/feholdexcpt.c: Cleanup.
19477 * sysdeps/arm/fesetenv.c: Cleanup.
19478 * sysdeps/arm/fesetround.c: Cleanup.
19479 * sysdeps/arm/feupdateenv.c: Cleanup.
19480 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19481 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19482 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19483 * sysdeps/arm/ftestexcept.c: Cleanup.
19484 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19485 * sysdeps/arm/setfpucw.c: Cleanup.
19487 2014-05-09 Will Newton <will.newton@linaro.org>
19489 * sysdeps/arm/armv7/strcmp.S: New file.
19490 * NEWS: Mention addition of ARMv7 optimized strcmp.
19492 2014-05-08 Roland McGrath <roland@hack.frob.com>
19494 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19495 look for %.ac rather than %.in.
19497 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19498 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19499 * sysdeps/mach/hurd/configure: Regenerated.
19500 * sysdeps/unix/sysv/linux/configure: Regenerated.
19502 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19504 2014-05-07 Steve Ellcey <sellcey@mips.com>
19507 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19511 2014-05-07 Andreas Schwab <schwab@suse.de>
19513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19514 when skipping over non-matching result from nscd.
19516 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19519 * nptl/sockperf.c (client): Check socket return value.
19522 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19523 nscd security class.
19525 2014-05-06 Roland McGrath <roland@hack.frob.com>
19527 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19528 * sysdeps/arm/unwind.h: ... here.
19530 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19533 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19536 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19538 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19539 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19540 multiarch strncpy for PPC64.
19541 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19542 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19544 multiarch optimizations.
19545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19546 (__libc_ifunc_impl_list): Likewise.
19547 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19549 multiarch stpncpy for PPC64.
19550 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19551 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19553 2014-05-06 Andreas Schwab <schwab@suse.de>
19556 * gmon/mcount.c (_MCOUNT_DECL): Use
19557 atomic_compare_and_exchange_bool_acq instead of
19558 catomic_compare_and_exchange_bool_acq.
19560 2014-05-05 Roland McGrath <roland@hack.frob.com>
19562 * elf/Makefile (others, install-bin): Remove pldd.
19563 (pldd-modules): Variable removed.
19564 ($(objpfx)pldd): Target removed.
19565 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19566 (others, install-bin): Append pldd here.
19567 ($(objpfx)pldd): New target.
19569 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19570 to 0, so the first #if test emitted later doesn't see it undefined.
19571 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19572 * sysdeps/gnu/errlist.c: Regenerated.
19574 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19576 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19577 [libc_hidden_builtin_def]: Define to empty value.
19578 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19579 [libc_hidden_builtin_def]: Likewise.
19580 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19581 [libc_hidden_builtin_def]: Likewise.
19582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19583 [libc_hidden_builtin_def]: Likewise.
19584 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19585 __redirect_memcpy and define ifunc as default hidden symbol.
19586 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19587 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19589 2014-05-04 Adam Conrad <adconrad@0c3.net>
19591 * locale/iso-4217.def: Reintroduce XDR currency.
19593 2014-05-04 Allan McRae <allan@archlinux.org>
19595 * po/eo.po: Update Esperanto translation from translation project.
19597 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19599 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19600 and FEATURE_INDEX_MAX to 1.
19601 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19603 2014-05-01 Steve Ellcey <sellcey@mips.com>
19605 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19606 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19607 * iconvdata/big5.c (ONE_DIRECTION): Define.
19608 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19609 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19610 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19611 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19612 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19613 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19614 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19615 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19616 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19617 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19618 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19619 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19620 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19621 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19622 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19623 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19624 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19625 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19626 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19627 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19628 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19629 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19630 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19631 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19632 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19633 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19634 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19635 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19636 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19637 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19638 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19639 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19640 * iconvdata/johab.c (ONE_DIRECTION): Define.
19641 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19642 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19643 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19644 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19645 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19646 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19647 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19648 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19649 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19650 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19652 2014-05-01 Roland McGrath <roland@hack.frob.com>
19654 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19655 (_IO_JUMPS_OFFSET): Define to 0.
19657 * nptl/sysdeps/pthread/bits/libc-lock.h
19658 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19659 (__libc_lock_define_initialized_recursive): Always define using
19660 initializer. Modern compilers treat uninitialized (implicit zero) and
19661 explicit zero initializers the same (i.e. put the datum in bss).
19663 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19665 * nscd/nscd-client.h: Include <string.h>.
19667 2014-05-01 David S. Miller <davem@davemloft.net>
19670 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19671 multiple zero bytes exist at the end of a string.
19672 Reported by Aurelien Jarno <aurelien@aurel32.net>
19674 * string/test-strcmp.c (check): Add explicit test for situations where
19675 there are multiple zero bytes after the first.
19677 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19680 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19681 when compiling wprintf.
19682 * stdio-common/tstdiomisc.c (t3): New function.
19685 2014-05-01 Steve Ellcey <sellcey@mips.com>
19687 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19688 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19689 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19690 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19692 2014-05-01 Steve Ellcey <sellcey@mips.com>
19694 * stdlib/longlong.h: Updated from GCC.
19696 2014-05-01 Will Newton <will.newton@linaro.org>
19697 Bernard Ogden <bernie.ogden@linaro.org>
19699 * NEWS: Update fixed bug list.
19702 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19704 2014-04-30 David S. Miller <davem@davemloft.net>
19706 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19707 (libc_feholdexcept_setround_sparc_ctx): New function.
19708 (libc_fesetenv_sparc_ctx): Likewise.
19709 (libc_feupdateenv_sparc_ctx): Likewise.
19710 (libc_feholdsetround_sparc_ctx): Likewise.
19711 (libc_feholdexcept_setround_ctx): Define.
19712 (libc_feholdexcept_setroundf_ctx): Likewise.
19713 (libc_feholdexcept_setroundl_ctx): Likewise.
19714 (libc_fesetenv_ctx): Likewise.
19715 (libc_fesetenvf_ctx): Likewise.
19716 (libc_fesetenvl_ctx): Likewise.
19717 (libc_feupdateenv_ctx): Likewise.
19718 (libc_feupdateenvf_ctx): Likewise.
19719 (libc_feupdateenvl_ctx): Likewise.
19720 (libc_feresetround_ctx): Likewise.
19721 (libc_feresetroundf_ctx): Likewise.
19722 (libc_feresetroundl_ctx): Likewise.
19723 (libc_feholdsetround_ctx): Likewise.
19724 (libc_feholdsetroundf_ctx): Likewise.
19725 (libc_feholdsetroundl_ctx): Likewise.
19727 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19728 with __USE_GNU instead of XOPEN cpp guards.
19730 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19734 with XOPEN cpp guards.
19736 2014-04-30 Julian Brown <julian@codesourcery.com>
19739 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19742 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19745 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19747 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19748 * sysdeps/unix/sysv/linux/configure: Regenerated.
19749 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19750 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19751 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19752 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19753 * README: Update reference to required Linux kernel version.
19754 * manual/install.texi (Linux): Update reference to required Linux
19755 kernel headers version.
19756 * INSTALL: Regenerated.
19758 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19760 [POSIX] (limits.h): Likewise.
19761 [POSIX] (math.h): Likewise.
19762 [POSIX] (sys/wait.h): Likewise.
19763 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19765 [POSIX] (stddef.h): Do not allow header inclusion.
19767 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19769 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19771 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19773 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19774 Return immediately after lll_futex_wake.
19776 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19779 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19781 (datahead_init_pos): Call datahead_init_common early.
19782 (datahead_init_neg): Likewise.
19784 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19785 datahead_init_neg): New functions.
19786 * nscd/aicache.c (addhstaiX): Use them.
19787 * nscd/grpcache.c (cache_addgr): Likewise.
19788 * nscd/hstcache.c (cache_addhst): Likewise.
19789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19790 * nscd/netgroupcache.c (do_notfound): Likewise.
19791 (addgetnetgrentX): Likewise.
19792 (addinnetgrX): Likewise.
19793 * nscd/pwdcache.c (cache_addpw): Likewise.
19794 * nscd/servicescache.c (cache_addserv): Likewise.
19796 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 Atsushi Onoe <atsushi@onoe.org>
19802 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19803 one response is valid.
19804 * resolv/res_send.c (send_dg): Check for validity of other
19805 response if the current response is a referral.
19807 2014-04-29 Steve Ellcey <sellcey@mips.com>
19809 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19811 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19814 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19815 Always divide by positive zero when computing -Inf result.
19816 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19817 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19819 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19821 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19822 FPSCR if value do not change.
19823 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19824 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19825 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19826 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19827 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19828 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19831 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19833 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19834 * sysdeps/unix/sysv/linux/hppa: Move directory from
19835 ports/systeps/unix/sysv/linux/hppa.
19836 * README: Update listing for hppa-*-linux-gnu.
19838 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19841 * manual/stdio.texi (Hook functions): Fix types of stream hook
19844 * socket/sys/socket.h: Fix typo in comment.
19846 2014-04-28 Wilco <wdijkstr@arm.com>
19848 * sysdeps/arm/fenv_private.h: New file.
19849 * sysdeps/arm/math_private.h: New file.
19850 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19852 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19854 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19856 (La_x86_64_retval): Likewise.
19858 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19860 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19861 fpsr if value didn't change.
19862 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19863 to fpcr if value didn't change.
19864 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19865 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19866 fpsr or fpcr if value didn't change.
19867 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19868 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19869 fpcr if value didn't change.
19870 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19871 to fpsr if value didn't change.
19873 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19875 * nptl/tst-sem3.c: Use test-skeleton.c
19876 (main): Rename to do_test. Use return instead of
19878 * nptl/tst-sem4.c: Use test-skeleton.c
19879 (main): Rename to do_test.
19881 2014-04-22 David S. Miller <davem@davemloft.net>
19883 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19884 (struct sigaction): New struct member __glibc_reserved0, change
19885 type of sa_flags to int.
19887 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19889 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19890 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19892 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19894 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19895 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19897 2014-04-22 Will Newton <will.newton@linaro.org>
19898 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19900 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19901 (__longjmp): Add longjmp and longjmp_target SystemTap
19903 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19904 (__sigsetjmp): Add setjmp SystemTap probe.
19906 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19908 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19909 match manual order.
19911 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19913 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19915 * sysdeps/powerpc/fpu/fenv_private.h
19916 (libc_feholdexcept_setroundl_ctx): Define to
19917 libc_feholdexcept_setround_ppc_ctx.
19918 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19919 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19920 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19921 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19923 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19925 * sysdeps/aarch64/math-tests.h: New file.
19927 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19929 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19932 Check and set bit_AVX2_Usable.
19933 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19935 (bit_AVX2): Likewise.
19936 (index_AVX2_Usable): Likewise.
19937 (CPUID_AVX2): Likewise.
19938 (HAS_AVX2): Likewise.
19940 2014-04-17 Will Newton <will.newton@linaro.org>
19942 * manual/setjmp.texi (System V contexts): Add note that
19943 calling setcontext on a context created by a call to a
19944 signal handler is undefined. Update text to note that
19945 setcontext from a signal handler is possible but not
19949 * stdlib/tst-setcontext.c: Include signal.h.
19950 (main): Check that the signal stack before and
19951 after swapcontext is the same.
19953 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19954 Re-implement to restore registers in user code and avoid
19955 rt_sigreturn system call.
19957 2014-04-17 Wilco <wdijkstr@arm.com>
19959 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19960 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19961 * math/test-fenv.c: Skip exception trap tests on targets which only
19962 support non-stop mode.
19964 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19965 Wilco Dijkstra <wilco.dijkstra@arm.com>
19967 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19968 (libc_feholdsetround_aarch64_ctx)
19969 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19970 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19971 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19972 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19973 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19974 (libc_feresetround_noexl_ctx): Define.
19976 2014-04-16 Richard Henderson <rth@redhat.com>
19978 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19980 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19983 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19984 const from the non-libc, non-ldso copy.
19986 * sysdeps/alpha/libm-test-ulps: Regenerate.
19988 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19989 Wilco Dijkstra <wilco.dijkstra@arm.com>
19991 * sysdeps/aarch64/fpu/math_private.h: New file.
19993 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19995 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19997 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
20000 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20001 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20003 Intel MPX bound registers before _dl_profile_fixup.
20004 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20005 registers after _dl_profile_fixup. Save and restore bound
20006 registers bnd0/bnd1 when calling _dl_call_pltexit.
20007 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20008 (LR_BND_OFFSET): Likewise.
20009 (LRV_BND0_OFFSET): Likewise.
20010 (LRV_BND1_OFFSET): Likewise.
20012 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20014 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20016 * sysdeps/mach/hurd/i386/tls.h: ... here.
20017 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20018 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20021 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20023 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20025 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20027 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20029 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20032 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20033 * sysdeps/s390/configure: Regenerate.
20036 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20037 Set round-to-nearest internally to reduce error accumulation.
20039 2014-04-16 Alan Modra <amodra@gmail.com>
20043 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20044 * math/libm-test.inc (frexp_test_data): Add tests.
20045 * NEWS: Update fixed bug list.
20047 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20049 * benchtests/Makefile: Depend on libraries in build directory.
20050 (bench-math): Separate out math tests.
20051 (bench-pthread): Separate out pthread tests.
20052 (bench): Include math and pthread tests.
20054 2014-04-14 Carlos O'Donell <carlos@redhat.com>
20057 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20058 _dl_debug_initialize.
20060 * configure.ac: Remove SELinux header check.
20061 * configure: Regenerate.
20062 * nscd/selinux.c (perms): Array of const char* to permission names.
20063 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20064 default policy. Call string_to_security_class and string_to_av_perm to
20065 translate strings. Enforce default policy and call avs_has_perm with
20066 results of translated strings.
20068 2014-04-13 David S. Miller <davem@davemloft.net>
20070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20072 2014-04-12 Allan McRae <allan@archlinux.org>
20075 * manual/string.texi (Collation Functions): Fix qsort argument
20077 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20079 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
20081 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20082 Make the test a no-op if there are no exceptions defined.
20084 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20086 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20087 enable-hardcoded-path-in-tests
20089 2014-04-11 Will Newton <will.newton@linaro.org>
20091 * benchtests/Makefile (extra-objs): Add json-lib.o.
20092 (bench-func): Tidy up JSON output.
20093 * benchtests/bench-skeleton.c: Include json-lib.h.
20094 (main): Use JSON library functions to do output of
20096 * benchtests/bench-timing-type.c (main): Output the
20097 timing type simply, leaving formatting to the user.
20098 * benchtests/json-lib.c: New file.
20099 * benchtests/json-lib.h: Likewise.
20101 2014-04-11 Torvald Riegel <triegel@redhat.com>
20104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20105 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
20106 memory barriers. Add comments.
20107 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20108 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20109 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20110 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20111 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20112 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20114 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20116 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20117 * sysdeps/s390/s390-64/configure.ac: ... this ...
20118 * sysdeps/s390/configure.ac: ... to here.
20119 * sysdeps/s390/s390-32/configure: Delete file.
20120 * sysdeps/s390/s390-64/configure: Delete file.
20121 * sysdeps/s390/configure: Regenerate.
20123 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
20125 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20127 2014-04-11 Will Newton <will.newton@linaro.org>
20129 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20130 to zero if it is not defined elsewhere. (mtrim): Test
20131 the value of MALLOC_DEBUG with #if rather than #ifdef.
20133 2014-04-10 Torvald Riegel <triegel@redhat.com>
20135 * benchtests/pthread_once-inputs: New file.
20136 * benchtests/pthread_once-source.c: New file.
20137 * benchtests/README: Update documentation.
20139 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
20140 H.J. Lu <hongjiu.lu@intel.com>
20143 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20144 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20145 * sysdeps/x86_64/configure: Regenerated.
20146 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20148 (REGISTER_SAVE_RAX): Likewise.
20149 (REGISTER_SAVE_RCX): Likewise.
20150 (REGISTER_SAVE_RDX): Likewise.
20151 (REGISTER_SAVE_RSI): Likewise.
20152 (REGISTER_SAVE_RDI): Likewise.
20153 (REGISTER_SAVE_R8): Likewise.
20154 (REGISTER_SAVE_R9): Likewise.
20155 (REGISTER_SAVE_BND0): Likewise.
20156 (REGISTER_SAVE_BND1): Likewise.
20157 (REGISTER_SAVE_BND2): Likewise.
20158 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
20159 bound registers when calling _dl_fixup.
20161 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20163 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20164 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20166 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20167 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20168 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20169 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20170 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20171 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20172 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20174 2014-04-09 Peter Brett <peter@peter-b.co.uk>
20177 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20178 pathconf(_PC_NAME_MAX).
20180 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20182 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20183 Remove macro usage.
20184 (__PTHREAD_SPINS): Move definition to ...
20185 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20186 (__PTHREAD_SPINS): ... here.
20187 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20188 (__PTHREAD_SPIN): Likewise.
20189 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20190 (__PTHREAD_SPIN): Likewise.
20191 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20192 (__PTHREAD_SPIN): Likewise.
20193 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20194 (__PTHREAD_SPIN): Likewise.
20195 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20196 (__PTHREAD_SPIN): Likewise.
20197 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20198 (__PTHREAD_SPIN): Likewise.
20199 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20200 (__PTHREAD_SPIN): Likewise.
20201 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20202 (__PTHREAD_SPIN): Likewise.
20203 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20204 (__PTHREAD_SPIN): Likewise.
20205 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20206 (__PTHREAD_SPIN): Likewise.
20207 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20208 (__PTHREAD_SPIN): Likewise.
20209 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20210 (__PTHREAD_SPIN): Likewise.
20212 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20213 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20214 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20215 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20217 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20218 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20219 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20220 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20221 correct imply path.
20222 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20223 strlen symbol for non multi-arch builds.
20224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20225 missing hidden_def and weak_alias.
20227 2014-04-08 Carlos O'Donell <carlos@redhat.com>
20229 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20231 2014-04-07 Will Newton <will.newton@linaro.org>
20233 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20234 and contents. [!_LIBC] Remove #ifndef and contents.
20235 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
20236 * string/memccpy.c (__memccpy): Use ANSI prototype.
20237 * string/memfrob.c (memfrob): Likewise.
20238 * string/strcoll.c (STRCOLL): Likewise.
20239 * string/strlen.c (strlen): Likewise.
20240 * string/strtok.c (STRTOK): Likewise.
20241 * string/strcat.c: Remove unused #include of memcopy.h.
20242 (strcat): Use ANSI prototype.
20243 * string/strchr.c: Remove unused #include of memcopy.h.
20244 (strchr): Use ANSI prototype.
20245 * string/strcmp.c: Remove unused #include of memcopy.h.
20246 (strcmp): Use ANSI prototype.
20247 * string/strcpy.c: Remove unused #include of memcopy.h.
20248 (strcpy): Use ANSI prototype.
20250 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20252 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20253 * config.make.in (config-extra-cppflags): Set it from
20254 libc_extra_cppflags.
20255 * configure.ac (libc_extra_cflags): Make it accumulate over
20256 configure fragments.
20257 (libc_extra_cppflags): New flag.
20258 * configure. Regenerate.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20260 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20261 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20266 result for FE_DOWNWARD rounding mode.
20267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
20273 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20274 in function argument name.
20276 2014-04-03 David Svoboda <svoboda@cert.org>
20279 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20282 2014-04-03 Roland McGrath <roland@hack.frob.com>
20284 * elf/dl-unmap-segments.h: New file.
20285 * sysdeps/generic/ldsodefs.h
20286 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20287 * elf/dl-close.c: Include <dl-unmap-segments.h>.
20288 * elf/dl-fptr.c: Likewise.
20289 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20290 * sysdeps/aarch64/tlsdesc.c: Likewise.
20291 * sysdeps/arm/tlsdesc.c: Likewise.
20292 * sysdeps/i386/tlsdesc.c: Likewise.
20293 * sysdeps/tile/dl-runtime.c: Likewise.
20294 * sysdeps/x86_64/tlsdesc.c: Likewise.
20295 * elf/dl-load.h: New file.
20296 * elf/dl-load.c: Include it.
20297 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20298 Macros moved to dl-load.h.
20299 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20300 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20301 Use _dl_unmap_segments in place of __munmap.
20302 Break out segment-mapping loop into ...
20303 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20305 2014-04-03 Will Newton <will.newton@linaro.org>
20307 * elf/dl-lookup.c (do_lookup_x): Remove comment
20308 referring to nested function and move variable
20309 declarations down to before first use.
20311 2014-04-02 Joseph Myers <joseph@codesourcery.com>
20315 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20317 * math/s_catanf.c (__catanf): Likewise.
20318 * math/s_catanh.c (__catanh): Likewise.
20319 * math/s_catanhf.c (__catanhf): Likewise.
20320 * math/s_catanhl.c (__catanhl): Likewise.
20321 * math/s_catanl.c (__catanl): Likewise.
20322 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20323 by positive zero when computing -Inf result.
20324 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20325 (catanh_test): Likewise.
20326 * sysdeps/i386/fpu/libm-test-ulps: Update.
20327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20330 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20331 instead of using underflowing value in computing result.
20332 * math/s_clog10.c (__clog10): Likewise.
20333 * math/s_clog10f.c (__clog10f): Likewise.
20334 * math/s_clog10l.c (__clog10l): Likewise.
20335 * math/s_clogf.c (__clogf): Likewise.
20336 * math/s_clogl.c (__clogl): Likewise.
20337 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20338 (clog10_test): Likewise.
20339 * sysdeps/i386/fpu/libm-test-ulps: Update.
20340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342 2014-04-02 Alan Modra <amodra@gmail.com>
20345 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20346 output when value is near a power of two. Use int64_t for lx and
20347 remove casts. Use decimal rather than hex exponent constants.
20348 Don't use long double multiplication when double will suffice.
20349 * math/libm-test.inc (nextafter_test_data): Add tests.
20350 * NEWS: Add 16739 and 16786 to bug list.
20352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20354 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20356 2014-04-01 Will Newton <will.newton@linaro.org>
20358 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20359 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
20361 2014-04-01 Florian Weimer <fweimer@redhat.com>
20364 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20365 * nptl/tst-setuid2.c: New file.
20366 * nptl/Makefile (xtests): Add tst-setuid2.
20368 2014-04-01 Alan Modra <amodra@gmail.com>
20371 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20373 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20377 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20378 set errno as appropriate.
20379 * math/w_scalbf.c (__scalbf): Likewise.
20380 * math/w_scalbl.c (__scalbl): Likewise.
20381 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20382 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20383 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20384 Add more NaN tests.
20387 * math/w_atan2.c: Include <errno.h>.
20388 (__atan2): Set errno for result underflowing to zero.
20389 * math/w_atan2f.c: Include <errno.h>.
20390 (__atan2f): Set errno for result underflowing to zero.
20391 * math/w_atan2l.c: Include <errno.h>.
20392 (__atan2l): Set errno for result underflowing to zero.
20393 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20395 * math/auto-libm-test-out: Regenerated.
20397 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20399 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20400 Encode instruction correctly in little endian.
20401 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20403 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20405 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20407 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20410 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20413 * sysdeps/unix/sysv/linux/kernel-features.h
20414 [__sparc__ && !__arch64__ && !__sparc_v9__]
20415 (__ASSUME_SET_ROBUST_LIST): Do not define.
20416 [__sparc__ && !__arch64__ && !__sparc_v9__]
20417 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20418 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20421 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20422 (__ASSUME_REQUEUE_PI): Likewise.
20423 (__ASSUME_SET_ROBUST_LIST): Likewise.
20424 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20425 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20428 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20430 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20432 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20434 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20435 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20437 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20438 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20442 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20443 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20444 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20446 2014-03-31 Will Newton <will.newton@linaro.org>
20448 * benchtests/Makefile (bench): Add ffs and ffsll to list
20450 * benchtests/ffs-inputs: New file.
20451 * benchtests/ffsll-inputs: Likewise.
20453 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20456 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20457 too large before casting to int.
20458 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20459 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20460 * math/libm-test.inc (scalb_test_data): Add more tests.
20462 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20464 * benchtests/Makefile (DETAILED_OPT): New make option.
20465 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20467 * benchtests/bench-skeleton.c: Include stdbool.h.
20468 (main): Store and print timings per input.
20469 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20470 member to each argument value.
20471 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20472 (_print_arg_data): Initialize per-input timing to 0.
20474 * benchtests/Makefile (timing-type): New binary.
20475 (bench-clean): Also remove bench-timing-type.
20476 (bench): New target for timing-type.
20477 (bench-func): Print output in JSON format.
20478 * benchtests/bench-skeleton.c (main): Print output in JSON
20480 * benchtests/bench-timing-type.c: New file.
20481 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20482 (TIMING_PRINT_STATS): Remove.
20483 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20486 * benchtests/bench-modf.c: Remove.
20487 * benchtests/modf-inputs: New inputs file.
20489 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20492 * math/s_clog10.c (M_PI_LOG10E): New macro.
20493 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20494 imaginary parts are 0.
20495 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20496 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20497 imaginary parts are 0.
20498 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20499 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20500 imaginary parts are 0.
20501 * math/libm-test.inc (clog10_test_data): Update expected results
20502 for when real and imaginary parts are 0.
20504 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20506 * elf/dl-load.c: Finish conversion of __builtin_expect into
20507 __glibc_{un}likely.
20509 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20512 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20513 1+x for argument with exponent below -67.
20514 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20516 * math/auto-libm-test-in: Add more tests of exp.
20517 * math/auto-libm-test-out: Regenerated.
20519 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20523 (nscd_getnetgrent): Use it.
20526 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20529 2014-03-27 Andi Kleen <ak@linux.intel.com>
20531 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20532 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20533 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20534 (lll_robust_unlock): Remove out of line section. Use cfi
20536 (LLL_STUB_UNWIND_INFO*): Remove.
20537 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20538 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20539 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20540 (lll_robust_unlock): Remove out of line section. Use cfi
20542 (LLL_STUB_UNWIND_INFO*): Remove.
20544 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20547 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20550 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20552 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20554 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20557 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20559 * math/test-fenv-preserve.c: New file.
20560 * math/Makefile (tests): Add test-fenv-preserve.
20562 2014-03-26 Will Newton <will.newton@linaro.org>
20564 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20566 2014-03-25 Roland McGrath <roland@hack.frob.com>
20568 * scripts/versionlist.awk: Partition the version sets and emit all
20569 GLIBC_* (sorted) before all others (sorted).
20571 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20573 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20574 GLIBC_2.2.5 version.
20576 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20581 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20586 2014-03-25 Andreas Schwab <schwab@suse.de>
20588 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20589 label to be used after in6ailist is initialized.
20591 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20593 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20594 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20596 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20600 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20602 (fp_formats): Update initializers.
20603 (init_fp_formats): Initialize new field.
20604 (output_for_one_input_case): Allow underflow for results up to
20606 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20607 * math/auto-libm-test-in: Don't mark some underflows from asin and
20609 * math/auto-libm-test-out: Regenerated.
20610 * sysdeps/i386/fpu/libm-test-ulps: Update.
20611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613 2014-03-25 Andreas Schwab <schwab@suse.de>
20615 * libio/Makefile (tst-ftell-partial-wide-ENV)
20616 (tst-ftell-active-handler-ENV): Define.
20618 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20620 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20622 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20624 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20626 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20629 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20630 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20632 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20635 * elf/dl-load.c (open_verify): Add mode parameter.
20636 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20637 (open_path): Change from boolean 'secure' to complete flag 'mode'
20638 (_dl_map_object): Adjust.
20639 * elf/Makefile (tests): Add tst-dlopen-aout.
20640 * elf/tst-dlopen-aout.c: New test.
20642 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20645 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20646 (struct stat): Rename member pad0 to __glibc_reserved0.
20649 * sysdeps/s390/s390-32/bits/wordsize.h
20650 (__WORDSIZE32_SIZE_ULONG): New define.
20651 * sysdeps/s390/s390-64/bits/wordsize.h
20652 (__WORDSIZE32_SIZE_ULONG): Likewise.
20653 * sysdeps/generic/stdint.h (SIZE_MAX):
20654 Define as UL if __WORDSIZE32_SIZE_ULONG.
20657 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20658 (__glibc_reserved0): New variable.
20659 (sa_flags): Change type to int.
20661 * posix/Makefile (before-compile): Use += before-compile instead
20664 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20665 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20667 2014-03-20 Andreas Schwab <schwab@suse.de>
20670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20671 non-matching result from nscd.
20673 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20675 * scripts/bench.py: Moved to ...
20676 * benchtests/scripts/bench.py: ... here.
20677 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20679 2014-03-24 Andreas Schwab <schwab@suse.de>
20682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20683 alloca_account and account alloca use for struct in6ailist.
20685 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20688 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20689 rounding mode to recompute results that overflow to infinity or
20691 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20693 * math/auto-libm-test-out: Regenerated.
20694 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20695 (ccosh_test): Likewise.
20696 (csin_test_data): Use plus_oflow.
20697 (csin_test): Use ALL_RM_TEST.
20698 (csinh_test_data): Use plus_oflow.
20699 (csinh_test): Use ALL_RM_TEST.
20700 * sysdeps/i386/fpu/libm-test-ulps: Update.
20701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20703 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20705 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20706 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20707 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20710 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20711 when x - 1 is zero.
20712 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20713 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20714 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20715 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20717 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20718 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20720 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20721 * sysdeps/i386/fpu/libm-test-ulps: Update.
20722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20724 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20726 * scripts/bench.pl: Remove file.
20727 * scripts/bench.py: New benchmark script.
20728 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20729 * benchtests/README: Mention python dependency.
20730 * scripts/pylintrc: New file.
20731 * scripts/pylint: New file.
20733 * bits/mathdef.h: Use #ifdef instead of #if.
20734 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20735 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20736 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20737 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20738 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20739 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20741 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20742 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20744 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20746 and strpbrk-ppc64 objects.
20747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20748 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20749 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20750 multiarch strpbrk for POWER7.
20751 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20752 multiarch strpbrk for PPC64.
20753 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20755 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20756 strpbrk for POWER7.
20758 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20760 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20761 (atan_test): Likewise.
20762 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20763 (atanh_test): Use ALL_RM_TEST.
20764 (atan2_test_data): Likewise.
20765 (cabs_test): Likewise.
20766 (cacosh_test): Likewise.
20767 (carg_test): Likewise.
20768 (casin_test): Likewise.
20769 (casinh_test): Likewise.
20770 (cbrt_test): Likewise.
20771 (csqrt_test): Likewise.
20772 (erf_test): Likewise.
20773 (erfc_test): Likewise.
20774 (pow10_test): Likewise.
20775 (exp2_test): Likewise.
20776 (hypot_test): Likewise.
20777 (j0_test): Likewise.
20778 (j1_test): Likewise.
20779 (lgamma_test): Likewise.
20780 (gamma_test): Likewise.
20781 (sincos_test): Likewise.
20782 (tanh_test): Likewise.
20783 (y0_test): Likewise.
20784 (y1_test): Likewise.
20785 * sysdeps/i386/fpu/libm-test-ulps: Update.
20786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20788 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20790 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20792 and strcspn-ppc64 objects.
20793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20794 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20795 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20796 multiarch strcspn for POWER7.
20797 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20798 multiarch strcspn for PPC64.
20799 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20801 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20802 strcspn for POWER7.
20804 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20806 * math/gen-libm-test.pl (generate_testfile): Expect only function
20807 name as argument to AUTO_TESTS_* and pass results for all rounding
20808 modes to parse_args.
20809 (parse_auto_input): Separate inputs of automatic tests from
20810 outputs before storing in %auto_tests.
20811 * math/libm-test.inc (acos_test_data): Update call to
20813 (acos_test): Use ALL_RM_TEST.
20814 (acos_tonearest_test_data): Remove.
20815 (acos_test_tonearest): Likewise.
20816 (acos_towardzero_test_data): Likewise.
20817 (acos_test_towardzero): Likewise.
20818 (acos_downward_test_data): Likewise.
20819 (acos_test_downward): Likewise.
20820 (acos_upward_test_data): Likewise.
20821 (acos_test_upward): Likewise.
20822 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20823 (asin_test_data): Likewise.
20824 (asin_test): Use ALL_RM_TEST.
20825 (asin_tonearest_test_data): Remove.
20826 (asin_test_tonearest): Likewise.
20827 (asin_towardzero_test_data): Likewise.
20828 (asin_test_towardzero): Likewise.
20829 (asin_downward_test_data): Likewise.
20830 (asin_test_downward): Likewise.
20831 (asin_upward_test_data): Likewise.
20832 (asin_test_upward): Likewise.
20833 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20834 (atan_test_data): Likewise.
20835 (atanh_test_data): Likewise.
20836 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20837 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20838 (carg_test_data): Likewise.
20839 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20840 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20841 (ccosh_test_data): Likewise.
20842 (cexp_test_data): Likewise.
20843 (clog_test_data): Likewise.
20844 (clog10_test_data): Likewise.
20845 (cos_test_data): Update call to AUTO_TESTS_f_f.
20846 (cos_test): Use ALL_RM_TEST.
20847 (cos_tonearest_test_data): Remove.
20848 (cos_test_tonearest): Likewise.
20849 (cos_towardzero_test_data): Likewise.
20850 (cos_test_towardzero): Likewise.
20851 (cos_downward_test_data): Likewise.
20852 (cos_test_downward): Likewise.
20853 (cos_upward_test_data): Likewise.
20854 (cos_test_upward): Likewise.
20855 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20856 (cosh_test): Use ALL_RM_TEST.
20857 (cosh_tonearest_test_data): Remove.
20858 (cosh_test_tonearest): Likewise.
20859 (cosh_towardzero_test_data): Likewise.
20860 (cosh_test_towardzero): Likewise.
20861 (cosh_downward_test_data): Likewise.
20862 (cosh_test_downward): Likewise.
20863 (cosh_upward_test_data): Likewise.
20864 (cosh_test_upward): Likewise.
20865 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20866 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20867 (ctan_test_data): Likewise.
20868 (ctan_test): Use ALL_RM_TEST.
20869 (ctan_tonearest_test_data): Remove.
20870 (ctan_test_tonearest): Likewise.
20871 (ctan_towardzero_test_data): Likewise.
20872 (ctan_test_towardzero): Likewise.
20873 (ctan_downward_test_data): Likewise.
20874 (ctan_test_downward): Likewise.
20875 (ctan_upward_test_data): Likewise.
20876 (ctan_test_upward): Likewise.
20877 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20878 (ctanh_test): Use ALL_RM_TEST.
20879 (ctanh_tonearest_test_data): Remove.
20880 (ctanh_test_tonearest): Likewise.
20881 (ctanh_towardzero_test_data): Likewise.
20882 (ctanh_test_towardzero): Likewise.
20883 (ctanh_downward_test_data): Likewise.
20884 (ctanh_test_downward): Likewise.
20885 (ctanh_upward_test_data): Likewise.
20886 (ctanh_test_upward): Likewise.
20887 (erf_test_data): Update call to AUTO_TESTS_f_f.
20888 (erfc_test_data): Likewise.
20889 (exp_test_data): Likewise.
20890 (exp_test): Use ALL_RM_TEST.
20891 (exp_tonearest_test_data): Remove.
20892 (exp_test_tonearest): Likewise.
20893 (exp_towardzero_test_data): Likewise.
20894 (exp_test_towardzero): Likewise.
20895 (exp_downward_test_data): Likewise.
20896 (exp_test_downward): Likewise.
20897 (exp_upward_test_data): Likewise.
20898 (exp_test_upward): Likewise.
20899 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20900 (exp10_test): Use ALL_RM_TEST.
20901 (exp10_tonearest_test_data): Remove.
20902 (exp10_test_tonearest): Likewise.
20903 (exp10_towardzero_test_data): Likewise.
20904 (exp10_test_towardzero): Likewise.
20905 (exp10_downward_test_data): Likewise.
20906 (exp10_test_downward): Likewise.
20907 (exp10_upward_test_data): Likewise.
20908 (exp10_test_upward): Likewise.
20909 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20910 (expm1_test_data): Likewise.
20911 (expm1_test): Use ALL_RM_TEST.
20912 (expm1_tonearest_test_data): Remove.
20913 (expm1_test_tonearest): Likewise.
20914 (expm1_towardzero_test_data): Likewise.
20915 (expm1_test_towardzero): Likewise.
20916 (expm1_downward_test_data): Likewise.
20917 (expm1_test_downward): Likewise.
20918 (expm1_upward_test_data): Likewise.
20919 (expm1_test_upward): Likewise.
20920 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20921 (fma_test): Use ALL_RM_TEST.
20922 (fma_towardzero_test_data): Remove.
20923 (fma_test_towardzero): Likewise.
20924 (fma_downward_test_data): Likewise.
20925 (fma_test_downward): Likewise.
20926 (fma_upward_test_data): Likewise.
20927 (fma_test_upward): Likewise.
20928 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20929 (j0_test_data): Update call to AUTO_TESTS_f_f.
20930 (j1_test_data): Likewise.
20931 (jn_test_data): Update call to AUTO_TESTS_if_f.
20932 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20933 (log_test_data): Update call to AUTO_TESTS_f_f.
20934 (log10_test_data): Likewise.
20935 (log1p_test_data): Likewise.
20936 (log2_test_data): Likewise.
20937 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20938 (pow_tonearest_test_data): Likewise.
20939 (sin_test_data): Update call to AUTO_TESTS_f_f.
20940 (sin_test): Use ALL_RM_TEST.
20941 (sin_tonearest_test_data): Remove.
20942 (sin_test_tonearest): Likewise.
20943 (sin_towardzero_test_data): Likewise.
20944 (sin_test_towardzero): Likewise.
20945 (sin_downward_test_data): Likewise.
20946 (sin_test_downward): Likewise.
20947 (sin_upward_test_data): Likewise.
20948 (sin_test_upward): Likewise.
20949 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20950 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20951 (sinh_test): Use ALL_RM_TEST.
20952 (sinh_tonearest_test_data): Remove.
20953 (sinh_test_tonearest): Likewise.
20954 (sinh_towardzero_test_data): Likewise.
20955 (sinh_test_towardzero): Likewise.
20956 (sinh_downward_test_data): Likewise.
20957 (sinh_test_downward): Likewise.
20958 (sinh_upward_test_data): Likewise.
20959 (sinh_test_upward): Likewise.
20960 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20961 (sqrt_test): Use ALL_RM_TEST.
20962 (sqrt_tonearest_test_data): Remove.
20963 (sqrt_test_tonearest): Likewise.
20964 (sqrt_towardzero_test_data): Likewise.
20965 (sqrt_test_towardzero): Likewise.
20966 (sqrt_downward_test_data): Likewise.
20967 (sqrt_test_downward): Likewise.
20968 (sqrt_upward_test_data): Likewise.
20969 (sqrt_test_upward): Likewise.
20970 (tan_test_data): Update call to AUTO_TESTS_f_f.
20971 (tan_test): Use ALL_RM_TEST.
20972 (tan_tonearest_test_data): Remove.
20973 (tan_test_tonearest): Likewise.
20974 (tan_towardzero_test_data): Likewise.
20975 (tan_test_towardzero): Likewise.
20976 (tan_downward_test_data): Likewise.
20977 (tan_test_downward): Likewise.
20978 (tan_upward_test_data): Likewise.
20979 (tan_test_upward): Likewise.
20980 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20981 (tgamma_test_data): Likewise.
20982 (y0_test_data): Likewise.
20983 (y1_test_data): Likewise.
20984 (yn_test_data): Update call to AUTO_TESTS_if_f.
20985 (main): Do not call removed functions.
20987 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20989 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20990 (ldexp_test_data): Remove.
20991 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20993 (scalb_test): Use ALL_RM_TEST.
20995 2014-03-19 Andreas Schwab <schwab@suse.de>
20997 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20999 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21002 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21003 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21005 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21006 (__ASSUME_PREADV): Undefine.
21007 (__ASSUME_PWRITEV): Likewise.
21009 2014-03-18 Roland McGrath <roland@hack.frob.com>
21011 * bits/mman-linux.h: Add comment about non-Linux use.
21012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21013 bits/mman-linux.h resting place.
21015 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21016 * bits/mman-linux.h: ... here.
21018 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21020 * conform/conformtest.pl: Add standard definition when calling C
21021 preprocessor on data files.
21022 (checknamespace): Remove unused variable.
21024 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21026 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21027 minus_oflow, plus_uflow and minus_uflow in expected results.
21028 * math/libm-test.inc (scalbn_test_data): Add more tests of
21029 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
21031 (scalbn_test): Use ALL_RM_TEST.
21032 (scalbln_test_data): Add more tests of negative arguments. Use
21033 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21034 (scalbln_test): Use ALL_RM_TEST.
21036 2014-03-18 Roland McGrath <roland@hack.frob.com>
21038 * scripts/abilist.awk: Ignore symbols marked with .hidden.
21040 2014-03-18 Will Newton <will.newton@linaro.org>
21042 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21043 inaccurate comment.
21045 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21047 * Makerules [!subdir] (check-abi): Exit with error status if a
21050 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21052 * math/libm-test.inc (nearbyint_test_data): Include all tests used
21053 for rint. Include results for all rounding modes.
21054 (nearbyint_test): Use ALL_RM_TEST.
21055 (rint_test_data): Include all tests used for nearbyint.
21057 2014-03-17 Will Newton <will.newton@linaro.org>
21059 * nptl/sysdeps/pthread/pthread.h: Revert previous
21062 * sysdeps/generic/ldsodefs.h: Revert previous
21065 * libio/genops.c: Revert previous change.
21066 * libio/libioP.h: Likewise.
21067 * stdio-common/vfprintf.c: Likewise.
21069 * sysdeps/generic/math_private.h: Revert previous
21072 * sysdeps/generic/math_private.h: Check whether
21073 HAVE_RM_CTX is defined with #ifdef rather
21076 * argp/argp-fmtstream.h: Check whether
21077 __STRICT_ANSI__ is defined with #ifdef rather
21079 * argp/argp.h: Likewise.
21081 * libio/genops.c: Check whether
21082 _IO_JUMPS_OFFSET is defined with #ifdef rather
21084 * libio/libioP.h: Likewise.
21085 * stdio-common/vfprintf.c: Likewise.
21087 * sysdeps/generic/ldsodefs.h: Check whether
21088 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21091 * nptl/sysdeps/pthread/pthread.h: Check
21092 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21095 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21097 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21099 * libio/tst-ftell-active-handler.c (do_append_test): Add a
21103 * libio/fileops.c (_IO_file_open): Seek to end of file but
21104 don't cache the offset.
21105 (get_file_offset): Remove function.
21106 (do_ftell): Use cached offset when available.
21107 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21108 don't cache the offset.
21109 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21111 (do_one_test): Call it.
21112 (do_ftell_test): Fix up expected old offset for a+ mode.
21113 * libio/wfileops.c (do_ftell_wide): Used cached offset when
21116 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21117 up test status with function return status.
21118 (do_write_test): Likewise.
21119 (do_append_test): Likewise.
21121 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21122 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21125 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21127 * math/gen-libm-test.pl (parse_args): Handle results specified for
21128 each rounding mode separately.
21129 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21130 tests and results from lrint_tonearest_test_data,
21131 lrint_towardzero_test_data, lrint_downward_test_data and
21132 lrint_upward_test_data.
21133 (lrint_test): Use ALL_RM_TEST.
21134 (lrint_tonearest_test_data): Remove.
21135 (lrint_test_tonearest): Likewise.
21136 (lrint_towardzero_test_data): Likewise.
21137 (lrint_test_towardzero): Likewise.
21138 (lrint_downward_test_data): Likewise.
21139 (lrint_test_downward): Likewise.
21140 (lrint_upward_test_data): Likewise.
21141 (lrint_test_upward): Likewise.
21142 (llrint_test_data): Merge in per-rounding-mode tests and results
21143 from llrint_tonearest_test_data, llrint_towardzero_test_data,
21144 llrint_downward_test_data and llrint_upward_test_data.
21145 (llrint_test): Use ALL_RM_TEST.
21146 (llrint_tonearest_test_data): Remove.
21147 (llrint_test_tonearest): Likewise.
21148 (llrint_towardzero_test_data): Likewise.
21149 (llrint_test_towardzero): Likewise.
21150 (llrint_downward_test_data): Likewise.
21151 (llrint_test_downward): Likewise.
21152 (llrint_upward_test_data): Likewise.
21153 (llrint_test_upward): Likewise.
21154 (rint_test_data): Merge in per-rounding-mode tests and results
21155 from rint_tonearest_test_data, rint_towardzero_test_data,
21156 rint_downward_test_data and rint_upward_test_data. Add
21157 per-rounding-mode results for tests not in those arrays.
21158 (rint_test): Use ALL_RM_TEST.
21159 (rint_tonearest_test_data): Remove.
21160 (rint_test_tonearest): Likewise.
21161 (rint_towardzero_test_data): Likewise.
21162 (rint_test_towardzero): Likewise.
21163 (rint_downward_test_data): Likewise.
21164 (rint_test_downward): Likewise.
21165 (rint_upward_test_data): Likewise.
21166 (rint_test_upward): Likewise.
21167 (main): Don't call removed functions.
21169 2014-03-14 Roland McGrath <roland@hack.frob.com>
21171 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21172 "Compiled on ..." crapola. It is anti-useful.
21174 2014-03-14 Joseph Myers <joseph@codesourcery.com>
21176 * scripts/evaluate-test.sh: Handle fourth argument to determine
21177 whether test run should stop on failure.
21178 * Makeconfig (stop-on-test-failure): New variable.
21179 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21180 $(stop-on-test-failure).
21181 * Makefile (tests): Give a summary of results from testing and
21182 exit with failure status if they include an ERROR or FAIL.
21183 (xtests): Likewise.
21184 * manual/install.texi (Configuring and compiling): Mention
21185 stop-on-test-failure=y.
21186 * INSTALL: Regenerated.
21188 2014-03-14 Roland McGrath <roland@hack.frob.com>
21190 * scripts/versionlist.awk: New file.
21191 * Makerules [$(build-shared) = yes]
21192 (postclean-generated): Add Versions.def, not Versions.def.v and
21194 ($(common-objpfx)Versions.def.v.i): Target removed.
21195 ($(common-objpfx)Versions.def): New target.
21196 ($(common-objpfx)Versions.all): Depend on that rather that
21197 $(common-objpfx)Versions.def.v.
21198 * Versions.def: File removed.
21200 * Makeconfig (+gccwarn): Add -Wundef.
21201 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21202 a dl-sysdep.h breaking its contract.
21203 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21204 * include/stackinfo.h: New file.
21205 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21206 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21207 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21208 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21209 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21210 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21211 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21212 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21213 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21214 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21215 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21216 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21217 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21218 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21219 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21221 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21224 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21226 * math/libm-test.inc (round_test_data): Add more tests.
21229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21231 * math/libm-test.inc (nearbyint_test_data): Add more tests.
21234 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21236 * math/libm-test.inc (ceil_test_data): Add more tests.
21238 * math/libm-test.inc (trunc_test_data): Add more tests related to
21241 2014-03-14 Roland McGrath <roland@hack.frob.com>
21243 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21244 with #if rather than #ifdef.
21245 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21247 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
21249 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21250 first. Disable AVX-512 GCC support if assembler doesn't support
21252 * sysdeps/x86_64/configure: Regenerated.
21254 2014-03-13 Carlos O'Donell <carlos@redhat.com>
21256 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21257 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21258 (__old_pthread_attr_setstack): Likewise.
21259 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21260 [!_STACK_GROWS_DOWN]: Likewise.
21262 2014-03-13 Mike Frysinger <vapier@gentoo.org>
21264 * config.make.in (have-bash2): Delete.
21265 * configure.ac (libc_cv_have_bash2): Delete.
21266 * configure: Regenerate.
21267 * elf/Makefile (common-ldd-rewrite): Rename to ...
21268 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
21269 (sh-ldd-rewrite): Delete.
21270 (bash-ldd-rewrite): Delete.
21271 (have-bash2): Delete checks.
21272 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21275 * config.make.in (have-ksh): Delete.
21277 * configure.ac (libc_cv_have_ksh): Delete.
21278 * configure: Regenerate.
21280 * elf/Makefile: Delete $(have-ksh) check.
21281 ($(objpfx)sotruss): Change KSH to BASH.
21282 * elf/sotruss.ksh: Rename to ...
21283 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
21284 function style to match POSIX. Drop ksh vim mode setting.
21286 * manual/time.texi (Specifying the Time Zone with TZ): Change
21287 Tuesday to Thursday.
21289 * debug/tst-longjmp_chk2.c: Update header comment.
21290 (stackoverflow_handler): Add comment. Call assert on pass value.
21292 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
21295 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21296 (HAVE_AVX512_ASM_SUPPORT): Likewise.
21297 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21298 (La_x86_64_vector): Add zmm.
21299 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21300 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21301 ($(objpfx)tst-audit10): New target.
21302 ($(objpfx)tst-audit10.out): Likewise.
21303 (tst-audit10-ENV): New.
21304 (AVX512-CFLAGS): Likewise.
21305 (CFLAGS-tst-audit10.c): Likewise.
21306 (CFLAGS-tst-auditmod10a.c): Likewise.
21307 (CFLAGS-tst-auditmod10b.c): Likewise.
21308 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21309 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21310 * sysdeps/x86_64/configure: Regenerated.
21311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21312 AVX-512 zmm register support.
21313 (_dl_x86_64_save_sse): Likewise.
21314 (_dl_x86_64_restore_sse): Likewise.
21315 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21316 size vector registers.
21317 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21318 (ZMM_SIZE): Likewise.
21319 * sysdeps/x86_64/tst-audit10.c: New file.
21320 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21321 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21323 2014-03-13 Roland McGrath <roland@hack.frob.com>
21325 * configure.ac (HAVE_EHDR_START): New check.
21326 * configure: Regenerated.
21327 * config.h.in (HAVE_EHDR_START): New #undef.
21328 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21329 assuming the lowest-addressed segment maps the start of the file.
21331 2014-03-13 Joseph Myers <joseph@codesourcery.com>
21333 * INSTALL: Regenerated.
21335 2014-03-13 Will Newton <will.newton@linaro.org>
21337 * manual/setjmp.texi (System V contexts): Improve
21338 clarity and grammar of documentation.
21340 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21343 * elf/Makefile (tests): Add tst-pie2.
21344 (tests-pie): Add tst-pie2.
21345 * elf/tst-pie2.c: New file.
21346 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21348 * elf/rtld.c (map_doit): Load executable as lt_executable.
21349 (dl_main): Likewise.
21351 2014-03-12 Joseph Myers <joseph@codesourcery.com>
21354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21355 (__ASSUME_PSELECT): Undefine.
21357 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21360 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21361 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21363 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21364 selector for static builds.
21366 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21369 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21372 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21374 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21375 IFUNC selector for static builds.
21377 2014-03-11 Joseph Myers <joseph@codesourcery.com>
21379 * sysdeps/mips/math_private.h [__mips_hard_float]
21380 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21381 libc_feresetround_mips_ctx.
21382 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21383 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21384 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21387 * math/s_nextafter.c (__nextafter): Do not return value from
21388 overflowing computation.
21389 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21390 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21391 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21393 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21395 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21396 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21398 2014-03-11 Roland McGrath <roland@hack.frob.com>
21400 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21401 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21402 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21403 the new mov targetting sp.
21405 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21408 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21409 Define it for static builds as well.
21410 (NO_BZERO_IMPL): Likewise.
21412 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21414 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21415 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21416 multiarch strspn for PPC64.
21417 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21418 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21420 (__libc_ifunc_impl_list): Likewise.
21421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21422 multiarch optimizations
21423 * string/strspn.c (strspn): Using macro to redefine symbol name.
21425 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21426 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21428 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21429 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21430 multiarch strncat for PPC64.
21431 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21432 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21434 (__libc_ifunc_impl_list): Likewise.
21435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21436 multiarch optimizations
21438 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21441 * nscd/nscd.service: Make service type forking.
21443 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21445 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21446 sign in non default rounding modes.
21447 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21449 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21451 * math/libm-test.inc (ALL_RM_TEST): New macro.
21452 (ceil_test): Use ALL_RM_TEST.
21453 (cimag_test): Likewise.
21454 (conj_test): Likewise.
21455 (copysign_test): Likewise.
21456 (cproj_test): Likewise.
21457 (creal_test): Likewise.
21458 (fabs_test): Likewise.
21459 (floor_test): Likewise.
21460 (fmax_test): Likewise.
21461 (fmin_test): Likewise.
21462 (fmod_test): Likewise.
21463 (fpclassify_test): Likewise.
21464 (frexp_test): Likewise.
21465 (ilogb_test): Likewise.
21466 (isfinite_test): Likewise.
21467 (finite_test): Likewise.
21468 (isgreater_test): Likewise.
21469 (isgreaterequal_test): Likewise.
21470 (isinf_test): Likewise.
21471 (isless_test): Likewise.
21472 (islessequal_test): Likewise.
21473 (islessgreater_test): Likewise.
21474 (isnan_test): Likewise.
21475 (isnormal_test): Likewise.
21476 (issignaling_test): Likewise.
21477 (isunordered_test): Likewise.
21478 (logb_test): Likewise.
21479 (logb_downward_test_data): Remove.
21480 (logb_test_downward): Likewise.
21481 (lround_test): Use ALL_RM_TEST.
21482 (llround_test): Likewise.
21483 (modf_test): Likewise.
21484 (nexttoward_test): Likewise.
21485 (remainder_test): Likewise.
21486 (drem_test): Likewise.
21487 (remainder_tonearest_test_data): Likewise.
21488 (remainder_test_tonearest): Likewise.
21489 (drem_test_tonearest): Likewise.
21490 (remainder_towardzero_test_data): Likewise.
21491 (remainder_test_towardzero): Likewise.
21492 (drem_test_towardzero): Likewise.
21493 (remainder_downward_test_data): Likewise.
21494 (remainder_test_downward): Likewise.
21495 (drem_test_downward): Likewise.
21496 (remainder_upward_test_data): Likewise.
21497 (remainder_test_upward): Likewise.
21498 (drem_test_upward): Likewise.
21499 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21500 (round_test): Use ALL_RM_TEST.
21501 (signbit_test): Likewise.
21502 (trunc_test): Likewise.
21503 (significand_test): Likewise.
21504 (main): Don't call removed functions.
21506 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21509 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21510 || __USE_XOPEN2K8].
21511 (ILL_ILLOPN): Likewise.
21512 (ILL_ILLADR): Likewise.
21513 (ILL_ILLTRP): Likewise.
21514 (ILL_PRVOPC): Likewise.
21515 (ILL_PRVREG): Likewise.
21516 (ILL_COPROC): Likewise.
21517 (ILL_BADSTK): Likewise.
21518 (FPE_INTDIV): Likewise.
21519 (FPE_INTOVF): Likewise.
21520 (FPE_FLTDIV): Likewise.
21521 (FPE_FLTOVF): Likewise.
21522 (FPE_FLTUND): Likewise.
21523 (FPE_FLTRES): Likewise.
21524 (FPE_FLTINV): Likewise.
21525 (FPE_FLTSUB): Likewise.
21526 (SEGV_MAPERR): Likewise.
21527 (SEGV_ACCERR): Likewise.
21528 (BUS_ADRALN): Likewise.
21529 (BUS_ADRERR): Likewise.
21530 (BUS_OBJERR): Likewise.
21531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21532 (TRAP_TRACE): Likewise.
21533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21535 (CLD_KILLED): Likewise.
21536 (CLD_DUMPED): Likewise.
21537 (CLD_TRAPPED): Likewise.
21538 (CLD_STOPPED): Likewise.
21539 (CLD_CONTINUED): Likewise.
21540 (POLL_IN): Likewise.
21541 (POLL_OUT): Likewise.
21542 (POLL_MSG): Likewise.
21543 (POLL_ERR): Likewise.
21544 (POLL_PRI): Likewise.
21545 (POLL_HUP): Likewise.
21546 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21548 (ILL_ILLOPN): Likewise.
21549 (ILL_ILLADR): Likewise.
21550 (ILL_ILLTRP): Likewise.
21551 (ILL_PRVOPC): Likewise.
21552 (ILL_PRVREG): Likewise.
21553 (ILL_COPROC): Likewise.
21554 (ILL_BADSTK): Likewise.
21555 (FPE_INTDIV): Likewise.
21556 (FPE_INTOVF): Likewise.
21557 (FPE_FLTDIV): Likewise.
21558 (FPE_FLTOVF): Likewise.
21559 (FPE_FLTUND): Likewise.
21560 (FPE_FLTRES): Likewise.
21561 (FPE_FLTINV): Likewise.
21562 (FPE_FLTSUB): Likewise.
21563 (SEGV_MAPERR): Likewise.
21564 (SEGV_ACCERR): Likewise.
21565 (BUS_ADRALN): Likewise.
21566 (BUS_ADRERR): Likewise.
21567 (BUS_OBJERR): Likewise.
21568 (BUS_MCEERR_AR): Likewise.
21569 (BUS_MCEERR_AO): Likewise.
21570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21571 (TRAP_TRACE): Likewise.
21572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21574 (CLD_KILLED): Likewise.
21575 (CLD_DUMPED): Likewise.
21576 (CLD_TRAPPED): Likewise.
21577 (CLD_STOPPED): Likewise.
21578 (CLD_CONTINUED): Likewise.
21579 (POLL_IN): Likewise.
21580 (POLL_OUT): Likewise.
21581 (POLL_MSG): Likewise.
21582 (POLL_ERR): Likewise.
21583 (POLL_PRI): Likewise.
21584 (POLL_HUP): Likewise.
21585 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21586 (ILL_ILLOPN): Likewise.
21587 (ILL_ILLADR): Likewise.
21588 (ILL_ILLTRP): Likewise.
21589 (ILL_PRVOPC): Likewise.
21590 (ILL_PRVREG): Likewise.
21591 (ILL_COPROC): Likewise.
21592 (ILL_BADSTK): Likewise.
21593 (FPE_INTDIV): Likewise.
21594 (FPE_INTOVF): Likewise.
21595 (FPE_FLTDIV): Likewise.
21596 (FPE_FLTOVF): Likewise.
21597 (FPE_FLTUND): Likewise.
21598 (FPE_FLTRES): Likewise.
21599 (FPE_FLTINV): Likewise.
21600 (FPE_FLTSUB): Likewise.
21601 (SEGV_MAPERR): Likewise.
21602 (SEGV_ACCERR): Likewise.
21603 (BUS_ADRALN): Likewise.
21604 (BUS_ADRERR): Likewise.
21605 (BUS_OBJERR): Likewise.
21606 (BUS_MCEERR_AR): Likewise.
21607 (BUS_MCEERR_AO): Likewise.
21608 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21609 (TRAP_TRACE): Likewise.
21610 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21612 (CLD_KILLED): Likewise.
21613 (CLD_DUMPED): Likewise.
21614 (CLD_TRAPPED): Likewise.
21615 (CLD_STOPPED): Likewise.
21616 (CLD_CONTINUED): Likewise.
21617 (POLL_IN): Likewise.
21618 (POLL_OUT): Likewise.
21619 (POLL_MSG): Likewise.
21620 (POLL_ERR): Likewise.
21621 (POLL_PRI): Likewise.
21622 (POLL_HUP): Likewise.
21623 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21625 (ILL_ILLOPN): Likewise.
21626 (ILL_ILLADR): Likewise.
21627 (ILL_ILLTRP): Likewise.
21628 (ILL_PRVOPC): Likewise.
21629 (ILL_PRVREG): Likewise.
21630 (ILL_COPROC): Likewise.
21631 (ILL_BADSTK): Likewise.
21632 (ILL_BADIADDR): Likewise.
21633 (ILL_BREAK): Likewise.
21634 (FPE_INTDIV): Likewise.
21635 (FPE_INTOVF): Likewise.
21636 (FPE_FLTDIV): Likewise.
21637 (FPE_FLTOVF): Likewise.
21638 (FPE_FLTUND): Likewise.
21639 (FPE_FLTRES): Likewise.
21640 (FPE_FLTINV): Likewise.
21641 (FPE_FLTSUB): Likewise.
21642 (FPE_DECOVF): Likewise.
21643 (FPE_DECDIV): Likewise.
21644 (FPE_DECERR): Likewise.
21645 (FPE_INVASC): Likewise.
21646 (FPE_INVDEC): Likewise.
21647 (SEGV_MAPERR): Likewise.
21648 (SEGV_ACCERR): Likewise.
21649 (SEGV_PSTKOVF): Likewise.
21650 (BUS_ADRALN): Likewise.
21651 (BUS_ADRERR): Likewise.
21652 (BUS_OBJERR): Likewise.
21653 (BUS_MCEERR_AR): Likewise.
21654 (BUS_MCEERR_AO): Likewise.
21655 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21656 (TRAP_TRACE): Likewise.
21657 (TRAP_BRANCH): Likewise.
21658 (TRAP_HWBKPT): Likewise.
21659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21661 (CLD_KILLED): Likewise.
21662 (CLD_DUMPED): Likewise.
21663 (CLD_TRAPPED): Likewise.
21664 (CLD_STOPPED): Likewise.
21665 (CLD_CONTINUED): Likewise.
21666 (POLL_IN): Likewise.
21667 (POLL_OUT): Likewise.
21668 (POLL_MSG): Likewise.
21669 (POLL_ERR): Likewise.
21670 (POLL_PRI): Likewise.
21671 (POLL_HUP): Likewise.
21672 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21673 (ILL_ILLOPN): Likewise.
21674 (ILL_ILLADR): Likewise.
21675 (ILL_ILLTRP): Likewise.
21676 (ILL_PRVOPC): Likewise.
21677 (ILL_PRVREG): Likewise.
21678 (ILL_COPROC): Likewise.
21679 (ILL_BADSTK): Likewise.
21680 (FPE_INTDIV): Likewise.
21681 (FPE_INTOVF): Likewise.
21682 (FPE_FLTDIV): Likewise.
21683 (FPE_FLTOVF): Likewise.
21684 (FPE_FLTUND): Likewise.
21685 (FPE_FLTRES): Likewise.
21686 (FPE_FLTINV): Likewise.
21687 (FPE_FLTSUB): Likewise.
21688 (SEGV_MAPERR): Likewise.
21689 (SEGV_ACCERR): Likewise.
21690 (BUS_ADRALN): Likewise.
21691 (BUS_ADRERR): Likewise.
21692 (BUS_OBJERR): Likewise.
21693 (BUS_MCEERR_AR): Likewise.
21694 (BUS_MCEERR_AO): Likewise.
21695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21696 (TRAP_TRACE): Likewise.
21697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21699 (CLD_KILLED): Likewise.
21700 (CLD_DUMPED): Likewise.
21701 (CLD_TRAPPED): Likewise.
21702 (CLD_STOPPED): Likewise.
21703 (CLD_CONTINUED): Likewise.
21704 (POLL_IN): Likewise.
21705 (POLL_OUT): Likewise.
21706 (POLL_MSG): Likewise.
21707 (POLL_ERR): Likewise.
21708 (POLL_PRI): Likewise.
21709 (POLL_HUP): Likewise.
21710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21711 (ILL_ILLOPN): Likewise.
21712 (ILL_ILLADR): Likewise.
21713 (ILL_ILLTRP): Likewise.
21714 (ILL_PRVOPC): Likewise.
21715 (ILL_PRVREG): Likewise.
21716 (ILL_COPROC): Likewise.
21717 (ILL_BADSTK): Likewise.
21718 (FPE_INTDIV): Likewise.
21719 (FPE_INTOVF): Likewise.
21720 (FPE_FLTDIV): Likewise.
21721 (FPE_FLTOVF): Likewise.
21722 (FPE_FLTUND): Likewise.
21723 (FPE_FLTRES): Likewise.
21724 (FPE_FLTINV): Likewise.
21725 (FPE_FLTSUB): Likewise.
21726 (SEGV_MAPERR): Likewise.
21727 (SEGV_ACCERR): Likewise.
21728 (BUS_ADRALN): Likewise.
21729 (BUS_ADRERR): Likewise.
21730 (BUS_OBJERR): Likewise.
21731 (BUS_MCEERR_AR): Likewise.
21732 (BUS_MCEERR_AO): Likewise.
21733 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21734 (TRAP_TRACE): Likewise.
21735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21737 (CLD_KILLED): Likewise.
21738 (CLD_DUMPED): Likewise.
21739 (CLD_TRAPPED): Likewise.
21740 (CLD_STOPPED): Likewise.
21741 (CLD_CONTINUED): Likewise.
21742 (POLL_IN): Likewise.
21743 (POLL_OUT): Likewise.
21744 (POLL_MSG): Likewise.
21745 (POLL_ERR): Likewise.
21746 (POLL_PRI): Likewise.
21747 (POLL_HUP): Likewise.
21748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21749 (ILL_ILLOPN): Likewise.
21750 (ILL_ILLADR): Likewise.
21751 (ILL_ILLTRP): Likewise.
21752 (ILL_PRVOPC): Likewise.
21753 (ILL_PRVREG): Likewise.
21754 (ILL_COPROC): Likewise.
21755 (ILL_BADSTK): Likewise.
21756 (FPE_INTDIV): Likewise.
21757 (FPE_INTOVF): Likewise.
21758 (FPE_FLTDIV): Likewise.
21759 (FPE_FLTOVF): Likewise.
21760 (FPE_FLTUND): Likewise.
21761 (FPE_FLTRES): Likewise.
21762 (FPE_FLTINV): Likewise.
21763 (FPE_FLTSUB): Likewise.
21764 (SEGV_MAPERR): Likewise.
21765 (SEGV_ACCERR): Likewise.
21766 (BUS_ADRALN): Likewise.
21767 (BUS_ADRERR): Likewise.
21768 (BUS_OBJERR): Likewise.
21769 (BUS_MCEERR_AR): Likewise.
21770 (BUS_MCEERR_AO): Likewise.
21771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21772 (TRAP_TRACE): Likewise.
21773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21775 (CLD_KILLED): Likewise.
21776 (CLD_DUMPED): Likewise.
21777 (CLD_TRAPPED): Likewise.
21778 (CLD_STOPPED): Likewise.
21779 (CLD_CONTINUED): Likewise.
21780 (POLL_IN): Likewise.
21781 (POLL_OUT): Likewise.
21782 (POLL_MSG): Likewise.
21783 (POLL_ERR): Likewise.
21784 (POLL_PRI): Likewise.
21785 (POLL_HUP): Likewise.
21786 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21787 (ILL_ILLOPN): Likewise.
21788 (ILL_ILLADR): Likewise.
21789 (ILL_ILLTRP): Likewise.
21790 (ILL_PRVOPC): Likewise.
21791 (ILL_PRVREG): Likewise.
21792 (ILL_COPROC): Likewise.
21793 (ILL_BADSTK): Likewise.
21794 (ILL_DBLFLT): Likewise.
21795 (ILL_HARDWALL): Likewise.
21796 (FPE_INTDIV): Likewise.
21797 (FPE_INTOVF): Likewise.
21798 (FPE_FLTDIV): Likewise.
21799 (FPE_FLTOVF): Likewise.
21800 (FPE_FLTUND): Likewise.
21801 (FPE_FLTRES): Likewise.
21802 (FPE_FLTINV): Likewise.
21803 (FPE_FLTSUB): Likewise.
21804 (SEGV_MAPERR): Likewise.
21805 (SEGV_ACCERR): Likewise.
21806 (BUS_ADRALN): Likewise.
21807 (BUS_ADRERR): Likewise.
21808 (BUS_OBJERR): Likewise.
21809 (BUS_MCEERR_AR): Likewise.
21810 (BUS_MCEERR_AO): Likewise.
21811 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21812 (TRAP_TRACE): Likewise.
21813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21815 (CLD_KILLED): Likewise.
21816 (CLD_DUMPED): Likewise.
21817 (CLD_TRAPPED): Likewise.
21818 (CLD_STOPPED): Likewise.
21819 (CLD_CONTINUED): Likewise.
21820 (POLL_IN): Likewise.
21821 (POLL_OUT): Likewise.
21822 (POLL_MSG): Likewise.
21823 (POLL_ERR): Likewise.
21824 (POLL_PRI): Likewise.
21825 (POLL_HUP): Likewise.
21826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21827 (ILL_ILLOPN): Likewise.
21828 (ILL_ILLADR): Likewise.
21829 (ILL_ILLTRP): Likewise.
21830 (ILL_PRVOPC): Likewise.
21831 (ILL_PRVREG): Likewise.
21832 (ILL_COPROC): Likewise.
21833 (ILL_BADSTK): Likewise.
21834 (FPE_INTDIV): Likewise.
21835 (FPE_INTOVF): Likewise.
21836 (FPE_FLTDIV): Likewise.
21837 (FPE_FLTOVF): Likewise.
21838 (FPE_FLTUND): Likewise.
21839 (FPE_FLTRES): Likewise.
21840 (FPE_FLTINV): Likewise.
21841 (FPE_FLTSUB): Likewise.
21842 (SEGV_MAPERR): Likewise.
21843 (SEGV_ACCERR): Likewise.
21844 (BUS_ADRALN): Likewise.
21845 (BUS_ADRERR): Likewise.
21846 (BUS_OBJERR): Likewise.
21847 (BUS_MCEERR_AR): Likewise.
21848 (BUS_MCEERR_AO): Likewise.
21849 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21850 (TRAP_TRACE): Likewise.
21851 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21853 (CLD_KILLED): Likewise.
21854 (CLD_DUMPED): Likewise.
21855 (CLD_TRAPPED): Likewise.
21856 (CLD_STOPPED): Likewise.
21857 (CLD_CONTINUED): Likewise.
21858 (POLL_IN): Likewise.
21859 (POLL_OUT): Likewise.
21860 (POLL_MSG): Likewise.
21861 (POLL_ERR): Likewise.
21862 (POLL_PRI): Likewise.
21863 (POLL_HUP): Likewise.
21864 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21865 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21868 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21869 before #include of <time.h>.
21870 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21871 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21872 (test-xfail-UNIX98/sched.h/conform): Likewise.
21874 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21876 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21877 error absence of trapping exception support.
21878 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21880 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21882 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21883 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21884 * timezone/Makefile (testdata): Move definition above include of
21886 (test-zones): New variable.
21887 (tests-special): Add zone files.
21888 (build-testdata): Use $(evaluate-test).
21890 * elf/Makefile (tests-special): Rename tests to end with .out.
21891 ($(objpfx)noload-mem): Likewise.
21892 ($(objpfx)tst-leaks1-mem): Likewise.
21893 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21894 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21895 $(objpfx)test-iconvconfig.out.
21896 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21897 set -e inside subshell and redirect output to file.
21898 * iconvdata/Makefile (generated): Rename tests to end with .out.
21900 (tests-special): Rename tests to end with .out.
21901 ($(objpfx)mtrace-tst-loading): Likewise.
21902 * intl/Makefile (generated): Likewise.
21903 (tests-special): Likewise.
21904 ($(objpfx)mtrace-tst-gettext): Likewise.
21905 * misc/Makefile (generated): Likewise.
21906 (tests-special): Likewise.
21907 ($(objpfx)tst-error1-mem): Likewise.
21908 * nptl/Makefile (tests-special): Likewise.
21909 ($(objpfx)tst-stack3-mem): Likewise.
21910 (generated): Likewise.
21911 * posix/Makefile (generated): Likewise.
21912 (tests-special): Likewise.
21913 (xtests-special): Likewise.
21914 ($(objpfx)tst-fnmatch-mem): Likewise.
21915 ($(objpfx)bug-regex2-mem): Likewise.
21916 ($(objpfx)bug-regex14-mem): Likewise.
21917 ($(objpfx)bug-regex21-mem): Likewise.
21918 ($(objpfx)bug-regex31-mem): Likewise.
21919 ($(objpfx)tst-vfork3-mem): Likewise.
21920 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21921 ($(objpfx)tst-pcre-mem): Likewise.
21922 ($(objpfx)tst-boost-mem): Likewise.
21923 ($(objpfx)bug-ga2-mem): Likewise.
21924 ($(objpfx)bug-glob2-mem): Likewise.
21925 * resolv/Makefile (generate): Likewise.
21926 (tests-special): Likewise.
21927 (xtests-special): Likewise.
21928 (generated): Likewise.
21929 ($(objpfx)mtrace-tst-leaks): Likewise.
21930 ($(objpfx)mtrace-tst-leaks2): Likewise.
21932 * scripts/merge-test-results.sh: New file.
21933 * Makefile (tests-special-notdir): New variable.
21934 (tests): Run merge-test-results.sh.
21935 (xtests): Likewise.
21936 * Rules (tests-special-notdir): New variable.
21937 (xtests-special-notdir): Likewise.
21938 (tests): Run merge-test-results.sh
21939 (xtests): Likewise.
21941 * Makeconfig (test-xfail-name): New variable.
21942 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21943 compute variable name for expected failures.
21944 * conform/Makefile (conformtest-headers-data): New variable.
21945 (conformtest-standards): Likewise.
21946 (conformtest-headers-ISO): Likewise.
21947 (conformtest-headers-ISO99): Likewise.
21948 (conformtest-headers-ISO11): Likewise.
21949 (conformtest-headers-POSIX): Likewise.
21950 (conformtest-headers-XPG3): Likewise.
21951 (conformtest-headers-XPG4): Likewise.
21952 (conformtest-headers-UNIX98): Likewise.
21953 (conformtest-headers-XOPEN2K): Likewise.
21954 (conformtest-headers-POSIX2008): Likewise.
21955 (conformtest-headers-XOPEN2K8): Likewise.
21956 (conformtest-header-list-base): Likewise.
21957 (conformtest-header-list-tests): Likewise.
21958 (conformtest-header-base): Likewise.
21959 (conformtest-header-tests): Likewise.
21960 (tests-special): Add $(conformtest-header-list-tests). If
21961 [$(fast-check) && !$(cross-compiling)], add
21962 $(conformtest-header-tests) instead of
21963 $(objpfx)run-conformtest.out.
21964 (generated): Add $(conformtest-header-list-base). If
21965 [$(fast-check) && !$(cross-compiling)], add
21966 $(conformtest-header-base). Remove previous setting.
21967 ($(conformtest-header-list-tests)): New target.
21968 (test-xfail-run-conformtest): Remove variable.
21969 ($(objpfx)run-conformtest.out): Remove target.
21970 (test-xfail-ISO11/complex.h/conform): New variable.
21971 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21972 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21973 (test-xfail-XPG3/varargs.h/conform): Likewise.
21974 (test-xfail-XPG4/varargs.h/conform): Likewise.
21975 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21976 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21977 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21978 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21979 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21980 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21981 (test-xfail-XPG3/ftw.h/conform): Likewise.
21982 (test-xfail-XPG3/grp.h/conform): Likewise.
21983 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21984 (test-xfail-XPG3/limits.h/conform): Likewise.
21985 (test-xfail-XPG3/pwd.h/conform): Likewise.
21986 (test-xfail-XPG3/search.h/conform): Likewise.
21987 (test-xfail-XPG3/signal.h/conform): Likewise.
21988 (test-xfail-XPG3/stdio.h/conform): Likewise.
21989 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21990 (test-xfail-XPG3/string.h/conform): Likewise.
21991 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21992 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21993 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21994 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21995 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21996 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21997 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21998 (test-xfail-XPG3/termios.h/conform): Likewise.
21999 (test-xfail-XPG3/time.h/conform): Likewise.
22000 (test-xfail-XPG3/unistd.h/conform): Likewise.
22001 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22002 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22003 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22004 (test-xfail-XPG4/netdb.h/conform): Likewise.
22005 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22006 (test-xfail-XPG4/signal.h/conform): Likewise.
22007 (test-xfail-XPG4/stdio.h/conform): Likewise.
22008 (test-xfail-XPG4/stdlib.h/conform): Likewise.
22009 (test-xfail-XPG4/stropts.h/conform): Likewise.
22010 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22011 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22012 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22013 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22014 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22015 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22016 (test-xfail-XPG4/sys/time.h/conform): Likewise.
22017 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22018 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22019 (test-xfail-XPG4/termios.h/conform): Likewise.
22020 (test-xfail-XPG4/ucontext.h/conform): Likewise.
22021 (test-xfail-XPG4/unistd.h/conform): Likewise.
22022 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22023 (test-xfail-POSIX/sched.h/conform): Likewise.
22024 (test-xfail-POSIX/signal.h/conform): Likewise.
22025 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22026 (test-xfail-POSIX/tar.h/conform): Likewise.
22027 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22028 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22029 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22030 (test-xfail-UNIX98/netdb.h/conform): Likewise.
22031 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22032 (test-xfail-UNIX98/sched.h/conform): Likewise.
22033 (test-xfail-UNIX98/signal.h/conform): Likewise.
22034 (test-xfail-UNIX98/stdio.h/conform): Likewise.
22035 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22036 (test-xfail-UNIX98/stropts.h/conform): Likewise.
22037 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22038 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22039 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22040 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22041 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22042 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22043 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22044 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22045 (test-xfail-UNIX98/unistd.h/conform): Likewise.
22046 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22047 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22048 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22049 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22050 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22051 (test-xfail-XOPEN2K/math.h/conform): Likewise.
22052 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22053 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22054 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22055 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22056 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22057 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22058 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22059 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22060 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22061 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22062 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22063 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22064 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22065 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22066 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22067 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22068 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22069 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22070 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22071 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22072 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22073 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22074 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22075 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22076 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22077 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22078 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22079 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22080 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22081 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22082 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22083 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22084 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22085 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22086 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22087 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22088 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22089 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22090 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22091 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22092 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22093 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22094 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22095 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22096 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22097 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22098 (conformtest-cc-flags): Likewise.
22099 ($(conformtest-header-tests): New target.
22100 * conform/check-header-lists.sh: New file.
22101 * conform/run-conformtest.sh: Remove.
22103 * conform/conformtest.pl: Allow ' and \ in values given for
22105 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22107 [POSIX] (sys/types.h): Likewise.
22108 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22110 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22112 * conform/data/signal.h-data (SIGIO): Remove expectation.
22113 [XPG3] (SIGBUS): Do not expect.
22114 [POSIX || XPG3] (SIGPOLL): Likewise.
22115 [POSIX || XPG3] (SIGPROF): Likewise.
22116 [POSIX || XPG3] (SIGSYS): Likewise.
22117 [XPG3] (SIGTRAP): Likewise.
22118 [POSIX || XPG3] (SIGURG): Likewise.
22119 [POSIX || XPG3] (SIGVTALRM): Likewise.
22120 [POSIX || XPG3] (SIGXCPU): Likewise.
22121 [POSIX || XPG3] (SIGXFSZ): Likewise.
22122 [POSIX] (SA_SIGINFO): Expect.
22123 [XPG3] (siginfo_t): Do not expect type or contents.
22124 [POSIX] (si_pid): Do not expect element.
22125 [POSIX] (si_uid): Likewise.
22126 [POSIX] (si_addr): Likewise.
22127 [POSIX] (si_status): Likewise.
22128 [POSIX] (si_band): Likewise.
22129 [XPG4] (si_value): Likewise.
22130 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22131 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22132 [POSIX || XPG3] (ILL_ILLADR): Likewise.
22133 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22134 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22135 [POSIX || XPG3] (ILL_PRVREG): Likewise.
22136 [POSIX || XPG3] (ILL_COPROC): Likewise.
22137 [POSIX || XPG3] (ILL_BADSTK): Likewise.
22138 [POSIX || XPG3] (FPE_INTDIV): Likewise.
22139 [POSIX || XPG3] (FPE_INTOVF): Likewise.
22140 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22141 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22142 [POSIX || XPG3] (FPE_FLTUND): Likewise.
22143 [POSIX || XPG3] (FPE_FLTRES): Likewise.
22144 [POSIX || XPG3] (FPE_FLTINV): Likewise.
22145 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22146 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22147 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22148 [POSIX || XPG3] (BUS_ADRALN): Likewise.
22149 [POSIX || XPG3] (BUS_ADRERR): Likewise.
22150 [POSIX || XPG3] (BUS_OBJERR): Likewise.
22151 [POSIX || XPG3] (CLD_EXITED): Likewise.
22152 [POSIX || XPG3] (CLD_KILLED): Likewise.
22153 [POSIX || XPG3] (CLD_DUMPED): Likewise.
22154 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22155 [POSIX || XPG3] (CLD_STOPPED): Likewise.
22156 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22157 [POSIX || XPG3] (POLL_IN): Likewise.
22158 [POSIX || XPG3] (POLL_OUT): Likewise.
22159 [POSIX || XPG3] (POLL_MSG): Likewise.
22160 [POSIX || XPG3] (POLL_ERR): Likewise.
22161 [POSIX || XPG3] (POLL_PRI): Likewise.
22162 [POSIX || XPG3] (POLL_HUP): Likewise.
22163 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22164 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22165 (SIG*): Do not allow.
22166 [XPG3] (si_*): Likewise.
22167 [XPG3] (SI_*): Likewise.
22168 [XPG3 || XPG4] (sigev_*): Likewise.
22169 [XPG3 || XPG4] (SIGEV_*): Likewise.
22170 [XPG3 || XPG4] (sival_*): Likewise.
22171 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22172 [POSIX || XPG3] (BUS_*): Likewise.
22173 [POSIX || XPG3] (CLD_*): Likewise.
22174 [POSIX || XPG3] (FPE_*): Likewise.
22175 [POSIX || XPG3] (ILL_*): Likewise.
22176 [POSIX || XPG3] (POLL_*): Likewise.
22177 [POSIX || XPG3] (SEGV_*): Likewise.
22178 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22179 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22180 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22181 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22182 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22183 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22184 Specify type and value.
22185 (TVERSLEN): Likewise.
22186 (REGTYPE): Likewise.
22187 (AREGTYPE): Likewise.
22188 (LNKTYPE): Likewise.
22189 (SYMTYPE): Likewise.
22190 (CHRTYPE): Likewise.
22191 (BLKTYPE): Likewise.
22192 (DIRTYPE): Likewise.
22193 (FIFOTYPE): Likewise.
22194 (CONTTYPE): Likewise.
22198 (TUREAD): Likewise.
22199 (TUWRITE): Likewise.
22200 (TUEXEC): Likewise.
22201 (TGREAD): Likewise.
22202 (TGWRITE): Likewise.
22203 (TGEXEC): Likewise.
22204 (TOREAD): Likewise.
22205 (TOWRITE): Likewise.
22206 (TOEXEC): Likewise.
22207 [POSIX] (TSVTX): Expect constant.
22209 2014-03-06 Joseph Myers <joseph@codesourcery.com>
22211 * Makefile (tests): Change dependencies to ....
22212 (tests-special): ... additions to this variable.
22213 (tests): Depend on $(tests-special).
22214 * Makerules (check-abi-list): New variable.
22215 (check-abi): Depend on $(check-abi-list).
22216 [$(subdir) = elf] (tests-special): Add
22217 $(objpfx)check-abi-libc.out.
22218 [$(build-shared) = yes && subdir] (tests-special): Add
22220 [$(build-shared) = yes && subdir] (tests): Do not depend on
22222 * Rules (tests): Depend on $(tests-special).
22223 (xtests): Depend on $(xtests-special).
22224 * catgets/Makefile (tests): Change dependencies to ....
22225 (tests-special): ... additions to this variable.
22226 * conform/Makefile (tests): Change dependencies to ....
22227 (tests-special): ... additions to this variable.
22228 * elf/Makefile (tests): Change dependencies to ....
22229 (tests-special): ... additions to this variable.
22230 * grp/Makefile (tests): Change dependencies to ....
22231 (tests-special): ... additions to this variable.
22232 * iconv/Makefile (xtests): Change dependencies to ....
22233 (xtests-special): ... additions to this variable.
22234 * iconvdata/Makefile (tests): Change dependencies to ....
22235 (tests-special): ... additions to this variable.
22236 * intl/Makefile (tests): Change dependencies to ....
22237 (tests-special): ... additions to this variable. Also add
22238 $(objpfx)tst-gettext.out.
22239 * io/Makefile (tests): Change dependencies to ....
22240 (tests-special): ... additions to this variable.
22241 * libio/Makefile (tests): Change dependencies to ....
22242 (tests-special): ... additions to this variable.
22243 * malloc/Makefile (tests): Change dependencies to ....
22244 (tests-special): ... additions to this variable.
22245 * misc/Makefile (tests): Change dependencies to ....
22246 (tests-special): ... additions to this variable.
22247 * nptl/Makefile (tests): Change dependencies to ....
22248 (tests-special): ... additions to this variable.
22249 * nptl_db/Makefile (tests): Change dependencies to ....
22250 (tests-special): ... additions to this variable.
22251 * posix/Makefile (tests): Change dependencies to ....
22252 (tests-special): ... additions to this variable.
22253 (xtests): Change dependencies to ....
22254 (xtests-special): ... additions to this variable.
22255 * resolv/Makefile (tests): Change dependencies to ....
22256 (tests-special): ... additions to this variable.
22257 (xtests): Change dependencies to ....
22258 (xtests-special): ... additions to this variable.
22259 * stdio-common/Makefile (tests): Change dependencies to ....
22260 (tests-special): ... additions to this variable.
22261 (do-tst-unbputc): Remove target.
22262 (do-tst-printf): Likewise.
22263 * stdlib/Makefile (tests): Change dependencies to ....
22264 (tests-special): ... additions to this variable.
22265 * string/Makefile (tests): Change dependencies to ....
22266 (tests-special): ... additions to this variable.
22267 * sysdeps/x86/Makefile (tests): Change dependencies to ....
22268 (tests-special): ... additions to this variable.
22270 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22272 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22274 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22275 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22277 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22278 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22279 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22280 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22281 * conform/data/libgen.h-data [XPG3]: Likewise.
22282 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22283 * conform/data/ndbm.h-data [XPG3]: Likewise.
22284 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22285 * conform/data/netdb.h-data [XPG3]: Likewise.
22286 * conform/data/netinet/in.h-data [XPG3]: Likewise.
22287 * conform/data/poll.h-data [XPG3]: Likewise.
22288 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22289 * conform/data/strings.h-data [XPG3]: Likewise.
22290 * conform/data/stropts.h-data [XPG3]: Likewise.
22291 * conform/data/sys/mman.h-data [XPG3]: Likewise.
22292 * conform/data/sys/resource.h-data [XPG3]: Likewise.
22293 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22295 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22296 * conform/data/sys/time.h-data [XPG3]: Likewise.
22297 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22298 * conform/data/sys/uio.h-data [XPG3]: Likewise.
22299 * conform/data/sys/un.h-data [XPG3]: Likewise.
22300 * conform/data/syslog.h-data [XPG3]: Likewise.
22301 * conform/data/ucontext.h-data [XPG3]: Likewise.
22302 * conform/data/utmpx.h-data [XPG3]: Likewise.
22303 * conform/data/varargs.h-data [UNIX98]: Enable file.
22305 * manual/Makefile (INSTALL_INFO): Remove variable setting.
22307 * math/libm-test.inc (struct test_f_f_data): Move expected results
22308 into structure for each rounding mode.
22309 (struct test_ff_f_data): Likewise.
22310 (struct test_ff_f_data_nexttoward): Likewise.
22311 (struct test_fi_f_data): Likewise.
22312 (struct test_fl_f_data): Likewise.
22313 (struct test_if_f_data): Likewise.
22314 (struct test_fff_f_data): Likewise.
22315 (struct test_c_f_data): Likewise.
22316 (struct test_f_f1_data): Likewise.
22317 (struct test_fF_f1_data): Likewise.
22318 (struct test_ffI_f1_data): Likewise.
22319 (struct test_c_c_data): Likewise.
22320 (struct test_cc_c_data): Likewise.
22321 (struct test_f_i_data): Likewise.
22322 (struct test_ff_i_data): Likewise.
22323 (struct test_f_l_data): Likewise.
22324 (struct test_f_L_data): Likewise.
22325 (struct test_fFF_11_data): Likewise.
22327 (RM_FE_DOWNWARD): Likewise.
22328 (RM_FE_TONEAREST): Likewise.
22329 (RM_FE_TOWARDZERO): Likewise.
22330 (RM_FE_UPWARD): Likewise.
22331 (RUN_TEST_LOOP_f_f): Update references to expected results.
22332 (RUN_TEST_LOOP_2_f): Likewise.
22333 (RUN_TEST_LOOP_fff_f): Likewise.
22334 (RUN_TEST_LOOP_c_f): Likewise.
22335 (RUN_TEST_LOOP_f_f1): Likewise.
22336 (RUN_TEST_LOOP_fF_f1): Likewise.
22337 (RUN_TEST_LOOP_fI_f1): Likewise.
22338 (RUN_TEST_LOOP_ffI_f1): Likewise.
22339 (RUN_TEST_LOOP_c_c): Likewise.
22340 (RUN_TEST_LOOP_cc_c): Likewise.
22341 (RUN_TEST_LOOP_f_i): Likewise.
22342 (RUN_TEST_LOOP_f_i_tg): Likewise.
22343 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22344 (RUN_TEST_LOOP_f_b): Likewise.
22345 (RUN_TEST_LOOP_f_b_tg): Likewise.
22346 (RUN_TEST_LOOP_f_l): Likewise.
22347 (RUN_TEST_LOOP_f_L): Likewise.
22348 (RUN_TEST_LOOP_fFF_11): Likewise.
22349 * math/gen-libm-test.pl (parse_args): Output four copies of
22350 expected results for each test.
22352 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22353 (__ASSUME_UTIMES): Remove.
22354 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22355 (__ASSUME_UTIMES): Likewise.
22357 * math/gen-auto-libm-tests.c: Update comment on output format.
22358 (output_for_one_input_case): Generate before-rounding and
22359 after-rounding information as conditions on output flags not
22360 floating-point format.
22361 * math/auto-libm-test-out: Regenerated.
22362 * math/gen-libm-test.pl (cond_value): New function.
22363 (or_cond_value): Use cond_value.
22364 (generate_testfile): Handle conditional exceptions.
22366 2014-03-05 Joseph Myers <joseph@codesourcery.com>
22368 * math/libm-test.inc (max_valid_error): New variable.
22369 (init_max_error): Take new argument specifying whether function
22370 results are exactly determined. Set max_valid_error and bound
22371 other variables for errors based on this argument.
22372 (set_max_error): Do not record results above max_valid_error.
22373 (check_float_internal): Only accept errors of up to 0.5ulps if
22374 also at most max_valid_error.
22375 (START): Take new argument EXACT and pass it to init_max_error.
22376 (acos_test): Update call to START.
22377 (acos_test_tonearest): Likewise.
22378 (acos_test_towardzero): Likewise.
22379 (acos_test_downward): Likewise.
22380 (acos_test_upward): Likewise.
22381 (acosh_test): Likewise.
22382 (asin_test): Likewise.
22383 (asin_test_tonearest): Likewise.
22384 (asin_test_towardzero): Likewise.
22385 (asin_test_downward): Likewise.
22386 (asin_test_upward): Likewise.
22387 (asinh_test): Likewise.
22388 (atan_test): Likewise.
22389 (atanh_test): Likewise.
22390 (atan2_test): Likewise.
22391 (cabs_test): Likewise.
22392 (cacos_test): Likewise.
22393 (cacosh_test): Likewise.
22394 (carg_test): Likewise.
22395 (casin_test): Likewise.
22396 (casinh_test): Likewise.
22397 (catan_test): Likewise.
22398 (catanh_test): Likewise.
22399 (cbrt_test): Likewise.
22400 (ccos_test): Likewise.
22401 (ccosh_test): Likewise.
22402 (ceil_test): Likewise.
22403 (cexp_test): Likewise.
22404 (cimag_test): Likewise.
22405 (clog_test): Likewise.
22406 (clog10_test): Likewise.
22407 (conj_test): Likewise.
22408 (copysign_test): Likewise.
22409 (cos_test): Likewise.
22410 (cos_test_tonearest): Likewise.
22411 (cos_test_towardzero): Likewise.
22412 (cos_test_downward): Likewise.
22413 (cos_test_upward): Likewise.
22414 (cosh_test): Likewise.
22415 (cosh_test_tonearest): Likewise.
22416 (cosh_test_towardzero): Likewise.
22417 (cosh_test_downward): Likewise.
22418 (cosh_test_upward): Likewise.
22419 (cpow_test): Likewise.
22420 (cproj_test): Likewise.
22421 (creal_test): Likewise.
22422 (csin_test): Likewise.
22423 (csinh_test): Likewise.
22424 (csqrt_test): Likewise.
22425 (ctan_test): Likewise.
22426 (ctan_test_tonearest): Likewise.
22427 (ctan_test_towardzero): Likewise.
22428 (ctan_test_downward): Likewise.
22429 (ctan_test_upward): Likewise.
22430 (ctanh_test): Likewise.
22431 (ctanh_test_tonearest): Likewise.
22432 (ctanh_test_towardzero): Likewise.
22433 (ctanh_test_downward): Likewise.
22434 (ctanh_test_upward): Likewise.
22435 (erf_test): Likewise.
22436 (erfc_test): Likewise.
22437 (exp_test): Likewise.
22438 (exp_test_tonearest): Likewise.
22439 (exp_test_towardzero): Likewise.
22440 (exp_test_downward): Likewise.
22441 (exp_test_upward): Likewise.
22442 (exp10_test): Likewise.
22443 (exp10_test_tonearest): Likewise.
22444 (exp10_test_towardzero): Likewise.
22445 (exp10_test_downward): Likewise.
22446 (exp10_test_upward): Likewise.
22447 (pow10_test): Likewise.
22448 (exp2_test): Likewise.
22449 (expm1_test): Likewise.
22450 (expm1_test_tonearest): Likewise.
22451 (expm1_test_towardzero): Likewise.
22452 (expm1_test_downward): Likewise.
22453 (expm1_test_upward): Likewise.
22454 (fabs_test): Likewise.
22455 (fdim_test): Likewise.
22456 (floor_test): Likewise.
22457 (fma_test): Likewise.
22458 (fma_test_towardzero): Likewise.
22459 (fma_test_downward): Likewise.
22460 (fma_test_upward): Likewise.
22461 (fmax_test): Likewise.
22462 (fmin_test): Likewise.
22463 (fmod_test): Likewise.
22464 (fpclassify_test): Likewise.
22465 (frexp_test): Likewise.
22466 (hypot_test): Likewise.
22467 (ilogb_test): Likewise.
22468 (isfinite_test): Likewise.
22469 (finite_test): Likewise.
22470 (isgreater_test): Likewise.
22471 (isgreaterequal_test): Likewise.
22472 (isinf_test): Likewise.
22473 (isless_test): Likewise.
22474 (islessequal_test): Likewise.
22475 (islessgreater_test): Likewise.
22476 (isnan_test): Likewise.
22477 (isnormal_test): Likewise.
22478 (issignaling_test): Likewise.
22479 (isunordered_test): Likewise.
22480 (j0_test): Likewise.
22481 (j1_test): Likewise.
22482 (jn_test): Likewise.
22483 (ldexp_test): Likewise.
22484 (lgamma_test): Likewise.
22485 (gamma_test): Likewise.
22486 (lrint_test): Likewise.
22487 (lrint_test_tonearest): Likewise.
22488 (lrint_test_towardzero): Likewise.
22489 (lrint_test_downward): Likewise.
22490 (lrint_test_upward): Likewise.
22491 (llrint_test): Likewise.
22492 (llrint_test_tonearest): Likewise.
22493 (llrint_test_towardzero): Likewise.
22494 (llrint_test_downward): Likewise.
22495 (llrint_test_upward): Likewise.
22496 (log_test): Likewise.
22497 (log10_test): Likewise.
22498 (log1p_test): Likewise.
22499 (log2_test): Likewise.
22500 (logb_test): Likewise.
22501 (logb_test_downward): Likewise.
22502 (lround_test): Likewise.
22503 (llround_test): Likewise.
22504 (modf_test): Likewise.
22505 (nearbyint_test): Likewise.
22506 (nextafter_test): Likewise.
22507 (nexttoward_test): Likewise.
22508 (pow_test): Likewise.
22509 (pow_test_tonearest): Likewise.
22510 (pow_test_towardzero): Likewise.
22511 (pow_test_downward): Likewise.
22512 (pow_test_upward): Likewise.
22513 (remainder_test): Likewise.
22514 (drem_test): Likewise.
22515 (remainder_test_tonearest): Likewise.
22516 (drem_test_tonearest): Likewise.
22517 (remainder_test_towardzero): Likewise.
22518 (drem_test_towardzero): Likewise.
22519 (remainder_test_downward): Likewise.
22520 (drem_test_downward): Likewise.
22521 (remainder_test_upward): Likewise.
22522 (drem_test_upward): Likewise.
22523 (remquo_test): Likewise.
22524 (rint_test): Likewise.
22525 (rint_test_tonearest): Likewise.
22526 (rint_test_towardzero): Likewise.
22527 (rint_test_downward): Likewise.
22528 (rint_test_upward): Likewise.
22529 (round_test): Likewise.
22530 (scalb_test): Likewise.
22531 (scalbn_test): Likewise.
22532 (scalbln_test): Likewise.
22533 (signbit_test): Likewise.
22534 (sin_test): Likewise.
22535 (sin_test_tonearest): Likewise.
22536 (sin_test_towardzero): Likewise.
22537 (sin_test_downward): Likewise.
22538 (sin_test_upward): Likewise.
22539 (sincos_test): Likewise.
22540 (sinh_test): Likewise.
22541 (sinh_test_tonearest): Likewise.
22542 (sinh_test_towardzero): Likewise.
22543 (sinh_test_downward): Likewise.
22544 (sinh_test_upward): Likewise.
22545 (sqrt_test): Likewise.
22546 (sqrt_test_tonearest): Likewise.
22547 (sqrt_test_towardzero): Likewise.
22548 (sqrt_test_downward): Likewise.
22549 (sqrt_test_upward): Likewise.
22550 (tan_test): Likewise.
22551 (tan_test_tonearest): Likewise.
22552 (tan_test_towardzero): Likewise.
22553 (tan_test_downward): Likewise.
22554 (tan_test_upward): Likewise.
22555 (tanh_test): Likewise.
22556 (tgamma_test): Likewise.
22557 (trunc_test): Likewise.
22558 (y0_test): Likewise.
22559 (y1_test): Likewise.
22560 (yn_test): Likewise.
22561 (significand_test): Likewise.
22563 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22564 individual tests in comment.
22565 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22566 (prev_max_error): New variable.
22567 (prev_real_max_error): Likewise.
22568 (prev_imag_max_error): Likewise.
22569 (compare_ulp_data): Don't refer to test names in comment.
22570 (find_test_ulps): Remove function.
22571 (find_function_ulps): Likewise.
22572 (find_complex_function_ulps): Likewise.
22573 (init_max_error): Take function name as argument. Look up ulps
22575 (print_ulps): Remove function.
22576 (print_max_error): Use prev_max_error instead of calling
22577 find_function_ulps.
22578 (print_complex_max_error): Use prev_real_max_error and
22579 prev_imag_max_error instead of calling find_complex_function_ulps.
22580 (check_float_internal): Take max_ulp parameter instead of calling
22581 find_test_ulps. Don't call print_ulps.
22582 (check_float): Update call to check_float_internal.
22583 (check_complex): Update calls to check_float_internal.
22584 (START): Pass argument to init_max_error.
22585 * math/gen-libm-test.pl (%results): Don't include "kind"
22587 (parse_ulps): Don't handle ulps of individual tests.
22588 (print_ulps_file): Likewise.
22589 (output_ulps): Likewise.
22590 * math/README.libm-test: Update.
22591 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22593 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22594 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22595 * sysdeps/arm/libm-test-ulps: Likewise.
22596 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22597 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22598 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22599 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22600 * sysdeps/microblaze/libm-test-ulps: Likewise.
22601 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22602 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22604 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22606 * sysdeps/sh/libm-test-ulps: Likewise.
22607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22608 * sysdeps/tile/libm-test-ulps: Likewise.
22609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22611 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22613 * math/libm-test.inc (print_complex_max_error): Check separately
22614 whether real and imaginary errors are within allowed range and
22615 pass 0 to print_complex_function_ulps instead of value within
22618 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22620 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22622 (get_handles_fopen): Likewise.
22623 (do_write_test): Likewise.
22625 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22627 * libio/fileops.c (do_ftell): Use cached offset when
22629 * libio/iofwide.c (do_ftell_wide): Likewise.
22630 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22632 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22635 * libio/libioP.h (get_file_offset): New function.
22636 * libio/fileops.c (get_file_offset): Likewise.
22637 (do_ftell): Likewise.
22638 (_IO_new_file_seekoff): Split out ftell logic.
22639 * libio/wfileops.c (do_ftell_wide): Likewise.
22640 (_IO_wfile_seekoff): Split out ftell logic.
22641 * libio/tst-ftell-active-handler.c: New test case.
22642 * libio/Makefile (tests): Add it.
22644 2014-03-03 Roland McGrath <roland@hack.frob.com>
22646 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22647 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22649 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22652 * nscd/connections.c (nscd_init): Call do_exit.
22653 (start_threads): Call do_exit and notify_parent.
22654 (begin_drop_privileges): Call do_exit.
22655 (finish_drop_privileges): Likewise.
22656 * nscd/selinux.c (preserve_capabilities): Likewise.
22657 (install_real_capabilities): Likewise.
22658 (nscd_selinux_enabled): Likewise.
22659 (avc_create_thread): Likewise.
22660 (avc_alloc_lock): Likewise.
22661 (nscd_avc_init): Likewise.
22662 * nscd/nscd.c (parent_fd): New static variable.
22663 (main): Create a pipe between parent and child processes.
22664 Skip closing parent_fd.
22665 (monitor_child): New function.
22666 (do_exit): Likewise.
22667 (notify_parent): Likewise.
22668 * nscd/nscd.h (notify_parent): Likewise.
22669 (do_exit): Likewise.
22671 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22673 * malloc/malloc.c (__libc_calloc): Revert last change.
22675 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22679 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22681 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22685 (__libc_ifunc_impl_list): Likewise.
22686 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22687 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22688 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22689 * string/strrchr.c: Define STRRCHR.
22691 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22693 * benchtest/bench-strtok.c (simple_strtok): Delete.
22694 (strtok_string): Use as benchmark.
22695 * string/strtok (STRTOK): New macro.
22697 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22699 * manual/threads.texi: Add header and standard comments to all
22702 * elf/dl-lookup.c (check_match): New function.
22703 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22704 (do_lookup_x): Remove nested function check_match. Use non-nested
22705 function check_match.
22707 2014-02-28 Roland McGrath <roland@hack.frob.com>
22709 * csu/Makefile (generated, before-compile): Use += rather than =.
22710 * catgets/Makefile (generated, generated-dirs): Likewise.
22711 * debug/Makefile (generated): Likewise.
22712 * dlfcn/Makefile (generated): Likewise.
22713 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22714 * iconvdata/Makefile (before-compile, generated): Likewise.
22715 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22716 * libio/Makefile (generated): Likewise.
22717 * malloc/Makefile (generated): Likewise.
22718 * manual/Makefile (generated, generated-dirs): Likewise.
22719 * misc/Makefile (generated): Likewise.
22720 * posix/Makefile (generated): Likewise.
22721 * resolv/Makefile (generated): Likewise.
22722 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22723 * timezone/Makefile (generated, generated-dirs): Likewise.
22725 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22727 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22729 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22730 power8 implementation.
22731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22732 file: POWER8 llround ifunc implementation.
22733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22734 (__lllround): Add POWER8 implementation.
22735 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22736 POWER8 llround implementation.
22738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22739 power8 implementation.
22740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22741 file: POWER8 llrint ifunc implementation.
22742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22743 Add POWER8 implementation.
22744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22745 POWER8 llrint implementation.
22747 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22748 power8 implementation.
22749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22750 file: POWER8 finite ifunc implementation.
22751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22752 Add POWER8 implementation.
22753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22755 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22756 POWER8 finite implementation.
22757 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22760 power8 implementation.
22761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22762 file: POWER8 isinf ifunc implementation.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22764 POWER8 implementation.
22765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22767 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22768 isinf implementation.
22769 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22771 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22772 (INIT_ARCH): Add hwcap2 initialization.
22773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22774 power8 implementation.
22775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22776 file: POWER8 isnan ifunc implementation.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22778 POWER8 implementation.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22781 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22782 isnan implementation.
22783 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22785 2014-02-27 Joey Ye <joey.ye@arm.com>
22787 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22788 (_FP_NANFRAC_Q): Set to zero.
22790 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22793 * math/auto-libm-test-in: New test inputs.
22794 * math/auto-libm-test-out: Regenerate.
22795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22798 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22800 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22802 * scripts/evaluate-test.sh: Take new argument indicating whether
22803 failure is expected.
22804 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22805 indicating whether failure is expected.
22806 * conform/Makefile (test-xfail-run-conformtest): New variable.
22807 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22809 * posix/Makefile (test-xfail-annexc): New variable.
22810 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22812 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22814 * argp/Makefile: Include Makeconfig immediately after defining
22816 * assert/Makefile: Likewise.
22817 * benchtests/Makefile: Likewise.
22818 * catgets/Makefile: Likewise.
22819 * conform/Makefile: Likewise.
22820 * crypt/Makefile: Likewise.
22821 * csu/Makefile: Likewise.
22822 (all): Remove target.
22823 * ctype/Makefile: Include Makeconfig immediately after defining
22825 * debug/Makefile: Likewise.
22826 * dirent/Makefile: Likewise.
22827 * dlfcn/Makefile: Likewise.
22828 * gmon/Makefile: Likewise.
22829 * gnulib/Makefile: Likewise.
22830 * grp/Makefile: Likewise.
22831 * gshadow/Makefile: Likewise.
22832 * hesiod/Makefile: Likewise.
22833 * hurd/Makefile: Likewise.
22834 (all): Remove target.
22835 * iconvdata/Makefile: Include Makeconfig immediately after
22837 * inet/Makefile: Likewise.
22838 * intl/Makefile: Likewise.
22839 * io/Makefile: Likewise.
22840 * libio/Makefile: Likewise.
22841 (all): Remove target.
22842 * locale/Makefile: Include Makeconfig immediately after defining
22844 * login/Makefile: Likewise.
22845 * mach/Makefile: Likewise.
22846 (all): Remove target.
22847 * malloc/Makefile: Include Makeconfig immediately after defining
22849 (all): Remove target.
22850 * manual/Makefile: Include Makeconfig immediately after defining
22852 * math/Makefile: Likewise.
22853 * misc/Makefile: Likewise.
22854 * nis/Makefile: Likewise.
22855 * nss/Makefile: Likewise.
22856 * po/Makefile: Likewise.
22857 (all): Remove target.
22858 * posix/Makefile: Include Makeconfig immediately after defining
22860 * pwd/Makefile: Likewise.
22861 * resolv/Makefile: Likewise.
22862 * resource/Makefile: Likewise.
22863 * rt/Makefile: Likewise.
22864 * setjmp/Makefile: Likewise.
22865 * shadow/Makefile: Likewise.
22866 * signal/Makefile: Likewise.
22867 * socket/Makefile: Likewise.
22868 * soft-fp/Makefile: Likewise.
22869 * stdio-common/Makefile: Likewise.
22870 * stdlib/Makefile: Likewise.
22871 * streams/Makefile: Likewise.
22872 * string/Makefile: Likewise.
22873 * sunrpc/Makefile: Likewise.
22874 (all): Remove target.
22875 * sysvipc/Makefile: Include Makeconfig immediately after defining
22877 * termios/Makefile: Likewise.
22878 * time/Makefile: Likewise.
22879 * timezone/Makefile: Likewise.
22880 (all): Remove target.
22881 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22883 * wctype/Makefile: Likewise.
22885 2014-02-26 Steve Ellcey <sellcey@mips.com>
22887 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22888 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22889 (libc_feholdexcept_setround_mips): Ditto.
22890 (libc_feholdsetround): New.
22891 (libc_feholdsetroundf): New.
22892 (libc_feholdsetroundl): New.
22893 (libc_feupdateenv_test_mips): New.
22894 (libc_feupdateenv_test): New.
22895 (libc_feupdateenv_testf): New.
22896 (libc_feupdateenv_testl): New.
22897 (libc_feresetround): New.
22898 (libc_feresetroundf): New.
22899 (libc_feresetroundl): New.
22900 (libc_fetestexcept_mips): New.
22901 (libc_fetestexcept): New.
22902 (libc_fetestexceptf): New.
22903 (libc_fetestexceptl): New.
22904 (HAVE_RM_CTX): New.
22905 (libc_feholdexcept_setround_mips_ctx): New.
22906 (libc_feholdexcept_setround_ctx): New.
22907 (libc_feholdexcept_setroundf_ctx): New.
22908 (libc_feholdexcept_setroundl_ctx): New.
22909 (libc_fesetenv_mips_ctx): New.
22910 (libc_fesetenv_ctx): New.
22911 (libc_fesetenv_ctxf): New.
22912 (libc_fesetenv_ctxl): New.
22913 (libc_feupdateenv_mips_ctx): New.
22914 (libc_feupdateenv_ctx): New.
22915 (libc_feupdateenvf_ctx): New.
22916 (libc_feupdateenvl_ctx): New.
22917 (libc_feholdsetround_mips_ctx): New.
22918 (libc_feholdsetround_ctx): New.
22919 (libc_feholdsetroundf_ctx): New.
22920 (libc_feholdsetroundl_ctx): New.
22921 (libc_feresetround_mips_ctx): New.
22922 (libc_feresetround_ctx): New.
22923 (libc_feresetroundf_ctx): New.
22924 (libc_feresetroundl_ctx): New.
22926 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22928 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22930 * manual/ipc.texi: New file.
22931 * manual/Makefile (chapters): Add ipc.
22932 * manual/job.texi: Add "Inter-Process Communication" to next.
22933 * manual/process.texi: Add "Inter-Process Communication" to prev.
22935 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22939 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22941 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22943 * manual/arith.texi: Fix spaces after sentences.
22944 * manual/charset.texi: Likewise.
22945 * manual/errno.texi: Likewise.
22946 * manual/install.texi: Likewise.
22947 * manual/llio.texi: Likewise.
22948 * manual/locale.texi: Likewise.
22949 * manual/maint.texi: Likewise.
22950 * manual/math.texi: Likewise.
22951 * manual/memory.texi: Likewise.
22952 * manual/message.texi: Likewise.
22953 * manual/probes.texi: Likewise.
22954 * manual/resource.texi: Likewise.
22955 * manual/signal.texi: Likewise.
22956 * manual/socket.texi: Likewise.
22957 * manual/stdio.texi: Likewise.
22958 * manual/string.texi: Likewise.
22959 * manual/time.texi: Likewise.
22960 * manual/users.texi: Likewise.
22962 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22965 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22966 _DEFAULT_SOURCE is defined.
22968 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22969 Carlos O'Donell <carlos@redhat.com>
22972 * elf/dl-tls.c (_dl_count_modids): New function.
22973 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22974 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22975 audit library and increment generation counter.
22976 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22977 * elf/tst-audit9.c: New file.
22978 * elf/tst-auditmod9a.c: New file.
22979 * elf/tst-auditmod9b.c: New file.
22980 * elf/Makefile: Add rules to build and run tst-audit9.
22982 2014-02-25 Florian Weimer <fweimer@redhat.com>
22985 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22987 2014-02-25 Will Newton <will.newton@linaro.org>
22989 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22990 (__longjmp): Restore sp and lr before restoring callee
22991 saved registers. Add longjmp and longjmp_target
22992 SystemTap probe point.
22993 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22994 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22995 Define to zero to match jmpbuf layout.
22996 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22997 (__sigsetjmp): Save sp and lr before saving callee
22998 saved registers. Add setjmp SystemTap probe point.
23000 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23002 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23004 2014-02-24 Andreas Schwab <schwab@suse.de>
23007 * elf/pldd.c (wait_for_ptrace_stop): New function.
23008 (main): Call it after attaching.
23010 2014-02-22 Roland McGrath <roland@hack.frob.com>
23012 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23013 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23014 Versions files is now verboten.
23015 * hurd/Versions (libc: GLIBC_2.0):
23016 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23017 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23018 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23019 * mach/Versions: Likewise.
23021 * csu/Versions: Remove unused %include.
23022 * resolv/Versions: Likewise.
23024 2014-02-21 Joseph Myers <joseph@codesourcery.com>
23026 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23027 ($(objpfx)check-local-headers.out): Likewise.
23028 ($(objpfx)begin-end-check.out): Likewise.
23029 * Makerules (check-abi-%.out): Likewise.
23030 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23031 ($(objpfx)test2.cat): Likewise.
23032 ($(objpfx)de/libc.cat): Likewise.
23033 ($(objpfx)test-gencat.out): Likewise.
23034 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23035 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23036 ($(objpfx)noload-mem): Likewise.
23037 ($(objpfx)tst-pathopt.out): Likewise.
23038 ($(objpfx)tst-rtld-load-self.out): Likewise.
23039 ($(objpfx)tst-array1-cmp.out): Likewise.
23040 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23041 ($(objpfx)tst-array2-cmp.out): Likewise.
23042 ($(objpfx)tst-array3-cmp.out): Likewise.
23043 ($(objpfx)tst-array4-cmp.out): Likewise.
23044 ($(objpfx)tst-array5-cmp.out): Likewise.
23045 ($(objpfx)tst-array5-static-cmp.out): Likewise.
23046 ($(objpfx)check-textrel.out): Likewise.
23047 ($(objpfx)check-execstack.out): Likewise.
23048 ($(objpfx)check-localplt.out): Likewise.
23049 ($(objpfx)order2-cmp.out): Likewise.
23050 ($(objpfx)tst-leaks1-mem): Likewise.
23051 ($(objpfx)tst-leaks1-static-mem): Likewise.
23052 ($(objpfx)tst-initorder-cmp.out): Likewise.
23053 ($(objpfx)tst-initorder2-cmp.out): Likewise.
23054 ($(objpfx)tst-unused-dep.out): Likewise.
23055 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23056 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23057 * iconv/Makefile (test-iconvconfig): Likewise.
23058 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23059 ($(objpfx)iconv-test.out): Likewise.
23060 ($(objpfx)tst-tables.out): Likewise.
23061 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23062 ($(objpfx)tst-gettext.out): Likewise.
23063 ($(objpfx)tst-translit.out): Likewise.
23064 ($(objpfx)tst-gettext2.out): Likewise.
23065 ($(objpfx)tst-gettext4.out): Likewise.
23066 ($(objpfx)tst-gettext6.out): Likewise.
23067 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23068 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23069 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23070 ($(objpfx)tst-fopenloc-mem.out): Likewise.
23071 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23072 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23073 * posix/Makefile ($(objpfx)globtest.out): Likewise.
23074 ($(objpfx)wordexp-tst.out): Likewise.
23075 ($(objpfx)annexc.out): Likewise.
23076 ($(objpfx)tst-fnmatch-mem): Likewise.
23077 ($(objpfx)bug-regex2-mem): Likewise.
23078 ($(objpfx)bug-regex14-mem): Likewise.
23079 ($(objpfx)bug-regex21-mem): Likewise.
23080 ($(objpfx)bug-regex31-mem): Likewise.
23081 ($(objpfx)tst-vfork3-mem): Likewise.
23082 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23083 ($(objpfx)tst-pcre-mem): Likewise.
23084 ($(objpfx)tst-boost-mem): Likewise.
23085 ($(objpfx)tst-getconf.out): Likewise.
23086 ($(objpfx)bug-ga2-mem): Likewise.
23087 ($(objpfx)bug-glob2-mem): Likewise.
23088 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23089 ($(objpfx)mtrace-tst-leaks2): Likewise.
23090 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23091 ($(objpfx)tst-printf.out): Likewise.
23092 ($(objpfx)tst-setvbuf1.out): Likewise.
23093 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23094 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23095 ($(objpfx)tst-fmtmsg.out): Likewise.
23096 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23097 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23099 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23100 * bits/sigaction.h [__USE_MISC]: Likewise.
23101 * bits/waitstatus.h: Update #endif comments.
23102 * ctype/ctype.h: Likewise.
23103 * dirent/dirent.h: Likewise.
23104 [__USE_MISC]: Remove redundant conditionals.
23105 * grp/grp.h: Update #endif comments.
23106 [__USE_GNU]: Remove redundant conditionals.
23107 [__USE_MISC]: Likewise.
23108 * inet/netinet/in.h [__USE_GNU]: Likewise.
23109 * io/sys/stat.h [__USE_MISC]: Likewise.
23110 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23111 * libio/bits/stdio.h: Update #endif comments.
23112 [__USE_MISC]: Remove redundant conditionals.
23113 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23114 * libio/stdio.h: Update #endif comments.
23115 [__USE_MISC]: Remove redundant conditionals.
23116 * math/bits/math-finite.h [__USE_MISC]: Likewise.
23117 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23118 * math/math.h: Update #else and #endif comments.
23119 [__USE_MISC]: Remove redundant conditionals.
23120 * misc/sys/uio.h: Update #endif comments.
23121 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23122 * posix/glob.h [__USE_MISC]: Likewise.
23123 * posix/sys/types.h: Update #endif comments.
23124 [__USE_MISC]: Remove redundant conditionals.
23125 * posix/sys/wait.h: Update #endif comments.
23126 [__USE_MISC]: Remove redundant conditionals.
23127 * posix/unistd.h: Update #endif comments.
23128 [__USE_MISC]: Remove redundant conditionals.
23129 * pwd/pwd.h [__USE_GNU]: Likewise.
23130 [__USE_MISC]: Likewise.
23131 * resolv/netdb.h [__USE_GNU]: Likewise.
23132 * signal/signal.h: Update #endif comments.
23133 [__USE_MISC]: Remove redundant conditionals.
23134 * stdlib/stdlib.h: Update #else and #endif comments.
23135 [__USE_MISC]: Remove redundant conditionals.
23136 [__USE_GNU]: Likewise.
23137 * string/bits/string2.h [__USE_MISC]: Likewise.
23138 * string/string.h: Update #endif comments.
23139 [__USE_MISC]: Remove redundant conditionals.
23140 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23142 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23143 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23144 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23146 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23150 [__USE_MISC]: Remove redundant conditionals.
23151 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23152 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23153 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23154 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23155 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23157 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23158 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23160 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23163 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23165 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23166 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23168 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23170 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23171 * sysdeps/x86/bits/string.h: Update #endif comments.
23172 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23174 * time/sys/time.h: Update #endif comments.
23175 * time/time.h: Likewise.
23176 [__USE_MISC]: Remove redundant conditionals.
23178 2014-02-21 Yury Gribov <y.gribov@samsung.com>
23181 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23183 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
23185 * Versions.def (librt): Add GLIBC_2.17.
23187 2014-02-21 Adam Conrad <adconrad@0c3.net>
23189 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23190 synonym for _SYS_AUXV_H to allow direct inclusion.
23191 * sysdeps/sparc/bits/hwcap.h: Likewise.
23192 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23193 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23194 * sysdeps/sparc/sysdep.h: Likewise.
23196 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23198 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23200 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23202 * benchtests/bench-strrchr.c: Print length instead of position.
23204 2014-02-20 Joseph Myers <joseph@codesourcery.com>
23207 * sysdeps/unix/sysv/linux/kernel-features.h
23208 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23209 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23210 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23211 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23213 [__i386__ || __powerpc__ || __sh__ || __sparc__]
23214 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23215 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23216 (__ASSUME_SENDMMSG): Define instead of using previous
23217 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23218 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23219 (__ASSUME_SENDMMSG_SYSCALL): Define.
23220 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23221 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23223 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23224 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23226 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23227 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23229 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23230 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23231 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23232 [__ASSUME_SENDMMSG]: Change conditionals to
23233 [__ASSUME_SENDMMSG_SOCKETCALL].
23234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23235 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23237 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23238 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23240 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23241 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23242 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23243 [!__ASSUME_SENDMMSG]: Change conditional to
23244 [!__ASSUME_SENDMMSG_SOCKETCALL].
23245 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23246 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23250 * sysdeps/unix/sysv/linux/kernel-features.h
23251 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23252 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23253 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23254 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23255 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23256 [__i386__ || __sparc__]
23257 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23258 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23259 (__ASSUME_RECVMMSG): Define instead of using previous
23260 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23261 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23262 (__ASSUME_RECVMMSG_SYSCALL): Define.
23263 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23264 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23267 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23269 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23270 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23272 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23273 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23274 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23275 [__ASSUME_RECVMMSG]: Change condition to
23276 [__ASSUME_RECVMMSG_SOCKETCALL].
23277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23278 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23280 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23281 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23282 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23284 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23285 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23286 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23287 [!__ASSUME_RECVMMSG]: Change condition to
23288 [!__ASSUME_RECVMMSG_SOCKETCALL].
23289 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23290 (__ASSUME_RECVMMSG_SYSCALL): Define.
23293 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23294 __powerpc__ || __s390__ || __sh__ || __sparc__]
23295 (__ASSUME_SOCKETCALL): Define.
23296 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23297 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23298 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23299 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23300 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23301 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23302 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23303 (__ASSUME_ACCEPT4): Define instead of using previous
23304 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23305 __powerpc__ || __sparc__ || __s390__)] condition.
23306 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23307 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23308 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23309 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23310 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23311 [!__ASSUME_ACCEPT4]: Change condition to
23312 [!__ASSUME_ACCEPT4_SOCKETCALL].
23313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23314 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
23315 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23316 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23317 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23318 __ASSUME_ACCEPT4_SYSCALL.
23319 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23320 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23321 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23322 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23323 __ASSUME_ACCEPT4_SYSCALL.
23324 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23325 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23326 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23327 [__ASSUME_ACCEPT4]: Change condition to
23328 [__ASSUME_ACCEPT4_SOCKETCALL].
23329 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23330 (__ASSUME_SOCKETCALL): Define.
23331 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23333 (__ASSUME_SOCKETCALL): Define.
23334 (__ASSUME_ACCEPT4): Remove.
23335 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23337 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23338 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23340 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23341 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23343 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23345 (HWCAP_ARM_LPAE): Likewise.
23346 (HWCAP_ARM_EVTSTRM): Likewise.
23347 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23348 Add vpfd32, lpae and evtstrm.
23349 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23352 2014-02-19 Joseph Myers <joseph@codesourcery.com>
23354 * math/auto-libm-test-in: Add tests of clog10.
23355 * math/auto-libm-test-out: Regenerated.
23356 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23357 * sysdeps/i386/fpu/libm-test-ulps: Update.
23358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23360 2014-02-18 Andreas Schwab <schwab@suse.de>
23363 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23364 Store non-zero if the second buffer was newly allocated.
23365 (send_dg): Likewise.
23366 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23367 to send_vc and send_dg.
23368 (res_nsend): Pass NULL for ansp2_malloced.
23369 * resolv/res_query.c (__libc_res_nquery): Add parameter
23370 answerp2_malloced and pass it down to __libc_res_nsend.
23371 (res_nquery): Pass additional NULL to __libc_res_nquery.
23372 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23373 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
23374 second answer buffer if answerp2_malloced was set.
23375 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23376 (__libc_res_nquerydomain): Add parameter
23377 answerp2_malloced and pass it down to __libc_res_nquery.
23378 (res_nquerydomain): Pass additional NULL to
23379 __libc_res_nquerydomain.
23380 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23381 additional NULL to __libc_res_nsend and __libc_res_nquery.
23382 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23383 additional NULL to __libc_res_nsearch.
23384 (_nss_dns_gethostbyname4_r): Revert last change. Use new
23385 parameter of __libc_res_nsearch to check for separately allocated
23387 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23389 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23390 additional NULL to __libc_res_nquery.
23391 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23392 __libc_res_nsearch.
23393 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23394 * include/resolv.h: Update prototypes of __libc_res_nquery,
23395 __libc_res_nsearch, __libc_res_nsend.
23397 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23399 * math/auto-libm-test-in: Add tests of fma.
23400 * math/auto-libm-test-out: Regenerated.
23401 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23402 (fma_towardzero_test_data): Likewise.
23403 (fma_downward_test_data): Likewise.
23404 (fma_upward_test_data): Likewise.
23405 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23407 (rounding_modes): Add values for new field.
23408 (func_calc_method): Add value mpfr_fff_f.
23409 (func_calc_desc): Add mpfr_fff_f union field.
23410 (test_function): Add field exact_args.
23411 (FUNC): Add macro argument EXACT_ARGS.
23412 (FUNC_mpfr_f_f): Update call to FUNC.
23413 (FUNC_mpfr_f_f): Likewise.
23414 (FUNC_mpfr_ff_f): Likewise.
23415 (FUNC_mpfr_if_f): Likewise.
23416 (FUNC_mpc_c_f): Likewise.
23417 (FUNC_mpc_c_c): Likewise.
23418 (test_functions): Add fma. Update calls to FUNC.
23419 (handle_input_arg): Add argument exact_args.
23420 (add_test): Update call to handle_input_arg.
23421 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23422 (output_for_one_input_case): Update call to calc_generic_results.
23423 Recalculate exact zero results in each rounding mode.
23425 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23426 non-negative before setting low bit.
23427 * math/auto-libm-test-in: Mark one asin test possibly having
23428 spurious underflow.
23429 * math/auto-libm-test-out: Regenerated.
23430 * sysdeps/i386/fpu/libm-test-ulps: Update.
23431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23433 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23435 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23436 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23437 ports/sysdeps/unix/sysv/linux/microblaze.
23438 * README: Add missing listing for microblaze*-*-linux-gnu.
23440 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23442 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23445 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23447 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23448 * sysdeps/unix/sysv/linux/ia64: Move directory from
23449 ports/sysdeps/unix/sysv/linux/ia64.
23450 * README: Update listing for ia64-*-linux-gnu.
23452 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23453 Joseph Myers <joseph@codesourcery.com>
23455 * Makeconfig (test-name): New variable.
23456 (evaluate-test): Likewise.
23457 * Makerules (do-test-clean): Remove .test-result files.
23458 (common-mostlyclean): Likewise.
23459 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23460 * scripts/evaluate-test.sh: New file.
23462 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23464 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23465 separate $(objpfx)tst-fopenloc-cmp.out and
23466 $(objpfx)tst-fopenloc-mem.out targets.
23467 (tests): Update dependencies.
23468 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23469 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23470 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23471 (tst-rxspencer-no-utf8-ARGS): New variable.
23472 (tst-rxspencer-no-utf8-ENV): Likewise.
23473 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23474 instead of $(objpfx)tst-rxspencer-mem.
23475 ($(objpfx)tst-rxspencer-mem): Change target to
23476 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23477 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23478 * posix/tst-rxspencer-no-utf8.c: New file.
23480 * elf/Makefile ($(objpfx)order.out): Remove rule.
23481 [$(run-built-tests) = yes] (tests): Depend on
23482 $(objpfx)order-cmp.out.
23483 ($(objpfx)order-cmp.out): New rule.
23484 [$(run-built-tests) = yes] (tests): Depend on
23485 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23486 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23487 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23488 $(objpfx)tst-array5-static-cmp.out.
23489 ($(objpfx)tst-array1.out): Remove rule.
23490 ($(objpfx)tst-array1-cmp.out): New rule.
23491 ($(objpfx)tst-array1-static.out): Remove rule.
23492 ($(objpfx)tst-array1-static-cmp.out): New rule.
23493 ($(objpfx)tst-array2.out): Remove rule.
23494 ($(objpfx)tst-array2-cmp.out): New rule.
23495 ($(objpfx)tst-array3.out): Remove rule.
23496 ($(objpfx)tst-array3-cmp.out): New rule.
23497 ($(objpfx)tst-array4.out): Remove rule.
23498 ($(objpfx)tst-array4-cmp.out): New rule.
23499 ($(objpfx)tst-array5.out): Remove rule.
23500 ($(objpfx)tst-array5-cmp.out): New rule.
23501 ($(objpfx)tst-array5-static.out): Remove rule.
23502 ($(objpfx)tst-array5-static-cmp.out): New rule.
23503 [$(run-built-tests) = yes] (tests): Depend on
23504 $(objpfx)order2-cmp.out.
23505 ($(objpfx)order2.out): Remove rule.
23506 ($(objpfx)order2-cmp.out): New rule.
23507 ($(objpfx)tst-initorder.out): Remove rule.
23508 [$(run-built-tests) = yes] (tests): Depend on
23509 $(objpfx)tst-initorder-cmp.out.
23510 ($(objpfx)tst-initorder-cmp.out): New rule.
23511 ($(objpfx)tst-initorder2.out): Remove rule.
23512 [$(run-built-tests) = yes] (tests): Depend on
23513 $(objpfx)tst-initorder2-cmp.out.
23514 ($(objpfx)tst-initorder2-cmp.out): New rule.
23515 [$(run-built-tests) = yes] (tests): Depend on
23516 $(objpfx)tst-unused-dep-cmp.out.
23517 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23518 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23519 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23520 on $(objpfx)tst-setvbuf1-cmp.out.
23521 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23522 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23523 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23524 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23525 ($(objpfx)tst-svc.out): Remove rule.
23526 ($(objpfx)tst-svc-cmp.out): New rule.
23528 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23530 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23531 * ctype/ctype.h [__USE_MISC]: Likewise.
23532 * dirent/dirent.h [__USE_MISC]: Likewise.
23533 * grp/grp.h [__USE_MISC]: Likewise.
23534 * io/fcntl.h [__USE_MISC]: Likewise.
23535 * io/sys/stat.h [__USE_MISC]: Likewise.
23536 * libio/stdio.h [__USE_MISC]: Likewise.
23537 * posix/unistd.h [__USE_MISC]: Likewise.
23538 * pwd/pwd.h [__USE_MISC]: Likewise.
23539 * stdlib.h [__USE_MISC]: Likewise.
23540 * string/bits/string2.h [__USE_MISC]: Likewise.
23541 * string/string.h [__USE_MISC]: Likewise.
23542 * time/time.h [__USE_MISC]: Likewise.
23544 2014-02-13 Andreas Schwab <schwab@suse.de>
23547 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23548 second answer buffer if it was separately allocated.
23550 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23552 * sysdeps/mips/math-tests.h: Include <features.h>.
23553 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23554 (ROUNDING_TESTS_long_double): Do not define.
23555 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23556 (EXCEPTION_TESTS_long_double): Likewise.
23557 * sysdeps/mips/mips64/libm-test-ulps: Update.
23559 * include/features.h (__USE_BSD): Remove macro definitions.
23560 (__USE_SVID): Likewise.
23561 (_BSD_SOURCE): Likewise.
23562 (_SVID_SOURCE): Likewise.
23563 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23564 from definition of _DEFAULT_SOURCE.
23565 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23567 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23568 * bits/mman.h [__USE_BSD]: Likewise.
23569 * bits/termios.h [__USE_BSD]: Likewise.
23570 * bits/waitstatus.h [__USE_BSD]: Likewise.
23571 * ctype/ctype.h [__USE_SVID]: Likewise.
23572 * dirent/dirent.h [__USE_BSD]: Likewise.
23573 * grp/grp.h [__USE_SVID]: Likewise.
23574 [__USE_BSD]: Likewise.
23575 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23576 * io/fcntl.h [__USE_BSD]: Likewise.
23577 * io/ftw.h [__USE_BSD]: Likewise.
23578 * io/sys/stat.h [__USE_BSD]: Likewise.
23579 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23580 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23581 * libio/stdio.h [__USE_SVID]: Likewise.
23582 [__USE_BSD]: Likewise.
23583 * math/math.h [__USE_SVID]: Likewise.
23584 [__USE_BSD]: Likewise.
23585 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23586 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23587 * misc/search.h [__USE_SVID]: Likewise.
23588 * misc/sys/mman.h [__USE_BSD]: Likewise.
23589 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23590 * misc/sys/uio.h [__USE_BSD]: Likewise.
23591 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23592 * posix/glob.h [__USE_BSD]: Likewise.
23593 * posix/regex.h [__USE_BSD]: Likewise.
23594 * posix/sys/types.h [__USE_BSD]: Likewise.
23595 [__USE_SVID]: Likewise.
23596 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23597 * posix/sys/wait.h [__USE_BSD]: Likewise.
23598 [__USE_SVID]: Likewise.
23599 * posix/unistd.h [__USE_BSD]: Likewise.
23600 [__USE_SVID]: Likewise.
23601 * pwd/pwd.h [__USE_SVID]: Likewise.
23602 * resolv/netdb.h [__USE_BSD]: Likewise.
23603 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23604 * signal/signal.h [__USE_BSD]: Likewise.
23605 [__USE_SVID]: Likewise.
23606 * socket/sys/socket.h [__USE_BSD]: Likewise.
23607 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23608 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23609 [__USE_SVID]: Likewise.
23610 * string/bits/string2.h [__USE_BSD]: Likewise.
23611 [__USE_SVID]: Likewise.
23612 * string/bits/string3.h [__USE_BSD]: Likewise.
23613 * string/endian.h [__USE_BSD]: Likewise.
23614 * string/string.h [__USE_SVID]: Likewise.
23615 [__USE_BSD]: Likewise.
23616 * string/strings.h [__USE_BSD]: Likewise.
23617 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23618 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23619 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23620 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23621 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23622 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23626 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23627 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23629 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23630 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23632 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23634 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23635 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23636 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23638 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23640 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23641 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23642 * termios/termios.h [__USE_BSD]: Likewise.
23643 * time/sys/time.h [__USE_BSD]: Likewise.
23644 * time/time.h [__USE_BSD]: Likewise.
23645 [__USE_SVID]: Likewise.
23647 * Makefile (subdir_targets): Remove subdir_lint.out.
23649 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23650 (do-tst-printf): Likewise.
23651 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23652 $(objpfx)tst-printf.out.
23654 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23656 * Makerules (check-abi-%): Change target to
23657 $(objpfx)check-abi-%.out.
23658 (check-abi target): Update dependencies.
23659 (check-abi-pattern variable): Redirect output of diff to $@.
23660 (check-abi variable): Likewise.
23661 * elf/Makefile (check-abi): Update dependencies.
23663 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23665 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23666 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23668 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23669 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23670 value has largest subnormal exponent.
23671 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23672 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23673 * sysdeps/aarch64/soft-fp/sfp-machine.h
23674 (_FP_TININESS_AFTER_ROUNDING): New macro.
23675 * sysdeps/alpha/soft-fp/sfp-machine.h
23676 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23677 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23679 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23680 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23681 * sysdeps/mips/soft-fp/sfp-machine.h
23682 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23683 * sysdeps/powerpc/soft-fp/sfp-machine.h
23684 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23685 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23687 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23688 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23689 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23690 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23691 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23694 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23697 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23700 2014-02-12 Richard Henderson <rth@redhat.com>
23702 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23703 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23704 * sysdeps/unix/sysv/linux/alpha: Move directory from
23705 ports/sysdeps/unix/sysv/linux/alpha.
23706 * README: Update listing for alpha-*-linux-gnu.
23708 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23710 * include/features.h: Update comment documenting feature test
23712 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23714 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23715 (_SVID_SOURCE): Likewise.
23716 (_DEFAULT_SOURCE): Update description of default features.
23717 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23719 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23720 (S_ISVTX): Likewise.
23721 * manual/math.texi (Mathematical Constants): Likewise.
23722 * manual/signal.texi (Interrupted Primitives): Likewise.
23723 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23724 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23725 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23726 Don't refer to _SVID_SOURCE in warning text.
23728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23730 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23732 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23733 * sysdeps/mips/dl-lookup.c: Remove.
23734 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23736 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23739 * math/auto-libm-test-in: Add testcase for expl.
23740 * math/auto-libm-test-out: Regenerate.
23741 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23742 calculation of unsafe.
23743 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23745 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23747 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23748 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23749 ports/sysdeps/unix/sysv/linux/aarch64.
23750 * README: Update listing for aarch64*-*-linux-gnu.
23752 2014-02-11 Will Newton <will.newton@linaro.org>
23754 * manual/probes.texi (Mathematical Function Probes): Use
23755 "triggered" instead of "hit".
23757 * manual/probes.texi (Internal Probes): Add documentation
23758 of setjmp, longjmp and longjmp_target probes.
23760 * include/stap-probe.h: Add comment about probe argument
23763 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23764 definition. (tr_where, tr_freehook, tr_mallochook,
23765 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23767 2014-02-11 David S. Miller <davem@davemloft.net>
23769 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23770 processing int_tests.
23772 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23774 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23775 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23776 * sysdeps/unix/sysv/linux/mips: Move directory from
23777 ports/sysdeps/unix/sysv/linux/mips.
23778 * README: Update listing for mips-*-linux-gnu and
23779 mips64-*-linux-gnu.
23781 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23783 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23784 * sysdeps/unix/sysv/linux/m68k: Move directory from
23785 ports/sysdeps/unix/sysv/linux/m68k.
23786 * README: Update listing for m68k-*-linux-gnu.
23788 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23790 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23791 * sysdeps/unix/sysv/linux/generic: Move directory from
23792 ports/sysdeps/unix/sysv/linux/generic.
23793 * sysdeps/unix/sysv/linux/tile: Move directory from
23794 ports/sysdeps/unix/sysv/linux/tile.
23795 * README: Update listing for tile*-*-linux-gnu.
23797 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23799 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23801 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23802 * catgets/open_catalog.c (__open_catalog): Likewise.
23803 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23804 * debug/confstr_chk.c: Likewise.
23805 * debug/fread_chk.c (__fread_chk): Likewise.
23806 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23807 * debug/getgroups_chk.c: Likewise.
23808 * debug/mbsnrtowcs_chk.c: Likewise.
23809 * debug/mbsrtowcs_chk.c: Likewise.
23810 * debug/mbstowcs_chk.c: Likewise.
23811 * debug/memcpy_chk.c: Likewise.
23812 * debug/memmove_chk.c: Likewise.
23813 * debug/mempcpy_chk.c: Likewise.
23814 * debug/memset_chk.c: Likewise.
23815 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23816 * debug/strcat_chk.c (__strcat_chk): Likewise.
23817 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23818 * debug/strncat_chk.c (__strncat_chk): Likewise.
23819 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23820 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23821 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23822 * debug/wcpncpy_chk.c: Likewise.
23823 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23824 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23825 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23826 * debug/wcsncpy_chk.c: Likewise.
23827 * debug/wcsnrtombs_chk.c: Likewise.
23828 * debug/wcsrtombs_chk.c: Likewise.
23829 * debug/wcstombs_chk.c: Likewise.
23830 * debug/wmemcpy_chk.c: Likewise.
23831 * debug/wmemmove_chk.c: Likewise.
23832 * debug/wmempcpy_chk.c: Likewise.
23833 * debug/wmemset_chk.c: Likewise.
23834 * dirent/scandirat.c (SCANDIRAT): Likewise.
23835 * dlfcn/dladdr1.c (dladdr1): Likewise.
23836 * dlfcn/dladdr.c (dladdr): Likewise.
23837 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23838 * dlfcn/dlerror.c (__dlerror): Likewise.
23839 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23840 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23841 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23842 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23843 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23844 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23845 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23846 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23848 * elf/dl-conflict.c: Likewise.
23849 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23850 * elf/dl-dst.h: Likewise.
23851 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23852 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23853 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23854 * elf/dl-init.c (call_init, _dl_init): Likewise.
23855 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23856 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23857 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23859 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23861 * elf/dl-minimal.c (__libc_memalign): Likewise.
23862 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23863 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23864 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23865 * elf/dl-sym.c (do_sym): Likewise.
23866 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23867 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23868 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23869 * elf/dl-writev.h (_dl_writev): Likewise.
23870 * elf/ldconfig.c (search_dir): Likewise.
23871 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23872 (dl_main): Likewise.
23873 * elf/setup-vdso.h (setup_vdso): Likewise.
23874 * grp/compat-initgroups.c (compat_call): Likewise.
23875 * grp/fgetgrent.c (fgetgrent): Likewise.
23876 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23877 * grp/putgrent.c (putgrent): Likewise.
23878 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23880 * hurd/hurdinit.c: Likewise.
23881 * iconvdata/8bit-gap.c (struct): Likewise.
23882 * iconvdata/ansi_x3.110.c : Likewise.
23883 * iconvdata/big5.c : Likewise.
23884 * iconvdata/big5hkscs.c : Likewise.
23885 * iconvdata/cp1255.c: Likewise.
23886 * iconvdata/cp1258.c : Likewise.
23887 * iconvdata/cp932.c : Likewise.
23888 * iconvdata/euc-cn.c: Likewise.
23889 * iconvdata/euc-jisx0213.c : Likewise.
23890 * iconvdata/euc-jp.c: Likewise.
23891 * iconvdata/euc-jp-ms.c : Likewise.
23892 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23893 * iconvdata/gb18030.c : Likewise.
23894 * iconvdata/gbbig5.c (const): Likewise.
23895 * iconvdata/gbgbk.c: Likewise.
23896 * iconvdata/gbk.c : Likewise.
23897 * iconvdata/ibm1364.c : Likewise.
23898 * iconvdata/ibm930.c : Likewise.
23899 * iconvdata/ibm932.c: Likewise.
23900 * iconvdata/ibm933.c : Likewise.
23901 * iconvdata/ibm935.c : Likewise.
23902 * iconvdata/ibm937.c : Likewise.
23903 * iconvdata/ibm939.c : Likewise.
23904 * iconvdata/ibm943.c: Likewise.
23905 * iconvdata/iso_11548-1.c: Likewise.
23906 * iconvdata/iso-2022-cn.c : Likewise.
23907 * iconvdata/iso-2022-cn-ext.c : Likewise.
23908 * iconvdata/iso-2022-jp-3.c: Likewise.
23909 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23910 * iconvdata/iso-2022-kr.c : Likewise.
23911 * iconvdata/iso646.c (gconv_end): Likewise.
23912 * iconvdata/iso_6937-2.c : Likewise.
23913 * iconvdata/iso_6937.c : Likewise.
23914 * iconvdata/iso8859-1.c: Likewise.
23915 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23916 * iconvdata/shift_jisx0213.c : Likewise.
23917 * iconvdata/sjis.c : Likewise.
23918 * iconvdata/t.61.c : Likewise.
23919 * iconvdata/tcvn5712-1.c : Likewise.
23920 * iconvdata/tscii.c: Likewise.
23921 * iconvdata/uhc.c : Likewise.
23922 * iconvdata/unicode.c (gconv_end): Likewise.
23923 * iconvdata/utf-16.c (gconv_end): Likewise.
23924 * iconvdata/utf-32.c (gconv_end): Likewise.
23925 * iconvdata/utf-7.c (base64): Likewise.
23926 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23927 * iconv/gconv_close.c (__gconv_close): Likewise.
23928 * iconv/gconv_open.c (__gconv_open): Likewise.
23929 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23930 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23931 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23932 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23933 (ucs4le_internal_loop_single): Likewise.
23934 * iconv/iconv.c (iconv): Likewise.
23935 * iconv/iconv_close.c: Likewise.
23936 * iconv/loop.c (SINGLE): Likewise.
23937 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23938 * include/atomic.h: Likewise.
23939 * inet/inet6_option.c (option_alloc): Likewise.
23940 * intl/bindtextdom.c (set_binding_values): Likewise.
23941 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23942 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23943 * intl/localealias.c (read_alias_file): Likewise.
23944 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23945 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23946 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23947 * libio/fmemopen.c (fmemopen): Likewise.
23948 * libio/iofgets.c (_IO_fgets): Likewise.
23949 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23950 * libio/iofgetws.c (fgetws): Likewise.
23951 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23952 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23953 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23954 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23955 * locale/findlocale.c (_nl_find_locale): Likewise.
23956 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23957 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23959 * locale/setlocale.c (setlocale): Likewise.
23960 * login/programs/pt_chown.c (main): Likewise.
23961 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23962 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23963 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23964 (mmap, mmap64, mremap, munmap): Likewise.
23965 * math/e_exp2l.c: Likewise.
23966 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23967 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23968 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23969 * math/s_catan.c (__catan): Likewise.
23970 * math/s_catanf.c (__catanf): Likewise.
23971 * math/s_catanh.c (__catanh): Likewise.
23972 * math/s_catanhf.c (__catanhf): Likewise.
23973 * math/s_catanhl.c (__catanhl): Likewise.
23974 * math/s_catanl.c (__catanl): Likewise.
23975 * math/s_ccosh.c (__ccosh): Likewise.
23976 * math/s_ccoshf.c (__ccoshf): Likewise.
23977 * math/s_ccoshl.c (__ccoshl): Likewise.
23978 * math/s_cexp.c (__cexp): Likewise.
23979 * math/s_cexpf.c (__cexpf): Likewise.
23980 * math/s_cexpl.c (__cexpl): Likewise.
23981 * math/s_clog10.c (__clog10): Likewise.
23982 * math/s_clog10f.c (__clog10f): Likewise.
23983 * math/s_clog10l.c (__clog10l): Likewise.
23984 * math/s_clog.c (__clog): Likewise.
23985 * math/s_clogf.c (__clogf): Likewise.
23986 * math/s_clogl.c (__clogl): Likewise.
23987 * math/s_csin.c (__csin): Likewise.
23988 * math/s_csinf.c (__csinf): Likewise.
23989 * math/s_csinh.c (__csinh): Likewise.
23990 * math/s_csinhf.c (__csinhf): Likewise.
23991 * math/s_csinhl.c (__csinhl): Likewise.
23992 * math/s_csinl.c (__csinl): Likewise.
23993 * math/s_csqrt.c (__csqrt): Likewise.
23994 * math/s_csqrtf.c (__csqrtf): Likewise.
23995 * math/s_csqrtl.c (__csqrtl): Likewise.
23996 * math/s_ctan.c (__ctan): Likewise.
23997 * math/s_ctanf.c (__ctanf): Likewise.
23998 * math/s_ctanh.c (__ctanh): Likewise.
23999 * math/s_ctanhf.c (__ctanhf): Likewise.
24000 * math/s_ctanhl.c (__ctanhl): Likewise.
24001 * math/s_ctanl.c (__ctanl): Likewise.
24002 * math/w_pow.c: Likewise.
24003 * math/w_powf.c: Likewise.
24004 * math/w_powl.c: Likewise.
24005 * math/w_scalb.c (sysv_scalb): Likewise.
24006 * math/w_scalbf.c (sysv_scalbf): Likewise.
24007 * math/w_scalbl.c (sysv_scalbl): Likewise.
24008 * misc/error.c (error_tail): Likewise.
24009 * misc/pselect.c (__pselect): Likewise.
24010 * nis/nis_callback.c (__nis_create_callback): Likewise.
24011 * nis/nis_call.c (__nisfind_server): Likewise.
24012 * nis/nis_creategroup.c (nis_creategroup): Likewise.
24013 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24014 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24015 * nis/nis_getservlist.c (nis_getservlist): Likewise.
24016 * nis/nis_lookup.c (nis_lookup): Likewise.
24017 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24018 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24019 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24020 * nis/nis_xdr.c (xdr_endpoint): Likewise.
24021 * nis/nss_compat/compat-grp.c (getgrent_next_file)
24022 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24023 * nis/nss_compat/compat-initgroups.c (add_group)
24024 (internal_getgrent_r): Likewise.
24025 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24026 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24027 * nis/nss_compat/compat-spwd.c (getspent_next_file)
24028 (internal_getspnam_r): Likewise.
24029 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24030 (_nss_nis_getaliasbyname_r): Likewise.
24031 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24032 (_nss_nis_getntohost_r): Likewise.
24033 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24034 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24035 (_nss_nis_getgrgid_r): Likewise.
24036 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24037 (internal_nis_gethostent_r, internal_gethostbyname2_r)
24038 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24039 (_nss_nis_gethostbyname4_r): Likewise.
24040 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24041 (initgroups_netid): Likewise.
24042 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24043 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24044 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24045 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24046 (_nss_nis_getprotobynumber_r): Likewise.
24047 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24048 (_nss_nis_getsecretkey): Likewise.
24049 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24050 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24051 (_nss_nis_getpwuid_r): Likewise.
24052 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24053 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24054 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24055 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24056 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24057 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24058 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24060 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24061 (_nss_nisplus_getntohost_r): Likewise.
24062 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24063 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24064 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24065 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24067 * nis/nss_nisplus/nisplus-initgroups.c
24068 (_nss_nisplus_initgroups_dyn): Likewise.
24069 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24070 (_nss_nisplus_getnetbyaddr_r): Likewise.
24071 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24072 (_nss_nisplus_getprotobynumber_r): Likewise.
24073 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24074 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24075 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24077 * nis/nss_nisplus/nisplus-service.c
24078 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24079 (_nss_nisplus_getservbyport_r): Likewise.
24080 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24081 (_nss_nisplus_getspnam_r): Likewise.
24082 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24084 * nscd/aicache.c (addhstaiX): Likewise.
24085 * nscd/cache.c (cache_search, prune_cache): Likewise.
24086 * nscd/connections.c (register_traced_file, send_ro_fd)
24087 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24088 (main_loop_epoll): Likewise.
24089 * nscd/grpcache.c (addgrbyX): Likewise.
24090 * nscd/hstcache.c (addhstbyX): Likewise.
24091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24092 * nscd/mem.c (gc, mempool_alloc): Likewise.
24093 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24094 (addinnetgrX): Likewise.
24095 * nscd/nscd-client.h (__nscd_acquire_maplock)
24096 (__nscd_drop_map_ref): Likewise.
24097 * nscd/nscd_getai.c (__nscd_getai): Likewise.
24098 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24099 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24101 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24102 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24103 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24104 (__nscd_get_map_ref): Likewise.
24105 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24106 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24108 * nscd/pwdcache.c (addpwbyX): Likewise.
24109 * nscd/selinux.c (preserve_capabilities): Likewise.
24110 * nscd/servicescache.c (addservbyX): Likewise.
24111 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24112 * posix/fnmatch.c (fnmatch): Likewise.
24113 * posix/getopt.c (_getopt_internal_r): Likewise.
24114 * posix/glob.c (glob, glob_in_dir): Likewise.
24115 * posix/wordexp.c (exec_comm_child): Likewise.
24116 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24117 (getanswer_r, gaih_getanswer_slice): Likewise.
24118 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24119 * resolv/res_init.c: Likewise.
24120 * resolv/res_mkquery.c (res_nmkquery): Likewise.
24121 * resolv/res_query.c (__libc_res_nquery): Likewise.
24122 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24124 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24125 * stdio-common/perror.c (perror): Likewise.
24126 * stdio-common/printf_fp.c (___printf_fp): Likewise.
24127 * stdio-common/tmpnam.c (tmpnam): Likewise.
24128 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24129 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24130 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24132 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24133 * stdlib/putenv.c (putenv): Likewise.
24134 * stdlib/setenv.c (__add_to_environ): Likewise.
24135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24136 * stdlib/strtol_l.c (INTERNAL): Likewise.
24137 * string/memmem.c (memmem): Likewise.
24138 * string/strerror.c (strerror): Likewise.
24139 * string/strnlen.c (__strnlen): Likewise.
24140 * string/test-memmem.c (simple_memmem): Likewise.
24141 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24142 * sunrpc/pm_getport.c (__get_socket): Likewise.
24143 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24144 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24145 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24146 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24148 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24149 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24150 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24151 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24152 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24153 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24155 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24157 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24158 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24159 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24160 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24161 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24163 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24164 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24165 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24166 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24167 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24168 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24172 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24174 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24175 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24178 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24179 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24180 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24187 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24189 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24191 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24193 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24198 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24199 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24201 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24202 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24203 * sysdeps/posix/opendir.c (__opendirat): Likewise.
24204 * sysdeps/posix/sleep.c: Likewise.
24205 * sysdeps/posix/tempname.c: Likewise.
24206 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24207 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24209 * sysdeps/powerpc/powerpc32/dl-machine.h
24210 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24213 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24214 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24216 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24217 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24218 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24219 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24220 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24221 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24222 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24223 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24225 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24227 (elf_machine_lazy_rel): Likewise.
24228 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24229 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24230 (elf_machine_lazy_rel): Likewise.
24231 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24232 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24233 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24234 * sysdeps/unix/grantpt.c (grantpt): Likewise.
24235 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24236 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24237 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24240 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24241 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24242 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24243 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24244 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24245 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24246 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24247 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24248 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24249 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24250 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24252 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24253 (__posix_fallocate64_l64): Likewise.
24254 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24255 (posix_fallocate): Likewise.
24256 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24259 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24260 (getifaddrs_internal): Likewise.
24261 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24262 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24263 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24264 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24265 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24266 (__posix_fallocate64_l64): Likewise.
24267 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24271 (__get_clockfreq): Likewise.
24272 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24273 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24274 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24277 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24278 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24281 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24282 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24283 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24286 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24287 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24289 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24290 (posix_fallocate): Likewise.
24291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24292 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24293 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24294 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24295 (elf_machine_rela, elf_machine_rela_relative)
24296 (elf_machine_lazy_rel): Likewise.
24297 * time/asctime.c (asctime_internal): Likewise.
24298 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24299 * time/tzset.c (__tzset_parse_tz): Likewise.
24300 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24301 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24302 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24303 * wcsmbs/wcsmbsload.h: Likewise.
24306 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24308 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24309 (arena_get2): Remove THREAD_STATS conditionals.
24310 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24311 (__malloc_stats, int): Likewise.
24313 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24315 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24316 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
24318 * manual/setjmp.texi: Fix typos/grammar errors.
24320 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24321 Only return early when n is <= 0. Delete unused return statement.
24323 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24324 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24325 * debug/tst-longjmp_chk3.c: New file.
24327 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24328 (test_main): Replace code with set_fortify_handler call.
24329 * debug/test-strcpy_chk.c: Likewise.
24330 * debug/tst-chk1.c: Likewise.
24331 * debug/tst-longjmp_chk.c: Likewise.
24332 * test-skeleton.c: Include fcntl.h & paths.h
24333 (set_fortify_handler): Define.
24335 * debug/tst-longjmp_chk.c: Add header comment and include
24336 ../test-skeleton.c.
24337 (do_test): Mark static.
24338 (TEST_FUNCTION): Define.
24340 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24341 (IP_PMTUDISC_INTERFACE): Likewise.
24342 (IP_MULTICAST_IF): Likewise.
24343 (IP_MULTICAST_TTL): Likewise.
24344 (IP_MULTICAST_LOOP): Likewise.
24345 (IP_ADD_MEMBERSHIP): Likewise.
24346 (IP_DROP_MEMBERSHIP): Likewise.
24347 (IP_UNBLOCK_SOURCE): Likewise.
24348 (IP_BLOCK_SOURCE): Likewise.
24349 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24350 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24351 (IP_MSFILTER): Likewise.
24352 (MCAST_JOIN_GROUP): Likewise.
24353 (MCAST_BLOCK_SOURCE): Likewise.
24354 (MCAST_UNBLOCK_SOURCE): Likewise.
24355 (MCAST_LEAVE_GROUP): Likewise.
24356 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24357 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24358 (MCAST_MSFILTER): Likewise.
24359 (IP_MULTICAST_ALL): Likewise.
24360 (IP_UNICAST_IF): Likewise.
24362 * timezone/Makefile: Delete $(have-ksh) check.
24363 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24364 * timezone/tzselect.ksh: Add +x mode bits.
24366 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24367 (ANON_INODE_FS_MAGIC): Likewise.
24368 (BDEVFS_MAGIC): Likewise.
24369 (BINFMTFS_MAGIC): Likewise.
24370 (BTRFS_TEST_MAGIC): Likewise.
24371 (CRAMFS_MAGIC_WEND): Likewise.
24372 (DEBUGFS_MAGIC): Likewise.
24373 (ECRYPTFS_SUPER_MAGIC): Likewise.
24374 (EXT3_SUPER_MAGIC): Likewise.
24375 (EXT4_SUPER_MAGIC): Likewise.
24376 (FUTEXFS_SUPER_MAGIC): Likewise.
24377 (HOSTFS_SUPER_MAGIC): Likewise.
24378 (HUGETLBFS_MAGIC): Likewise.
24379 (MINIX3_SUPER_MAGIC): Likewise.
24380 (MTD_INODE_FS_MAGIC): Likewise.
24381 (NILFS_SUPER_MAGIC): Likewise.
24382 (OPENPROM_SUPER_MAGIC): Likewise.
24383 (PIPEFS_MAGIC): Likewise.
24384 (PSTOREFS_MAGIC): Likewise.
24385 (QNX6_SUPER_MAGIC): Likewise.
24386 (RAMFS_MAGIC): Likewise.
24387 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24388 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24389 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24390 (SECURITYFS_MAGIC): Likewise.
24391 (SELINUX_MAGIC): Likewise.
24392 (SMACK_MAGIC): Likewise.
24393 (SOCKFS_MAGIC): Likewise.
24394 (SQUASHFS_MAGIC): Likewise.
24395 (STACK_END_MAGIC): Likewise.
24396 (TMPFS_MAGIC): Likewise.
24397 (USBDEVICE_SUPER_MAGIC): Likewise.
24398 (V9FS_MAGIC): Likewise.
24399 (XENFS_SUPER_MAGIC): Likewise.
24400 (CRAMFS_MAGIC): Fix typo in comment.
24401 (EXT2_SUPER_MAGIC): Update comment.
24402 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24404 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24406 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24407 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24408 * sysdeps/unix/sysv/linux/arm: Move directory from
24409 ports/sysdeps/unix/sysv/linux/arm.
24410 * README: Update listing for arm-*-linux-gnueabi.
24412 * README: Remove mention of am33.
24414 2014-02-07 Roland McGrath <roland@hack.frob.com>
24416 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24417 than the comma operator, to avoid "rhs of comma has no effect"
24419 (__sigfillset, __sigandset, __sigorset): Likewise.
24420 * include/signal.h (__sigemptyset): Likewise.
24421 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24423 2014-02-07 Allan McRae <allan@archlinux.org>
24425 * version.h (RELEASE): Set to "development".
24426 (VERSION): Set to "2.19.90"
24427 * NEWS: Add 2.20 section.
24429 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24432 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24434 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * manual/contrib.texi: Update entry for Carlos O'Donell,
24437 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24439 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24441 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24443 * sysdeps/unix/sysv/linux/kernel-features.h
24444 [__LINUX_KERNEL_VERSION >= 0x020621]
24445 (__ASSUME_PROC_PID_TASK_COMM): Define.
24447 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24450 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24451 conversion when destination buffer does not have enough space.
24452 * libio/tst-ftell-partial-wide.c: New test case.
24453 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24455 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24456 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24457 Leonard and Allan McRae.
24459 2014-02-04 David S. Miller <davem@davemloft.net>
24461 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24464 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24493 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24495 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24496 * shlib-versions: Likewise.
24498 2014-02-04 Roland McGrath <roland@hack.frob.com>
24499 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24502 (abilist-pattern): New variable, set to %-le.abilist.
24504 * Makerules (abilist-pattern): New variable.
24505 (vpath): Use $(abilist-pattern) in place of %.abilist.
24506 (check-abi-% pattern rule): Likewise.
24507 (check-abi, update-abi): Likewise.
24509 2014-02-04 Eric Wong <normalperson@yhbt.net>
24511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24513 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24515 * manual/startup.texi: Add next, previous, and top entries for
24516 the `Program Arguments' and `Environment Variables' nodes.
24518 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24520 * manual/macros.texi: Add comments before MTASC-safety macros.
24522 * manual/users.texi: Document MTASC-safety properties.
24524 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24525 (pthread_getspecific, pthread_setspecific): Format with
24526 @deftypefun, and add @safety note.
24527 * manual/signal.texi: Move comments that analyze the above
24528 functions to their home place.
24530 2014-02-03 Allan McRae <allan@archlinux.org>
24532 * po/sl.po: Update Slovenian translation from translation project.
24534 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24536 * manual/time.texi (timegm): Add missing blank after @c.
24537 Reported by Joseph Myers <joseph@codesourcery.com>.
24539 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24541 * manual/check-safety.sh: New.
24542 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24544 * manual/terminal.texi: Document MTASC-safety properties.
24546 * manual/filesys.texi: Document MTASC-safety properties.
24548 * manual/errno.texi: Document MTASC-safety properties.
24550 * manual/intro.texi: Document safety identifiers and
24553 * manual/string.texi (wcstok): Fix prototype.
24554 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24556 * manual/time.texi: Document MTASC-safety properties.
24558 * manual/string.texi: Document MTASC-safety properties.
24560 * manual/threads.texi: Document MTASC-safety properties.
24562 * manual/stdio.texi: Document MTASC-safety properties.
24564 * manual/syslog.texi: Document MTASC-safety properties.
24566 * manual/sysinfo.texi: Document MTASC-safety properties.
24568 * manual/startup.texi: Document MTASC-safety properties.
24570 * manual/socket.texi: Document MTASC-safety properties.
24572 * manual/signal.texi: Document MTASC-safety properties.
24574 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24576 * manual/setjmp.texi: Document MTASC-safety properties.
24578 * manual/search.texi: Document MTASC-safety properties.
24580 * manual/resource.texi: Document MTASC-safety properties.
24582 * manual/process.texi: Document MTASC-safety properties.
24584 * manual/platform.texi: Document MTASC-safety properties.
24586 * manual/pipe.texi: Document MTASC-safety properties.
24588 * manual/pattern.texi: Document MTASC-safety properties.
24590 * manual/message.texi: Document MTASC-safety properties.
24593 * manual/memory.texi: Document MTASC-safety properties.
24595 * manual/math.texi: Document MTASC-safety properties.
24597 * manual/locale.texi: Document MTASC-safety properties.
24599 * manual/llio.texi: Document MTASC-safety properties.
24601 * manual/libdl.texi: New.
24603 * manual/lang.texi: Document MTASC-safety properties.
24605 * manual/job.texi: Document MTASC-safety properties.
24607 * manual/getopt.texi: Document MTASC-safety properties.
24609 * manual/ctype.texi: Document MTASC-safety properties.
24611 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24614 * csu/libc-tls.c (static_map): Remove variable.
24615 (__libc_setup_tls): Use main executable's link map for TLS data.
24616 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24617 casing for LM_ID_BASE and GL(dl_nns).
24618 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24619 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24620 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24621 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24622 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24624 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24627 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24629 * manual/debug.texi: Document MTASC-safety properties.
24631 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24634 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24635 of __x86_64__ when disabling x87 inline functions.
24637 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24639 * manual/charset.texi: Document MTASC-safety properties.
24641 * manual/crypt.texi: Document MTASC-safety properties.
24643 * manual/conf.texi: Document MTASC-safety properties.
24645 * manual/arith.texi: Document MTASC-safety properties.
24647 * manual/argp.texi: Document MTASC-safety properties.
24649 * manual/macros.texi: Introduce macros to document multi
24650 thread, asynchronous signal and asynchronous cancellation
24652 * manual/intro.texi: Introduce the properties themselves.
24654 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24656 * sysdeps/sh/sh4/Makefile: New file.
24658 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24660 * math/gen-libm-test.pl ($srcdir): New variable.
24661 ($auto_input): Use it.
24663 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24666 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24667 access beyond array bounds when parsing netgroups file.
24669 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24670 the old buffer before realloc.
24672 2014-01-27 Allan McRae <allan@archlinux.org>
24674 * po/fr.po: Update French translation from translation project.
24676 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24678 * sysdeps/sh/libm-test-ulps: Regenerate.
24680 2014-01-24 David S. Miller <davem@davemloft.net>
24682 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24684 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24686 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24687 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24689 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24692 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24693 string pointers after reallocation.
24695 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24697 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24698 __SH4A__ instead of __SH_FPU_ANY__.
24700 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24702 * sysdeps/sh/fpu_control.h: New file.
24703 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24704 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24705 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24706 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24707 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24708 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24709 * sysdeps/sh/sys/ucontext.h: Remove.
24710 * sysdeps/sh/sys: Remove directory.
24712 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24714 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24715 s390/sys/ucontext.h.
24716 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24717 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24719 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24724 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24728 Adjust the vDSO correctly for internal calls.
24729 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24731 2014-01-20 Allan McRae <allan@archlinux.org>
24733 * po/ca.po: Update Catalan translation from translation project.
24735 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24737 * sysdeps/s390/sotruss-lib.c: New file.
24739 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24742 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24743 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24744 local calls issues by not having a PLT stub required for IFUNC calls.
24745 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24747 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24749 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24750 * math/test-fpucw-static.c: Likewise.
24752 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24755 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24757 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24759 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24760 implementation for powerpc.
24762 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24765 * sysdeps/posix/system.c (__libc_system): Do not enable
24766 asynchronous cancellation.
24768 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24771 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24772 handling only for numbers special also in the IEEE case.
24774 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24776 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24778 2014-01-11 Allan McRae <allan@archlinux.org>
24780 * po/bg.po: Update Bulgarian translation from translation project.
24782 * po/de.po: Update German translation from translation project.
24784 2014-01-10 Roland McGrath <roland@hack.frob.com>
24786 * sysdeps/generic/gcc-compat.h: New file.
24788 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24790 * benchtests/asin-inputs: Correct slow inputs.
24791 * benchtests/acos-inputs: Likewise.
24793 2014-01-10 Allan McRae <allan@archlinux.org>
24795 * po:sv.po: Update Swedish translation from translation project.
24797 * po/vi.po: Update Vietnamese translation from translation project.
24799 * po/eo.po: Update Esperanto translation from translation project.
24801 * po/cs.po: Update Czech translation from translation project.
24803 * po/nl.po: Update Dutch translation from translation project.
24805 * po/pl.po: Update Polish translation from translation project.
24807 * po/ru.po: Update Russian translation from translation project.
24809 * po/uk.po: Update Ukrainian translation from translation project.
24811 2014-01-08 Brooks Moses <bmoses@google.com>
24813 * elf/dl-load.c: Fix comment typo.
24815 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24817 * po/header.pot: Rename to...
24818 * po/pot.header: ... this.
24819 * po/Makefile: Use pot.header.
24821 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24822 Maxim Kuvyrkov <maxim@kugelworks.com>
24825 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24826 SRC and DEST against LEN.
24828 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24831 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24833 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24835 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24839 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24842 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24843 for large positive arguments.
24845 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24847 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24849 * math/auto-libm-test-in: Mark various tests with
24850 xfail-rounding:ldbl-128ibm.
24851 * math/auto-libm-test-out: Regenerated.
24854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24855 Increase overflow threshold.
24857 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24860 * stdio-common/vfprintf.c: Check for integer overflow.
24862 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24864 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24865 the first argument and return value of __tls_get_addr_internal.
24867 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24869 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24870 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24872 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24874 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24875 * sysdeps/s390/rtld-global-offsets.sym: New file.
24876 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24878 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24879 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24882 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24883 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24889 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24890 halfs of GPRs for high_gprs contexts.
24891 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24892 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24894 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24896 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24898 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24899 for high GPRs (uc_high_gprs) and for future extensions
24901 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24902 for future extensions (__reserved).
24903 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24905 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24906 SC_HIGHGPRS offset definition.
24907 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24908 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24910 * Versions.def: Add GLIBC_2.19 for libpthread.
24911 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24912 siglongjmp for libpthread with GLIBC_2.19 symver.
24913 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24914 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24915 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24916 * sysdeps/s390/__longjmp.c: New file.
24917 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24918 * sysdeps/s390/longjmp.c: New file.
24919 * sysdeps/s390/setjmp.S: New file.
24920 * sysdeps/s390/sigjmp.S: New file.
24921 * sysdeps/s390/v1-longjmp.c: New file.
24922 * sysdeps/s390/v1-setjmp.h: New file.
24923 * sysdeps/s390/v1-sigjmp.c: New file.
24924 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24925 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24926 GLIBC_2.19 version.
24927 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24928 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24929 versioned symbols for ____longjmp_chk.
24930 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24940 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24941 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24942 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24943 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24944 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24945 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24946 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24947 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24948 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24949 * sysdeps/s390/rtld-__longjmp.c: New file.
24950 * sysdeps/s390/rtld-setjmp.S: New file.
24952 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24956 Return -__logl (x) for small positive arguments without evaluating
24959 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24961 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24963 (__ptrace_peeksiginfo_args): ... this.
24964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24968 2014-01-06 Allan McRae <allan@archlinux.org>
24970 * inet/netinet/in.h: Fix typo in comment.
24972 2014-01-05 Andreas Jaeger <aj@suse.de>
24974 * sysdeps/i386/fpu/libm-test-ulps: Update.
24976 2014-01-05 Allan McRae <allan@archlinux.org>
24978 * po/libc.pot: Regenerated.
24980 * malloc/memusagestat.c: Fix gettext call formatting.
24982 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24984 * nscd/nscd.c: Improve usage() output.
24986 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24988 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24989 * sysdeps/unix/sysv/linux/configure: Regenerated.
24990 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24991 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24993 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24996 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24997 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24999 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25001 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25002 extra tokens at end of #undef directive.
25003 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25004 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25005 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25007 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25009 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25011 * math/auto-libm-test-in: Mark various tests with
25012 xfail-rounding:ldbl-128ibm.
25013 * math/auto-libm-test-out: Regenerated.
25015 2014-01-02 Joseph Myers <joseph@codesourcery.com>
25018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25019 numbers with subnormal high part when calculating exponent.
25022 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25028 (__ieee754_acoshl): Use __log1pl not __log1p.
25030 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
25032 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25033 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25034 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25035 (grow_heap, heap_trim, _int_new_arena, get_free_list)
25036 (reused_arena, arena_get2): Convert to GNU style.
25037 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25038 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25039 (memalign_check, __malloc_set_state): Likewise.
25040 * malloc/mallocbug.c (main): Likewise.
25041 * malloc/malloc.c (__malloc_assert, malloc_init_state)
25042 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25043 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25044 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25045 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25046 (__posix_memalign, malloc_info): Likewise.
25047 * malloc/malloc.h: Likewise.
25048 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25049 (mallochook, memalignhook, reallochook, mabort): Likewise.
25050 * malloc/mcheck.h: Likewise.
25051 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25052 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25053 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25054 * malloc/morecore.c (__default_morecore): Likewise.
25055 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25056 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25057 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25058 (print_and_abort): Likewise.
25059 * malloc/obstack.h: Likewise.
25060 * malloc/set-freeres.c (__libc_freeres): Likewise.
25061 * malloc/tst-mallocstate.c (main): Likewise.
25062 * malloc/tst-mtrace.c (main): Likewise.
25063 * malloc/tst-realloc.c (do_test): Likewise.
25065 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25068 * nscd/netgroupcache.c (do_notfound): New function.
25069 (addgetnetgrentX): Use it.
25072 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25073 NSS_STATUS_NOTFOUND.
25075 2014-01-01 Joseph Myers <joseph@codesourcery.com>
25077 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25080 2014-01-01 Allan McRae <allan@archlinux.org>
25082 * scripts/update-copyrights: Update configure input file suffix.
25084 * NEWS: Update copyright year.
25085 * catgets/gencat.c: Likewise.
25086 * csu/version.c: Likewise.
25087 * debug/catchsegv.sh: Likewise.
25088 * debug/pcprofiledump.c: Likewise.
25089 * debug/xtrace.sh: Likewise.
25090 * elf/ldconfig.c: Likewise.
25091 * elf/ldd.bash.in: Likewise.
25092 * elf/pldd.c: Likewise.
25093 * elf/sotruss.ksh: Likewise.
25094 * elf/sprof.c: Likewise.
25095 * iconv/iconv_prog.c: Likewise.
25096 * iconv/iconvconfig.c: Likewise.
25097 * locale/programs/locale.c: Likewise.
25098 * locale/programs/localedef.c: Likewise.
25099 * login/programs/pt_chown.c: Likewise.
25100 * malloc/memusage.sh: Likewise.
25101 * malloc/memusagestat.c: Likewise.
25102 * malloc/mtrace.pl: Likewise.
25103 * manual/libc.texinfo: Likewise.
25104 * nscd/nscd.c: Likewise.
25105 * nss/getent.c: Likewise.
25106 * nss/makedb.c: Likewise.
25107 * posix/getconf.c: Likewise.
25108 * scripts/test-installation.pl: Likewise.
25110 * All files with FSF copyright notices: Update copyright dates
25111 using scripts/update-copyrights.
25112 * intl/plural.c: Regenerated.
25113 * locale/programs/charmap-kw.h: Likewise.
25114 * locale/programs/locfile-kw.h: Likewise.
25116 2013-12-31 Mike Frysinger <vapier@gentoo.org>
25118 * sysdeps/unix/sysv/linux/configure: Regenerated.
25119 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25120 the linux/fanotify.h header.
25121 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25122 HAVE_LINUX_FANOTIFY_H is defined.
25124 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25126 * benchtests/cos-inputs: New inputs.
25127 * benchtests/sin-inputs: Likewise.
25129 * benchtests/atan-inputs: New inputs. Fix name of multiple
25130 precision fallback inputs.
25132 * benchtests/atanh-inputs: New inputs.
25133 * benchtests/tanh-inputs: Likewise.
25135 * benchtests/acosh-inputs: New inputs.
25136 * benchtests/asinh-inputs: Likewise.
25138 * benchtests/cosh-inputs: New inputs.
25139 * benchtests/sinh-inputs: Likewise.
25141 * benchtests/acos-inputs: Add more inputs.
25142 * benchtests/asin-inputs: Likewise.
25144 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
25147 * manual/arith.texi: Fix spelling.
25148 * manual/charset.texi: Likewise.
25149 * manual/errno.texi: Likewise.
25150 * manual/filesys.texi: Likewise.
25151 * manual/lang.texi: Likewise.
25152 * manual/llio.texi: Likewise.
25153 * manual/locale.texi: Likewise.
25154 * manual/message.texi: Likewise.
25155 * manual/resource.texi: Likewise.
25156 * manual/search.texi: Likewise.
25157 * manual/setjmp.texi: Likewise.
25158 * manual/stdio.texi: Likewise.
25159 * manual/string.texi: Likewise.
25160 * manual/sysinfo.texi: Likewise.
25161 * manual/time.texi: Likewise.
25163 2013-12-27 Carlos O'Donell <carlos@redhat.com>
25165 * po/sl.po: New file.
25167 2013-12-27 Mike Frysinger <vapier@gentoo.org>
25169 * .gitignore: Add core/.gdbinit/.gdb_history.
25171 2013-12-27 Allan McRae <allan@archlinux.org>
25174 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25175 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25177 2013-12-24 Brooks Moses <bmoses@google.com>
25179 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25180 all compilers that claim C++98 compliance, not just GCC.
25181 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25184 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25186 * NEWS: Restore accidentally deleted bug-fix entries.
25188 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25189 Ondřej Bílka <neleai@seznam.cz>
25192 * malloc/malloc.c (_int_free): Perform sanity check only if we
25195 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
25198 * manual/stdio.texi (String Input Conversions): Clarify that character
25199 classes are not supported.
25201 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25205 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25208 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25209 Calculate results for small negative arguments directly rather
25210 than using reflection formula with special underflow handling.
25212 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25213 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25214 sysdeps/unix/bsd/bsd4.4/syscalls.list.
25215 (fchflags): Likewise.
25216 (revoke): Likewise.
25217 (setlogin): Likewise.
25218 (sigaltstack): Likewise.
25220 (sigblock): Remove.
25221 (sigsetmask): Likewise.
25223 (waitpid): Likewise.
25224 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25225 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25227 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25228 * sysdeps/unix/bsd/Makefile: ... here.
25229 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25230 * sysdeps/unix/bsd/Versions: ... here.
25231 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25232 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25233 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25234 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25235 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25236 * sysdeps/unix/bsd/sigblock.c: ... here.
25237 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25238 * sysdeps/unix/bsd/sigsetmask.c: ... here.
25239 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25240 * sysdeps/unix/bsd/sigvec.c: ... here.
25241 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25242 * sysdeps/unix/bsd/tcdrain.c: ... here.
25243 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25244 * sysdeps/unix/bsd/tcgetattr.c: ... here.
25245 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25246 * sysdeps/unix/bsd/tcsetattr.c: ... here.
25247 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25248 * sysdeps/unix/bsd/wait.c: ... here.
25249 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25250 * sysdeps/unix/bsd/wait3.c: ... here.
25251 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25252 * sysdeps/unix/bsd/waitpid.c: ... here.
25254 2013-12-21 Joseph Myers <joseph@codesourcery.com>
25257 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25258 round-to-nearest for [!USE_AS_EXPM1L].
25259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25260 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
25261 more tests of exp and exp10. Expect some exp10 tests to miss
25262 exceptions or fail in directed rounding modes.
25263 * math/auto-libm-test-out: Regenerated.
25264 * math/libm-test.inc (exp10_tonearest_test_data): New array.
25265 (exp10_test_tonearest): New function.
25266 (exp10_towardzero_test_data): New array.
25267 (exp10_test_towardzero): New function.
25268 (exp10_downward_test_data): New array.
25269 (exp10_test_downward): New function.
25270 (exp10_upward_test_data): New array.
25271 (exp10_test_upward): New function.
25272 (main): Call the new functions.
25273 * sysdeps/i386/fpu/libm-test-ulps: Update.
25274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25276 2013-12-20 Joseph Myers <joseph@codesourcery.com>
25278 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25279 asinh, atan, atan2, atanh, cbrt, cos and cosh.
25280 * math/auto-libm-test-out: Regenerated.
25281 * math/libm-test.inc (acosh_test_data): Add more tests.
25282 (atanh_test_data): Likewise.
25283 (ceil_test_data): Likewise.
25284 (copysign_test_data): Likewise.
25285 * sysdeps/i386/fpu/libm-test-ulps: Update.
25286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25288 * timezone/checktab.awk: Update from tzcode 2013i.
25289 * timezone/private.h: Likewise.
25290 * timezone/scheck.c: Likewise.
25291 * timezone/tzfile.h: Likewise.
25292 * timezone/tzselect.ksh: Likewise.
25293 * timezone/zdump.c: Likewise.
25294 * timezone/zic.c: Likewise.
25296 * math/auto-libm-test-in: Add tests of cpow.
25297 * math/auto-libm-test-out: Regenerated.
25298 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25299 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25301 (func_calc_desc): Add mpc_cc_c union field.
25302 (test_functions): Add cpow.
25303 (special_fill_2pi): New function.
25304 (special_real_inputs): Add 2pi.
25305 (calc_generic_results): Handle mpc_cc_c.
25306 * sysdeps/i386/fpu/libm-test-ulps: Update.
25307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25309 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25310 csqrt, ctan and ctanh.
25311 * math/auto-libm-test-out: Regenerated.
25312 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25313 (TEST_COND_x86): Likewise.
25314 (ccos_test_data): Use AUTO_TESTS_c_c.
25315 (ccosh_test_data): Likewise.
25316 (cexp_test_data): Likewise.
25317 (clog_test_data): Likewise.
25318 (csqrt_test_data): Likewise.
25319 (ctan_test_data): Likewise.
25320 (ctan_tonearest_test_data): Likewise.
25321 (ctan_towardzero_test_data): Likewise.
25322 (ctan_downward_test_data): Likewise.
25323 (ctan_upward_test_data): Likewise.
25324 (ctanh_test_data): Likewise.
25325 (ctanh_tonearest_test_data): Likewise.
25326 (ctanh_towardzero_test_data): Likewise.
25327 (ctanh_downward_test_data): Likewise.
25328 (ctanh_upward_test_data): Likewise.
25329 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25331 (func_calc_desc): Add mpc_c_c union field.
25332 (FUNC_mpc_c_c): New macro.
25333 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25334 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25336 (special_fill_min_subnorm_p120): New function.
25337 (special_real_inputs): Add min_subnorm_p120.
25338 (calc_generic_results): Handle mpc_c_c.
25339 * sysdeps/i386/fpu/libm-test-ulps: Update.
25340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25342 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25344 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25345 (do_sin_slow): New functions.
25346 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25347 (cslow2, csloww1, csloww2): Use the new functions.
25349 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25350 Use M to change sign of result instead of X. Assume X is
25352 (csloww1): Likewise.
25356 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25357 arguments A and DA.
25361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25363 (sloww1): Don't adjust sign of DX.
25364 (csloww1): Likewise.
25365 (sloww2): Use X directly and don't adjust sign of DX.
25366 (csloww2): Likewise.
25368 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25370 * math/auto-libm-test-in: Add tests of cabs and carg.
25371 * math/auto-libm-test-out: Regenerated.
25372 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25373 (carg_test_data): Likewise.
25374 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25376 (func_calc_desc): Add mpc_c_f union field.
25377 (test_functions): Add cabs and carg.
25378 (calc_generic_results): Handle mpc_c_f.
25380 * sysdeps/powerpc/powerpc32/libgcc-compat.S
25381 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25382 as a macro and a compat symbol.
25383 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25384 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25385 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25386 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25387 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25388 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25390 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25392 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25394 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25396 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25398 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25400 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25401 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25404 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25408 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25410 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25411 trailing whitespace removed.
25412 * scripts/config.guess: Update to version 2013-11-29.
25413 * scripts/config.sub: Update to version 2013-10-01.
25415 * math/auto-libm-test-in: Add tests of sincos.
25416 * math/auto-libm-test-out: Regenerated.
25417 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25418 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25420 (func_calc_desc): Add mpfr_f_11 union field.
25421 (test_functions): Add sincos.
25422 (calc_generic_results): Handle mpfr_f_11.
25423 * sysdeps/i386/fpu/libm-test-ulps: Update.
25424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25426 2013-12-19 Andreas Schwab <schwab@suse.de>
25428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25430 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25432 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25434 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25436 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25437 * sysdeps/i386/fpu/libm-test-ulps: Update.
25438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25442 round-to-nearest mode when using frndint.
25443 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25444 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25445 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25447 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25449 * math/auto-libm-test-out: Regenerated.
25450 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25451 (TEST_COND_x86): Likewise.
25452 (expm1_tonearest_test_data): New array.
25453 (expm1_test_tonearest): New function.
25454 (expm1_towardzero_test_data): New array.
25455 (expm1_test_towardzero): New function.
25456 (expm1_downward_test_data): New array.
25457 (expm1_test_downward): New function.
25458 (expm1_upward_test_data): New array.
25459 (expm1_test_upward): New function.
25460 (main): Run the new test functions.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25464 * include/features.h: Update comment documenting feature test
25465 macros. Mention _DEFAULT_SOURCE in comment.
25466 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25467 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25468 _BSD_SOURCE and _SVID_SOURCE.
25469 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25470 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25471 !_SVID_SOURCE]: Likewise.
25472 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25473 (__USE_POSIX_IMPLICITLY): Define.
25474 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25475 (_POSIX_SOURCE): Undefine and redefine.
25476 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25477 (_POSIX_C_SOURCE): Likewise.
25478 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25479 (Feature Test Macros): Update documentation of default features.
25481 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25483 * benchtests/Makefile: Add bench-strtok.
25484 * benchtests/bench-strtok.c: New file: strtok benchtest.
25486 2013-12-19 Allan McRae <allan@archlinux.org>
25488 * manual/install.texi: Suppress menu for plain text output.
25489 * INSTALL: Regenerated.
25491 2013-12-18 Brooks Moses <bmoses@google.com>
25494 * misc/getauxval.c: Include errno.h.
25495 (__getauxval): Set errno to ENOENT if the requested type is not
25497 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25498 don't declare with __attribute_const__.
25499 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25500 * manual/startup.texi: Document that getauxval sets errno.
25502 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25504 * math/auto-libm-test-in: Add tests of jn and yn.
25505 * math/auto-libm-test-out: Regenerated.
25506 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25507 (yn_test_data): Likewise.
25508 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25510 (func_calc_desc): Add mpfr_if_f union field.
25511 (FUNC_mpfr_if_f): New macro.
25512 (test_functions): Add jn and yn.
25513 (calc_generic_results): Assert type of second input for
25514 mpfr_ff_f. Handle mpfr_if_f.
25515 (output_for_one_input_case): Disable all checking for arguments
25516 fitting floating-point types in case of an integer argument.
25517 * sysdeps/i386/fpu/libm-test-ulps: Update.
25518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25521 Don't expect fegetround reference in libm.so.
25523 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25525 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25526 $(config-cflags-nofma).
25528 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25530 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25531 * math/auto-libm-test-out: Regenerated.
25534 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25535 to determine exponent and adjust argument to have exponent of -1.
25536 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25538 * math/auto-libm-test-out: Regenerated.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25542 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25544 * manual/probes.texi: Remove cases when per-thread arenas are
25547 2013-12-18 Andreas Schwab <schwab@suse.de>
25549 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25550 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25551 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25552 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25553 * sysdeps/i386/i686/multiarch/Makefile: Update.
25554 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25556 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25558 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25559 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25561 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25564 Support TZ transition times < 00:00:00.
25565 This is needed for version-3 tz-format files; it supports time
25566 stamps past 2037 for America/Godthab (the only entry in the tz
25567 database for which this change is relevant).
25568 * manual/time.texi (TZ Variable): Document transition times
25569 from -167:59:59 through -00:00:01.
25570 * time/tzset.c (tz_rule): Time of day is now signed.
25571 (__tzset_parse_tz): Parse negative time of day.
25573 Document TZ transition times >= 25:00:00.
25574 * manual/time.texi (TZ Variable): Document transition times from
25575 25:00:00 through 167:59:59. These are already supported, and this
25576 support will help with version-3 tz-format files.
25578 * manual/time.texi (TZ Variable): Modernize North America example
25579 to reflect current (i.e., 2007-and-later) daylight saving rules.
25581 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25583 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25585 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25586 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25589 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25590 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25591 * sysdeps/unix/bsd/clock.c: Likewise.
25592 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25593 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25594 * sysdeps/unix/bsd/init-posix.c: Likewise.
25595 * sysdeps/unix/bsd/poll.c: Likewise.
25596 * sysdeps/unix/bsd/ptsname.c: Likewise.
25597 * sysdeps/unix/bsd/seekdir.c: Likewise.
25598 * sysdeps/unix/bsd/setegid.c: Likewise.
25599 * sysdeps/unix/bsd/seteuid.c: Likewise.
25600 * sysdeps/unix/bsd/setgid.c: Likewise.
25601 * sysdeps/unix/bsd/setrgid.c: Likewise.
25602 * sysdeps/unix/bsd/setruid.c: Likewise.
25603 * sysdeps/unix/bsd/setsid.c: Likewise.
25604 * sysdeps/unix/bsd/setuid.c: Likewise.
25605 * sysdeps/unix/bsd/sigaction.c: Likewise.
25606 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25607 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25608 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25609 * sysdeps/unix/bsd/telldir.c: Likewise.
25610 * sysdeps/unix/bsd/times.c: Likewise.
25611 * sysdeps/unix/bsd/usleep.c: Likewise.
25613 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25614 ($(objpfx)libbsd-compat.a): Remove rule.
25616 * include/features.h (__FAVOR_BSD): Do not define.
25617 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25618 features conflicting with POSIX.
25619 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25620 (_BSD_SOURCE): Remove description of not being a subset of other
25621 feature test macros.
25622 * manual/job.texi (getpgrp): Do not document BSD version.
25623 (getpgid): Do not document by reference to BSD getpgrp.
25624 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25625 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25626 * signal/signal.h [__FAVOR_BSD]: Likewise.
25627 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25628 instead of making contents conditional on [__FAVOR_BSD].
25629 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25631 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25635 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25638 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25639 values below 2**-450, not 2**-500.
25640 * math/auto-libm-test-in: Don't allow spurious underflow from
25642 * math/auto-libm-test-out: Regenerated.
25646 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25647 values of ha and hb and sort them after adjusting subnormal
25649 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25652 values of ea and eb and sort them after adjusting subnormal
25654 * math/auto-libm-test-in: Do not expect some hypot tests of
25655 subnormals to fail. Add more hypot tests.
25656 * math/auto-libm-test-out: Regenerated.
25658 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25661 * sysdeps/sh/s_fma.c: New file.
25662 * sysdeps/sh/s_fmaf.c: New file.
25663 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25665 * sysdeps/sh/Implies: Add sh/soft-fp.
25667 2013-12-16 Roland McGrath <roland@hack.frob.com>
25669 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25670 level of indirection to members `objname', `errstring', `malloced'.
25671 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25672 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25673 it as the __longjmp argument (just pass 1 instead).
25674 (_dl_catch_error): Initialize C with argument pointers and address of
25675 volatile local ERRCODE rather than copying values out of C at return.
25677 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25679 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25680 * math/auto-libm-test-out: Regenerated.
25681 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25682 (hypot_test_data): Likewise.
25683 (pow_test_data): Likewise.
25684 (pow_tonearest_test_data): Likewise.
25685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25687 (func_calc_desc): Add mpfr_ff_f union field.
25688 (FUNC_mpfr_ff_f): New macro.
25689 (test_functions): Add atan2, hypot and pow.
25690 (special_fill_min): New function.
25691 (special_fill_minus_min): Likewise.
25692 (special_fill_min_subnorm): Likewise.
25693 (special_fill_minus_min_subnorm): Likewise.
25694 (special_real_inputs): Add min, -min, min_subnorm and
25696 (calc_generic_results): Handle mpfr_ff_f.
25697 * sysdeps/i386/fpu/libm-test-ulps: Update.
25698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25700 2013-12-16 Will Newton <will.newton@linaro.org>
25702 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25703 (Aligned Memory Blocks): Add documentation for aligned_alloc
25704 and suggest it as an alternative to posix_memalign.
25705 (Hooks for Malloc): Document __memalign_hook is also called
25706 for aligned_alloc. (Summary of Malloc): Add summary for
25707 aligned alloc. Document __memalign_hook is also called
25710 2013-12-16 Will Newton <will.newton@linaro.org>
25712 * manual/memory.texi (Malloc Examples): Clarify default
25713 alignment documentation. Suggest posix_memalign rather
25714 than memalign or valloc.
25715 (Aligned Memory Blocks): Remove suggestion to use memalign
25716 or valloc. Remove obsolete comment about BSD.
25717 Document memalign errno values and mark the function obsolete.
25718 Document posix_memalign returned error codes. Mark valloc
25719 as obsolete. (Hooks for Malloc): __memalign_hook is also
25720 called for posix_memalign and valloc.
25721 (Summary of Malloc): Add posix_memalign to function summary.
25722 __memalign_hook is also called for posix_memalign and valloc.
25724 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25726 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25730 (sloww): Use mynumber union. Expand ternary operator into
25731 if-else statements.
25732 (cslow): use mynumber union.
25734 2013-12-16 Allan McRae <allan@archlinux.org>
25736 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25737 * configure: Regenerated.
25739 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25742 * configure.ac: Added --enable-maintainer-mode. Check for
25743 autoconf when enabled.
25744 * configure: Regenerated.
25746 * nscd/nscd.service: New file.
25747 * nscd/nscd.tmpfiles: New file.
25749 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25752 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25753 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25754 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25755 (strstr): Add __strstr_sse2_unaligned ifunc.
25756 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25757 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25758 (strcasestr): Remove __strcasestr_sse42 ifunc.
25759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25763 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25765 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25766 * sysdeps/sh/bits/fenv.h: ... here.
25767 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25769 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25771 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25774 hypotf multiarch implementations.
25775 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25778 multiarch hypot for PPC64.
25779 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25782 multiarch hypotf for PPC64.
25784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25785 modff multiarch implementations.
25786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25789 multiarch modf for PPC64.
25790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25793 multiarch modff for PPC64.
25795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25796 and logl multiarch implementations.
25797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25800 multiarch logb for PPC64.
25801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25804 multiarch logb for PPC64.
25805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25808 multiarch logb for PPC64.
25810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25811 isinff multiarch implementation.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25816 multiarch isinf for PPC64.
25817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25820 multiarch isinff for PPC64.
25822 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25823 finitef multiarch implementation.
25824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25828 multiarch finite for PPC64.
25829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25832 multiarch finitef for PPC64.
25834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25835 lrint multiarch implementation.
25836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25840 multiarch llrint for PPC64.
25841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25842 multiarch lrint for PPC64.
25844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25845 copysignf multiarch implementation.
25846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25851 multiarch copysign for PPC64.
25852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25853 multiarch copysignf for PPC64.
25855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25856 multiarch implementation.
25857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25865 multiarch llround for PPC64.
25866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25867 multiarch trunc for PPC64.
25868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25869 multiarch truncf for PPC64.
25871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25872 multiarch implementation.
25873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25881 multiarch llround for PPC64.
25882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25883 multiarch round for PPC64.
25884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25885 multiarch roundf for PPC64.
25887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25888 multiarch implementation.
25889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25897 multiarch llround for PPC64.
25898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25899 multiarch floor for PPC64.
25900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25901 multiarch floorf for PPC64.
25903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25904 multiarch implementation.
25905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25913 multiarch llround for PPC64.
25914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25915 multiarch ceil for PPC64.
25916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25917 multiarch ceilf for PPC64.
25919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25920 multiarch implementation.
25921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25928 multiarch llround for PPC64.
25929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25930 multiarch lround for PPC64.
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25933 multiarch implementation.
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25941 multiarch isnan for PPC64.
25942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25943 multiarch isnanf for PPC64.
25945 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25946 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25947 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25948 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25949 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25952 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25958 multiarch implementations.
25959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25960 (__libc_ifunc_impl_list): Likewise.
25961 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25962 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25963 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25964 multiarch stpcpy for PPC64.
25966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25967 multiarch implementations.
25968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25969 (__libc_ifunc_impl_list): Likewise.
25970 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25971 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25972 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25973 multiarch strcpy for PPC64.
25975 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25976 redefine function name.
25977 (_wordcopy_fwd_dest_aligned): Likewise.
25978 (_wordcopy_bwd_aligned): Likewise.
25979 (_wordcopy_bwd_dest_aligned): Likewise.
25980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25981 multiarch implementations.
25982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25983 (__libc_ifunc_impl_list): Likewise.
25984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25988 multiarch wcscpy for PPC64.
25990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25991 multiarch implementations.
25992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25993 (__libc_ifunc_impl_list): Likewise.
25994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25998 multiarch wcscpy for PPC64.
26000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26001 multiarch implementations.
26002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26003 (__libc_ifunc_impl_list): Likewise.
26004 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26006 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26008 multiarch wcsrchr for PPC64.
26010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26011 multiarch implementations.
26012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26013 (__libc_ifunc_impl_list): Likewise.
26014 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26015 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26016 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26017 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26018 multiarch wcschr for PPC64.
26020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26021 multiarch implementations.
26022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26023 (__libc_ifunc_impl_list): Likewise.
26024 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26025 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26026 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26027 multiarch strchrnul for PPC64.
26029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26032 (__libc_ifunc_impl_list): Likewise.
26033 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26034 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26035 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26036 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26042 (__libc_ifunc_impl_list): Likewise.
26043 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26044 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26045 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26046 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26050 multiarch implementations.
26051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26052 (__libc_ifunc_impl_list): Likewise.
26053 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26054 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26055 strncasecmp for PPC64.
26056 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26057 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26058 multiarch strncasecmp_l for PPC64.
26060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26061 multiarch implementations.
26062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26063 (__libc_ifunc_impl_list): Likewise.
26064 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26065 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26066 multiarch strcasecmp for PPC64.
26067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26070 multiarch strcasecmp_l for PPC64.
26072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26075 (__libc_ifunc_impl_list): Likewise.
26076 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26077 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26078 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26084 (__libc_ifunc_impl_list): Likewise.
26085 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26086 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26087 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26093 (__libc_ifunc_impl_list): Likewise.
26094 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26095 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26096 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26097 rawmemrchr for PPC64.
26099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26102 (__libc_ifunc_impl_list): Likewise.
26103 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26104 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26105 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26111 (__libc_ifunc_impl_list): Likewise.
26112 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26113 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26114 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26120 (__libc_ifunc_impl_list): Likewise.
26121 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26122 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26123 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26126 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26127 avoid cretion of __bzero symbol.
26128 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26130 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26132 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26135 multiarch implementations.
26136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26137 (__libc_ifunc_impl_list): Likewise.
26138 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26139 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26140 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26141 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26143 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26144 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26145 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26146 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26147 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26149 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26151 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26155 (__libc_ifunc_impl_list): Likewise.
26156 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26157 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26158 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26159 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26163 multiarch for POWER/PPC64.
26164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26165 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26166 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26167 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26168 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26169 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26170 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26172 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26175 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26176 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26177 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26178 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26179 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26180 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26181 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26182 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26183 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26184 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26185 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26186 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26187 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26188 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26189 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26198 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26202 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26204 * benchtests/Makefile (bench): Add exp2 and log2.
26205 (LDLIBS-bench-exp2): Add -lm.
26206 (LDLIBS-bench-log2): Likewise.
26207 * benchtests/exp2-inputs: New inputs file.
26208 * benchtests/log2-inputs: New inputs file.
26209 * benchtests/log-inputs: Add new inputs.
26210 * benchtests/tan-inputs: Likewise.
26212 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26214 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26216 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26217 (csloww2): ... from here.
26219 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26220 instead of structures.
26221 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26222 (POLYNOMIAL): Likewise.
26223 (TAYLOR_SLOW): Likewise.
26229 (sloww1); Likewise.
26230 (sloww2): Likewise.
26231 (bsloww1): Likewise.
26232 (bsloww2): Likewise.
26233 (cslow2): Likewise.
26234 (csloww): Likewise.
26235 (csloww1): Likewise.
26236 (csloww2): Likewise.
26238 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
26240 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26241 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26242 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26243 * malloc/hooks.c (realloc_check): Likewise.
26245 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26246 * malloc/arena.c: Remove PER_THREAD conditional.
26247 [!PER_THREAD]: Remove code.
26248 (ptmalloc_unlock_all2): Likewise.
26249 (ptmalloc_init): Likewise.
26250 (_int_new_arena): Likewise.
26251 (arena_get2): Likewise.
26252 * malloc/hooks.c (__malloc_get_state): Likewise.
26253 (__malloc_set_state): Likewise.
26254 * malloc/malloc.c: Likewise.
26255 (struct malloc_state): Likewise.
26256 (struct malloc_par): Likewise.
26257 (__libc_realloc): Likewise.
26258 (__libc_mallopt): Likewise.
26260 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26262 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26264 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
26266 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26267 macro to a function. Check for zero perturb_byte.
26268 (_int_malloc, _int_free): Remove zero perturb_byte checks.
26270 * malloc/malloc.c: (force_reg): Remove.
26271 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26272 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26273 force_reg by atomic_forced_read.
26274 * malloc/arena.c (ptmalloc_init): Likewise.
26275 * malloc/hooks.c (top_check): Likewise.
26277 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26281 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
26283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26285 2013-12-08 Joseph Myers <joseph@codesourcery.com>
26287 * math/auto-libm-test-in: Add tests of lgamma.
26288 * math/auto-libm-test-out: Regenerated.
26289 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26290 (M_LOG_2_SQRT_PIl): Likewise.
26291 (lgamma_test_data): Use AUTO_TESTS_f_f1.
26292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26294 (func_calc_desc): Add mpfr_f_f1 union field.
26295 (ARGS1): New macro.
26303 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26304 (test_functions): Add lgamma.
26305 (calc_generic_results): Handle mpfr_f_f1.
26306 * sysdeps/i386/fpu/libm-test-ulps: Update.
26307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26309 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26311 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26312 __mpn_add_n for PowerPC64/POWER7.
26313 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26314 __mpn_sub_n for PowerPC64/POWER7.
26316 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26317 __mpn_addmul_1 for PowerPC64.
26318 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26319 __mpn_submul_1 for PowerPC64.
26320 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26322 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26325 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
26328 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26330 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26332 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26334 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26335 add multiarch folders.
26336 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26337 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26338 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26339 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26340 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26341 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26342 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26343 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26344 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26345 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26346 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26355 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26361 multiarch __ieee754_hypot for PowerPC32.
26362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26367 multiarch __ieee754_hypotf for PowerPC32.
26369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26370 long_double_symbol only if __logbl is defined.
26371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26372 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26374 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26375 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26376 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26378 path for implementation.
26379 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26382 logb, and logbl multiarch implementations for PowerPC32.
26383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26388 multiarch logb for PowerPC32.
26389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26394 multiarch logbf for PowerPC32.
26395 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26399 multiarch logbl implementation for PowerPC32.
26401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26402 and modff multiarch implementations.
26403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26408 multiarch modf for PowerPC32.
26409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26414 multiarch modff for PowerPC32.
26416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26417 and lrintf multiarch implementations.
26418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26423 multiarch lrint for PowerPC32.
26424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26425 file: multiarch lrintf for PowerPC32.
26427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26428 and lroundf multiarch implementations.
26429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26436 multiarch lround for PowerPC32.
26437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26438 file: multiarch lroundf for PowerPC32.
26440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26441 copysign and copysignf multiarch implementations.
26442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26447 file: multiarch copysign for PowerPC32.
26448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26449 file: multiarch copysignf for PowerPC32.
26451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26452 and truncf multiarch implementations.
26453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26458 multiarch trunc for PowerPC32.
26459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26464 multiarch truncf for PowerPC32.
26466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26467 and roundf multiarch implementations.
26468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26473 multiarch round for PowerPC32.
26474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26479 multiarch roundf for PowerPC32.
26481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26482 and floorf multiarch implementations.
26483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26488 multiarch floor for PowerPC32.
26489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26494 multiarch floorf for PowerPC32.
26496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26497 and ceilf multiarch implementations.
26498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26503 multiarch ceil for PowerPC32.
26504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26509 multiarch ceilf for PowerPC32.
26511 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26513 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26514 FINITEF is defined.
26515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26516 and finitef multiarch implementations.
26517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26522 multiarch finite for PowerPC32.
26523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26526 file: multiarch finitef for PowerPC32.
26528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26529 and isinff multiarch implementations.
26530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26535 multiarch isinf for PowerPC32.
26536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26539 multiarch isinff for PowerPC32.
26541 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26542 alias when __isnan is defined.
26543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26544 and isnanf multiarch implementations.
26545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26554 multiarch isnan for PowerPC32.
26555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26560 multiarch isnanf for PowerPC32.
26562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26563 and sqrtf multiarch implementations.
26564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26569 multiarch sqrt for PowerPC32.
26570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26575 multiarch sqrtf for PowerPC32.
26577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26578 and llroundf multiarch implementations.
26579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26586 file: multiarch llround for PowerPC32.
26587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26588 file: multiarch llroundf for PowerPC32.
26590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26591 multiarch PowerPC32 fpu implementations.
26592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26597 multiarch llrint for PowerPC32.
26598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26607 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26609 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26611 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26613 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26614 multiarch wordcopy for PPC32.
26615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26618 (__libc_ifunc_impl_list): Likewise.
26619 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26620 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26621 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26622 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26623 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26624 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26626 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26633 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26634 multiarch wcscpy for PPC32.
26635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26638 (__libc_ifunc_impl_list): Likewise.
26639 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26640 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26641 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26642 sysdeps/powerpc/power6/wcscpy.c.
26644 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26652 multiarch wcsrchr for PPC32.
26653 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26655 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26656 (__libc_ifunc_impl_list): Likewise.
26657 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26658 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26659 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26660 sysdeps/powerpc/power6/wcsrchr.c.
26662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26668 multiarch wcschr for PPc32.
26669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26672 (__libc_ifunc_impl_list): Likewise.
26673 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26674 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26675 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26676 sysdeps/powerpc/power6/wcschr.c.
26678 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26679 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26681 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26682 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26683 file: multiarch strchr for PPC32.
26684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26687 (__libc_ifunc_impl_list): Likewise.
26689 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26691 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26693 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26695 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26696 multiarch strchrnul for PPC32.
26697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26700 (__libc_ifunc_impl_list): Likewise.
26702 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26704 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26705 multiarch strncasecmp for PPC32.
26706 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26709 multiarch strncasecmp_l for PPC32.
26710 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26711 strncasecmp multiarch objects.
26712 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26713 (__libc_ifunc_impl_list): Likewise.
26715 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26717 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26718 multiarch strncasecmp for PPC32.
26719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26721 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26722 multiarch strcasecmp_l for PPC32.
26723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26726 (__libc_ifunc_impl_list): Likewise.
26728 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26730 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26732 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26733 multiarch strncmp for PPC32.
26734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26737 (__libc_ifunc_impl_list): Likewise.
26739 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26740 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26742 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26743 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26746 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26747 (__libc_ifunc_impl_list): Likewise.
26749 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26751 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26753 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26757 (__libc_ifunc_impl_list): Likewise.
26759 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26761 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26763 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26764 multiarch rawmemchr for PPC32.
26765 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26767 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26768 (__libc_ifunc_impl_list): Likewise.
26770 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26772 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26774 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26775 file: memrchr multiarch for PPC32.
26776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26779 (__libc_ifunc_impl_list): Likewise.
26781 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26782 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26784 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26786 multiarch memchr for PPC32.
26787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26790 (__libc_ifunc_impl_list): Likewise.
26792 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26793 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26795 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26797 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26798 file: multiarch mempcpy for PPC32.
26799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26802 (__libc_ifunc_impl_list): Likewise.
26804 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26806 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26807 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26808 multiarch bzero for PPC32.
26809 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26811 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26813 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26814 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26815 file: multiarch memset for PPC32.
26816 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26818 memset multiarch objects.
26819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26820 (__libc_ifunc_impl_list): Likewise.
26822 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26827 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26831 (__libc_ifunc_impl_list): Likewise.
26833 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26834 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26841 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26842 multiarch memcpy for PPC32.
26843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26846 (__libc_ifunc_impl_list): Likewise.
26848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26849 support multiarch for POWER/PPC32.
26850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26852 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26854 Implies file to make multiarch folder appers before the fpu and
26855 default folder for power4 configuration.
26857 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26859 * scripts/bench.pl: Append volatile keyword to type.
26861 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26863 * sysdeps/sh/sotruss-lib.c: New file.
26864 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26866 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26870 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26873 * math/w_tgamma.c: Include <errno.h>.
26874 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26875 * math/w_tgammaf.c: Include <errno.h>.
26876 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26877 * math/w_tgammal.c: Include <errno.h>.
26878 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26879 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26880 underflow. Add more tgamma tests.
26881 * math/auto-libm-test-out: Regenerated.
26882 * sysdeps/i386/fpu/libm-test-ulps: Update.
26883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26885 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26886 sin, sinh, tan, tanh, tgamma, y0 and y1.
26887 * math/auto-libm-test-out: Regenerated.
26888 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26889 (TEST_COND_x86): Likewise.
26890 (M_E2l): Remove macro.
26892 (M_2_SQRT_PIl): Likewise.
26893 (M_SQRT_PIl): Likewise.
26894 (M_1_DIV_El): Likewise.
26895 (log_test_data): Use AUTO_TESTS_f_f.
26896 (log10_test_data): Likewise.
26897 (log1p_test_data): Likewise.
26898 (log2_test_data): Likewise.
26899 (sin_test_data): Likewise.
26900 (sin_tonearest_test_data): Likewise.
26901 (sin_towardzero_test_data): Likewise.
26902 (sin_downward_test_data): Likewise.
26903 (sin_upward_test_data): Likewise.
26904 (sinh_test_data): Likewise.
26905 (sinh_tonearest_test_data): Likewise.
26906 (sinh_towardzero_test_data): Likewise.
26907 (sinh_downward_test_data): Likewise.
26908 (sinh_upward_test_data): Likewise.
26909 (tan_test_data): Likewise.
26910 (tan_tonearest_test_data): Likewise.
26911 (tan_towardzero_test_data): Likewise.
26912 (tan_downward_test_data): Likewise.
26913 (tan_upward_test_data): Likewise.
26914 (tanh_test_data): Likewise.
26915 (tgamma_test_data): Likewise.
26916 (y0_test_data): Likewise.
26917 (y1_test_data): Likewise.
26918 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26919 (special_real_inputs): Add pi/4.
26920 * sysdeps/i386/fpu/libm-test-ulps: Update.
26921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26923 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26925 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26926 "longjmp_target" static probes.
26927 (__longjmp): Rename to __longjmp_symbol.
26928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26929 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26930 on which longjmp to generate.
26931 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26932 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26934 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26935 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26936 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26937 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26938 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26939 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26941 __longjmp_symbol based on which __longjmp to generate.
26942 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26944 (setjmp): Rename to setjmp_symbol.
26945 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26946 (_setjmp): Rename to _setjmp_symbol.
26947 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26948 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26949 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26950 which setjmp to generate.
26951 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26952 "longjmp_target" static probes.
26954 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26956 * benchtests/README: Add note about output arguments.
26957 * benchtests/bench-sincos.c: Remove file.
26958 * benchtests/sincos-inputs: New file.
26959 * scripts/bench.pl: Identify output arguments and define
26960 static variables for them.
26962 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26965 * Makefile (INSTALL): Add install-plain.texi as the primary
26967 * manual/install-plain.texi: New file.
26968 * manual/install.texi: Include node directive only for
26969 non-plaintext output.
26971 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26973 * stdlib/longlong.h: Update from GCC.
26977 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26978 * math/w_j0f.c (y0f): Likewise.
26979 * math/w_j0l.c (__y0l): Likewise.
26980 * math/w_j1.c (y1): Likewise.
26981 * math/w_j1f.c (y1f): Likewise.
26982 * math/w_j1l.c (__y1l): Likewise
26983 * math/w_jn.c (yn): Likewise.
26984 * math/w_jnf.c (ynf): Likewise.
26985 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26986 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26987 value for Bessel function domain errors outside _SVID_ mode.
26988 Adjust sign of return value for yn (negative integer, 0).
26989 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26990 by zero in return for negative x and set sign appropriately for
26992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26993 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26994 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26995 expectations in error cases.
26996 (y1_test_data): Likewise.
26997 (yn_test_data): Likewise.
26998 * sysdeps/i386/fpu/libm-test-ulps: Update.
26999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27001 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27003 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27004 "64" to "64-v1". Add "64-v2".
27005 (abi-64-options): Rename to ...
27006 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
27007 (abi-64-condition): Rename to ...
27008 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
27009 (abi-64-ld-soname): Rename to ...
27010 (abi-64-v1-ld-soname): ... this.
27011 (abi-64-v2-options): Define.
27012 (abi-64-v2-condition): Likewise.
27013 (abi-64-v2-ld-soname): Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27015 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27020 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27021 Alan Modra <amodra@gmail.com>
27023 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27024 New versions for use with the ELFv2 ABI.
27025 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27026 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27028 (struct La_ppc64v2_retval): Likewise.
27029 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27030 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27031 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27032 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27033 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27034 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27035 Do not save or restore CR.
27036 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27037 (_dl_profile_resolve): Do no save or restore CR. Support extended
27038 return values for ELFv2 ABI. Fix location of FPR return registers.
27039 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27040 updated values for _CALL_ELF == 2.
27041 (La_regs, La_retval, int_retval): Likewise.
27043 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27045 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27046 (FRAME_MIN_SIZE_PARM): Likewise.
27047 (FRAME_BACKCHAIN): Likewise.
27048 (FRAME_CR_SAVE): Likewise.
27049 (FRAME_LR_SAVE): Likewise.
27050 (FRAME_TOC_SAVE): Likewise.
27051 (FRAME_PARM_SAVE): Likewise.
27052 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27053 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27054 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27055 (call_mcount_parm_offset): New macro.
27056 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27057 (PROF): Use symbolic stack frame offsets.
27058 (TAIL_CALL_SYSCALL_ERROR): Likewise.
27059 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27060 Redefine in terms of FRAME_MIN_SIZE.
27061 (_dl_runtime_resolve): Use symbolic stack frame offsets.
27062 (_dl_profile_resolve): Likewise. Update comment.
27063 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27064 symbols stack frame offsets.
27065 (__sigsetjmp): Likewise.
27066 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27067 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27068 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27069 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27072 (FRAME_BACKCHAIN): Remove.
27073 (FRAME_CR_SAVE): Likewise.
27074 (FRAME_LR_SAVE): Likewise.
27075 (FRAME_COMPILER_DW): Likewise.
27076 (FRAME_LINKER_DW): Likewise.
27077 (FRAME_TOC_SAVE): Likewise.
27078 (FRAME_PARM_SAVE): Likewise.
27079 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27080 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27081 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27083 (CHECK_SP): Use symbolic stack frame offsets.
27084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27085 zone" instead of caller's parameter save area for temp storage.
27086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27087 Likewise. Also, use symbolic stack frame offsets.
27088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27089 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27090 our own stack frame instead of the caller's.
27091 (__socket): Use symbolic stack frame offsets.
27093 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27094 Alan Modra <amodra@gmail.com>
27096 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27098 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27099 (PPC64_LOCAL_ENTRY_OFFSET): Define.
27100 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27102 (elf_machine_fixup_plt): Call it.
27103 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
27105 (elf_machine_rela): Update call to elf_machine_plt_conflict.
27106 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27107 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27108 r2 before calling target.
27110 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27111 Alan Modra <amodra@gmail.com>
27113 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27114 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27115 versions of macros to support ELFv2 ABI.
27116 (LOCALENTRY): New macro.
27117 (ENTRY, EALIGN): Use it.
27118 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27119 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27120 fall through into ENTRY entry point.
27121 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27122 Only define if _CALL_ELF != 2.
27124 (elf_machine_matches_host): Verify ABI version matches.
27125 (RTLD_START): Use LOCALENTRY.
27126 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27127 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27128 (PLT_ENTRY_WORDS): New macro.
27129 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27130 (elf_machine_runtime_setup): Support ELFv2 ABI.
27131 (elf_machine_fixup_plt): Likewise.
27132 (elf_machine_plt_conflict): Likewise.
27133 (resolve_ifunc): Likewise.
27134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27138 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27140 (makecontext): Support ELFv2 ABI.
27141 * elf/elf.h (EF_PPC64_ABI): Define.
27143 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27145 * sysdeps/powerpc/powerpc64/sysdep.h
27146 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27147 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27148 (ENTRY) [ASSEMBLER]: ... but instead here ...
27149 (EALIGN) [ASSEMBLER]: ... and here.
27150 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27151 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27152 (ENTRY_2) [!ASSEMBLER]: Use it.
27153 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27154 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
27155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27156 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27157 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27159 Use PPC64_LOAD_FUNCPTR.
27161 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27163 2013-12-04 Alan Modra <amodra@gmail.com>
27165 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27166 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27167 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27168 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27171 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27172 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27173 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27174 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27175 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27177 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27180 (__makecontext): Fix incorrect CFI when backtracing out of
27181 context created via makecontext.
27182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27183 (__setcontext): Fix incorrect CFI during switch to new context.
27184 (__novec_setcontext): Likewise.
27186 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27189 * time/strptime_l.c (__strptime_internal): Allow modifiers
27191 * time/tst-strptime.c (day_tests): Add testcase.
27193 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27195 * scripts/bench.pl: Skip over blank lines.
27197 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
27200 * manual/time.texi (Calendar Time): Clarify what timezone functions
27203 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27207 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27209 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27211 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27212 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27213 * debug/memset_chk.c (__memset_chk): Likewise.
27214 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27215 * debug/strncpy_chk.c: Likewise.
27217 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27221 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27222 (__ieee754_exp): For possibly underflowing results, check size of
27223 result and force underflow exception if required.
27224 * math/auto-libm-test-in: Add more tests of exp.
27225 * math/auto-libm-test-out: Regenerated.
27226 * sysdeps/i386/fpu/libm-test-ulps: Update.
27227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27230 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27231 * math/w_exp2f.c (__exp2f): Likewise.
27232 * math/w_exp2l.c (__exp2l): Likewise.
27233 * math/auto-libm-test-in: Do not allow missing errno on exp2
27235 * math/auto-libm-test-out: Regenerated.
27237 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
27240 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27241 handle filename validation.
27242 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27245 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27248 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27249 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27250 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27252 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27254 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27256 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27257 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27258 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27259 * math/auto-libm-test-in: Don't allow missing errno from erfc.
27260 Add more erfc tests.
27261 * math/auto-libm-test-out: Regenerated.
27262 * sysdeps/i386/fpu/libm-test-ulps: Update.
27263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27265 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27266 exp2, expm1, j0 and j1.
27267 * math/auto-libm-test-out: Regenerated.
27268 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27269 (erfc_test_data): Likewise.
27270 (exp_test_data): Likewise.
27271 (exp_tonearest_test_data): Likewise.
27272 (exp_towardzero_test_data): Likewise.
27273 (exp_downward_test_data): Likewise.
27274 (exp_upward_test_data): Likewise.
27275 (exp10_test_data): Likewise.
27276 (exp2_test_data): Likewise.
27277 (expm1_test_data): Likewise.
27278 (j0_test_data): Likewise.
27279 (j1_test_data): Likewise.
27280 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27281 (input_flag_type): Add flag_xfail_rounding.
27282 (input_flags): Add xfail-rounding.
27283 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27284 (output_for_one_input_case): Handle flag_xfail_rounding.
27285 * sysdeps/i386/fpu/libm-test-ulps: Update.
27286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
27291 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27294 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27297 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27298 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27299 (STAP_PROBE0): New macro.
27300 (STAP_PROBE1): Likewise.
27301 (STAP_PROBE2): Likewise.
27302 (STAP_PROBE3): Likewise.
27303 (STAP_PROBE4): Likewise.
27305 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
27307 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27309 2013-12-02 Steve Ellcey <sellcey@mips.com>
27311 * benchtests/Makefile (bench): Add sqrt.
27312 (LDLIBS-bench-sqrt): New.
27313 * benchtests/sqrt-input: New.
27315 2013-12-02 Pavel Simerda <psimerda@redhat.com>
27317 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27318 (GAIH_EAI): Likewise.
27319 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27320 (gaih_inet): Likewise.
27321 (getaddrinfo): Don't use GAIH_EAI.
27323 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27324 (struct gaih): Remove definition.
27326 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27328 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27329 Use HERRNOP directly.
27331 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27335 2013-11-30 Joseph Myers <joseph@codesourcery.com>
27337 * math/gen-auto-libm-tests.c (test_functions): Add more
27338 single-argument functions.
27339 (special_fill_pi_2): New function.
27340 (special_fill_minus_pi_2): Likewise.
27341 (special_fill_pi_6): Likewise.
27342 (special_fill_minus_pi_6): Likewise.
27343 (special_fill_pi_3): Likewise.
27344 (special_fill_2pi_3): Likewise.
27345 (special_fill_e): Likewise.
27346 (special_fill_1_e): Likewise.
27347 (special_fill_e_minus_1): Likewise.
27348 (special_real_inputs): Add more special inputs.
27349 (output_for_one_input_case): Do not require ERANGE on underflow to
27350 zero if round-to-nearest result does not underflow to zero, unless
27351 exact results required.
27352 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27353 atan, atanh, cbrt, cos and cosh.
27354 * math/auto-libm-test-out: Regenerated.
27355 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27356 (acos_tonearest_test_data): Likewise.
27357 (acos_towardzero_test_data): Likewise.
27358 (acos_downward_test_data): Likewise.
27359 (acos_upward_test_data): Likewise.
27360 (acosh_test_data): Likewise.
27361 (asin_test_data): Likewise.
27362 (asin_tonearest_test_data): Likewise.
27363 (asin_towardzero_test_data): Likewise.
27364 (asin_upward_test_data): Likewise.
27365 (asinh_test_data): Likewise.
27366 (atan_test_data): Likewise.
27367 (atanh_test_data): Likewise.
27368 (cbrt_test_data): Likewise.
27369 (cos_test_data): Likewise.
27370 (cos_tonearest_test_data): Likewise.
27371 (cos_towardzero_test_data): Likewise.
27372 (cos_downward_test_data): Likewise.
27373 (cos_upward_test_data): Likewise.
27374 (cosh_test_data): Likewise.
27375 (cosh_tonearest_test_data): Likewise.
27376 (cosh_towardzero_test_data): Likewise.
27377 (cosh_downward_test_data): Likewise.
27378 (cosh_upward_test_data): Likewise.
27379 * sysdeps/i386/fpu/libm-test-ulps: Update.
27380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382 2013-11-29 Joseph Myers <joseph@codesourcery.com>
27385 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27386 * math/w_exp10f.c (__exp10f): Likewise.
27387 * math/w_exp10l.c (__exp10l): Likewise.
27388 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27389 errno settings in existing tests.
27392 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27393 precision control set to double precision.
27394 * sysdeps/i386/fpu/w_sqrt.c: New file.
27395 * math/auto-libm-test-in: Add more tests.
27396 * math/auto-libm-test-out: Update.
27398 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27399 (sqrt_test_tonearest): New function.
27400 (sqrt_towardzero_test_data): New variable.
27401 (sqrt_test_towardzero): New function.
27402 (sqrt_downward_test_data): New variable.
27403 (sqrt_test_downward): New function.
27404 (sqrt_upward_test_data): New variable.
27405 (sqrt_test_upward): New function.
27406 (main): Call the new functions.
27408 * math/gen-auto-libm-tests.c: New file.
27409 * math/auto-libm-test-in: Likewise.
27410 * math/auto-libm-test-out: New generated file.
27411 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27413 (%beautify): Add generated representations of zero.
27414 (top level): Set $auto_input and call parse_auto_input.
27415 (beautify): Remove trailing "f" from hex float constants.
27416 (parse_args): Handle XFAIL_TEST.
27417 (convert_condition): New function.
27418 (or_value): Likewise.
27419 (or_cond_value): Likewise.
27420 (generate_testfile): Handle AUTO_TESTS_* lines.
27421 (parse_auto_input): New function.
27422 * math/libm-test.inc (XFAIL_TEST): New macro.
27423 (ERRNO_UNCHANGED): Update value.
27424 (ERRNO_EDOM): Likewise.
27425 (ERRNO_ERANGE): Likewise.
27426 (IGNORE_RESULT): Likewise.
27427 (TEST_COND_flt_32): New macro.
27428 (TEST_COND_dbl_64): Likewise.
27429 (TEST_COND_ldbl_96_intel): Likewise.
27430 (TEST_COND_ldbl_96_m68k): Likewise.
27431 (TEST_COND_ldbl_128): Likewise.
27432 (TEST_COND_ldbl_128ibm): Likewise.
27433 (TEST_COND_long32): Likewise.
27434 (TEST_COND_long64): Likewise.
27435 (TEST_COND_before_rounding): Likewise.
27436 (TEST_COND_after_rounding): Likewise.
27437 (enable_test): Handle XFAIL_TEST flag.
27438 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27439 with finite results.
27440 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27441 auto-libm-test-out.
27443 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27444 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27447 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27448 __tls_get_addr_internal instead of __tls_get_offset in order to
27449 avoid GOT pointer dependency. Make rtld export
27450 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27451 __tls_get_addr since we are a __tls_get_offset platform.
27452 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27453 GOT pointer being set up before.
27454 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27456 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27458 * manual/math.texi (Errors in Math Functions): Document accuracy
27462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27463 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27466 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27468 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27479 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27480 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27481 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27482 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27483 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27485 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27487 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27489 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27490 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27491 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27492 atomic-feupdateenv and flt-rounds.
27493 * sysdeps/powerpc/nofpu/Versions (libc): Add
27494 __atomic_feholdexcept, __atomic_feclearexcept,
27495 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27496 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27497 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27498 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27499 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27504 * manual/arith.texi (FP Exceptions): Document that exceptions may
27505 not be raised when matherr is used.
27506 (Math Error Reporting): Document overflow in directed rounding
27507 modes. Document that errno may not be set when finite values are
27508 returned on overflow. Document intent to set errno on underflow
27509 only for underflow to zero.
27512 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27513 round-to-nearest then adjust result for other rounding modes.
27514 * include/fenv.h (fegetround): Use libm_hidden_proto.
27515 * math/fegetround.c (fegetround): Use libm_hidden_def.
27516 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27517 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27518 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27519 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27521 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27522 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27523 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27524 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27526 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27529 * nss/Versions (libnss_files): Add
27530 _nss_files_gethostbyname3_r.
27531 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27533 (HOST_DB_LOOKUP): Remove macro.
27534 (_nss_files_gethostbyname_r): Implement function without the
27535 HOST_DB_LOOKUP macro.
27536 (_nss_files_gethostbyname2_r): Likewise.
27538 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27540 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27542 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27544 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27545 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27548 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27550 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27551 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27552 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27553 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27554 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27555 __fe_nomask_env_priv and attribute_hidden.
27556 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27557 (libc_feupdateenv_test_ppc): Likewise.
27558 (libc_feresetround_ppc): Likewise.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27560 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27561 compat_symbol macro.
27562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27563 (__fe_nomask_env): Likewise.
27564 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27566 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27568 * string/Makefile: Remove ifunc tests.
27569 * string/test-string.h: Define TEST_IFUNC.
27570 * string/test-bcopy-ifunc.c: Remove.
27571 * string/test-bzero-ifunc.c: Likewise.
27572 * string/test-memccpy-ifunc.c: Likewise.
27573 * string/test-memchr-ifunc.c: Likewise.
27574 * string/test-memcmp-ifunc.c: Likewise.
27575 * string/test-memcpy-ifunc.c: Likewise.
27576 * string/test-memmem-ifunc.c: Likewise.
27577 * string/test-memmove-ifunc.c: Likewise.
27578 * string/test-mempcpy-ifunc.c: Likewise.
27579 * string/test-memrchr-ifunc.c: Likewise.
27580 * string/test-memset-ifunc.c: Likewise.
27581 * string/test-rawmemchr-ifunc.c: Likewise.
27582 * string/test-stpcpy-ifunc.c: Likewise.
27583 * string/test-stpncpy-ifunc.c: Likewise.
27584 * string/test-strcasecmp-ifunc.c: Likewise.
27585 * string/test-strcasestr-ifunc.c: Likewise.
27586 * string/test-strcat-ifunc.c: Likewise.
27587 * string/test-strchr-ifunc.c: Likewise.
27588 * string/test-strchrnul-ifunc.c: Likewise.
27589 * string/test-strcmp-ifunc.c: Likewise.
27590 * string/test-strcpy-ifunc.c: Likewise.
27591 * string/test-strcspn-ifunc.c: Likewise.
27592 * string/test-strlen-ifunc.c: Likewise.
27593 * string/test-strncasecmp-ifunc.c: Likewise.
27594 * string/test-strncat-ifunc.c: Likewise.
27595 * string/test-strncmp-ifunc.c: Likewise.
27596 * string/test-strncpy-ifunc.c: Likewise.
27597 * string/test-strnlen-ifunc.c: Likewise.
27598 * string/test-strpbrk-ifunc.c: Likewise.
27599 * string/test-strrchr-ifunc.c: Likewise.
27600 * string/test-strspn-ifunc.c: Likewise.
27601 * string/test-strstr-ifunc.c: Likewise.
27603 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27605 * benchtests/Makefile: Remove ifunc tests.
27606 * benchtests/bench-string.h: Define TEST_IFUNC.
27607 * benchtests/bench-bcopy-ifunc.c: Remove.
27608 * benchtests/bench-bzero-ifunc.c: Likewise.
27609 * benchtests/bench-memccpy-ifunc.c: Likewise.
27610 * benchtests/bench-memchr-ifunc.c: Likewise.
27611 * benchtests/bench-memcmp-ifunc.c: Likewise.
27612 * benchtests/bench-memcpy-ifunc.c: Likewise.
27613 * benchtests/bench-memmem-ifunc.c: Likewise.
27614 * benchtests/bench-memmove-ifunc.c: Likewise.
27615 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27616 * benchtests/bench-memrchr-ifunc.c: Likewise.
27617 * benchtests/bench-memset-ifunc.c: Likewise.
27618 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27619 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27620 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27621 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27622 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27623 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27624 * benchtests/bench-strcat-ifunc.c: Likewise.
27625 * benchtests/bench-strchr-ifunc.c: Likewise.
27626 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27627 * benchtests/bench-strcmp-ifunc.c: Likewise.
27628 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27629 * benchtests/bench-strcpy-ifunc.c: Likewise.
27630 * benchtests/bench-strcspn-ifunc.c: Likewise.
27631 * benchtests/bench-strlen-ifunc.c: Likewise.
27632 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27633 * benchtests/bench-strncat-ifunc.c: Likewise.
27634 * benchtests/bench-strncmp-ifunc.c: Likewise.
27635 * benchtests/bench-strncpy-ifunc.c: Likewise.
27636 * benchtests/bench-strnlen-ifunc.c: Likewise.
27637 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27638 * benchtests/bench-strrchr-ifunc.c: Likewise.
27639 * benchtests/bench-strsep-ifunc.c: Likewise.
27640 * benchtests/bench-strspn-ifunc.c: Likewise.
27641 * benchtests/bench-strstr-ifunc.c: Likewise.
27643 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27645 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27647 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27649 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27650 * rt/aio.h: Likewise.
27651 * sysdeps/gnu/bits/utmp.h: Likewise.
27652 * sysdeps/gnu/bits/utmpx.h: Likewise.
27653 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27654 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27655 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27656 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27657 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27658 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27659 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27660 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27661 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27662 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27663 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27664 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27665 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27667 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27668 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27669 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27670 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27671 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27672 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27673 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27674 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27675 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27676 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27677 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27679 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27680 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27681 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27682 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27684 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27688 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27689 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27690 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27691 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27692 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27693 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27694 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27696 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27699 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27700 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27702 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27704 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27705 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27708 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27710 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27711 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27712 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27713 (__fesetround): Remove define.
27714 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27715 rounding and exceptions handling.
27716 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27717 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27718 (__fe_nomask_env): Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27720 __fegetround instead of fegetround.
27721 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27724 2013-11-21 Roland McGrath <roland@hack.frob.com>
27726 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27729 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27731 2013-11-21 Meador Inge <meadori@codesourcery.com>
27734 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27735 (encrypt_r): Likewise.
27736 * malloc/obstack.h (obstack_free): Likewise.
27737 * posix/unistd.h (encrypt): Likewise.
27739 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27741 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27742 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27743 DL_CALL_DT_FINI() that call the functions directly.
27744 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27745 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27746 * elf/dl-fini.c: Likewise.
27748 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27750 * malloc/hooks.c (memalign_check): Add alignment rounding.
27751 * malloc/malloc.c (_mid_memalign): New function.
27752 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27753 Implement by calling _mid_memalign.
27754 * manual/probes.texi (Memory Allocation Probes): Remove
27755 memory_valloc_retry and memory_pvalloc_retry.
27757 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27759 * locale/programs/locarchive.c (open_archive): Add const
27760 qualifier to ARCHIVEFNAME and copy default fname to
27764 * libio/tst-widetext.input: Rename Oriya to Odia.
27765 * locale/iso-639.def: Likewise.
27767 * manual/probes.texi (Mathematical Function Probes): Add
27768 documentation for sin, cos, asin and acos probes.
27769 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27770 (__sin32): Add slowasin probe.
27771 (__cos32): Add slowacos probe.
27772 (__mpsin): Add slowsin probe.
27773 (__mpcos): Add slowcos probe.
27775 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27778 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27779 thread-local __sim_exceptions_thread and global
27780 __sim_exceptions_global.
27781 (__sim_disabled_exceptions): Change to thread-local
27782 __sim_disabled_exceptions_thread and global
27783 __sim_disabled_exceptions_global.
27784 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27785 and global __sim_round_mode_global.
27786 (__simulate_exceptions): Use thread-local floating-point state and
27787 set global state from it as needed.
27788 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27789 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27790 __sim_round_mode_thread.
27791 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27792 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27793 and global __sim_exceptions_global.
27794 (__sim_disabled_exceptions): Change to thread-local
27795 __sim_disabled_exceptions_thread and global
27796 __sim_disabled_exceptions_global.
27797 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27798 and global __sim_round_mode_global.
27799 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27800 (SIM_SET_GLOBAL): Likewise.
27801 * sysdeps/powerpc/soft-fp/sfp-machine.h
27802 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27803 __sim_round_mode_thread.
27804 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27805 __sim_disabled_exceptions_thread.
27806 (__sim_exceptions): Change to __sim_exceptions_thread.
27807 (__sim_disabled_exceptions): Change to
27808 __sim_disabled_exceptions_thread.
27809 (__sim_round_mode): Change to __sim_round_mode_thread.
27810 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27811 thread-local floating-point state and set global state from it as
27813 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27814 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27815 (__sim_disabled_exceptions): Remove extern declaration.
27816 (feenableexcept): Use thread-local floating-point state and set
27817 global state from it as needed.
27818 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27819 extern declaration.
27820 (__sim_disabled_exceptions): Likewise.
27821 (__sim_round_mode): Likewise.
27822 (__fegetenv): Use thread-local floating-point state.
27823 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27824 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27825 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27826 floating-point state and set global state from it as needed.
27827 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27828 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27829 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27831 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27832 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27834 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27835 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27836 Use __sim_round_mode_thread.
27837 * math/test-fenv-tls.c: New file.
27838 * math/Makefile (tests): Add test-fenv-tls.
27839 ($(objpfx)test-fenv-tls): Depend on
27840 $(common-objpfx)nptl/libpthread.so.
27842 2013-11-19 Andreas Schwab <schwab@suse.de>
27844 * locale/programs/locale.c (show_info): Decode wordarray elements.
27845 * locale/categories.def (LC_MONETARY): Add element for
27846 _NL_MONETARY_CRNCYSTR.
27847 * locale/C-monetary.c (conversion_rate): New variable.
27848 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27851 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27853 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27854 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27856 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27858 * elf/Makefile (tst-auxv): New test.
27859 * elf/tst-auxv.c: New
27860 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27862 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27864 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27865 (hidden_proto): Caller changed.
27866 (hidden_tls_proto): New macro.
27867 (libc_hidden_tls_proto): Likewise.
27868 (rtld_hidden_tls_proto): Likewise.
27869 (libm_hidden_tls_proto): Likewise.
27870 (libresolv_hidden_tls_proto): Likewise.
27871 (librt_hidden_tls_proto): Likewise.
27872 (libdl_hidden_tls_proto): Likewise.
27873 (libnss_files_hidden_tls_proto): Likewise.
27874 (libnsl_hidden_tls_proto): Likewise.
27875 (libnss_nisplus_hidden_tls_proto): Likewise.
27876 (libutil_hidden_tls_proto): Likewise.
27878 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27881 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27882 (decompose_rpath): Defer expansion to fillin_rpath.
27883 (_dl_init_paths): Pass linkmap to fillin_rpath.
27885 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27887 * benchtests/Makefile: Add strsep.
27888 * benchtests/bench-strsep.c: New file: strsep benchtest.
27889 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27891 2013-11-18 Andreas Schwab <schwab@suse.de>
27893 * locale/programs/locale.c (show_info) [case byte]: Check for
27894 '\377' instead of '\177'.
27895 * locale/C-monetary.c (not_available): Always use "\377".
27896 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27897 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27898 detect unavailable sign_posn locale elements.
27899 * locale/localeconv.c (__localeconv): For grouping and
27900 mon_grouping handle "\177" and "\377" like no grouping.
27901 (INT_ELEM): New macro. Use it to set all numeric members.
27902 * locale/programs/ld-monetary.c (monetary_read)
27903 <tok_mon_grouping>: Normalize single -1 to the empty string.
27904 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27907 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27910 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27911 when we match (nil).
27912 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27914 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27916 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27917 (NO_TEST_INLINE): Update value.
27918 (ERRNO_UNCHANGED): Likewise.
27919 (ERRNO_EDOM): Likewise.
27920 (ERRNO_ERANGE): Likewise.
27921 (IGNORE_RESULT): Likewise.
27922 (check_float_internal): Check signs of NaN results if
27923 TEST_NAN_SIGN used.
27924 (check_complex): Pass TEST_NAN_SIGN flag through to second
27925 check_float_internal call.
27926 (copysign_test_data): Add tests with quiet NaNs as second
27927 argument. Use TEST_NAN_SIGN.
27928 (fabs_test_data): Add test of negative quiet NaN argument. Use
27930 (signbit_test_data): Add tests of quiet NaN argument.
27931 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27933 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27935 (parse_args): Handle function results specified as IGNORE.
27936 * math/libm-test.inc (IGNORE_RESULT): New macro.
27937 (check_float_internal): Do not check numerical result if flag
27939 (check_complex): Pass through IGNORE_RESULT to second
27940 check_float_internal call.
27941 (check_int): Do not check numerical result if flag IGNORE_RESULT
27943 (check_long): Likewise.
27944 (check_bool): Likewise.
27945 (check_longlong): Likewise.
27946 (lrint_test_data): Add tests of infinite and NaN arguments.
27947 (lrint_tonearest_test_data): Likewise.
27948 (lrint_towardzero_test_data): Likewise.
27949 (lrint_downward_test_data): Likewise.
27950 (lrint_upward_test_data): Likewise.
27951 (llrint_test_data): Likewise.
27952 (llrint_tonearest_test_data): Likewise.
27953 (llrint_towardzero_test_data): Likewise.
27954 (llrint_downward_test_data): Likewise.
27955 (llrint_upward_test_data): Likewise.
27956 (lround_test_data): Likewise.
27957 (llround_test_data): Likewise.
27959 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27960 (ERRNO_UNCHANGED): Update value.
27961 (ERRNO_EDOM): Likewise.
27962 (ERRNO_ERANGE): Likewise.
27963 (NO_TEST_INLINE_FLOAT): New macro.
27964 (NO_TEST_INLINE_DOUBLE): Likewise.
27965 (enable_test): New function.
27966 (RUN_TEST_f_f): Check enable_test before running test.
27967 (RUN_TEST_2_f): Likewise.
27968 (RUN_TEST_fff_f): Likewise.
27969 (RUN_TEST_c_f): Likewise.
27970 (RUN_TEST_f_f1): Likewise.
27971 (RUN_TEST_fF_f1): Likewise.
27972 (RUN_TEST_fI_f1): Likewise.
27973 (RUN_TEST_ffI_f1): Likewise.
27974 (RUN_TEST_c_c): Likewise.
27975 (RUN_TEST_cc_c): Likewise.
27976 (RUN_TEST_f_i): Likewise.
27977 (RUN_TEST_f_i_tg): Likewise.
27978 (RUN_TEST_ff_i_tg): Likewise.
27979 (RUN_TEST_f_b): Likewise.
27980 (RUN_TEST_f_b_tg): Likewise.
27981 (RUN_TEST_f_l): Likewise.
27982 (RUN_TEST_f_L): Likewise.
27983 (RUN_TEST_fFF_11): Likewise.
27984 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27986 (cosh_test_data): Likewise.
27987 (exp_test_data): Likewise.
27988 (expm1_test_data): Likewise.
27989 (hypot_test_data): Likewise.
27990 (pow_test_data): Likewise.
27991 (sinh_test_data): Likewise.
27992 (tanh_test_data): Likewise.
27993 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27996 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27997 tests with quiet NaN input and output.
27998 (acosh_test_data): Likewise.
27999 (asin_test_data): Likewise.
28000 (asinh_test_data): Likewise.
28001 (atan_test_data): Likewise.
28002 (atanh_test_data): Likewise.
28003 (atan2_test_data): Likewise.
28004 (cbrt_test_data): Likewise.
28005 (cos_test_data): Likewise.
28006 (cosh_test_data): Likewise.
28007 (erf_test_data): Likewise.
28008 (erfc_test_data): Likewise.
28009 (exp_test_data): Likewise.
28010 (exp10_test_data): Likewise.
28011 (exp2_test_data): Likewise.
28012 (expm1_test_data): Likewise.
28013 (hypot_test_data): Likewise.
28014 (j0_test_data): Likewise.
28015 (j1_test_data): Likewise.
28016 (jn_test_data): Likewise.
28017 (lgamma_test_data): Likewise.
28018 (log_test_data): Likewise.
28019 (log10_test_data): Likewise.
28020 (log1p_test_data): Likewise.
28021 (log2_test_data): Likewise.
28022 (pow_test_data): Likewise.
28023 (scalb_test_data): Likewise.
28024 (sin_test_data): Likewise.
28025 (sincos_test_data): Likewise.
28026 (sinh_test_data): Likewise.
28027 (tan_test_data): Likewise.
28028 (tanh_test_data): Likewise.
28029 (tgamma_test_data): Likewise.
28030 (y0_test_data): Likewise.
28031 (y1_test_data): Likewise.
28032 (yn_test_data): Likewise.
28035 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28036 argument being NaN and avoid computations with second argument in
28038 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28039 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28040 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28042 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
28044 * locale/iso-639.def: Add Chitwani Tharu (the).
28046 2013-11-14 Andreas Schwab <schwab@suse.de>
28048 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28049 word instead of empty string.
28051 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28054 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28056 (__fe_nomask_env): Likewise.
28058 2013-11-13 Steve Ellcey <sellcey@mips.com>
28060 * benchtests/bench-timing.h: Include time.h.
28062 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
28065 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28067 * sysdeps/unix/sysv/linux/configure: Regenerated.
28069 2013-11-13 Joseph Myers <joseph@codesourcery.com>
28072 * stdlib/strtod_l.c (round_and_return): Do not consider
28073 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28074 exponent one less than half the least subnormal exponent.
28075 * stdlib/test-strtod-round-data: Add more tests.
28076 * stdlib/tst-strtod-round.c (tests): Regenerated.
28078 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28081 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28082 (__fe_mask_env): Likewise.
28083 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28084 libm_hidden_proto and add function prototype.
28085 (__fe_mask_env): Add function prototype.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28087 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28089 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28091 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28093 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28095 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28096 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28098 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28100 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28101 of htab_find_slot().
28103 2013-11-11 David S. Miller <davem@davemloft.net>
28106 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28107 symbol in the non-vis3 case in static builds.
28108 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28109 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28110 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28111 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28113 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
28116 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28119 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28121 * benchtests/Makefile: Add bench-strtod.
28122 * benchtests/bench-strtod.c: New file: strtod benchtest
28124 2013-11-11 Andreas Schwab <schwab@suse.de>
28127 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28128 terminating NUL in key length.
28130 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28132 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28133 Add artificial ODP entry for vDSO symbol for PPC64.
28134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28135 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28137 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28140 * nss/getent.c (services_keys): Recognize services starting with digit.
28142 2013-11-06 David S. Miller <davem@davemloft.net>
28145 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28146 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28148 2013-11-06 Will Newton <will.newton@linaro.org>
28150 * manual/memory.texi (Malloc Examples): Remove register
28151 keyword from examples.
28153 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
28155 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28157 2013-11-04 Joseph Myers <joseph@codesourcery.com>
28160 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28161 depending on [__GCC_IEC_559 > 0].
28162 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28163 depending on [__GCC_IEC_559_COMPLEX > 0].
28165 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
28167 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28170 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
28172 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28174 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
28177 * malloc/malloc (malloc_info): Do not handle first bin as
28180 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
28182 * locale/iso-639.def: Add Central Nahuatl (nhn).
28184 2013-11-01 Bruno Haible <bruno@clisp.org>
28187 * manual/math.texi (BSD Random): Specify range upper bound as
28190 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
28192 * locale/iso-639.def: Add Meadow Mari (mhr).
28194 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
28196 [BZ #14752], [BZ #15763]
28197 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28199 * rt/tst_shm.c: Add test for escaping directory.
28201 2013-10-31 Andreas Schwab <schwab@suse.de>
28204 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28205 followed by 'x' as part of digit sequence.
28206 * stdio-common/tst-sscanf.c (double_tests2): New tests.
28208 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28211 * configure.ac: allow GNU Make 4.0 and greater.
28212 * configure: Regenerated.
28214 2013-10-30 Will Newton <will.newton@linaro.org>
28217 * malloc/hooks.c (memalign_check): Limit alignment to the
28218 maximum representable power of two.
28219 * malloc/malloc.c (__libc_memalign): Likewise.
28220 * malloc/tst-memalign.c (do_test): Add test for very
28221 large alignment values.
28222 * malloc/tst-posix_memalign.c (do_test): Likewise.
28224 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28227 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28228 (munmap_chunk): Likewise.
28229 (mremap_chunk): Likewise.
28231 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28234 * stdlib/div.c (div): Remove obsolete code.
28235 * stdlib/ldiv.c (ldiv): Likewise.
28236 * stdlib/lldiv.c (lldiv): Likewise.
28238 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28241 * nss/nss_files/files-XXX.c (get_contents_ret): New
28243 (get_contents): New function.
28244 (internal_getent): Use it. Expand size of LINEBUFLEN.
28246 2013-10-30 Mike Frysinger <vapier@gentoo.org>
28248 * configure.in: Moved to ...
28249 * configure.ac: ... here. Change reference to configure.in
28251 * sysdeps/arm/preconfigure.ac: ... here.
28252 configure.in to configure.ac.
28253 * sysdeps/gnu/configure.in: Moved to ...
28254 * sysdeps/gnu/configure.ac: ... here.
28255 * sysdeps/i386/configure.in: Moved to ...
28256 * sysdeps/i386/configure.ac: ... here.
28257 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28258 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28259 * sysdeps/mach/configure.in: Moved to ...
28260 * sysdeps/mach/configure.ac: ... here.
28261 * sysdeps/mach/hurd/configure.in: Moved to ...
28262 * sysdeps/mach/hurd/configure.ac: ... here.
28263 * sysdeps/powerpc/configure.in: Moved to ...
28264 * sysdeps/powerpc/configure.ac: ... here.
28265 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28266 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28267 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28268 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28269 * sysdeps/s390/s390-32/configure.in: Moved to ...
28270 * sysdeps/s390/s390-32/configure.ac: ... here.
28271 * sysdeps/s390/s390-64/configure.in: Moved to ...
28272 * sysdeps/s390/s390-64/configure.ac: ... here.
28273 * sysdeps/sh/configure.in: Moved to ...
28274 * sysdeps/sh/configure.ac: ... here.
28275 * sysdeps/sparc/configure.in: Moved to ...
28276 * sysdeps/sparc/configure.ac: ... here.
28277 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28278 * sysdeps/unix/sysv/linux/configure.ac: ... here.
28279 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28280 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28281 * sysdeps/x86_64/configure.in: Moved to ...
28282 * sysdeps/x86_64/configure.ac: ... here.
28283 * sysdeps/x86_64/preconfigure.in: Moved to ...
28284 * sysdeps/x86_64/preconfigure.ac: ... here.
28285 * aclocal.m4: Change reference to configure.in to configure.ac.
28286 * config.h.in: Likewise.
28287 * manual/install.texi: Likewise.
28288 * manual/maint.texi: Likewise.
28289 * Makefile: Likewise.
28290 * malloc/Makefile: Likewise.
28291 * nscd/Makefile: Likewise.
28292 * Makeconfig: Change reference to configure.in and
28293 preconfigure.in to configure.ac and preconfigure.ac
28295 * INSTALL: Regenerated.
28296 * configure: Likewise.
28297 * sysdeps/gnu/configure: Likewise.
28298 * sysdeps/i386/configure: Likewise.
28299 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28300 * sysdeps/mach/configure: Likewise.
28301 * sysdeps/mach/hurd/configure: Likewise.
28302 * sysdeps/powerpc/configure: Likewise.
28303 * sysdeps/powerpc/powerpc32/configure: Likewise.
28304 * sysdeps/powerpc/powerpc64/configure: Likewise.
28305 * sysdeps/s390/s390-32/configure: Likewise.
28306 * sysdeps/s390/s390-64/configure: Likewise.
28307 * sysdeps/sh/configure: Likewise.
28308 * sysdeps/sparc/configure: Likewise.
28309 * sysdeps/unix/sysv/linux/configure: Likewise.
28310 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28311 * sysdeps/x86_64/configure: Likewise.
28312 * sysdeps/x86_64/preconfigure: Likewise.
28314 2013-10-29 Andreas Schwab <schwab@suse.de>
28316 * stdio-common/Makefile (tst-swscanf-ENV): Define.
28318 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28320 * benchtests/pow-inputs: Add new inputs.
28322 * benchtests/exp-inputs: Add new inputs.
28324 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28325 conditional check for return value.
28326 (__cos32): Likewise.
28328 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28330 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28331 to provide a boost for large inputs with word alignment.
28332 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28333 implementation based on optimized PPC64 strcpy.
28334 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28335 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28336 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28337 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28339 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28342 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28344 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28347 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28348 * time/tst-strptime.c (day_tests): Add testcase.
28350 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28353 * manual/pattern.texi: Acknowledge that fnmatch can fail.
28355 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
28358 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28359 MAP_FAILED on error.
28361 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28364 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28365 heap for large requests.
28367 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
28370 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28371 result if the result has no associated interface.
28372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28373 interface for all 127.X.Y.Z addresses.
28375 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
28377 * locale/iso-639.def: Add Ligurian (lij)
28379 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
28382 * sunrpc/rpc_main.c: Document rpcgen -5.
28384 2013-10-19 Michael Stahl <mstahl@redhat.com>
28386 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28388 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28391 * posix/glob.c: Match only directories when trailing slash is present.
28392 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28393 (main): Add testcase.
28395 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28398 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28400 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28402 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28403 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28404 AUTH_DES and cindex for FIPS 140-2.
28405 (DES Encryption): Add cindex FIPS 46-3.
28407 * locale/locarchive.h (struct locarhandle): Add fname.
28408 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28409 if an optional argument was specified to --list-archive,
28411 * locale/programs/locarchive.c (show_archive_content): Take new
28412 argument fname and pass it via ah.fname to open_archive.
28413 * locale/programs/localedef.h: Update decl.
28414 (open_archive): If AH->fname is non-null, open that file
28415 rather than the default file name, and don't ignore ENOENT.
28416 (create_archive): Set AH.fname to NULL.
28417 (delete_locales_from_archive): Likewise.
28418 (add_locales_to_archive): Likewise.
28419 * locale/programs/locfile.c (write_all_categories): Likewise.
28421 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28422 Aldy Hernandez <aldyh@redhat.com>
28424 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28425 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28426 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28427 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28428 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28429 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28430 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28431 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28432 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28433 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28434 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28435 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28436 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28437 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28438 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28440 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28442 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28444 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28446 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28447 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28449 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28450 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28451 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28452 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28454 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28455 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28456 * sysdeps/powerpc/preconfigure: Likewise.
28457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28459 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28460 Replace contents of file by #include of <fenv_libc.h>.
28461 * sysdeps/powerpc/soft-fp/sfp-machine.h
28462 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28464 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28465 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28466 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28467 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28469 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28471 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28473 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28477 Allow copysignl PLT reference to be missing.
28479 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28480 Joseph Myers <joseph@codesourcery.com
28483 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28485 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28487 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28489 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28490 * elf/tst-tls1.c: Likewise.
28491 * elf/tst-tls10.h: Likewise.
28492 * elf/tst-tls14.c: Likewise.
28493 * elf/tst-tls2.c: Likewise.
28494 * elf/tst-tls3.c: Likewise.
28495 * elf/tst-tls4.c: Likewise.
28496 * elf/tst-tls5.c: Likewise.
28497 * elf/tst-tls6.c: Likewise.
28498 * elf/tst-tls7.c: Likewise.
28499 * elf/tst-tls8.c: Likewise.
28500 * elf/tst-tls9.c: Likewise.
28501 * elf/tst-tlsmod1.c: Likewise.
28502 * elf/tst-tlsmod13.c: Likewise.
28503 * elf/tst-tlsmod13a.c: Likewise.
28504 * elf/tst-tlsmod14a.c: Likewise.
28505 * elf/tst-tlsmod16a.c: Likewise.
28506 * elf/tst-tlsmod16b.c: Likewise.
28507 * elf/tst-tlsmod2.c: Likewise.
28508 * elf/tst-tlsmod3.c: Likewise.
28509 * elf/tst-tlsmod4.c: Likewise.
28510 * elf/tst-tlsmod5.c: Likewise.
28511 * elf/tst-tlsmod6.c: Likewise.
28513 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28516 * malloc/malloc.c: remove checks for statistics.
28518 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28521 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28522 * inet/tst-network.c: Add testcase.
28524 2013-10-17 Andreas Schwab <schwab@suse.de>
28527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28528 to determine canonical name.
28530 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28532 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28533 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28546 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28547 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28550 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28551 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28552 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28554 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28555 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28556 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28557 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28581 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28591 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28594 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28595 make result into a quiet NaN.
28597 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28599 * soft-fp/adddf3.c: Fix horizontal whitespace.
28600 * soft-fp/addsf3.c: Likewise.
28601 * soft-fp/addtf3.c: Likewise.
28602 * soft-fp/divdf3.c: Likewise.
28603 * soft-fp/divsf3.c: Likewise.
28604 * soft-fp/divtf3.c: Likewise.
28605 * soft-fp/double.h: Likewise.
28606 * soft-fp/eqdf2.c: Likewise.
28607 * soft-fp/eqsf2.c: Likewise.
28608 * soft-fp/eqtf2.c: Likewise.
28609 * soft-fp/extenddftf2.c: Likewise.
28610 * soft-fp/extended.h: Likewise.
28611 * soft-fp/extendsfdf2.c: Likewise.
28612 * soft-fp/extendsftf2.c: Likewise.
28613 * soft-fp/extendxftf2.c: Likewise.
28614 * soft-fp/fixdfdi.c: Likewise.
28615 * soft-fp/fixdfsi.c: Likewise.
28616 * soft-fp/fixdfti.c: Likewise.
28617 * soft-fp/fixsfdi.c: Likewise.
28618 * soft-fp/fixsfsi.c: Likewise.
28619 * soft-fp/fixsfti.c: Likewise.
28620 * soft-fp/fixtfdi.c: Likewise.
28621 * soft-fp/fixtfsi.c: Likewise.
28622 * soft-fp/fixtfti.c: Likewise.
28623 * soft-fp/fixunsdfdi.c: Likewise.
28624 * soft-fp/fixunsdfsi.c: Likewise.
28625 * soft-fp/fixunsdfti.c: Likewise.
28626 * soft-fp/fixunssfdi.c: Likewise.
28627 * soft-fp/fixunssfsi.c: Likewise.
28628 * soft-fp/fixunssfti.c: Likewise.
28629 * soft-fp/fixunstfdi.c: Likewise.
28630 * soft-fp/fixunstfsi.c: Likewise.
28631 * soft-fp/fixunstfti.c: Likewise.
28632 * soft-fp/floatdidf.c: Likewise.
28633 * soft-fp/floatdisf.c: Likewise.
28634 * soft-fp/floatditf.c: Likewise.
28635 * soft-fp/floatsidf.c: Likewise.
28636 * soft-fp/floatsisf.c: Likewise.
28637 * soft-fp/floatsitf.c: Likewise.
28638 * soft-fp/floattidf.c: Likewise.
28639 * soft-fp/floattisf.c: Likewise.
28640 * soft-fp/floattitf.c: Likewise.
28641 * soft-fp/floatundidf.c: Likewise.
28642 * soft-fp/floatundisf.c: Likewise.
28643 * soft-fp/floatunditf.c: Likewise.
28644 * soft-fp/floatunsidf.c: Likewise.
28645 * soft-fp/floatunsisf.c: Likewise.
28646 * soft-fp/floatunsitf.c: Likewise.
28647 * soft-fp/floatuntidf.c: Likewise.
28648 * soft-fp/floatuntisf.c: Likewise.
28649 * soft-fp/floatuntitf.c: Likewise.
28650 * soft-fp/fmadf4.c: Likewise.
28651 * soft-fp/fmasf4.c: Likewise.
28652 * soft-fp/fmatf4.c: Likewise.
28653 * soft-fp/gedf2.c: Likewise.
28654 * soft-fp/gesf2.c: Likewise.
28655 * soft-fp/getf2.c: Likewise.
28656 * soft-fp/ledf2.c: Likewise.
28657 * soft-fp/lesf2.c: Likewise.
28658 * soft-fp/letf2.c: Likewise.
28659 * soft-fp/muldf3.c: Likewise.
28660 * soft-fp/mulsf3.c: Likewise.
28661 * soft-fp/multf3.c: Likewise.
28662 * soft-fp/negdf2.c: Likewise.
28663 * soft-fp/negsf2.c: Likewise.
28664 * soft-fp/negtf2.c: Likewise.
28665 * soft-fp/op-1.h: Likewise.
28666 * soft-fp/op-2.h: Likewise.
28667 * soft-fp/op-4.h: Likewise.
28668 * soft-fp/op-8.h: Likewise.
28669 * soft-fp/op-common.h: Likewise.
28670 * soft-fp/quad.h: Likewise.
28671 * soft-fp/single.h: Likewise.
28672 * soft-fp/soft-fp.h: Likewise.
28673 * soft-fp/sqrtdf2.c: Likewise.
28674 * soft-fp/sqrtsf2.c: Likewise.
28675 * soft-fp/sqrttf2.c: Likewise.
28676 * soft-fp/subdf3.c: Likewise.
28677 * soft-fp/subsf3.c: Likewise.
28678 * soft-fp/subtf3.c: Likewise.
28679 * soft-fp/truncdfsf2.c: Likewise.
28680 * soft-fp/trunctfdf2.c: Likewise.
28681 * soft-fp/trunctfsf2.c: Likewise.
28682 * soft-fp/trunctfxf2.c: Likewise.
28683 * soft-fp/unorddf2.c: Likewise.
28684 * soft-fp/unordsf2.c: Likewise.
28685 * soft-fp/unordtf2.c: Likewise.
28687 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28689 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28690 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28692 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28694 * elf/dl-libc.c: Clear initfini list after freeing.
28696 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28698 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28699 * soft-fp/addsf3.c: Likewise.
28700 * soft-fp/addtf3.c: Likewise.
28701 * soft-fp/divdf3.c: Likewise.
28702 * soft-fp/divsf3.c: Likewise.
28703 * soft-fp/divtf3.c: Likewise.
28704 * soft-fp/double.h: Likewise.
28705 * soft-fp/eqdf2.c: Likewise.
28706 * soft-fp/eqsf2.c: Likewise.
28707 * soft-fp/eqtf2.c: Likewise.
28708 * soft-fp/extenddftf2.c: Likewise.
28709 * soft-fp/extended.h: Likewise.
28710 * soft-fp/extendsfdf2.c: Likewise.
28711 * soft-fp/extendsftf2.c: Likewise.
28712 * soft-fp/extendxftf2.c: Likewise.
28713 * soft-fp/fixdfdi.c: Likewise.
28714 * soft-fp/fixdfsi.c: Likewise.
28715 * soft-fp/fixdfti.c: Likewise.
28716 * soft-fp/fixsfdi.c: Likewise.
28717 * soft-fp/fixsfsi.c: Likewise.
28718 * soft-fp/fixsfti.c: Likewise.
28719 * soft-fp/fixtfdi.c: Likewise.
28720 * soft-fp/fixtfsi.c: Likewise.
28721 * soft-fp/fixtfti.c: Likewise.
28722 * soft-fp/fixunsdfdi.c: Likewise.
28723 * soft-fp/fixunsdfsi.c: Likewise.
28724 * soft-fp/fixunsdfti.c: Likewise.
28725 * soft-fp/fixunssfdi.c: Likewise.
28726 * soft-fp/fixunssfsi.c: Likewise.
28727 * soft-fp/fixunssfti.c: Likewise.
28728 * soft-fp/fixunstfdi.c: Likewise.
28729 * soft-fp/fixunstfsi.c: Likewise.
28730 * soft-fp/fixunstfti.c: Likewise.
28731 * soft-fp/floatdidf.c: Likewise.
28732 * soft-fp/floatdisf.c: Likewise.
28733 * soft-fp/floatditf.c: Likewise.
28734 * soft-fp/floatsidf.c: Likewise.
28735 * soft-fp/floatsisf.c: Likewise.
28736 * soft-fp/floatsitf.c: Likewise.
28737 * soft-fp/floattidf.c: Likewise.
28738 * soft-fp/floattisf.c: Likewise.
28739 * soft-fp/floattitf.c: Likewise.
28740 * soft-fp/floatundidf.c: Likewise.
28741 * soft-fp/floatundisf.c: Likewise.
28742 * soft-fp/floatunsidf.c: Likewise.
28743 * soft-fp/floatunsisf.c: Likewise.
28744 * soft-fp/floatuntidf.c: Likewise.
28745 * soft-fp/floatuntisf.c: Likewise.
28746 * soft-fp/floatuntitf.c: Likewise.
28747 * soft-fp/fmadf4.c: Likewise.
28748 * soft-fp/fmasf4.c: Likewise.
28749 * soft-fp/fmatf4.c: Likewise.
28750 * soft-fp/gedf2.c: Likewise.
28751 * soft-fp/gesf2.c: Likewise.
28752 * soft-fp/getf2.c: Likewise.
28753 * soft-fp/ledf2.c: Likewise.
28754 * soft-fp/lesf2.c: Likewise.
28755 * soft-fp/letf2.c: Likewise.
28756 * soft-fp/muldf3.c: Likewise.
28757 * soft-fp/mulsf3.c: Likewise.
28758 * soft-fp/multf3.c: Likewise.
28759 * soft-fp/negdf2.c: Likewise.
28760 * soft-fp/negsf2.c: Likewise.
28761 * soft-fp/negtf2.c: Likewise.
28762 * soft-fp/op-1.h: Likewise.
28763 * soft-fp/op-2.h: Likewise.
28764 * soft-fp/op-4.h: Likewise.
28765 * soft-fp/op-8.h: Likewise.
28766 * soft-fp/op-common.h: Likewise.
28767 * soft-fp/quad.h: Likewise.
28768 * soft-fp/single.h: Likewise.
28769 * soft-fp/soft-fp.h: Likewise.
28770 * soft-fp/sqrtdf2.c: Likewise.
28771 * soft-fp/sqrtsf2.c: Likewise.
28772 * soft-fp/sqrttf2.c: Likewise.
28773 * soft-fp/subdf3.c: Likewise.
28774 * soft-fp/subsf3.c: Likewise.
28775 * soft-fp/subtf3.c: Likewise.
28776 * soft-fp/truncdfsf2.c: Likewise.
28777 * soft-fp/trunctfdf2.c: Likewise.
28778 * soft-fp/trunctfsf2.c: Likewise.
28779 * soft-fp/trunctfxf2.c: Likewise.
28780 * soft-fp/unorddf2.c: Likewise.
28781 * soft-fp/unordsf2.c: Likewise.
28782 * soft-fp/unordtf2.c: Likewise.
28784 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28787 * misc/error.c (error_tail): Fix possible buffer overflow.
28789 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28792 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28795 2013-10-14 P. J. McDermott <pj@pehjota.net>
28798 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28799 testing pipefail option.
28801 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28803 * soft-fp/double.h: Indent preprocessor directives inside #if.
28804 * soft-fp/extended.h: Likewise.
28805 * soft-fp/op-2.h: Likewise.
28806 * soft-fp/op-4.h: Likewise.
28807 * soft-fp/op-common.h: Likewise.
28808 * soft-fp/quad.h: Likewise.
28809 * soft-fp/single.h: Likewise.
28810 * soft-fp/soft-fp.h: Likewise.
28812 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28814 * iconv/iconv_prog.c: Fix typos.
28815 * stdio-common/psiginfo-data.h: Likewise.
28817 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28820 * locale/setlocale.c: Fix typo.
28822 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28825 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28826 signaling NaN arguments.
28827 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28828 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28831 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28832 unordered operands.
28833 * soft-fp/gesf2.c (__gesf2): Likewise.
28834 * soft-fp/getf2.c (__getf2): Likewise.
28835 * soft-fp/ledf2.c (__ledf2): Likewise.
28836 * soft-fp/lesf2.c (__lesf2): Likewise.
28837 * soft-fp/letf2.c (__letf2): Likewise.
28839 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28840 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28841 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28842 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28843 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28844 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28845 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28846 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28847 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28848 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28849 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28850 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28851 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28852 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28853 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28854 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28855 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28856 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28857 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28858 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28859 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28860 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28861 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28862 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28863 * soft-fp/floattidf.c (__floattidf): Likewise.
28864 * soft-fp/floattisf.c (__floattisf): Likewise.
28865 * soft-fp/floattitf.c (__floattitf): Likewise.
28866 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28867 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28868 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28869 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28870 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28871 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28872 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28873 * soft-fp/gesf2.c (__gesf2): Likewise.
28874 * soft-fp/getf2.c (__getf2): Likewise.
28875 * soft-fp/ledf2.c (__ledf2): Likewise.
28876 * soft-fp/lesf2.c (__lesf2): Likewise.
28877 * soft-fp/letf2.c (__letf2): Likewise.
28879 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28880 Undefine and redefine.
28881 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28882 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28883 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28884 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28885 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28886 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28887 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28888 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28889 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28890 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28891 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28892 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28893 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28894 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28895 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28898 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28899 without decrementing exponent if mantissa >= that for the
28900 denominator, not >.
28901 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28902 denominator, not >. Decrement exponent in < case instead of
28903 incrementing in >= case.
28904 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28905 without decrementing exponent if mantissa >= that for the
28906 denominator, not >.
28908 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28909 computing saturated result for unsigned overflow.
28911 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28912 Jeff Law <law@redhat.com>
28914 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28915 (atan2Mp): Add systemtap probe marker.
28916 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28917 (__ieee754_log): Add systemtap probe marker.
28918 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28919 (atanMp): Add systemtap probe marker.
28920 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28921 (tanMp): Add systemtap probe marker.
28922 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28923 (__slowexp): Add systemtap probe marker.
28924 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28925 (__slowpow): Add systemtap probe marker.
28926 * manual/probes.texi: Document probes.
28928 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28931 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28933 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28935 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28936 written to buffer but not flushed.
28937 * libio/iofwrite_u.c: Likewise.
28938 * libio/iopadn.c: Return bytes returned even if EOF was
28940 * libio/iowpadn.c: Likewise.
28941 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28942 if _IO_padn does not write the whole buffer.
28943 [!COMPILE_WPRINTF] (PAD): Likewise.
28945 2013-10-10 David S. Miller <davem@davemloft.net>
28947 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28950 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28952 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28953 instead of FSF address.
28954 * soft-fp/fixdfti.c: Likewise.
28955 * soft-fp/fixsfti.c: Likewise.
28956 * soft-fp/fixtfti.c: Likewise.
28957 * soft-fp/fixunsdfti.c: Likewise.
28958 * soft-fp/fixunssfti.c: Likewise.
28959 * soft-fp/fixunstfti.c: Likewise.
28960 * soft-fp/floattidf.c: Likewise.
28961 * soft-fp/floattisf.c: Likewise.
28962 * soft-fp/floattitf.c: Likewise.
28963 * soft-fp/floatuntidf.c: Likewise.
28964 * soft-fp/floatuntisf.c: Likewise.
28965 * soft-fp/floatuntitf.c: Likewise.
28966 * soft-fp/trunctfxf2.c: Likewise.
28968 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28969 * soft-fp/fixdfti.c: Likewise.
28970 * soft-fp/fixsfti.c: Likewise.
28971 * soft-fp/fixtfti.c: Likewise.
28972 * soft-fp/fixunsdfti.c: Likewise.
28973 * soft-fp/fixunssfti.c: Likewise.
28974 * soft-fp/fixunstfti.c: Likewise.
28975 * soft-fp/floattidf.c: Likewise.
28976 * soft-fp/floattisf.c: Likewise.
28977 * soft-fp/floattitf.c: Likewise.
28978 * soft-fp/floatuntidf.c: Likewise.
28979 * soft-fp/floatuntisf.c: Likewise.
28980 * soft-fp/floatuntitf.c: Likewise.
28981 * soft-fp/trunctfxf2.c: Likewise.
28983 2013-10-10 David S. Miller <davem@davemloft.net>
28985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28987 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28989 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28990 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28991 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28992 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28993 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28994 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28995 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28998 for NaNs before doing comparisons on argument.
28999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29002 2013-10-10 Will Newton <will.newton@linaro.org>
29004 * malloc/hooks.c (memalign_check): Ensure the value of bytes
29005 passed to _int_memalign does not overflow.
29007 2013-10-10 Torvald Riegel <triegel@redhat.com>
29009 * scripts/bench.pl: Add include-sources directive.
29010 * benchtests/README: Update documentation.
29012 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29014 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29015 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29016 instead of FP_INIT_ROUNDMODE.
29017 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29018 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29021 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
29022 copy class of input value.
29023 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
29024 not handle exceptions.
29025 * soft-fp/negsf2.c (__negsf2): Likewise.
29026 * soft-fp/negtf2.c (__negtf2): Likewise.
29027 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29029 2013-10-09 Joseph Myers <joseph@codesourcery.com>
29031 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29032 semicolon. From Linux kernel.
29034 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
29036 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29038 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
29041 * manual/socket.texi: Added statement about buffer
29042 for gethostbyname2_r.
29044 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
29046 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29047 Use .p2align directive instead, throughout.
29048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29049 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29050 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29053 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29054 * sysdeps/x86_64/strchr.S: Likewise.
29055 * sysdeps/x86_64/strrchr.S: Likewise.
29057 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29059 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29061 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29063 * sysdeps/generic/math_private.h (__mpsin1): Remove
29065 (__mpcos1): Likewise.
29066 (__mpsin): New argument __range_reduce.
29067 (__mpcos): Likewise.
29068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29069 (slow): Use __mpsin and __mpcos.
29073 (sloww1): Likewise.
29074 (sloww2): Likewise.
29075 (bsloww): Likewise.
29076 (bsloww1): Likewise.
29077 (bsloww2): Likewise.
29078 (cslow2): Likewise.
29079 (csloww): Likewise.
29080 (csloww1): Likewise.
29081 (csloww2): Likewise.
29082 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29083 range_reduce. Merge in __mpsin1.
29084 (__mpcos): Likewise.
29085 (__mpsin1): Remove.
29086 (__mpcos1): Likewise.
29088 2013-10-07 Joseph Myers <joseph@codesourcery.com>
29090 * locale/loadlocale.c (_nl_intern_locale_data): Use
29092 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29093 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29094 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29095 obstack data is appropriately aligned.
29096 (obstack_int32_grow_fast): Likewise.
29097 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29098 * locale/programs/locfile.c (add_locale_uint32): Likewise.
29099 (add_locale_uint32_array): Likewise.
29101 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29103 * benchtests/Makefile: Remove ARGLIST and RET variables.
29104 ($(objpfx)bench-%.c): Pass only function name to the script.
29105 * benchtests/README: Update documentation.
29106 * benchtests/acos-inputs: Add new directives.
29107 * benchtests/acosh-inputs: Likewise.
29108 * benchtests/asin-inputs: Likewise.
29109 * benchtests/asinh-inputs: Likewise.
29110 * benchtests/atan-inputs: Likewise.
29111 * benchtests/atanh-inputs: Likewise.
29112 * benchtests/cos-inputs: Likewise.
29113 * benchtests/cosh-inputs: Likewise.
29114 * benchtests/exp-inputs: Likewise.
29115 * benchtests/log-inputs: Likewise.
29116 * benchtests/pow-inputs: Likewise.
29117 * benchtests/rint-inputs: Likewise.
29118 * benchtests/sin-inputs: Likewise.
29119 * benchtests/sinh-inputs: Likewise.
29120 * benchtests/tan-inputs: Likewise.
29121 * benchtests/tanh-inputs: Likewise.
29122 * scripts/bench.pl: Add support for new directives.
29124 2013-10-07 Alan Modra <amodra@gmail.com>
29126 * README: Fix careless merge.
29128 2013-10-05 Alan Modra <amodra@gmail.com>
29130 * NEWS: Mention powerpc64le support and bugs fixed.
29131 * README: Both big-endian and little-endian powerpc64 supported.
29133 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29135 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29136 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29137 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29138 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29140 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
29142 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29145 2013-10-04 Joseph Myers <joseph@codesourcery.com>
29147 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29148 Move -mhard-float appending from
29149 ports/sysdeps/powerpc/powerpc32/Makefile.
29150 [$(with-fp) = yes] (ASFLAGS): Likewise.
29151 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29152 * sysdeps/powerpc/nofpu: Move directory from
29153 ports/sysdeps/powerpc/nofpu.
29154 * sysdeps/powerpc/soft-fp: Move directory from
29155 ports/sysdeps/powerpc/soft-fp.
29156 * sysdeps/powerpc/powerpc32/405: Move directory from
29157 ports/sysdeps/powerpc/powerpc32/405.
29158 * sysdeps/powerpc/powerpc32/440: Move directory from
29159 ports/sysdeps/powerpc/powerpc32/440.
29160 * sysdeps/powerpc/powerpc32/464: Move directory from
29161 ports/sysdeps/powerpc/powerpc32/464.
29162 * sysdeps/powerpc/powerpc32/476: Move directory from
29163 ports/sysdeps/powerpc/powerpc32/476.
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29165 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29167 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29169 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29171 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29173 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29174 * README: Update for powerpc-*-linux-gnu software floating point
29177 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29178 case to powerpc/powerpc32*.
29179 * sysdeps/unix/sysv/linux/configure: Regenerated.
29181 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29182 (_FPU_MASK_OM): Define as 0x04.
29183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29191 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29194 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29197 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29198 and setcontext_e500.
29200 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
29202 * locale/iso-3166.def: Update iso-1366.def and related occurrences
29204 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29206 * manual/threads.texi (Default Thread Attributes): Fix typo.
29208 2013-10-04 Will Newton <will.newton@linaro.org>
29210 * malloc/Makefile: Add tst-memalign.
29211 * malloc/tst-memalign.c: New file.
29213 * malloc/tst-posix_memalign.c: Add comments.
29214 (do_test): Add comments and call free on all potentially
29215 allocated pointers. Add space after cast.
29217 * malloc/tst-pvalloc.c: Add comments.
29218 (do_test): Add comments and call free on all potentially
29219 allocated pointers. Remove duplicate check for NULL pointer.
29220 Add space after cast.
29222 * malloc/tst-valloc.c: Add comments.
29223 (do_test): Add comments and call free on all potentially
29224 allocated pointers. Remove duplicate check for NULL pointer.
29225 Add space after cast.
29227 2013-10-04 Alan Modra <amodra@gmail.com>
29229 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29230 Use stdint types in rather than __attribute__((mode())).
29231 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29233 2013-10-04 Alan Modra <amodra@gmail.com>
29235 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29236 Correct handling of unaligned relocs for little-endian.
29237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29239 2013-10-04 Alan Modra <amodra@gmail.com>
29241 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29242 * configure: Regenerate.
29243 * nptl/shlib-versions: Powerpc*le starts at 2.18.
29244 * shlib-versions: Likewise.
29246 2013-10-04 Alan Modra <amodra@gmail.com>
29248 * string/tester.c (test_memrchr): Increment reported test cycle.
29250 2013-10-04 Alan Modra <amodra@gmail.com>
29252 * string/test-memcpy.c (do_one_test): When reporting errors, print
29253 string address and don't overrun end of string.
29255 2013-10-04 Alan Modra <amodra@gmail.com>
29257 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29258 insrdi. Make better use of reg selection to speed exit slightly.
29259 Schedule entry path a little better. Remove useless "are we done"
29260 checks on entry to main loop. Handle wrapping around zero address.
29261 Correct main loop count. Handle single left-over word from main
29262 loop inline rather than by using loop_small. Remove extra word
29263 case in loop_small caused by wrong loop count. Add little-endian
29265 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
29268 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29269 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29270 support. Avoid rlwimi.
29271 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29273 2013-10-04 Alan Modra <amodra@gmail.com>
29275 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29276 insrdi. Formatting.
29277 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29278 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29279 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29280 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29281 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29282 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29284 2013-10-04 Alan Modra <amodra@gmail.com>
29286 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29287 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29288 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29289 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29290 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29293 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
29295 use of regs. Use power7 mtocrf. Tidy function tails.
29297 2013-10-04 Alan Modra <amodra@gmail.com>
29299 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29300 Formatting. Consistently use rXXX register defines or rN defines.
29301 Use early exit labels that avoid restoring unused non-volatile regs.
29302 Make cr field use more consistent with rWORDn compares. Rename
29303 regs used as shift registers for unaligned loop, using rN defines
29304 for short lifetime/multiple use regs.
29305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29306 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
29307 addi 1,1,64 to pop stack frame. Simplify return value code.
29308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29310 2013-10-04 Alan Modra <amodra@gmail.com>
29312 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29313 support. Correct typos, formatting. Optimize tail. Use insrdi
29314 rather than rlwimi.
29315 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29317 little-endian support. Correct typos.
29318 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
29319 rather than rlwimi.
29320 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
29321 in loop and entry code to keep "and." results.
29322 (strchr): Add little-endian support. Comment. Move cntlzd
29324 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29326 2013-10-04 Alan Modra <amodra@gmail.com>
29328 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29329 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29330 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29331 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29333 2013-10-04 Alan Modra <amodra@gmail.com>
29335 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29336 (rTMP): Define as r11.
29337 (strcmp): Add little-endian support. Optimise tail.
29338 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29339 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29340 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29342 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29343 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29344 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29346 2013-10-04 Alan Modra <amodra@gmail.com>
29348 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29349 little-endian support. Remove unnecessary "are we done" tests.
29350 Handle "s" wrapping around zero and extremely large "size".
29351 Correct main loop count. Handle single left-over word from main
29352 loop inline rather than by using small_loop. Correct comments.
29353 Delete "zero" tail, use "end_max" instead.
29354 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29356 2013-10-04 Alan Modra <amodra@gmail.com>
29358 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29359 support. Don't branch over align.
29360 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29361 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29362 support. Rearrange tmp reg use to suit. Comment.
29363 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29365 2013-10-04 Alan Modra <amodra@gmail.com>
29367 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29369 2013-10-04 Alan Modra <amodra@gmail.com>
29371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29372 conditional form of branch and link when obtaining pc.
29373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29375 2013-10-04 Alan Modra <amodra@gmail.com>
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29382 2013-10-04 Alan Modra <amodra@gmail.com>
29384 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29385 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29386 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29387 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29388 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29389 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29390 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29391 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29392 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29393 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29395 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29396 Alistair Popple <alistair@ozlabs.au.ibm.com>
29397 Alan Modra <amodra@gmail.com>
29400 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29402 _dl_hwcap access for little-endian.
29403 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29404 destroy vmx regs when saving unaligned.
29405 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29406 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29407 destroy vmx regs when saving unaligned.
29409 2013-10-04 Alan Modra <amodra@gmail.com>
29411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29412 Don't use a union to pack hi/low value.
29414 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29416 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29418 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29419 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29420 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29421 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29422 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29424 2013-10-04 Alan Modra <amodra@gmail.com>
29426 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29427 constants to usual value for .cst8 section, and remove redundant
29429 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29430 constant for 0x1p52. Load little-endian words of double from
29431 correct stack offsets.
29433 2013-10-04 Alan Modra <amodra@gmail.com>
29435 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29436 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29437 words of double from correct stack offsets.
29438 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29439 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29440 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29445 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29446 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29450 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29451 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29452 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29453 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29454 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29456 2013-10-04 Alan Modra <amodra@gmail.com>
29458 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29459 64-bit int/double union.
29460 (_FPU_SETCW): Likewise.
29461 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29462 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29464 2013-10-04 Alan Modra <amodra@gmail.com>
29466 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29467 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29469 2013-10-04 Alan Modra <amodra@gmail.com>
29471 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29472 use vector int constants.
29473 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29475 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29477 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29478 array with long long.
29479 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29480 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29481 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29482 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29483 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29484 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29485 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29486 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29487 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29488 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29489 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29490 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29491 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29493 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29495 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29496 (__signbit): Likewise. Correct for little-endian.
29497 (__signbitl): Call __signbit.
29498 (lrint): Correct for little-endian.
29499 (lrintf): Call lrint.
29501 2013-10-04 Alan Modra <amodra@gmail.com>
29503 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29504 union 32-bit int array member with 64-bit int array.
29505 (t515, tm256): Double rather than long double.
29506 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29508 2013-10-04 Alan Modra <amodra@gmail.com>
29510 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29512 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29514 version of math_ldbl.h.
29516 2013-10-04 Alan Modra <amodra@gmail.com>
29518 [BZ #15734], [BZ #15735]
29519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29520 all uses of ieee875 long double macros and unions. Simplify test
29521 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29522 ldbl_extract_mantissa value for ix,iy exponents. Properly
29523 normalize after ldbl_extract_mantissa, and don't add hidden bit
29524 already handled. Don't treat low word of ieee854 mantissa like
29525 low word of IBM long double and mask off bit when testing for
29527 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29528 all uses of ieee875 long double macros and unions. Simplify tests
29529 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29530 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29531 two1022, instead use their values. Recognise that tests for large
29532 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29533 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29534 Rewrite all uses of ieee875 long double macros and unions. Simplify
29535 test for 0.0L and nan. Correct negation.
29536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29537 ieee875 long double macros and unions. Correct output for large
29538 magnitude x. Correct absolute value calculation.
29539 (__erfcl): Likewise.
29540 * math/libm-test.inc: Add tests for errors discovered in IBM long
29541 double versions of fmodl, remainderl, erfl and erfcl.
29543 2013-10-04 Alan Modra <amodra@gmail.com>
29545 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29546 all uses of ieee854 long double macros and unions. Simplify tests
29547 for long doubles that are fully specified by the high double.
29548 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29550 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29551 Remove dead code too.
29552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29553 (__ieee754_ynl): Likewise.
29554 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29557 Remove dead code too.
29558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29559 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29563 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29565 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29567 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29568 Comment on variable precision.
29569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29572 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29576 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29578 2013-10-04 Alan Modra <amodra@gmail.com>
29580 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29582 all uses of ieee854 long double macros and unions.
29583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29585 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29586 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29587 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29591 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29592 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29594 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29595 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29596 Simplify sign and nan test too.
29597 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29598 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29600 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29602 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29603 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29606 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29607 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29608 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29612 2013-10-04 Alan Modra <amodra@gmail.com>
29614 * stdio-common/printf_size.c (__printf_size): Don't use
29615 union ieee854_long_double in fpnum union.
29616 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29617 signbit macro to retrieve sign from long double.
29618 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29619 retrieve sign from long double.
29620 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29621 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29622 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29623 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29624 * math/test-misc.c (main): Don't use union ieee854_long_double.
29626 2013-10-04 Alan Modra <amodra@gmail.com>
29629 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29630 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29631 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29632 calculation. Remove unnecessary test for denormal exponent.
29633 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29634 Correct handling of denormals. Avoid undefined shift behaviour.
29635 Correct normalisation of low mantissa when low double is denormal.
29636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29637 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29638 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29639 Correct normalisation of low mantissa. Test for overflow of high
29640 mantissa and normalise.
29641 (ldbl_nearbyint): Use more readable constant for two52.
29642 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29643 (__mpn_construct_long_double): Fix test for overflow of high
29644 mantissa and correct normalisation. Avoid undefined shift.
29646 2013-10-04 Alan Modra <amodra@gmail.com>
29648 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29649 (union ibm_extended_long_double): Define as an array of ieee754_double.
29650 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29651 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29652 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29653 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29655 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29657 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29659 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29660 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29662 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29664 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29665 page size instead of calling getpagesize.
29667 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29668 (LOCFILE_ALIGN_MASK): Likewise.
29669 (LOCFILE_ALIGN_UP): Likewise.
29670 (LOCFILE_ALIGNED_P): Likewise.
29671 * locale/programs/ld-collate.c (collate_output): Use the new
29672 macros instead of __alignof__ (int32_t).
29673 * locale/weight.h (findidx): Likewise.
29675 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29678 * manual/string.texi: Fix strncat and wcsncat.
29680 2013-10-03 Brooks Moses <bmoses@google.com>
29683 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29684 * Makerules: ...here, and adjust associated comments.
29686 2013-10-02 Will Newton <will.newton@linaro.org>
29688 * malloc/Makefile: Add tst-pvalloc.
29689 * malloc/tst-pvalloc.c: New file.
29691 2013-10-02 Will Newton <will.newton@linaro.org>
29693 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29694 improve test coverage.
29696 2013-10-02 Will Newton <will.newton@linaro.org>
29698 * malloc/Makefile: Add tst-posix_memalign.
29699 * malloc/tst-posix_memalign.c: New file.
29701 2013-10-01 Eric Blake <eblake@redhat.com>
29703 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29704 Use __THROWNL rather than __THROW on static functions.
29706 2013-09-30 Petr Machata <pmachata@redhat.com>
29708 * elf/elf.h (R_AARCH64_ABS16): New macro.
29709 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29710 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29711 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29712 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29713 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29714 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29715 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29716 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29717 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29718 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29719 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29720 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29721 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29722 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29723 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29724 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29725 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29726 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29727 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29728 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29729 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29730 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29731 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29732 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29733 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29734 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29735 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29736 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29737 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29738 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29739 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29740 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29741 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29742 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29743 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29744 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29745 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29746 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29747 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29748 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29749 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29750 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29751 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29752 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29753 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29754 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29755 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29756 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29757 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29758 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29759 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29760 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29761 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29762 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29763 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29764 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29765 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29766 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29767 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29768 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29769 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29770 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29771 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29772 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29773 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29774 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29775 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29776 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29777 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29778 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29779 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29780 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29781 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29782 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29783 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29784 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29785 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29786 (R_AARCH64_TLSDESC_LDR): Likewise.
29787 (R_AARCH64_TLSDESC_ADD): Likewise.
29788 (R_AARCH64_TLSDESC_CALL): Likewise.
29790 2013-09-30 Andreas Schwab <schwab@suse.de>
29793 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29794 the nss database lookup.
29795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29798 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29800 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29802 2013-09-28 P. J. McDermott <pj@pehjota.net>
29804 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29805 ${Bash-specific parameter/pattern/string} parameter expansion.
29806 * sysdeps/unix/make-syscalls.sh: Likewise.
29808 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29810 * sysdeps/sh/stackguard-macros.h: New file.
29812 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29816 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29817 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29819 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29821 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29823 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29824 Fix thread ID register.
29826 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29828 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29829 [POSIX || UNIX98]: Require rather than permitting all symbols from
29831 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29832 element of struct sched_param.
29833 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29834 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29835 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29836 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29839 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29841 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29842 argument calculation.
29844 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29846 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29848 [POSIX] (pthread_attr_t): Do not require type.
29849 [POSIX] (pthread_cond_t): Likewise.
29850 [POSIX] (pthread_condattr_t): Likewise.
29851 [POSIX] (pthread_key_t): Likewise.
29852 [POSIX] (pthread_mutex_t): Likewise.
29853 [POSIX] (pthread_mutexattr_t): Likewise.
29854 [POSIX] (pthread_once_t): Likewise.
29855 [POSIX] (pthread_t): Likewise.
29856 [POSIX-based standards] (pthread_atfork): Expect function.
29858 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29859 Richard Sandiford <richard@codesourcery.com>
29861 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29862 (swap_endianness_p): New extern variable.
29863 (set_big_endian): New inline function.
29864 (maybe_swap_uint32): Likewise.
29865 (maybe_swap_uint32_array): Likewise.
29866 (maybe_swap_uint32_obstack): Likewise.
29867 * locale/programs/locfile.c: Include <stdbool.h>.
29868 (swap_endianness_p): New variable.
29869 (add_locale_uint32): Call maybe_swap_uint32.
29870 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29871 (write_locale_data): Call maybe_swap_uint32_array.
29872 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29874 (obstack_int32_grow_fast): Likewise.
29875 (output_weightwc): Call maybe_swap_uint32_obstack.
29876 (collate_output): Likewise.
29877 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29878 (OPT_LITTLE_ENDIAN): Likewise.
29879 (options): Add --little-endian and --big-endian options.
29880 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29881 * locale/programs/locarchive.c: Include "locfile.h".
29885 (create_archive): Use the new macros to access fields of
29886 structures directly mapped from or written to locale archives.
29887 (oldlocrecentcmp): Likewise.
29888 (enlarge_archive): Likewise.
29889 (insert_name): Likewise.
29890 (add_alias): Likewise.
29891 (add_locale): Likewise.
29892 (delete_locales_from_archive): Likewise.
29893 (show_archive_content): Likewise.
29894 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29897 2013-09-24 Roland McGrath <roland@hack.frob.com>
29899 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29900 http://www.gnu.org/doc/freemanuals.texi.
29901 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29903 2013-09-24 Will Newton <will.newton@linaro.org>
29905 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29908 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29910 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29913 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29915 * manual/threads.texi (POSIX Threads): Fix a typo.
29917 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29920 * string/tst-strcoll-overflow.c: New test case.
29921 * string/Makefile (xtests): Add tst-strcoll-overflow.
29922 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29923 cache if string sizes may cause integer overflow.
29926 * string/strcoll_l.c (coll_seq): New members rule, idx,
29927 save_idx and back_us.
29928 (get_next_seq_nocache): New function.
29929 (do_compare_nocache): New function.
29930 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29933 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29936 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29937 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29938 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29941 * elf/Makefile (tests): Add tst-ptrguard1.
29942 (tests-static): Add tst-ptrguard1-static.
29943 (tst-ptrguard1-ARGS): Define.
29944 (tst-ptrguard1-static-ARGS): Define.
29945 * elf/tst-ptrguard1.c: New file.
29946 * elf/tst-ptrguard1-static.c: New file.
29947 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29948 * sysdeps/i386/stackguard-macros.h: Likewise.
29949 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29950 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29951 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29952 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29953 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29954 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29956 2013-09-23 Hector Marco <hecmargi@upv.es>
29957 Ismael Ripoll <iripoll@disca.upv.es>
29958 Carlos O'Donell <carlos@redhat.com>
29961 * sysdeps/generic/stackguard-macros.h: Define
29962 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29963 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29964 Define __pointer_chk_guard_local.
29965 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29966 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29968 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29971 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29973 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29975 * include/string.h (__ffs): Declare as hidden.
29976 * string/ffs.c (__ffs): Define as hidden.
29977 * sysdeps/i386/ffs.c (__ffs): Likewise.
29978 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29979 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29980 * sysdeps/s390/ffs.c (__ffs): Likewise.
29981 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29983 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29985 * NEWS: Mention malloc probes.
29987 * malloc/arena.c (new_heap): New memory_heap_new probe.
29988 (grow_heap): New memory_heap_more probe.
29989 (shrink_heap): New memory_heap_less probe.
29990 (heap_trim): New memory_heap_free probe.
29991 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29992 (systrim): New memory_sbrk_less probe.
29993 * manual/probes.texi: Document them.
29995 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29996 * manual/probes.texi: Document it.
29998 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29999 (__libc_realloc): Add memory_realloc_retry probe.
30000 (__libc_memalign): Add memory_memalign_retry probe.
30001 (__libc_valloc): Add memory_valloc_retry probe.
30002 (__libc_pvalloc): Add memory_pvalloc_retry probe.
30003 (__libc_calloc): Add memory_calloc_retry probe.
30004 * manual/probes.texi: Document them.
30006 * malloc/arena.c (get_free_list): Add probe
30007 memory_arena_reuse_free_list.
30008 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30009 and memory_arena_reuse.
30010 (arena_get2) [!PER_THREAD]: Likewise.
30011 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30012 memory_arena_reuse_realloc.
30013 * manual/probes.texi: Document them.
30015 * malloc/malloc.c (__libc_free): Add
30016 memory_mallopt_free_dyn_thresholds probe.
30017 (__libc_mallopt): Add multiple memory_mallopt probes.
30018 * manual/probes.texi: Document them.
30020 * malloc/malloc.c: Include stap-probe.h.
30021 (__libc_mallopt): Add memory_mallopt probe.
30022 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30023 * manual/probes.texi: New.
30024 * manual/Makefile (chapters): Add probes.
30025 * manual/threads.texi: Set next node.
30027 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
30029 [BZ #15963, #13985]
30030 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30031 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30032 Add `Chinese' to `nan' entry name.
30034 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30036 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30037 (POLYNOMIAL): Likewise.
30038 (TAYLOR_SINCOS): Likewise.
30039 (TAYLOR_SLOW): Likewise.
30040 (__sin): Use TAYLOR_SINCOS.
30042 (slow): Use TAYLOR_SLOW.
30044 (bsloww): Likewise.
30045 (csloww): Likewise.
30047 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30049 * stdlib/strtod_l.c: Fix buffer overrun.
30051 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30053 * benchtests/Makefile (bench): Add sincos.
30054 * benchtests/bench-sincos.c: New file.
30056 * math/libm-test.inc (cos_test_data): New test inputs.
30057 (sin_test_data): Likewise.
30059 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30065 (sloww1): Likewise.
30066 (sloww2): Likewise.
30067 (bsloww1): Likewise.
30068 (bsloww2): Likewise.
30069 (cslow2): Likewise.
30070 (csloww1): Likewise.
30071 (csloww2): Likewise.
30073 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30082 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30084 * config.h.in (HAVE_MIPS_NAN2008): New macro.
30085 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30086 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30087 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30088 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30089 * elf/cache.c (print_entry): Handle the new cache flags.
30091 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30092 Aldy Hernandez <aldyh@redhat.com>
30094 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30095 Change condition to [_SOFT_FLOAT].
30096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30108 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30111 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30114 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30116 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30117 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30118 (__longjmp): Use LOAD_GP to load saved GPRs.
30119 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30120 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30121 (__sigsetjmp): Use SAVE_GP to save GPRs.
30123 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30124 Do not append -msoft-float.
30125 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30127 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30129 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30131 2013-09-17 Joseph Myers <joseph@codesourcery.com>
30134 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30135 (_FPU_GETCW): Use initial "__" on variable and field names but not
30136 on macro parameter name.
30137 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
30138 parentheses around reference to macro parameter.
30140 2013-09-13 Richard Sandiford <richard@codesourcery.com>
30142 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30144 (ctype_startup): Use uint32_t in cast and sizeof for
30147 2013-09-11 Jia Liu <proljc@gmail.com>
30149 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30151 [__FreeBSD__]: Likewise.
30153 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
30155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30156 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30157 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30158 (strchr): Remove __strchr_sse42 ifunc selection.
30159 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30160 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30162 2013-09-11 Will Newton <will.newton@linaro.org>
30164 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30165 parameter to RES. Remove hardcoded 1000 value.
30166 * benchtests/bench-skeleton.c (main): Pass RES parameter
30167 to TIMING_INIT and multiply result by 1000.
30169 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30173 2013-09-11 Andreas Schwab <schwab@suse.de>
30175 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30177 (O_TMPFILE) [__USE_GNU]: Define.
30178 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30181 2013-09-11 Will Newton <will.newton@linaro.org>
30184 * malloc/malloc.c (__libc_memalign): Check the value of bytes
30187 2013-09-11 Will Newton <will.newton@linaro.org>
30190 * malloc/malloc.c (__libc_valloc): Check the value of bytes
30193 2013-09-11 Will Newton <will.newton@linaro.org>
30196 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30199 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
30201 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30202 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30204 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30207 2013-09-10 Allan McRae <allan@archlinux.org>
30210 * manual/arith.texi (Parsing of Floats): Clarify
30214 * manual/install.texi (Running make install): Mention
30216 * INSTALL: Regenerated.
30218 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
30220 * csu/init-first.c (_init): Remove the !SHARED condition around
30221 FPU control word initialization.
30222 * elf/dl-support.c (_dl_fpu_control): New variable.
30223 (_dl_aux_init) <AT_FPUCW>: Initialize it.
30224 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30225 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30226 * math/test-fpucw-static.c: New file.
30227 * math/test-fpucw-ieee.c: New file.
30228 * math/test-fpucw-ieee-static.c: New file.
30229 * math/Makefile (tests): Add `test-fpucw-ieee' and
30231 (tests-static): New variable.
30232 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30234 [($(build-shared),yes)]
30235 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30237 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30240 2013-09-09 Allan McRae <allan@archlinux.org>
30243 * manual/string.texi (Collation Functions): Fix typo in
30245 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30248 * stdlib/isomac.c (get_null_defines): Fix memory leak.
30251 * libio/memstream.c (open_memstream): Fix memory leak.
30252 * libio/wmemstream.c (open_wmemstream): Likewise.
30255 * nscd/netgroupcache.c: Fix nesting of ifdefs.
30257 2013-09-09 Will Newton <will.newton@linaro.org>
30259 * malloc/Makefile: Add tst-realloc to tests.
30260 * malloc/tst-realloc.c: New file.
30262 2013-09-09 Allan McRae <allan@archlinux.org>
30265 * COPYING: Update from GNU website to fix FSF address.
30266 * COPYING.LIB: Likewise.
30268 2013-09-06 David S. Miller <davem@davemloft.net>
30270 * po/zh_TW.po: Update Chinese (traditional) translation from
30271 translation project.
30273 2013-09-06 Richard Sandiford <richard@codesourcery.com>
30274 Joseph Myers <joseph@codesourcery.com>
30276 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30278 (obstack_chunk_alloc): New macro.
30279 (obstack_chunk_free): Likewise.
30280 (record_offset): New function.
30281 (init_locale_data): Likewise.
30282 (align_locale_data): Likewise.
30283 (add_locale_empty): Likewise.
30284 (add_locale_raw_data): Likewise.
30285 (add_locale_raw_obstack): Likewise.
30286 (add_locale_string): Likewise.
30287 (add_locale_wstring): Likewise.
30288 (add_locale_uint32): Likewise.
30289 (add_locale_uint32_array): Likewise.
30290 (add_locale_char): Likewise.
30291 (start_locale_structure): Likewise.
30292 (end_locale_structure): Likewise.
30293 (start_locale_prelude): Likewise.
30294 (end_locale_prelude): Likewise.
30295 (write_locale_data): Take locale_file structure rather than an
30297 * locale/programs/locfile.h: Include "obstack.h".
30298 (struct locale_file): Change to store locale file contents instead
30300 (init_locale_data): New prototype.
30301 (align_locale_data): Likewise.
30302 (add_locale_empty): Likewise.
30303 (add_locale_raw_data): Likewise.
30304 (add_locale_raw_obstack): Likewise.
30305 (add_locale_string): Likewise.
30306 (add_locale_wstring): Likewise.
30307 (add_locale_uint32): Likewise.
30308 (add_locale_uint32_array): Likewise.
30309 (add_locale_char): Likewise.
30310 (start_locale_structure): Likewise.
30311 (end_locale_structure): Likewise.
30312 (start_locale_prelude): Likewise.
30313 (end_locale_prelude): Likewise.
30314 (write_locale_data): Update prototype.
30315 * locale/programs/3level.h (struct TABLE): Remove result field.
30316 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30317 Use new locale_file interface.
30318 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30319 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30320 * locale/programs/ld-address.c (address_output): Use new
30321 locale_file interface.
30322 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30324 (collate_finish): Don't call collseq_table_finalize.
30325 (collate_output): Use new locale_file interface.
30326 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30328 (NO_FINALIZE): Change to NO_ADD_LOCALE.
30329 (TABLE): Move defines earlier in file.
30330 (ELEMENT): Likewise.
30331 (DEFAULT): Likewise.
30332 (wctrans_table_add): Move macro and inline function earlier in
30334 (struct wctype_table): Move type earlier in file.
30335 (add_locale_wctype_table): New static prototype.
30336 (struct locale_ctype_t): Use logical types instead of struct iovec
30337 pointers for members.
30338 (ctype_output): Use new locale_file interface.
30339 (wctype_table_finalize): Change to add_locale_wctype_table. Use
30340 new locale_file interface.
30341 (allocate_arrays): Update for use of new locale_file interface.
30342 * locale/programs/ld-identification.c (identification_output): Use
30343 new locale_file interface.
30344 * locale/programs/ld-measurement.c (measurement_output): Likewise.
30345 * locale/programs/ld-messages.c (messages_output): Likewise.
30346 * locale/programs/ld-monetary.c (monetary_output): Likewise.
30347 * locale/programs/ld-name.c (name_output): Likewise.
30348 * locale/programs/ld-numeric.c (numeric_output): Likewise.
30349 * locale/programs/ld-paper.c (paper_output): Likewise.
30350 * locale/programs/ld-telephone.c (telephone_output): Likewise.
30351 * locale/programs/ld-time.c (time_output): Likewise.
30353 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30355 * benchtests/Makefile: Add memrchr benchmark.
30356 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30357 benchmark as memrchr.
30358 * benchtests/bench-memrchr-ifunc.c: New file.
30359 * benchtests/bench-memrchr.c: New file.
30361 2013-09-06 Will Newton <will.newton@linaro.org>
30363 * benchtests/Makefile (string-bench): Add memcpy.
30365 2013-09-05 Carlos O'Donell <carlos@redhat.com>
30366 Cong Wang <amwang@redhat.com>
30369 * sysdeps/unix/sysv/linux/bits/in.h
30370 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30371 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30372 before __USE_KERNEL_IPV6_DEFS uses.
30373 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30375 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30376 sockaddr_in6, or ipv6_mreq.
30378 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30380 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30381 memory access for final bytes in some large inputs.
30382 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30384 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30386 * string/test-memrchr.c: New file.
30387 * string/test-memrchr-ifunc.c: New file.
30388 * string/Makefile: Add new memrchr testcase.
30390 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30392 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30393 fanotify_init returns EPERM.
30395 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30397 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30399 (top level): Treat second token from macro or constant entries for
30400 allowed headers as allowed.
30401 * include/complex.h: Condition internal declarations on
30403 * include/fenv.h: Condition include of <stdbool.h> and internal
30404 declarations on [!_ISOMAC].
30406 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30409 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30411 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30413 * configure.in (--enable-versioning): Remove configure option.
30414 (libc_cv_asm_symver_directive): Remove configure test.
30415 (libc_cv_ld_version_script_option): Likewise.
30416 (VERSIONING): Remove variable and AC_SUBST.
30417 (DO_VERSIONING): Remove AC_DEFINE.
30418 * configure: Regenerated.
30419 * config.h.in (DO_VERSIONING): Remove macro.
30420 * Makerules [$(versioning) = yes]: Change conditionals to
30421 [$(build-shared) = yes].
30422 * config.make.in (versioning): Remove variable.
30423 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30424 [$(build-shared) = yes].
30425 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30426 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30427 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30428 [$(build-shared) = yes].
30429 * extra-lib.mk [$(versioning) = yes]: Likewise.
30430 * hurd/Makefile [$(versioning) = yes]: Likewise.
30431 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30433 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30435 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30436 [SHARED && !NO_HIDDEN].
30437 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30439 [SHARED && DO_VERSIONING]: Likewise..
30440 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30441 [$(build-shared) = yes].
30442 * manual/install.texi (--disable-versioning): Remove
30444 * INSTALL: Regenerated.
30445 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30447 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30448 [$(build-shared) = yes].
30449 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30450 * sysdeps/i386/i686/multiarch/strstr-c.c
30451 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30452 [SHARED && !NO_HIDDEN].
30453 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30454 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30455 * sysdeps/powerpc/powerpc32/dl-machine.c
30456 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30457 * sysdeps/powerpc/powerpc32/sysdep.h
30458 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30459 to [SHARED && PIC && !NO_HIDDEN].
30460 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30461 conditional to [SHARED].
30463 2013-09-04 Will Newton <will.newton@linaro.org>
30465 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30466 * benchtests/bench-string.h: Include bench-timing.h instead
30467 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30468 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30469 call to HP_TIMING_DIFF_INIT.
30470 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30471 instead of hp-timing.h macros.
30472 * benchtests/bench-memchr.c: Likewise.
30473 * benchtests/bench-memcmp.c: Likewise.
30474 * benchtests/bench-memcpy.c: Likewise.
30475 * benchtests/bench-memmem.c: Likewise.
30476 * benchtests/bench-memmove.c: Likewise.
30477 * benchtests/bench-memset.c: Likewise.
30478 * benchtests/bench-rawmemchr.c: Likewise.
30479 * benchtests/bench-strcasecmp.c: Likewise.
30480 * benchtests/bench-strcasestr.c: Likewise.
30481 * benchtests/bench-strcat.c: Likewise.
30482 * benchtests/bench-strchr.c: Likewise.
30483 * benchtests/bench-strcmp.c: Likewise.
30484 * benchtests/bench-strcpy.c: Likewise.
30485 * benchtests/bench-strcpy_chk.c: Likewise.
30486 * benchtests/bench-strlen.c: Likewise.
30487 * benchtests/bench-strncasecmp.c: Likewise.
30488 * benchtests/bench-strncat.c: Likewise.
30489 * benchtests/bench-strncmp.c: Likewise.
30490 * benchtests/bench-strncpy.c: Likewise.
30491 * benchtests/bench-strnlen.c: Likewise.
30492 * benchtests/bench-strpbrk.c: Likewise.
30493 * benchtests/bench-strrchr.c: Likewise.
30494 * benchtests/bench-strspn.c: Likewise.
30495 * benchtests/bench-strstr.c: Likewise.
30497 2013-09-04 Will Newton <will.newton@linaro.org>
30499 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30501 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30504 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30505 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30506 * math/libm-test.inc (lgamma_test_data): Add more tests.
30507 * sysdeps/i386/fpu/libm-test-ulps: Update.
30508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30510 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30512 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30516 Add strcmp-sse2-unaligned
30517 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30519 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30521 * Versions.def (libc): Add GLIBC_2.19.
30523 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30525 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30526 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30528 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30531 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30532 intermediate calculations in recurrence.
30533 (__ieee754_ynf): Likewise.
30534 * math/libm-test.inc (jn_test_data): Do not allow spurious
30535 underflow exception. Add more tests.
30536 (yn_test_data): Add more tests.
30537 * sysdeps/i386/fpu/libm-test-ulps: Update.
30538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30540 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30542 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30544 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30546 * csu/init-first.c: Fix then/than typos.
30547 * locale/programs/ld-collate.c: Likewise.
30548 * locale/programs/linereader.h: Likewise.
30549 * manual/charset.texi: Likewise.
30550 * manual/filesys.texi: Likewise.
30551 * manual/stdio.texi: Likewise.
30552 * manual/string.texi: Likewise.
30553 * stdlib/fmtmsg.c: Likewise.
30554 * sysdeps/i386/stpncpy.S: Likewise.
30555 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30556 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30557 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30558 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30560 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30562 * elf/dl-open.c: Fix typos.
30563 * iconvdata/gbbig5.c: Likewise.
30564 * iconvdata/iso-2022-jp.c: Likewise.
30565 * iconv/gconv_int.h: Likewise.
30566 * iconv/loop.c: Likewise.
30567 * nis/rpcsvc/nis.h: Likewise.
30568 * resolv/ns_name.c: Likewise.
30569 * stdio-common/vfscanf.c: Likewise.
30570 * streams/stropts.h: Likewise.
30571 * sunrpc/rpc_thread.c: Likewise.
30572 * sysdeps/i386/strpbrk.S: Likewise.
30573 * sysdeps/ieee754/k_standard.c: Likewise.
30574 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30576 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30577 * sysdeps/mach/hurd/profil.c: Likewise.
30578 * sysdeps/s390/dl-procinfo.h: Likewise.
30579 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30580 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30581 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30582 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30583 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30585 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30587 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30590 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30592 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30593 aix specific files.
30594 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30595 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30596 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30597 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30598 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30599 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30600 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30601 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30603 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30604 Roland McGrath <roland@hack.frob.com>
30606 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30607 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30609 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30611 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30612 __executable_start symbol instead of _start.
30614 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30616 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30617 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30619 * sysdeps/gnu/ldsodefs.h: ... this new file.
30621 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30622 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30623 instead of ELFOSABI_LINUX.
30625 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30626 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30627 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30628 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30630 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30631 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30632 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30634 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30635 (ibm_extended_long_double): Add ieee_nan member.
30636 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30637 (do_test): New function.
30639 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30641 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30642 functions, renamed from truncdfsf_test, trunctfsf_test,
30644 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30646 (do_test): Run all these.
30648 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30650 * argp/argp-help.c: Fix typos.
30651 * argp/argp-parse.c: Likewise.
30652 * debug/backtracesyms.c: Likewise.
30653 * elf/elf.h: Likewise.
30654 * malloc/malloc.c: Likewise.
30655 * nis/nis_print.c: Likewise.
30656 * resolv/res_comp.c: Likewise.
30657 * stdlib/stdlib.h: Likewise.
30658 * sunrpc/clnt_tcp.c: Likewise.
30659 * sunrpc/clnt_udp.c: Likewise.
30660 * sunrpc/clnt_unix.c: Likewise.
30661 * sysdeps/unix/bsd/ptsname.c: Likewise.
30662 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30663 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30670 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30672 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30674 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30677 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30680 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30681 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30682 ($(objpfx)bug-dl-leaf): New rule.
30683 ($(objpfx)bug-dl-leaf.so): Likewise.
30684 ($(objpfx)bug-dl-leaf.out): Likewise.
30685 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30686 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30687 * dlfcn/bug-dl-leaf.c: New test.
30688 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30689 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30690 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30691 (dlclose): Likewise.
30692 (dlmopen): Likewise.
30694 2013-08-27 Roland McGrath <roland@hack.frob.com>
30696 * include/netdb.h [!_ISOMAC]:
30697 Don't include <tls.h>.
30698 (h_errno, __libc_h_errno): Move declaration and macros out of
30701 * include/resolv.h [_RESOLV_H_]:
30702 Don't include <tls.h>.
30703 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30704 * resolv/res_libc.c: Don't include <tls.h>.
30705 (_res): Use __attribute__ ((nocommon)) in place of
30706 __attribute__ ((section (".bss"))).
30708 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30709 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30711 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30713 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30714 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30716 * resolv/res_mkquery.c: Include <sys/time.h>.
30718 * inet/ifreq.c: Moved to ...
30719 * sysdeps/unix/ifreq.c: ... here.
30720 * inet/ifreq.c: New file, true stub version.
30722 * socket/sa_len.c: New file.
30723 * socket/Makefile (aux): Add it.
30724 * sysdeps/unix/sysv/linux/Makefile
30725 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30726 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30727 and #include <socket/sa_len.c>.
30728 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30729 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30731 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30732 * bits/socket.h: ... here.
30734 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30735 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30736 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30738 2013-08-27 Andreas Schwab <schwab@suse.de>
30741 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30742 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30743 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30744 * string/test-strcasecmp.c (test_main): Run tests in several
30746 * string/test-strncasecmp.c (test_main): Likewise.
30748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30749 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30750 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30752 (__strncasecmp_ssse3) [PIC]: Likewise.
30754 2013-08-26 Roland McGrath <roland@hack.frob.com>
30756 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30758 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30759 instead of explicitly declaring xdecrypt.
30760 * nis/nss_nis/nis-publickey.c: Likewise.
30762 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30765 * nscd/aicache.c: Include res_hconf.h.
30766 (addhstaiX): Initialize res_hconf.
30768 2013-08-26 Andreas Schwab <schwab@suse.de>
30770 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30771 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30773 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30775 * nscd/aicache.c (addhstaiX): Fix indentation.
30777 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30779 * configure.ac: Quote $build_pt_chown test.
30780 * configure: Regenerated.
30782 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30785 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30786 * math/s_cexpf.c (__cexpf): Likewise.
30787 * math/s_cexpl.c (__cexpl): Likewise.
30788 * math/libm-test.inc (cexp_test_data): Correct expected return
30789 value for NaN + i0. Add another test.
30791 2013-08-22 David S. Miller <davem@davemloft.net>
30793 * po/ca.po: Update Catalan translation from translation project.
30794 * po/uk.po: Add Ukrainian translations from translation project.
30796 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30799 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30800 is infinite, not alongside NaN test.
30801 * math/s_fdimf.c (__fdimf): Likewise.
30802 * math/s_fdiml.c (__fdiml): Likewise.
30803 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30804 errno is unchanged.
30806 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30808 * argp/argp-help.c: Fix typos.
30809 * crypt/speeds.c: Likewise.
30810 * csu/check_fds.c: Likewise.
30811 * elf/dl-load.c: Likewise.
30812 * elf/dl-open.c: Likewise.
30813 * elf/reldep3.c: Likewise.
30814 * elf/reldep.c: Likewise.
30815 * elf/sprof.c: Likewise.
30816 * iconv/iconv_charmap.c: Likewise.
30817 * iconv/skeleton.c: Likewise.
30818 * iconv/strtab.c: Likewise.
30819 * io/lockf64.c: Likewise.
30820 * libio/libioP.h: Likewise.
30821 * resolv/gai_notify.c: Likewise.
30822 * resolv/ns_name.c: Likewise.
30823 * resolv/ns_samedomain.c: Likewise.
30824 * resolv/res_send.c: Likewise.
30825 * stdlib/random.c: Likewise.
30826 * sunrpc/rpc/xdr.h: Likewise.
30827 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30829 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30830 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30831 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30835 * sysdeps/mach/hurd/check_fds.c: Likewise.
30836 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30837 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30839 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30840 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30841 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30842 * sysdeps/pthread/aio_notify.c: Likewise.
30843 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30844 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30845 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30846 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30847 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30849 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30851 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30852 version if bit_Slow_SSE4_2 is set.
30853 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30856 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30859 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30860 trampoline stack frame information.
30861 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30862 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30863 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30864 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30865 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30866 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30867 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30868 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30870 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30871 interrupting a syscall and set with option SA_SIGINFO.
30873 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30876 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30877 argument is infinite.
30878 * math/s_cprojf.c (__cprojf): Likewise.
30879 * math/s_cprojl.c (__cprojl): Likewise.
30880 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30881 * math/libm-test.inc (cproj_test_data): Add more tests.
30883 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30885 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30886 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30887 size. Use __ffs to determine corresponding shift.
30889 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30890 Roland McGrath <roland@hack.frob.com>
30892 * Makefile (INSTALL): Remove trailing blank lines from output of
30895 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30897 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30898 Align 32 bit compat elf_greg to 8 bytes.
30900 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30902 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30904 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30906 * string/strcoll_l.c (coll_seq): New structure.
30907 (get_next_seq_cached): New function.
30908 (get_next_seq): New function.
30909 (do_compare): New function.
30910 (STRCOLL): Use GNU style definition. Simplify implementation
30911 by using get_next_seq, get_next_seq_cached and do_compare.
30913 2013-08-16 Florian Weimer <fweimer@redhat.com>
30917 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30919 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30921 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30922 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30923 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30925 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30926 GETDENTS_64BIT_ALIGNED.
30927 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30928 * manual/filesys.texi (Reading/Closing Directory): Document
30929 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30931 * manual/conf.texi (Limits for Files): Add portability note to
30932 NAME_MAX, PATH_MAX.
30933 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30935 2013-08-13 Andreas Schwab <schwab@suse.de>
30938 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30940 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30941 LDBL_MAX_EXP >= 16384]: Add tests for it.
30943 2013-08-12 David S. Miller <davem@davemloft.net>
30945 * version.h (RELEASE): Set to "development".
30946 (VERSION): Set to "2.18.90".
30947 * NEWS: Add 2.19 section.
30949 2013-08-03 David S. Miller <davem@davemloft.net>
30951 * po/ko.po: Update Korean translation from translation project.
30953 2013-08-01 David S. Miller <davem@davemloft.net>
30955 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30956 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30959 2013-07-30 David S. Miller <davem@davemloft.net>
30961 * po/fr.po: Update French translation from translation project.
30963 2013-07-28 David S. Miller <davem@davemloft.net>
30965 * po/cs.po: Update Czech translation from translation project.
30967 * po/sv.po: Update Swedish translation from translation project.
30969 2013-07-27 David S. Miller <davem@davemloft.net>
30971 * po/eo.po: Update Esperanto translation from translation project.
30973 * po/vi.po: Update Vietnamese translation from translation project.
30975 * po/de.po: Update German translation from translation project.
30977 2013-07-26 David S. Miller <davem@davemloft.net>
30979 * po/bg.po: Update Bulgarian translation from translation project.
30981 * po/nl.po: Update Dutch translation from translation project.
30982 * po/pl.po: Update Polish translation from translation project.
30983 * po/ru.po: Update Russian translation from translation project.
30985 2013-07-24 David S. Miller <davem@davemloft.net>
30987 * po/libc.pot: Update.
30989 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30991 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30992 variable page size.
30993 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30994 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30995 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30997 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30999 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31001 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31002 Andreas Schwab <schwab@suse.de>
31003 Roland McGrath <roland@hack.frob.com>
31004 Joseph Myers <joseph@codesourcery.com>
31005 Carlos O'Donell <carlos@redhat.com>
31008 * config.h.in: Define HAVE_PT_CHOWN.
31009 * config.make.in (build-pt-chown): New variable.
31010 * configure.in (--enable-pt_chown): New configure option.
31011 * configure: Regenerate.
31012 * login/Makefile: Include Makeconfig. Build pt_chown only if
31013 build-pt-chown is enabled.
31014 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31015 pt_chown to fix pty ownership.
31016 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31018 * manual/install.texi (Configuring and compiling): Mention
31019 --enable-pt_chown. Add @findex for grantpt.
31020 * INSTALL: Regenerate.
31022 2013-07-20 David S. Miller <davem@davemloft.net>
31024 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31025 difference between 32-bit and 64-bit.
31027 2013-07-15 Carlos O'Donell <carlos@redhat.com>
31030 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31031 Avoid system header dependency with -ffreestanding.
31032 ($(objpfx)bits/syscall%d): Likewise.
31034 2013-07-13 David S. Miller <davem@davemloft.net>
31036 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31037 underflows from atanl/atan2l due to bug 15319.
31038 (casinh_test_data): Likewise.
31040 2013-07-07 David S. Miller <davem@davemloft.net>
31042 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31044 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
31046 * sysdeps/i386/fpu/libm-test-ulps: Update.
31047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31049 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31051 * configure.in (--enable-lock-elision): Fix message text.
31052 * INSTALL: Regenerate.
31053 * configure: Regenerate.
31055 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31059 2013-07-03 Andreas Jaeger <aj@suse.de>
31061 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31063 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31064 (ptrace_peeksiginfo_args): Add.
31065 (__ptrace_peeksiginfo_flags): Add.
31066 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31067 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31070 2013-07-03 Allan McRae <allan@archlinux.org>
31072 * sysdeps/i386/fpu/libm-test-ulps: Update.
31074 2013-07-02 David S. Miller <davem@davemloft.net>
31076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31078 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
31080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31082 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31084 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31087 2013-07-02 Andi Kleen <ak@linux.intel.com>
31089 * config.h.in (ENABLE_LOCK_ELISION): Add.
31090 * configure.in (--enable-lock-elision): Add option.
31091 * manual/install.texi: Document --enable lock elision.
31092 * configure: Regenerate
31093 * INSTALL: Regenerate.
31095 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
31097 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31098 SSE4.2 strcasecmp for libc.a.
31099 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31101 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31104 * soft-fp/op-common.h (_FP_FMA): New macro.
31105 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31106 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
31107 (_FP_MUL_MEAT_1_imm): ... here.
31108 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
31109 (_FP_MUL_MEAT_1_wide): ... here.
31110 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
31111 (_FP_MUL_MEAT_1_hard): ... here.
31112 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31113 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
31114 (_FP_MUL_MEAT_2_wide): ... here.
31115 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
31116 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31117 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
31118 (_FP_MUL_MEAT_2_gmp): ... here.
31119 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31120 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
31121 (_FP_MUL_MEAT_4_wide): ... here.
31122 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
31123 (_FP_MUL_MEAT_4_gmp): ... here.
31124 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31125 (_FP_WFRACBITS_DW_S): Likewise.
31126 (_FP_WFRACXBITS_DW_S): Likewise.
31127 (_FP_HIGHBIT_DW_S): Likewise.
31128 (FP_FMA_S): Likewise.
31129 (_FP_FRAC_HIGH_DW_S): Likewise.
31130 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31131 (_FP_WFRACBITS_DW_D): Likewise.
31132 (_FP_WFRACXBITS_DW_D): Likewise.
31133 (_FP_HIGHBIT_DW_D): Likewise.
31134 (FP_FMA_D): Likewise.
31135 (_FP_FRAC_HIGH_DW_D): Likewise.
31136 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31137 (_FP_WFRACBITS_DW_E): Likewise.
31138 (_FP_WFRACXBITS_DW_E): Likewise.
31139 (_FP_HIGHBIT_DW_E): Likewise.
31140 (FP_FMA_E): Likewise.
31141 (_FP_FRAC_HIGH_DW_E): Likewise.
31142 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31143 (_FP_WFRACBITS_DW_Q): Likewise.
31144 (_FP_WFRACXBITS_DW_Q): Likewise.
31145 (_FP_HIGHBIT_DW_Q): Likewise.
31146 (FP_FMA_Q): Likewise.
31147 (_FP_FRAC_HIGH_DW_Q): Likewise.
31148 * soft-fp/fmasf4.c: New file.
31149 * soft-fp/fmadf4.c: Likewise.
31150 * soft-fp/fmatf4.c: Likewise.
31152 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31155 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31157 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31159 (index_Slow_SSE4_2): Likewise.
31160 (index_Prefer_PMINUB_for_stringop): Likewise.
31161 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31162 bit_Slow_SSE4_2 is set.
31163 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31164 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31166 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31168 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31169 rtld_global._dl_hwcap2.
31170 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31172 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31173 POWER8 feature descriptions defined in _dl_hwcap2.
31174 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31175 string handling for POWER8 feature bits.
31176 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31177 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31178 _dl_powerpc_cap_flags.
31179 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31180 * sysdeps/powerpc/rtld-global-offsets.sym
31181 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31182 _dl_hwcap2 in the rtld_global_ro structure.
31184 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31186 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31187 hardware capabilities in support of AT_HWCAP2.
31188 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31189 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31191 (_dl_show_auxv): Add support for calling _dl_procinfo to display
31192 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
31193 explicitly the unknown a_type display mechanism is used.
31194 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31195 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31197 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31198 to macro prototype for AT_HWCAP2 support.
31199 * sysdeps/i386/dl-procinfo.h: Likewise.
31200 * sysdeps/s390/dl-procinfo.h: Likewise.
31201 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31202 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
31203 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
31204 return -1 for unknown a_type display fallback.
31205 * sysdeps/sparc/dl-procinfo.h: Likewise.
31206 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31207 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31209 2013-06-28 Joseph Myers <joseph@codesourcery.com>
31211 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31212 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31214 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
31217 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31218 mprotect making __stack_prot writable.
31220 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
31221 Joseph Myers <joseph@codesourcery.com>
31223 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31224 as being properly aligned.
31226 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
31228 * dlfcn/modstatic5.c: New file.
31229 * dlfcn/tststatic5.c: New file.
31230 * dlfcn/Makefile (tests): Add tststatic5.
31231 (tests-static): Likewise.
31232 (modules-names): Add modstatic5.
31233 (tststatic5-ENV): New variable.
31234 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31237 * elf/dl-support.c (_dl_main_map): New variable.
31238 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31239 (_dl_nns, _dl_load_adds): Set to 1.
31240 (_dl_initial_searchlist): Refer to _dl_main_map.
31241 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31242 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31243 call to _dl_get_origin.
31244 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31246 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31247 * dlfcn/modstatic3.c: New file.
31248 * dlfcn/tststatic3.c: New file.
31249 * dlfcn/tststatic4.c: New file.
31250 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31251 (tests-static): Likewise.
31252 (modules-names): Add modstatic3.
31253 (tststatic3-ENV, tststatic4-ENV): New variables.
31254 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31255 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31257 2013-06-26 Joseph Myers <joseph@codesourcery.com>
31259 * configure.in (CC): Require GCC version 4.4 or later.
31260 * configure: Regenerated.
31261 * manual/install.texi (Tools for Compilation): Update GCC version
31263 * INSTALL: Regenerated.
31265 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31268 * string/test-memcmp.c (check2): New.
31269 (main): Call check2.
31271 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31273 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
31276 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31278 (dl_open_worker) [!SHARED]: ... here.
31280 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31282 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31284 2013-06-25 Richard Henderson <rth@redhat.com>
31286 * locale/programs/locarchive.c: Include <libc-internal.h>
31288 2013-06-25 Joseph Myers <joseph@codesourcery.com>
31290 * manual/texinfo.tex: Update to version 2013-06-21.17, with
31291 trailing whitespace removed.
31293 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31296 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31297 * locale/programs/locarchive.c: Include libc-mmap.h.
31298 (prepare_address_space): Take two new outputs (the mmap base and len).
31299 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
31301 (create_archive): Declare new mmap base and len values for
31302 prepare_address_space, and store the result in ah.
31303 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31304 (enlarge_archive): If ah->mmap_base is not NULL, use that and
31305 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31306 Declare new mmap base and len values for
31307 prepare_address_space, and store the result in new_ah.
31308 (open_archive): Declare new mmap base and len values for
31309 prepare_address_space, and store the result in ah.
31310 (close_archive): If ah->mmap_base is not NULL, use that and
31311 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31312 * sysdeps/generic/libc-mmap.h: New file.
31314 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31316 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31317 (ALIGN_UP): Likewise.
31318 (PTR_ALIGN_DOWN): Likewise.
31319 (PTR_ALIGN_UP): Likewise.
31321 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31323 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31324 entry mapped to PPC_PLATFORM_POWER8.
31325 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31327 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31328 (_dl_string_platform): Add case for exporting platform position for
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31331 search path to sysdeps/powerpc/powerpc32/power8 directory.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31333 search path to sysdeps/powerpc/powerpc64/power8 directory.
31334 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31335 power7 directories.
31336 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31337 power7 directories.
31339 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31341 * INSTALL: Regenerate.
31343 * nscd/connections.c (nscd_init): Fix comment.
31345 2013-06-22 Joseph Myers <joseph@codesourcery.com>
31347 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31350 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31351 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31353 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31355 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31357 (DL_DST_REQ_STATIC): Remove macro.
31359 2013-06-21 Joseph Myers <joseph@codesourcery.com>
31362 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31363 with a shift of 0 bits.
31365 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31367 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31370 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31373 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31375 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31377 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31378 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31379 accepts -fno-tree-loop-distribute-patterns.
31380 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31381 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31383 * string/memset.c (memset): Likewise.
31384 * string/test-memmove.c (simple_memmove): Disable loop transformation
31386 * string/test-memset.c (simple_memset): Likewise.
31387 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31388 * benchtests/bench-memset.c (simple_memset): Likewise.
31389 * configure: Regenerated.
31391 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31393 * math/test-misc.c (main): Ignore fesetround failure when failures
31394 of subsequent rounding tests would be ignored.
31397 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31398 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31399 * math/fegetenv.c (__fegetenv): Return 0.
31400 * math/fegetexcept.c (fegetexcept): Return 0.
31401 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31403 * math/feholdexcpt.c (feholdexcept): Return 0.
31404 * math/fesetenv.c (__fesetenv): Return 0.
31405 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31406 argument FE_TONEAREST.
31407 * math/feupdateenv.c (__feupdateenv): Return 0.
31408 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31410 2013-06-18 Roland McGrath <roland@hack.frob.com>
31412 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31413 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31414 ($(objpfx)rtld-%.os rules): Use them.
31416 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31418 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31421 2013-06-17 Roland McGrath <roland@hack.frob.com>
31423 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31424 length of target pattern, then descending length of dependency pattern.
31425 * configure.in (AWK): Require gawk 3.1.2 or newer.
31426 * manual/install.texi (Tools for Compilation): Say that we do.
31427 * configure: Regenerated.
31429 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31430 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31431 * scripts/sysd-rules.awk: ... this new script.
31432 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31433 than a glob-style pattern.
31435 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31437 * math/test-misc.c (main): Do not treat incorrectly rounded
31438 conversions as failure unless ROUNDING_TESTS passes.
31440 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31443 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31444 restore exception state around main square root computation, then
31445 check for inexactness explicitly.
31447 * math/libm-test.inc (fma_test_data): Add another test.
31449 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31451 * manual/threads.texi (Non-POSIX Extensions): New document
31452 node. Document pthread_getattr_default_np and
31453 pthread_setattr_default_np.
31455 * Versions.def (libpthread): Add GLIBC_2.18.
31456 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31465 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31476 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31479 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31481 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31482 H.J. Lu <hjl.tools@gmail.com>
31485 * sysdeps/x86_64/rtld-memset.c: Remove file.
31486 * sysdeps/x86_64/rtld-memset.S: New file.
31488 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31490 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31491 (test_in_one_mode): Take arguments for whether the rounding mode
31492 is supported for each floating-point type.
31493 (do_test): Pass new arguments to test_in_one_mode using
31496 2013-06-13 Roland McGrath <roland@hack.frob.com>
31498 * posix/tst-waitid.c (do_test): Distinguish different instances of
31499 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31500 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31501 before entering the kernel for waitpid.
31503 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31505 * NEWS: Fix note on clock function precision. Text by Roland
31508 2013-06-13 Roland McGrath <roland@hack.frob.com>
31510 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31511 it into place only when and if the sanity check passes.
31513 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31515 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31516 output for whether conversion result is exact. Take argument
31517 indicating whether type is IBM long double.
31518 (round_for_all): Change need_exact field to ibm_ld.
31519 * stdlib/tst-strtod-round.c (struct exactness): New type.
31520 (struct test): Change bool ld_ok field to struct exactness exact.
31521 (TEST): Update all definitions for change to field.
31522 (tests): Regenerate array contents.
31523 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31524 field value. Check for IBM long double here.
31525 (do_test): Update calls to test_in_one_mode.
31527 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31530 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31531 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31533 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31536 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31537 generated by the compiler on loop optimizations.
31538 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31539 general definitions.
31541 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31543 * math/bug-nextafter.c: Include <math-tests.h>.
31544 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31546 * math/bug-nexttoward.c: Include <math-tests.h>.
31547 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31549 * math/test-misc.c: Include <math-tests.h>.
31550 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31553 2013-06-12 Andreas Jaeger <aj@suse.de>
31555 * po/ia.po: Update Interlingua translation from translation
31558 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31560 * include/fenv.h: Include stdbool.h.
31561 (struct rm_ctx): New structure.
31562 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31564 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31565 (SET_RESTORE_ROUNDF): Likewise.
31566 (SET_RESTORE_ROUNDL): Likewise.
31567 (SET_RESTORE_ROUND_NOEX): Likewise.
31568 (SET_RESTORE_ROUND_NOEXF): Likewise.
31569 (SET_RESTORE_ROUND_NOEXL): Likewise.
31570 (SET_RESTORE_ROUND_53BIT): Likewise.
31571 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31572 (libc_feresetround_noexf_ctx): Likewise.
31573 (libc_feresetround_noexl_ctx): Likewise.
31574 (libc_feholdsetround_53bit_ctx): Likewise.
31575 (libc_feresetround_53bit_ctx): Likewise.
31576 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31577 (libc_feholdexcept_setround_sse_ctx): New function.
31578 (libc_fesetenv_sse_ctx): Likewise.
31579 (libc_feupdateenv_sse_ctx): Likewise.
31580 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31581 (libc_feholdexcept_setround_387_ctx): Likewise.
31582 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31583 (libc_feholdsetround_387_prec_ctx): Likewise.
31584 (libc_feholdsetround_387_ctx): Likewise.
31585 (libc_feholdsetround_387_53bit_ctx): Likewise.
31586 (libc_feholdsetround_sse_ctx): Likewise.
31587 (libc_feresetround_sse_ctx): Likewise.
31588 (libc_feresetround_387_ctx): Likewise.
31589 (libc_feupdateenv_387_ctx): Likewise.
31590 (libc_feholdexcept_setroundf_ctx): Define macro.
31591 (libc_fesetenvf_ctx): Likewise.
31592 (libc_feupdateenvf_ctx): Likewise.
31593 (libc_feholdsetroundf_ctx): Likewise.
31594 (libc_feresetroundf_ctx): Likewise.
31595 (libc_feholdexcept_setround_ctx): Likewise.
31596 (libc_fesetenv_ctx): Likewise.
31597 (libc_feupdateenv_ctx): Likewise.
31598 (libc_feholdsetround_ctx): Likewise.
31599 (libc_feresetround_ctx): Likewise.
31600 (libc_feholdexcept_setroundl_ctx): Likewise.
31601 (libc_feupdateenvl_ctx): Likewise.
31602 (libc_feholdsetroundl_ctx): Likewise.
31603 (libc_feresetroundl_ctx): Likewise.
31604 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31605 (libc_feresetround_53bit_ctx): Likewise.
31607 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31609 * locale/iso-639.def: Convert to UTF-8.
31611 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31613 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31614 (EXCEPTION_TESTS_double): Likewise.
31615 (EXCEPTION_TESTS_long_double): Likewise.
31616 (EXCEPTION_TESTS): Likewise.
31617 * math/libm-test.inc (test_exceptions): Only test exceptions if
31618 EXCEPTION_TESTS (FLOAT).
31620 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31622 * benchtests/Makefile (string-bench): Add strcpy_chk and
31624 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31625 * benchtests/bench-stpcpy_chk.c: New file.
31626 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31627 * benchtests/bench-strcpy_chk.c: New file.
31628 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31630 (do_test): Likewise.
31632 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31634 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31635 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31636 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31637 with tabs where appropriate.
31638 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31640 [PPC_PLATFORM_PPC440]: Likewise.
31641 [PPC_PLATFORM_PPC464]: Likewise.
31642 [PPC_PLATFORM_PPC476]: Likewise.
31643 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31644 ppc464, and ppc476 platform strings merging from ports/
31647 2013-06-11 Andreas Schwab <schwab@suse.de>
31650 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31651 (from_ucs4_idx): Regenerate.
31652 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31653 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31654 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31655 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31656 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31657 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31658 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31659 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31660 from FROM_LOOP and TO_LOOP specific macros.
31661 (BODY): Handle combining characters.
31662 * iconvdata/BIG5HKSCS.irreversible: Update.
31663 * iconvdata/BIG5HKSCS.precomposed: New file.
31664 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31666 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31668 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31670 * include/sys/time.h: Fix indentation and add copyright header.
31672 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31673 (do_test): Likewise.
31674 * string/test-memchr.c (do_one_test): Likewise.
31675 (do_test): Likewise.
31676 * string/test-memcmp.c (do_one_test): Likewise.
31677 (do_test): Likewise.
31678 * string/test-memcpy.c (do_one_test): Likewise.
31679 (do_test): Likewise.
31680 * string/test-memmem.c (do_one_test): Likewise.
31681 (do_test): Likewise.
31682 (do_random_tests): Likewise.
31683 * string/test-memmove.c (do_one_test): Likewise.
31684 (do_test): Likewise.
31685 * string/test-memset.c (do_one_test): Likewise.
31686 (do_test): Likewise.
31687 * string/test-rawmemchr.c (do_one_test): Likewise.
31688 (do_test): Likewise.
31689 * string/test-strcasecmp.c (do_one_test): Likewise.
31690 (do_test): Likewise.
31691 * string/test-strcasestr.c (do_one_test): Likewise.
31692 (do_test): Likewise.
31693 * string/test-strcat.c (do_one_test): Likewise.
31694 (do_test): Likewise.
31695 * string/test-strchr.c (do_one_test): Likewise.
31696 (do_test): Likewise.
31697 * string/test-strcmp.c (do_one_test): Likewise.
31698 (do_test): Likewise.
31699 * string/test-strcpy.c (do_one_test): Likewise.
31700 (do_test): Likewise.
31701 * string/test-string.h: Likewise.
31702 (test_init): Likewise.
31703 * string/test-strlen.c (do_one_test): Likewise.
31704 (do_test): Likewise.
31705 * string/test-strncasecmp.c (do_one_test): Likewise.
31706 (do_test): Likewise.
31707 * string/test-strncat.c (do_one_test): Likewise.
31708 (do_test): Likewise.
31709 * string/test-strncmp.c (do_one_test): Likewise.
31710 (do_test_limit): Likewise.
31711 (do_test): Likewise.
31712 * string/test-strncpy.c (do_one_test): Likewise.
31713 (do_test): Likewise.
31714 * string/test-strnlen.c (do_one_test): Likewise.
31715 (do_test): Likewise.
31716 * string/test-strpbrk.c (do_one_test): Likewise.
31717 (do_test): Likewise.
31718 * string/test-strrchr.c (do_one_test): Likewise.
31719 (do_test): Likewise.
31720 * string/test-strspn.c (do_one_test): Likewise.
31721 (do_test): Likewise.
31722 * string/test-strstr.c (do_one_test): Likewise.
31723 (do_test): Likewise.
31725 * benchtests/Makefile (string-bench): Add string benchmarks.
31726 * benchtests/bench-bcopy-ifunc.c: New file.
31727 * benchtests/bench-bcopy.c: New file.
31728 * benchtests/bench-bzero-ifunc.c: New file.
31729 * benchtests/bench-bzero.c: New file.
31730 * benchtests/bench-memccpy-ifunc.c: New file.
31731 * benchtests/bench-memccpy.c: New file.
31732 * benchtests/bench-memchr-ifunc.c: New file.
31733 * benchtests/bench-memchr.c: New file.
31734 * benchtests/bench-memcmp-ifunc.c: New file.
31735 * benchtests/bench-memcmp.c: New file.
31736 * benchtests/bench-memmem-ifunc.c: New file.
31737 * benchtests/bench-memmem.c: New file.
31738 * benchtests/bench-memmove-ifunc.c: New file.
31739 * benchtests/bench-memmove.c: New file.
31740 * benchtests/bench-mempcpy-ifunc.c: New file.
31741 * benchtests/bench-mempcpy.c: New file.
31742 * benchtests/bench-memset-ifunc.c: New file.
31743 * benchtests/bench-memset.c: New file.
31744 * benchtests/bench-rawmemchr-ifunc.c: New file.
31745 * benchtests/bench-rawmemchr.c: New file.
31746 * benchtests/bench-stpcpy-ifunc.c: New file.
31747 * benchtests/bench-stpcpy.c: New file.
31748 * benchtests/bench-stpncpy-ifunc.c: New file.
31749 * benchtests/bench-stpncpy.c: New file.
31750 * benchtests/bench-strcasecmp-ifunc.c: New file.
31751 * benchtests/bench-strcasecmp.c: New file.
31752 * benchtests/bench-strcasestr-ifunc.c: New file.
31753 * benchtests/bench-strcasestr.c: New file.
31754 * benchtests/bench-strcat-ifunc.c: New file.
31755 * benchtests/bench-strcat.c: New file.
31756 * benchtests/bench-strchr-ifunc.c: New file.
31757 * benchtests/bench-strchr.c: New file.
31758 * benchtests/bench-strchrnul-ifunc.c: New file.
31759 * benchtests/bench-strchrnul.c: New file.
31760 * benchtests/bench-strcmp-ifunc.c: New file.
31761 * benchtests/bench-strcmp.c: New file.
31762 * benchtests/bench-strcpy-ifunc.c: New file.
31763 * benchtests/bench-strcpy.c: New file.
31764 * benchtests/bench-strcspn-ifunc.c: New file.
31765 * benchtests/bench-strcspn.c: New file.
31766 * benchtests/bench-strlen-ifunc.c: New file.
31767 * benchtests/bench-strlen.c: New file.
31768 * benchtests/bench-strncasecmp-ifunc.c: New file.
31769 * benchtests/bench-strncasecmp.c: New file.
31770 * benchtests/bench-strncat-ifunc.c: New file.
31771 * benchtests/bench-strncat.c: New file.
31772 * benchtests/bench-strncmp-ifunc.c: New file.
31773 * benchtests/bench-strncmp.c: New file.
31774 * benchtests/bench-strncpy-ifunc.c: New file.
31775 * benchtests/bench-strncpy.c: New file.
31776 * benchtests/bench-strnlen-ifunc.c: New file.
31777 * benchtests/bench-strnlen.c: New file.
31778 * benchtests/bench-strpbrk-ifunc.c: New file.
31779 * benchtests/bench-strpbrk.c: New file.
31780 * benchtests/bench-strrchr-ifunc.c: New file.
31781 * benchtests/bench-strrchr.c: New file.
31782 * benchtests/bench-strspn-ifunc.c: New file.
31783 * benchtests/bench-strspn.c: New file.
31784 * benchtests/bench-strstr-ifunc.c: New file.
31785 * benchtests/bench-strstr.c: New file.
31787 * benchtests/Makefile: Disable parallel execution of targets.
31788 (string-bench): Add memcpy.
31789 (benchset): New variable to store a list of benchmark sets.
31790 (bench-func): Renamed from bench.
31791 (bench-set): New target.
31792 (bench): Depend on bench-func and bench-set.
31793 * benchtests/README: Add section on benchmark sets.
31794 * benchtests/bench-memcpy-ifunc.c: New file.
31795 * benchtests/bench-memcpy.c: New file.
31796 * benchtests/bench-string.h: New file.
31798 2013-06-11 Andreas Schwab <schwab@suse.de>
31801 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31802 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31803 values in the triple.
31804 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31805 terminator in the group key.
31807 2013-06-11 Andreas Jaeger <aj@suse.de>
31809 * po/zh_TW.po: Update Chinese (traditional) translation from
31810 translation project.
31812 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31814 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31815 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31816 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31817 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31818 (clock_getcpuclockid): Likewise.
31819 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31820 Add weak_alias and libc_hidden_def.
31821 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31822 * rt/clock_gettime.c (clock_gettime): Rename to
31823 __clock_gettime. Add weak_alias and libc_hidden_def.
31824 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31825 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31826 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31827 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31828 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31830 * rt/clock_settime.c (clock_settime): Rename to
31831 __clock_settime. Add weak_alias and libc_hidden_def.
31832 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31834 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31836 * mach/err_boot.sub: Remove trailing whitespace.
31837 * mach/err_ipc.sub: Likewise.
31838 * mach/err_mach.sub: Likewise.
31840 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31841 (ROUNDING_TESTS_double): Likewise.
31842 (ROUNDING_TESTS_long_double): Likewise.
31843 (ROUNDING_TESTS): Likewise.
31844 * math/libm-test.inc: Include <math-tests.h>.
31845 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31846 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31847 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31848 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31850 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31852 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31855 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31857 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31858 otherwise empty TRANS lines.
31859 * sysdeps/gnu/errlist.c: Regenerated.
31861 * catgets/gencat.c (error_print): Use (void) in function
31863 * crypt/crypt_util.c (__init_des): Likewise.
31864 * crypt/speeds.c (Stop): Likewise.
31866 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31867 * inet/ruserpass.c (token): Likewise.
31868 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31869 * intl/localealias.c (extend_alias_table): Likewise.
31870 * intl/plural-exp.c (init_germanic_plural): Likewise.
31871 * libio/fcloseall.c (__fcloseall): Likewise.
31872 * libio/genops.c (_IO_flush_all): Likewise.
31873 (_IO_flush_all_linebuffered): Likewise.
31874 (_IO_cleanup): Likewise.
31875 (_IO_iter_begin): Likewise.
31876 (_IO_iter_end): Likewise.
31877 (_IO_list_lock): Likewise.
31878 (_IO_list_unlock): Likewise.
31879 (_IO_list_resetlock): Likewise.
31880 * libio/getchar.c (getchar): Likewise.
31881 * libio/getchar_u.c (getchar_unlocked): Likewise.
31882 * libio/getwchar.c (getwchar): Likewise.
31883 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31884 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31885 * login/getpt.c (__getpt): Likewise.
31886 * login/tst-utmp.c (main): Likewise.
31887 * malloc/hooks.c (__malloc_check_init): Likewise.
31888 * malloc/malloc.c (__malloc_stats): Likewise.
31889 * malloc/mtrace.c (tr_break): Likewise.
31890 (mtrace): Likewise.
31891 (muntrace): Likewise.
31892 * misc/fstab.c (endfsent): Likewise.
31893 * misc/getclktck.c (__getclktck): Likewise.
31894 * misc/getdtsz.c (__getdtablesize): Likewise.
31895 * misc/gethostid.c (gethostid): Likewise.
31896 * misc/getpagesize.c (__getpagesize): Likewise.
31897 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31898 (__get_nprocs): Likewise.
31899 (__get_phys_pages): Likewise.
31900 (__get_avphys_pages): Likewise.
31901 * misc/getttyent.c (getttyent): Likewise.
31902 (setttyent): Likewise.
31903 (endttyent): Likewise.
31904 * misc/getusershell.c (getusershell): Likewise.
31905 (endusershell): Likewise.
31906 (setusershell): Likewise.
31907 (initshells): Likewise.
31908 * misc/hsearch.c (__hdestroy): Likewise.
31909 * misc/sync.c (sync): Likewise.
31910 * misc/syslog.c (closelog_internal): Likewise.
31911 (closelog): Likewise.
31912 * misc/ttyslot.c (ttyslot): Likewise.
31913 * misc/vhangup.c (vhangup): Likewise.
31914 * posix/fork.c (__fork): Likewise.
31915 * posix/getegid.c (__getegid): Likewise.
31916 * posix/geteuid.c (__geteuid): Likewise.
31917 * posix/getgid.c (__getgid): Likewise.
31918 * posix/getpid.c (__getpid): Likewise.
31919 * posix/getppid.c (__getppid): Likewise.
31920 * posix/getuid.c (__getuid): Likewise.
31921 * posix/pause.c (pause): Likewise.
31922 * posix/setpgrp.c (setpgrp): Likewise.
31923 * posix/setsid.c (__setsid): Likewise.
31924 * posix/test-vfork.c (noop): Likewise.
31925 * resolv/gethnamaddr.c (_endhtent): Likewise.
31926 (_gethtent): Likewise.
31927 (ht_endhostent): Likewise.
31928 (gethostent): Likewise.
31929 (dns_service): Likewise.
31930 * stdlib/drand48.c (drand48): Likewise.
31931 * stdlib/lrand48.c (lrand48): Likewise.
31932 * stdlib/mrand48.c (mrand48): Likewise.
31933 * stdlib/rand.c (rand): Likewise.
31934 * stdlib/random.c (__random): Likewise.
31935 * stdlib/setenv.c (clearenv): Likewise.
31936 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31937 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31938 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31939 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31940 (__get_nprocs): Likewise.
31941 (__get_phys_pages): Likewise.
31942 (__get_avphys_pages): Likewise.
31943 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31944 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31945 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31946 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31947 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31948 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31949 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31950 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31951 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31952 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31953 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31954 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31955 * sysdeps/posix/clock.c (clock): Likewise.
31956 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31957 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31958 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31959 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31960 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31962 (__get_nprocs_conf): Likewise.
31963 (__get_phys_pages): Likewise.
31964 (__get_avphys_pages): Likewise.
31965 * time/clock.c (clock): Likewise.
31966 * time/tzset.c (__tzname_max): Likewise.
31968 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31970 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31971 (__bswap_32): Do not use "register".
31972 * crypt/crypt.c (_ufc_doit_r): Likewise.
31973 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31974 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31975 * gmon/gmon.c (__monstartup): Likewise.
31976 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31977 * hurd/hurdmalloc.c (more_memory): Likewise.
31978 (malloc): Likewise.
31980 (realloc): Likewise.
31981 (malloc_fork_prepare): Likewise.
31982 (malloc_fork_parent): Likewise.
31983 (malloc_fork_child): Likewise.
31984 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31985 (_svcauth_des): Likewise.
31986 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31987 * inet/inet_net.c (inet_network): Likewise.
31988 * inet/inet_netof.c (inet_netof): Likewise.
31989 * inet/rcmd.c (__validuser2_sa): Likewise.
31990 * io/fts.c (fts_open): Likewise.
31991 (fts_load): Likewise.
31992 (fts_close): Likewise.
31993 (fts_read): Likewise.
31994 (fts_children): Likewise.
31995 (fts_build): Likewise.
31996 (fts_stat): Likewise.
31997 (fts_sort): Likewise.
31998 (fts_alloc): Likewise.
31999 (fts_lfree): Likewise.
32000 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32001 (_IO_file_xsgetn): Likewise.
32002 (_IO_file_xsgetn_mmap): Likewise.
32003 * libio/iofopncook.c (_IO_cookie_read): Likewise.
32004 (_IO_cookie_write): Likewise.
32005 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32006 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32007 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32008 * malloc/obstack.c (_obstack_begin): Likewise.
32009 (_obstack_begin_1): Likewise.
32010 (_obstack_newchunk): Likewise.
32011 (_obstack_allocated_p): Likewise.
32012 (obstack_free): Likewise.
32013 (_obstack_memory_used): Likewise.
32014 * misc/getttyent.c (getttynam): Likewise.
32015 (getttyent): Likewise.
32018 * misc/getusershell.c (initshells): Likewise.
32019 * misc/syslog.c (__vsyslog_chk): Likewise.
32020 * misc/ttyslot.c (ttyslot): Likewise.
32021 * nis/nis_hash.c (__nis_hash): Likewise.
32022 * posix/fnmatch_loop.c (FCT): Likewise.
32023 * posix/getconf.c (print_all): Likewise.
32025 * posix/getopt.c (exchange): Likewise.
32026 * posix/glob.c (globfree): Likewise.
32027 (prefix_array): Likewise.
32028 (__glob_pattern_type): Likewise.
32029 * resolv/arpa/nameser.h (NS_GET16): Likewise.
32030 (NS_GET32): Likewise.
32031 (NS_PUT16): Likewise.
32032 (NS_PUT32): Likewise.
32033 * resolv/gethnamaddr.c (getanswer): Likewise.
32034 (gethostbyname2): Likewise.
32035 (gethostbyaddr): Likewise.
32036 (_gethtent): Likewise.
32037 (_gethtbyname2): Likewise.
32038 (_gethtbyaddr): Likewise.
32039 * resolv/ns_print.c (dst_s_get_int16): Likewise.
32040 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32041 * resolv/res_init.c (__res_vinit): Likewise.
32042 (net_mask): Likewise.
32043 * resolv/res_mkquery.c (outchar): Likewise.
32045 * stdio-common/printf_fp.c (outchar): Likewise.
32047 * stdio-common/printf_fphex.c (outchar): Likewise.
32049 * stdio-common/printf_size.c (outchar): Likewise.
32051 * stdio-common/test_rdwr.c (main): Likewise.
32052 * stdio-common/tfformat.c (matches): Likewise.
32053 * stdio-common/vfprintf.c (outchar): Likewise.
32054 (printf_unknown): Likewise.
32055 (buffered_vfprintf): Likewise.
32056 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32057 * stdio-common/xbug.c (AppendToBuffer): Likewise.
32058 (ReadFile): Likewise.
32059 * stdlib/qsort.c (SWAP): Likewise.
32060 (_quicksort): Likewise.
32061 * stdlib/setenv.c (__add_to_environ): Likewise.
32062 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32063 * stdlib/strtol_l.c (__strtol_l): Likewise.
32064 * stdlib/tst-strtod.c (main): Likewise.
32065 * stdlib/tst-strtol.c (main): Likewise.
32066 * stdlib/tst-strtoll.c (main): Likewise.
32067 * string/bits/string2.h (__strcmp_cc): Likewise.
32068 (__strcmp_cg): Likewise.
32069 (__strcspn_c1): Likewise.
32070 (__strcspn_c2): Likewise.
32071 (__strcspn_c3): Likewise.
32072 (__strspn_c1): Likewise.
32073 (__strspn_c2): Likewise.
32074 (__strspn_c3): Likewise.
32075 (__strsep_1c): Likewise.
32076 (__strsep_2c): Likewise.
32077 (__strsep_3c): Likewise.
32078 * string/memccpy.c (__memccpy): Likewise.
32079 * string/stpcpy.c (__stpcpy): Likewise.
32080 * string/strcmp.c (strcmp): Likewise.
32081 * string/strrchr.c (strrchr): Likewise.
32082 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32084 * sysdeps/mach/hurd/getcwd.c
32085 (_hurd_canonicalize_directory_name_internal): Likewise.
32086 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32087 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32088 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32089 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32090 Likewise, in both definitions.
32091 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32093 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32094 64] (__bswap_64): Likewise.
32095 * time/test_time.c (main): Likewise.
32096 * time/tzfile.c (__tzfile_read): Likewise.
32097 (__tzfile_compute): Likewise.
32098 * time/tzset.c (__tzset_parse_tz): Likewise.
32099 (tzset_internal): Likewise.
32100 (compute_change): Likewise.
32101 * wcsmbs/wcscat.c (__wcscat): Likewise.
32102 * wcsmbs/wcschr.c (wcschr): Likewise.
32103 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32104 * wcsmbs/wcscspn.c (wcscspn): Likewise.
32105 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32106 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32107 * wcsmbs/wcsspn.c (wcsspn): Likewise.
32108 * wcsmbs/wcsstr.c (wcsstr): Likewise.
32109 * wcsmbs/wmemchr.c (wmemchr): Likewise.
32110 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32111 * wcsmbs/wmemset.c (wmemset): Likewise.
32113 2013-06-06 Joseph Myers <joseph@codesourcery.com>
32115 * scripts/config.guess: Update to version 2013-05-16.
32116 * scripts/config.sub: Update to version 2013-04-24.
32117 * scripts/install-sh: Update to version 2011-11-20.07.
32118 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32119 * scripts/move-if-change: Update to version 2012-01-06 07:23.
32121 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
32123 * debug/fgetws_u_chk.c: Fix leading whitespaces.
32124 * elf/sln.c: Likewise.
32125 * hurd/hurd/ioctl.h: Likewise.
32126 * hurd/hurdmalloc.c: Likewise.
32127 * hurd/xattr.c: Likewise.
32128 * include/shlib-compat.h: Likewise.
32129 * inet/ruserpass.c: Likewise.
32130 * libio/iofgets_u.c: Likewise.
32131 * libio/iofgetws_u.c: Likewise.
32132 * locale/programs/ld-identification.c: Likewise.
32133 * locale/programs/ld-time.c: Likewise.
32134 * mach/msg-destroy.c: Likewise.
32135 * nss/nss_files/files-netgrp.c: Likewise.
32136 * resolv/res_data.c: Likewise.
32137 * soft-fp/op-1.h: Likewise.
32138 * soft-fp/op-2.h: Likewise.
32139 * soft-fp/op-4.h: Likewise.
32140 * soft-fp/op-common.h: Likewise.
32141 * stdio-common/printf_fphex.c: Likewise.
32142 * stdlib/strtod_l.c: Likewise.
32143 * sunrpc/rpc/clnt.h: Likewise.
32144 * sysdeps/generic/framestate.c: Likewise.
32145 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32146 * sysdeps/i386/bsd-setjmp.S: Likewise.
32147 * sysdeps/i386/__longjmp.S: Likewise.
32148 * sysdeps/i386/setjmp.S: Likewise.
32149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32150 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32151 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32152 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32153 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32154 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32158 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32162 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32163 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32165 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32166 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32167 * sysdeps/ieee754/support.c: Likewise.
32168 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32169 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32170 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32171 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32172 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32173 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32174 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32175 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32176 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32177 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32178 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32179 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32180 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32181 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32182 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32183 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32184 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32187 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
32189 * posix/transbug.c: Remove executable mode.
32191 2013-06-05 Joseph Myers <joseph@codesourcery.com>
32193 * crypt/speeds.c: Remove trailing whitespace.
32194 * dlfcn/default.c: Likewise.
32195 * elf/ifuncdep2.c: Likewise.
32196 * elf/ifuncmain1.c: Likewise.
32197 * elf/ifuncmain1vis.c: Likewise.
32198 * elf/testobj.h: Likewise.
32199 * elf/tst-stackguard1.c: Likewise.
32200 * gmon/sys/gmon.h: Likewise.
32201 * hurd/hurdmsg.c: Likewise.
32202 * hurd/new-fd.c: Likewise.
32203 * hurd/ports-get.c: Likewise.
32204 * iconvdata/ibm1008_420.c: Likewise.
32205 * inet/tst-getni1.c: Likewise.
32206 * inet/tst-getni2.c: Likewise.
32207 * libio/ioungetc.c: Likewise.
32208 * libio/wfiledoalloc.c: Likewise.
32209 * manual/libm-err-tab.pl: Likewise.
32210 * math/w_dremf.c: Likewise.
32211 * misc/ftruncate.c: Likewise.
32212 * posix/bug-glob2.c: Likewise.
32213 * posix/tst-pcre.c: Likewise.
32214 * posix/wait4.c: Likewise.
32215 * resolv/README: Likewise.
32216 * resolv/res_debug.h: Likewise.
32217 * resolv/tst-inet_ntop.c: Likewise.
32218 * setjmp/bug269-setjmp.c: Likewise.
32219 * soft-fp/extended.h: Likewise.
32220 * soft-fp/op-1.h: Likewise.
32221 * soft-fp/op-2.h: Likewise.
32222 * soft-fp/op-4.h: Likewise.
32223 * soft-fp/op-8.h: Likewise.
32224 * soft-fp/testit.c: Likewise.
32225 * stdio-common/bug16.c: Likewise.
32226 * stdlib/random.c: Likewise.
32227 * sunrpc/rpcsvc/rquota.x: Likewise.
32228 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32229 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32230 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32231 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32232 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32234 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32235 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32236 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32237 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32239 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32240 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32241 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32242 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32243 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32244 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32245 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32246 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32249 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32250 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32251 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32252 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32253 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32255 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32256 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32257 * sysdeps/ieee754/s_lib_version.c: Likewise.
32258 * sysdeps/mach/hurd/check_fds.c: Likewise.
32259 * sysdeps/mach/hurd/getsockname.c: Likewise.
32260 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32261 * sysdeps/mach/hurd/recvfrom.c: Likewise.
32262 * sysdeps/powerpc/bits/link.h: Likewise.
32263 * sysdeps/powerpc/dl-procinfo.c: Likewise.
32264 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32265 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32266 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32267 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32268 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32269 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32270 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32271 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32272 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32273 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32274 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32275 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32276 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32277 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32278 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32279 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32281 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32282 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32284 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32286 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32287 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32288 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32290 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32292 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32295 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32296 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32297 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32298 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32299 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32300 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32301 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32302 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32303 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32304 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32305 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32306 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32307 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32308 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32309 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32310 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32311 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32312 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32313 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32315 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32316 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32317 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32318 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32319 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32320 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32321 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32322 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32323 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32324 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32325 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32326 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32327 * sysdeps/powerpc/sysdep.h: Likewise.
32328 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32329 * sysdeps/s390/s390-64/sub_n.S: Likewise.
32330 * sysdeps/sh/dl-trampoline.S: Likewise.
32331 * sysdeps/sh/memset.S: Likewise.
32332 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32333 * sysdeps/sh/strlen.S: Likewise.
32334 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32335 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32336 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32337 * sysdeps/sparc/sparc32/rem.S: Likewise.
32338 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32339 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32340 * sysdeps/sparc/sparc32/strchr.S: Likewise.
32341 * sysdeps/sparc/sparc32/udiv.S: Likewise.
32342 * sysdeps/sparc/sparc32/urem.S: Likewise.
32343 * sysdeps/sparc/sparc64/add_n.S: Likewise.
32344 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32345 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32346 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32348 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32349 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32350 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32351 * sysdeps/unix/bsd/times.c: Likewise.
32352 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32353 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32357 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32358 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32359 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32360 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32361 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32362 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32363 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32364 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32365 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32366 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32367 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32369 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32370 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32371 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32372 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32373 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32374 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32375 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32376 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32377 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32378 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32380 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32381 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32382 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32383 * sysdeps/x86_64/strcspn.S: Likewise.
32385 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32387 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32388 generated file. Regenerate properly from gen-translit.pl.
32389 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32390 locale/C-translit.h.
32392 2013-06-05 Andreas Schwab <schwab@suse.de>
32395 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32396 week as 6 instead of -1.
32397 * time/tst-strptime.c (day_tests): Add test case.
32399 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32401 * sysdeps/generic/math_private.h
32402 (libc_feholdexcept_setround_53bit): Replace with
32403 libc_feholdsetround_53bit.
32404 (libc_feupdateenv_53bit): Replace with
32405 libc_feresetround_53bit.
32406 (SET_RESTORE_ROUND_53BIT): Adjust.
32408 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32410 * string/test-strchrnul.c: Add copyright header.
32412 * posix/tst-getaddrinfo4.c: Increase test timeout.
32414 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32417 * math/libm-test.inc (MAX_EXP): Remove
32419 (ulp): Use MIN_EXP - MANT_DIG.
32420 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32422 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32424 * po/be.po: Revert last change.
32425 * po/zh_CN.po: Likewise.
32426 * po/header.pot: Likewise.
32428 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32430 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32431 link-libc-deps to empty as target-specific variable.
32432 * Makerules (link-libc-args): New variable.
32433 (libc-for-link): Likewise.
32434 (link-libc-deps): Likewise.
32435 (lib%.so): Depend on $(link-libc-deps). Link with
32437 (build-module): Link with $(link-libc-args).
32438 (build-module-asneeded): Likewise.
32439 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32441 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32442 target-specific variable.
32443 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32444 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32445 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32447 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32449 ($(objpfx)libpcprofile.so): Likewise.
32450 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32452 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32453 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32454 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32456 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32457 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32458 * login/Makefile ($(objpfx)libutil.so): Likewise.
32459 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32460 * math/Makefile ($(objpfx)libm.so): Likewise.
32461 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32462 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32463 variable instead of depending directly on libc.
32464 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32465 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32467 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32469 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32470 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32471 ($(objpfx)libanl.so): Likewise.
32472 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32474 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32476 * sysdeps/i386/fpu/Makefile: Remove file.
32477 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32478 ($(objpfx)libm.so): Remove dependency on ld.so.
32480 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32483 * nis/yp_xdr.c (XDRMAXNAME): Define.
32484 (XDRMAXRECORD): Define.
32485 (xdr_domainname): Use XDRMAXNAME.
32486 (xdr_mapname): Likewise.
32487 (xdr_peername): Likewise.
32488 (xdr_keydat): Use XDRMAXRECORD.
32489 (xdr_valdat): Likewise.
32491 2013-05-30 Jeff Law <law@redhat.com>
32494 * manual/errno.texi (ESTALE): Update to account for more than
32495 just NFS file systems.
32496 * sysdeps/gnu/errlist.c: Regenerated.
32498 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32501 * elf/Makefile (tests): Add tst-null-argv.
32502 (modules-names): Add tst-null-argv-lib.
32503 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32504 (tst-null-argv-ENV): Set environment for tst-null-argv.
32505 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32506 (RTLD_PROGNAME): New macro.
32507 * elf/tst-null-argv.c: New test case.
32508 * elf/tst-null-argv-lib.c: Library for test case.
32509 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32510 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32511 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32512 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32513 * elf/dl-init.c (call_init): Likewise.
32514 (_dl_init): Likewise.
32515 * elf/dl-load.c (print_search_path): Likewise.
32516 (_dl_map_object): Likewise.
32517 * elf/dl-lookup.c (do_lookup_x): Likewise.
32518 (add_dependency): Likewise.
32519 (_dl_lookup_symbol_x): Likewise.
32520 (_dl_debug_bindings): Likewise.
32521 * elf/dl-open.c (_dl_show_scope): Likewise.
32522 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32523 * elf/dl-version.c (match_symbol): Likewise.
32524 (_dl_check_map_versions): Likewise.
32525 * elf/rtld.c (dl_main): Likewise.
32526 (print_unresolved): Use RTLD_PROGNAME.
32527 (print_missing_version): Likewise.
32528 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32529 (elf_machine_rela): Likewise.
32530 * sysdeps/powerpc/powerpc32/dl-machine.c
32531 (__process_machine_rela): Likewise.
32532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32541 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32545 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32547 * po/be.po: Add descriptive title.
32548 * po/zh_CN.po: Likewise.
32549 * po/header.pot: Likewise.
32551 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32553 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32555 (enlarge_archive): Likewise.
32557 2013-05-28 Ben North <ben@redfrontdoor.org>
32559 * manual/arith.texi (frexp): It is the magnitude of the return
32560 value which lies in [0.5, 1), not the return value itself.
32562 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32566 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32568 * stdio-common/bug26.c (main): Correct fscanf template.
32570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32571 declare _dl_skip_args.
32573 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32576 * manual/platform.texi: Add missing @end deftypefun.
32578 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32581 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32582 bit of mantissa of 2^16382.
32583 * math/libm-test.inc (hypot_test_data): Add more tests.
32585 * math/libm-test.inc: Add drem and pow10 to list of tested
32587 (pow10_test): New function.
32588 (drem_test): Likewise.
32589 (drem_test_tonearest): Likewise.
32590 (drem_test_towardzero): Likewise.
32591 (drem_test_downward): Likewise.
32592 (drem_test_upward): Likewise.
32593 (main): Call the new functions.
32595 * math/libm-test.inc (finite_test_data): Remove.
32596 (finite_test): Run tests from isfinite_test_data.
32597 (gamma_test_data): Remove.
32598 (gamma_test): Run tests from lgamma_test_data.
32599 * sysdeps/i386/fpu/libm-test-ulps: Update.
32600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32602 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32604 * manual/platform.texi: Add PowerPC PPR function set documentation.
32605 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32608 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32610 * math/libm-test.inc (MAX_EXP): Define.
32612 (ulp): New function.
32613 (check_float_internal): Use ULPDIFF.
32614 (cpow_test): Disable failing test.
32615 (check_ulp): Test ulp() implemetnation.
32616 (main): Call check_ulp before starting tests.
32618 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32620 * math/gen-libm-test.pl (generate_testfile): Do not handle
32621 START_DATA and END_DATA.
32622 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32624 (acos_tonearest_test_data): Likewise.
32625 (acos_towardzero_test_data): Likewise.
32626 (acos_downward_test_data): Likewise.
32627 (acos_upward_test_data): Likewise.
32628 (acosh_test_data): Likewise.
32629 (asin_test_data): Likewise.
32630 (asin_tonearest_test_data): Likewise.
32631 (asin_towardzero_test_data): Likewise.
32632 (asin_downward_test_data): Likewise.
32633 (asin_upward_test_data): Likewise.
32634 (asinh_test_data): Likewise.
32635 (atan_test_data): Likewise.
32636 (atanh_test_data): Likewise.
32637 (atan2_test_data): Likewise.
32638 (cabs_test_data): Likewise.
32639 (cacos_test_data): Likewise.
32640 (cacosh_test_data): Likewise.
32641 (carg_test_data): Likewise.
32642 (casin_test_data): Likewise.
32643 (casinh_test_data): Likewise.
32644 (catan_test_data): Likewise.
32645 (catanh_test_data): Likewise.
32646 (cbrt_test_data): Likewise.
32647 (ccos_test_data): Likewise.
32648 (ccosh_test_data): Likewise.
32649 (ceil_test_data): Likewise.
32650 (cexp_test_data): Likewise.
32651 (cimag_test_data): Likewise.
32652 (clog_test_data): Likewise.
32653 (clog10_test_data): Likewise.
32654 (conj_test_data): Likewise.
32655 (copysign_test_data): Likewise.
32656 (cos_test_data): Likewise.
32657 (cos_tonearest_test_data): Likewise.
32658 (cos_towardzero_test_data): Likewise.
32659 (cos_downward_test_data): Likewise.
32660 (cos_upward_test_data): Likewise.
32661 (cosh_test_data): Likewise.
32662 (cosh_tonearest_test_data): Likewise.
32663 (cosh_towardzero_test_data): Likewise.
32664 (cosh_downward_test_data): Likewise.
32665 (cosh_upward_test_data): Likewise.
32666 (cpow_test_data): Likewise.
32667 (cproj_test_data): Likewise.
32668 (creal_test_data): Likewise.
32669 (csin_test_data): Likewise.
32670 (csinh_test_data): Likewise.
32671 (csqrt_test_data): Likewise.
32672 (ctan_test_data): Likewise.
32673 (ctan_tonearest_test_data): Likewise.
32674 (ctan_towardzero_test_data): Likewise.
32675 (ctan_downward_test_data): Likewise.
32676 (ctan_upward_test_data): Likewise.
32677 (ctanh_test_data): Likewise.
32678 (ctanh_tonearest_test_data): Likewise.
32679 (ctanh_towardzero_test_data): Likewise.
32680 (ctanh_downward_test_data): Likewise.
32681 (ctanh_upward_test_data): Likewise.
32682 (erf_test_data): Likewise.
32683 (erfc_test_data): Likewise.
32684 (exp_test_data): Likewise.
32685 (exp_tonearest_test_data): Likewise.
32686 (exp_towardzero_test_data): Likewise.
32687 (exp_downward_test_data): Likewise.
32688 (exp_upward_test_data): Likewise.
32689 (exp10_test_data): Likewise.
32690 (exp2_test_data): Likewise.
32691 (expm1_test_data): Likewise.
32692 (fabs_test_data): Likewise.
32693 (fdim_test_data): Likewise.
32694 (finite_test_data): Likewise.
32695 (floor_test_data): Likewise.
32696 (fma_test_data): Likewise.
32697 (fma_towardzero_test_data): Likewise.
32698 (fma_downward_test_data): Likewise.
32699 (fma_upward_test_data): Likewise.
32700 (fmax_test_data): Likewise.
32701 (fmin_test_data): Likewise.
32702 (fmod_test_data): Likewise.
32703 (fpclassify_test_data): Likewise.
32704 (frexp_test_data): Likewise.
32705 (gamma_test_data): Likewise.
32706 (hypot_test_data): Likewise.
32707 (ilogb_test_data): Likewise.
32708 (isfinite_test_data): Likewise.
32709 (isgreater_test_data): Likewise.
32710 (isgreaterequal_test_data): Likewise.
32711 (isinf_test_data): Likewise.
32712 (isless_test_data): Likewise.
32713 (islessequal_test_data): Likewise.
32714 (islessgreater_test_data): Likewise.
32715 (isnan_test_data): Likewise.
32716 (isnormal_test_data): Likewise.
32717 (issignaling_test_data): Likewise.
32718 (isunordered_test_data): Likewise.
32719 (j0_test_data): Likewise.
32720 (j1_test_data): Likewise.
32721 (jn_test_data): Likewise.
32722 (ldexp_test_data): Likewise.
32723 (lgamma_test_data): Likewise.
32724 (lrint_test_data): Likewise.
32725 (lrint_tonearest_test_data): Likewise.
32726 (lrint_towardzero_test_data): Likewise.
32727 (lrint_downward_test_data): Likewise.
32728 (lrint_upward_test_data): Likewise.
32729 (llrint_test_data): Likewise.
32730 (llrint_tonearest_test_data): Likewise.
32731 (llrint_towardzero_test_data): Likewise.
32732 (llrint_downward_test_data): Likewise.
32733 (llrint_upward_test_data): Likewise.
32734 (log_test_data): Likewise.
32735 (log10_test_data): Likewise.
32736 (log1p_test_data): Likewise.
32737 (log2_test_data): Likewise.
32738 (logb_test_data): Likewise.
32739 (logb_downward_test_data): Likewise.
32740 (lround_test_data): Likewise.
32741 (llround_test_data): Likewise.
32742 (modf_test_data): Likewise.
32743 (nearbyint_test_data): Likewise.
32744 (nextafter_test_data): Likewise.
32745 (nexttoward_test_data): Likewise.
32746 (pow_test_data): Likewise.
32747 (pow_tonearest_test_data): Likewise.
32748 (pow_towardzero_test_data): Likewise.
32749 (pow_downward_test_data): Likewise.
32750 (pow_upward_test_data): Likewise.
32751 (remainder_test_data): Likewise.
32752 (remainder_tonearest_test_data): Likewise.
32753 (remainder_towardzero_test_data): Likewise.
32754 (remainder_downward_test_data): Likewise.
32755 (remainder_upward_test_data): Likewise.
32756 (remquo_test_data): Likewise.
32757 (rint_test_data): Likewise.
32758 (rint_tonearest_test_data): Likewise.
32759 (rint_towardzero_test_data): Likewise.
32760 (rint_downward_test_data): Likewise.
32761 (rint_upward_test_data): Likewise.
32762 (round_test_data): Likewise.
32763 (scalb_test_data): Likewise.
32764 (scalbn_test_data): Likewise.
32765 (scalbln_test_data): Likewise.
32766 (signbit_test_data): Likewise.
32767 (sin_test_data): Likewise.
32768 (sin_tonearest_test_data): Likewise.
32769 (sin_towardzero_test_data): Likewise.
32770 (sin_downward_test_data): Likewise.
32771 (sin_upward_test_data): Likewise.
32772 (sincos_test_data): Likewise.
32773 (sinh_test_data): Likewise.
32774 (sinh_tonearest_test_data): Likewise.
32775 (sinh_towardzero_test_data): Likewise.
32776 (sinh_downward_test_data): Likewise.
32777 (sinh_upward_test_data): Likewise.
32778 (sqrt_test_data): Likewise.
32779 (tan_test_data): Likewise.
32780 (tan_tonearest_test_data): Likewise.
32781 (tan_towardzero_test_data): Likewise.
32782 (tan_downward_test_data): Likewise.
32783 (tan_upward_test_data): Likewise.
32784 (tanh_test_data): Likewise.
32785 (tgamma_test_data): Likewise.
32786 (trunc_test_data): Likewise.
32787 (y0_test_data): Likewise.
32788 (y1_test_data): Likewise.
32789 (yn_test_data): Likewise.
32790 (significand_test_data): Likewise.
32792 * math/gen-libm-test.pl (@functions): Remove variable.
32793 (generate_testfile): Don't handle START and END lines.
32794 * math/libm-test.inc (START): New macro.
32796 (END_COMPLEX): Likewise.
32797 (acos_test): Use END macro without arguments.
32798 (acos_test_tonearest): Likewise.
32799 (acos_test_towardzero): Likewise.
32800 (acos_test_downward): Likewise.
32801 (acos_test_upward): Likewise.
32802 (acosh_test): Likewise.
32803 (asin_test): Likewise.
32804 (asin_test_tonearest): Likewise.
32805 (asin_test_towardzero): Likewise.
32806 (asin_test_downward): Likewise.
32807 (asin_test_upward): Likewise.
32808 (asinh_test): Likewise.
32809 (atan_test): Likewise.
32810 (atanh_test): Likewise.
32811 (atan2_test): Likewise.
32812 (cabs_test): Likewise.
32813 (cacos_test): Use END_COMPLEX macro without arguments.
32814 (cacosh_test): Likewise.
32815 (carg_test): Use END macro without arguments.
32816 (casin_test): Use END_COMPLEX macro without arguments.
32817 (casinh_test): Likewise.
32818 (catan_test): Likewise.
32819 (catanh_test): Likewise.
32820 (cbrt_test): Use END macro without arguments.
32821 (ccos_test): Use END_COMPLEX macro without arguments.
32822 (ccosh_test): Likewise.
32823 (ceil_test): Use END macro without arguments.
32824 (cexp_test): Use END_COMPLEX macro without arguments.
32825 (cimag_test): Use END macro without arguments.
32826 (clog_test): Use END_COMPLEX macro without arguments.
32827 (clog10_test): Likewise.
32828 (conj_test): Likewise.
32829 (copysign_test): Use END macro without arguments.
32830 (cos_test): Likewise.
32831 (cos_test_tonearest): Likewise.
32832 (cos_test_towardzero): Likewise.
32833 (cos_test_downward): Likewise.
32834 (cos_test_upward): Likewise.
32835 (cosh_test): Likewise.
32836 (cosh_test_tonearest): Likewise.
32837 (cosh_test_towardzero): Likewise.
32838 (cosh_test_downward): Likewise.
32839 (cosh_test_upward): Likewise.
32840 (cpow_test): Use END_COMPLEX macro without arguments.
32841 (cproj_test): Likewise.
32842 (creal_test): Use END macro without arguments.
32843 (csin_test): Use END_COMPLEX macro without arguments.
32844 (csinh_test): Likewise.
32845 (csqrt_test): Likewise.
32846 (ctan_test): Likewise.
32847 (ctan_test_tonearest): Likewise.
32848 (ctan_test_towardzero): Likewise.
32849 (ctan_test_downward): Likewise.
32850 (ctan_test_upward): Likewise.
32851 (ctanh_test): Likewise.
32852 (ctanh_test_tonearest): Likewise.
32853 (ctanh_test_towardzero): Likewise.
32854 (ctanh_test_downward): Likewise.
32855 (ctanh_test_upward): Likewise.
32856 (erf_test): Use END macro without arguments.
32857 (erfc_test): Likewise.
32858 (exp_test): Likewise.
32859 (exp_test_tonearest): Likewise.
32860 (exp_test_towardzero): Likewise.
32861 (exp_test_downward): Likewise.
32862 (exp_test_upward): Likewise.
32863 (exp10_test): Likewise.
32864 (exp2_test): Likewise.
32865 (expm1_test): Likewise.
32866 (fabs_test): Likewise.
32867 (fdim_test): Likewise.
32868 (finite_test): Likewise.
32869 (floor_test): Likewise.
32870 (fma_test): Likewise.
32871 (fma_test_towardzero): Likewise.
32872 (fma_test_downward): Likewise.
32873 (fma_test_upward): Likewise.
32874 (fmax_test): Likewise.
32875 (fmin_test): Likewise.
32876 (fmod_test): Likewise.
32877 (fpclassify_test): Likewise.
32878 (frexp_test): Likewise.
32879 (gamma_test): Likewise.
32880 (hypot_test): Likewise.
32881 (ilogb_test): Likewise.
32882 (isfinite_test): Likewise.
32883 (isgreater_test): Likewise.
32884 (isgreaterequal_test): Likewise.
32885 (isinf_test): Likewise.
32886 (isless_test): Likewise.
32887 (islessequal_test): Likewise.
32888 (islessgreater_test): Likewise.
32889 (isnan_test): Likewise.
32890 (isnormal_test): Likewise.
32891 (issignaling_test): Likewise.
32892 (isunordered_test): Likewise.
32893 (j0_test): Likewise.
32894 (j1_test): Likewise.
32895 (jn_test): Likewise.
32896 (ldexp_test): Likewise.
32897 (lgamma_test): Likewise.
32898 (lrint_test): Likewise.
32899 (lrint_test_tonearest): Likewise.
32900 (lrint_test_towardzero): Likewise.
32901 (lrint_test_downward): Likewise.
32902 (lrint_test_upward): Likewise.
32903 (llrint_test): Likewise.
32904 (llrint_test_tonearest): Likewise.
32905 (llrint_test_towardzero): Likewise.
32906 (llrint_test_downward): Likewise.
32907 (llrint_test_upward): Likewise.
32908 (log_test): Likewise.
32909 (log10_test): Likewise.
32910 (log1p_test): Likewise.
32911 (log2_test): Likewise.
32912 (logb_test): Likewise.
32913 (logb_test_downward): Likewise.
32914 (lround_test): Likewise.
32915 (llround_test): Likewise.
32916 (modf_test): Likewise.
32917 (nearbyint_test): Likewise.
32918 (nextafter_test): Likewise.
32919 (nexttoward_test): Likewise.
32920 (pow_test): Likewise.
32921 (pow_test_tonearest): Likewise.
32922 (pow_test_towardzero): Likewise.
32923 (pow_test_downward): Likewise.
32924 (pow_test_upward): Likewise.
32925 (remainder_test): Likewise.
32926 (remainder_test_tonearest): Likewise.
32927 (remainder_test_towardzero): Likewise.
32928 (remainder_test_downward): Likewise.
32929 (remainder_test_upward): Likewise.
32930 (remquo_test): Likewise.
32931 (rint_test): Likewise.
32932 (rint_test_tonearest): Likewise.
32933 (rint_test_towardzero): Likewise.
32934 (rint_test_downward): Likewise.
32935 (rint_test_upward): Likewise.
32936 (round_test): Likewise.
32937 (scalb_test): Likewise.
32938 (scalbn_test): Likewise.
32939 (scalbln_test): Likewise.
32940 (signbit_test): Likewise.
32941 (sin_test): Likewise.
32942 (sin_test_tonearest): Likewise.
32943 (sin_test_towardzero): Likewise.
32944 (sin_test_downward): Likewise.
32945 (sin_test_upward): Likewise.
32946 (sincos_test): Likewise.
32947 (sinh_test): Likewise.
32948 (sinh_test_tonearest): Likewise.
32949 (sinh_test_towardzero): Likewise.
32950 (sinh_test_downward): Likewise.
32951 (sinh_test_upward): Likewise.
32952 (sqrt_test): Likewise.
32953 (tan_test): Likewise.
32954 (tan_test_tonearest): Likewise.
32955 (tan_test_towardzero): Likewise.
32956 (tan_test_downward): Likewise.
32957 (tan_test_upward): Likewise.
32958 (tanh_test): Likewise.
32959 (tgamma_test): Likewise.
32960 (trunc_test): Likewise.
32961 (y0_test): Likewise.
32962 (y1_test): Likewise.
32963 (yn_test): Likewise.
32964 (significand_test): Likewise.
32966 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32969 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32971 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32974 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32975 __ppc_mdoio and __ppc_mdoom.
32976 * manual/platform.texi: Document new functions __ppc_yield,
32977 __ppc_mdoio and __ppc_mdoom.
32979 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32981 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32982 (main): Mention "tls" pseudo-hwcap is legacy.
32983 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32985 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32987 * math/gen-libm-test.pl (parse_args): Output only string of
32988 arguments as text for test name, not full call or descriptions of
32989 tests for extra outputs.
32990 (generate_testfile): Do not pass function name to parse_args.
32991 Generate this_func variable from START.
32992 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32994 (struct test_ff_f_data): Likewise.
32995 (test_ff_f_data_nexttoward): Likewise.
32996 (struct test_fi_f_data): Likewise.
32997 (struct test_fl_f_data): Likewise.
32998 (struct test_if_f_data): Likewise.
32999 (struct test_fff_f_data): Likewise.
33000 (struct test_c_f_data): Likewise.
33001 (struct test_f_f1_data): Likewise. Remove field extra_name.
33002 (struct test_fF_f1_data): Likewise.
33003 (struct test_ffI_f1_data): Likewise.
33004 (struct test_c_c_data): Rename test_name field to arg_str.
33005 (struct test_cc_c_data): Likewise.
33006 (struct test_f_i_data): Likewise.
33007 (struct test_ff_i_data): Likewise.
33008 (struct test_f_l_data): Likewise.
33009 (struct test_f_L_data): Likewise.
33010 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
33012 (COMMON_TEST_SETUP): New macro.
33013 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33014 (COMMON_TEST_CLEANUP): Likewise.
33015 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33016 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
33018 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33019 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
33021 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33022 (RUN_TEST_fff_f): Take argument string. Call new setup and
33024 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33025 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
33027 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33028 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
33030 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33031 (RUN_TEST_fF_f1): Take argument string. Call new setup and
33033 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33034 (RUN_TEST_fI_f1): Take argument string. Call new setup and
33036 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33037 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
33039 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33040 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
33042 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33043 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
33045 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33046 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
33048 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33049 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
33051 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33052 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
33054 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33055 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
33057 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33058 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
33060 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33061 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
33063 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33064 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
33066 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33067 (RUN_TEST_fFF_11): Take argument string. Call new setup and
33069 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33071 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
33073 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33074 to _sifields.sigfault.
33075 (si_addr_lsb): Define new macro.
33076 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33078 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33080 2013-05-03 Carlos O'Donell <carlos at redhat.com>
33083 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33085 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33087 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33088 loading the domain.
33090 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33092 * math/gen-libm-test.pl (parse_args): Do not include expected
33093 result in test name.
33094 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33095 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33096 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33097 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33103 * benchtests/Makefile: Sort function entries.
33105 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33106 tanh, asinh, acosh, atanh.
33107 * benchtests/acos-inputs: New file.
33108 * benchtests/acosh-inputs: New file.
33109 * benchtests/asin-inputs: New file.
33110 * benchtests/asinh-inputs: New file.
33111 * benchtests/atanh-inputs: New file.
33112 * benchtests/cosh-inputs: New file.
33113 * benchtests/log-inputs: New file.
33114 * benchtests/sinh-inputs: New file.
33115 * benchtests/tanh-inputs: New file.
33117 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
33120 * posix/tst-getaddrinfo4.c: New test.
33121 * posix/Makefile (tests): Add it.
33123 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33126 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33127 when no services were used.
33128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33129 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33131 2013-05-21 Andreas Schwab <schwab@suse.de>
33134 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33135 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33137 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33138 redundant variable declarations and reallocation of buffer when
33139 parsing as IPv6 address. Always set NSS status when called from
33140 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
33141 buffer too small. Correct computation of needed size.
33142 * nss/Makefile (tests): Add test-digits-dots.
33143 * nss/test-digits-dots.c: New test.
33145 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33147 * benchtests/Makefile: Remove instructions for adding
33149 * benchtests/README: New file to explain how to execute and
33150 enhance the benchmark tests.
33152 2013-05-21 Andreas Schwab <schwab@suse.de>
33155 * setjmp/Makefile (tests): Add tst-sigsetjmp.
33156 * setjmp/tst-sigsetjmp.c: New test.
33158 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33160 * sysdeps/x86_64/memset.S (memset): New implementation.
33161 (__bzero): Likewise.
33162 (__memset_tail): New function.
33164 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33166 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33167 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33168 __memcpy_sse2_unaligned ifunc selection.
33169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33170 Add memcpy-sse2-unaligned.S.
33171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33172 Add: __memcpy_sse2_unaligned.
33174 2013-05-19 Joseph Myers <joseph@codesourcery.com>
33177 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33178 math_force_eval before restoring floating-point envrionment.
33179 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33182 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33184 (__nearbyintl): Use math_force_eval before restoring
33185 floating-point environment.
33186 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33188 * math/gen-libm-test.pl (special_functions): Remove.
33189 (parse_args): Don't handle TEST_extra. Handle functions with no
33191 * math/libm-test.inc (struct test_sincos_data): Replace with
33192 struct test_fFF_11_data.
33193 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33194 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33195 (sincos_test_data): Change element type to struct
33196 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
33197 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33198 RUN_TEST_LOOP_sincos.
33199 * math/README.libm-test: Don't mention special handling of
33200 individual functions.
33201 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33202 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33203 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33204 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33205 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33208 * math/gen-libm-test.pl (get_variable): Remove function.
33209 (parse_args): Don't show pointer parameters to call in test
33210 names. Use "extra output N" in test names for extra outputs
33211 rather than naming variables.
33213 2013-05-18 Joseph Myers <joseph@codesourcery.com>
33216 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33217 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33218 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33220 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33222 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33225 * math/gen-libm-test.pl (@tests): Remove variable.
33226 ($count): Likewise.
33227 (new_test): Remove function.
33228 (show_exceptions): New function.
33229 (special_functions): Use show_exceptions instead of new_test.
33230 (parse_args): Likewise.
33231 (generate_testfile): Pass only function name in generated call to
33232 print_max_error or print_complex_max_error.
33233 (get_ulps): Do not handle complex tests specially.
33234 (output_test): Rename to ...
33235 (get_all_ulps_for_test): ... this. Return a string rather than
33236 printing to a file. Require ulps to be present.
33237 (output_ulps): Generate arrays rather than #defines.
33238 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33239 (struct ulp_data): New type.
33240 (BUILD_COMPLEX_ULP): Remove macro.
33241 (compare_ulp_data): New function.
33242 (find_ulps): Likewise.
33243 (find_test_ulps): Likewise.
33244 (find_function_ulps): Likewise.
33245 (find_complex_function_ulps): Likewise.
33246 (print_max_error): Determine allowed ulps using
33247 find_function_ulps.
33248 (print_complex_max_error): Determine allowed ulps using
33249 find_complex_function_ulps.
33250 (check_float_internal): Determine max ulps using find_test_ulps.
33251 (check_float): Do not take max_ulp parameter. Update call to
33252 check_float_internal.
33253 (check_complex): Likewise.
33254 (check_int): Do not take max_ulp parameter.
33255 (check_long): Likewise.
33256 (check_bool): Likewise.
33257 (check_longlong): Likewise.
33258 (struct test_f_f_data): Remove max_ulp field.
33259 (struct test_ff_f_data): Likewise.
33260 (struct test_ff_f_data_nexttoward): Likewise.
33261 (struct test_fi_f_data): Likewise.
33262 (struct test_fl_f_data): Likewise.
33263 (struct test_if_f_data): Likewise.
33264 (struct test_fff_f_data): Likewise.
33265 (struct test_c_f_data): Likewise.
33266 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33267 (struct test_fF_f1_data): Likewise.
33268 (struct test_ffI_f1_data): Likewise.
33269 (struct test_c_c_data): Remove max_ulp field.
33270 (struct test_cc_c_data): Likewise.
33271 (struct test_f_i_data): Likewise.
33272 (struct test_ff_i_data): Likewise.
33273 (struct test_f_l_data): Likewise.
33274 (struct test_f_L_data): Likewise.
33275 (struct test_sincos_data): Likewise.
33276 (RUN_TEST_f_f): Do not handle ulps.
33277 (RUN_TEST_LOOP_f_f): Likewise.
33278 (RUN_TEST_2_f): Likewise.
33279 (RUN_TEST_LOOP_2_f): Likewise.
33280 (RUN_TEST_fff_f): Likewise.
33281 (RUN_TEST_LOOP_fff_f): Likewise.
33282 (RUN_TEST_c_f): Likewise.
33283 (RUN_TEST_LOOP_c_f): Likewise.
33284 (RUN_TEST_f_f1): Likewise.
33285 (RUN_TEST_LOOP_f_f1): Likewise.
33286 (RUN_TEST_fF_f1): Likewise.
33287 (RUN_TEST_LOOP_fF_f1): Likewise.
33288 (RUN_TEST_fI_f1): Likewise.
33289 (RUN_TEST_LOOP_fI_f1): Likewise.
33290 (RUN_TEST_ffI_f1): Likewise.
33291 (RUN_TEST_LOOP_ffI_f1): Likewise.
33292 (RUN_TEST_c_c): Likewise.
33293 (RUN_TEST_LOOP_c_c): Likewise.
33294 (RUN_TEST_cc_c): Likewise.
33295 (RUN_TEST_LOOP_cc_c): Likewise.
33296 (RUN_TEST_f_i): Likewise.
33297 (RUN_TEST_LOOP_f_i): Likewise.
33298 (RUN_TEST_f_i_tg): Likewise.
33299 (RUN_TEST_LOOP_f_i_tg): Likewise.
33300 (RUN_TEST_ff_i_tg): Likewise.
33301 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33302 (RUN_TEST_f_b): Likewise.
33303 (RUN_TEST_LOOP_f_b): Likewise.
33304 (RUN_TEST_f_b_tg): Likewise.
33305 (RUN_TEST_LOOP_f_b_tg): Likewise.
33306 (RUN_TEST_f_l): Likewise.
33307 (RUN_TEST_LOOP_f_l): Likewise.
33308 (RUN_TEST_f_L): Likewise.
33309 (RUN_TEST_LOOP_f_L): Likewise.
33310 (RUN_TEST_sincos): Likewise.
33311 (RUN_TEST_LOOP_sincos): Likewise.
33313 2013-05-17 Joseph Myers <joseph@codesourcery.com>
33317 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33318 main case of finite arguments, set rounding mode to FE_TONEAREST
33319 and discard exceptions.
33320 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33322 (remainder_tonearest_test_data): New variable.
33323 (remainder_test_tonearest): New function.
33324 (remainder_towardzero_test_data): New variable.
33325 (remainder_test_towardzero): New function.
33326 (remainder_downward_test_data): New variable.
33327 (remainder_test_downward): New function.
33328 (remainder_upward_test_data): New variable.
33329 (remainder_test_upward): New function.
33330 (main): Call the new test functions.
33332 * math/libm-test.inc (struct test_f_f1_data): Remove field
33334 (struct test_fF_f1_data): Likewise.
33335 (struct test_ffI_f1_data): Likewise.
33336 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
33337 based on value of EXTRA_EXPECTED.
33338 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33339 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
33340 EXTRA_VAR based on value of EXTRA_EXPECTED.
33341 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33342 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
33343 EXTRA_VAR based on value of EXTRA_EXPECTED.
33344 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33345 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
33346 EXTRA_VAR based on value of EXTRA_EXPECTED.
33347 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33348 * math/gen-libm-test.pl (parse_args): Don't output initializers
33349 for extra output values.
33351 * math/libm-test.inc (check_int): Expect result to be exactly
33352 equal to expected value and do not handle ulps.
33353 (check_long): Likewise.
33354 (check_longlong): Likewise.
33356 * math/libm-test.inc (ceil_test_data): Test for "inexact"
33358 (cimag_test_data): Likewise.
33359 (conj_test_data): Likewise.
33360 (copysign_test_data): Likewise.
33361 (cproj_test_data): Likewise.
33362 (creal_test_data): Likewise.
33363 (fabs_test_data): Likewise.
33364 (fdim_test_data): Likewise.
33365 (finite_test_data): Likewise.
33366 (floor_test_data): Likewise.
33367 (fmax_test_data): Likewise.
33368 (fmin_test_data): Likewise.
33369 (fmod_test_data): Likewise.
33370 (fpclassify_test_data): Likewise.
33371 (frexp_test_data): Likewise.
33372 (ilogb_test_data): Likewise.
33373 (isfinite_test_data): Likewise.
33374 (isgreater_test_data): Likewise.
33375 (isgreaterequal_test_data): Likewise.
33376 (isinf_test_data): Likewise.
33377 (isless_test_data): Likewise.
33378 (islessequal_test_data): Likewise.
33379 (islessgreater_test_data): Likewise.
33380 (isnan_test_data): Likewise.
33381 (isnormal_test_data): Likewise.
33382 (issignaling_test_data): Likewise.
33383 (isunordered_test_data): Likewise.
33384 (ldexp_test_data): Likewise.
33385 (lrint_test_data): Likewise.
33386 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33387 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33388 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33389 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33390 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33391 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33393 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33394 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33395 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33396 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33398 (lrint_downward_test_data): Test for "inexact" exceptions.
33399 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33400 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33401 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33403 (lrint_upward_test_data): Test for "inexact" exceptions.
33404 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33406 (llrint_test_data): Test for "inexact" exceptions.
33407 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33408 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33409 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33410 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33411 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33412 (llrint_downward_test_data): Test for "inexact" exceptions.
33413 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33414 (llrint_upward_test_data): Test for "inexact" exceptions.
33415 (logb_test_data): Likewise.
33416 (logb_downward_test_data): Likewise.
33417 (nextafter_test_data): Likewise.
33418 (nexttoward_test_data): Likewise.
33419 (remainder_test_data): Likewise.
33420 (remquo_test_data): Likewise.
33421 (scalbn_test_data): Likewise.
33422 (scalbln_test_data): Likewise.
33423 (signbit_test_data): Likewise.
33424 (sqrt_test_data): Likewise.
33425 (significand_test_data): Likewise.
33427 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33430 * benchtests/bench-modf.c (struct args): Mark arg0 as
33432 * scripts/bench.pl: Mark members of struct args as volatile.
33434 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33437 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33438 negative infinity on POWER6 or lower.
33439 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33441 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33444 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33445 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33446 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33447 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33448 (_FP_SETQNAN): New macro.
33449 (_FP_SETQNAN_SEMIRAW): Likewise.
33450 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33451 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33452 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33453 (FP_EXTEND): Use _FP_FRAC_SNANP.
33454 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33455 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33457 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33459 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33462 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33464 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33465 with DIVIDE_BY_ZERO_EXCEPTION.
33466 (gamma_test_data): Likewise.
33467 (lgamma_test_data): Likewise.
33468 (log_test_data): Likewise.
33469 (log10_test_data): Likewise.
33470 (log2_test_data): Likewise.
33471 (tgamma_test_data): Likewise.
33473 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33474 (acos_test_tonearest): Likewise.
33475 (acos_test_towardzero): Likewise.
33476 (acos_test_downward): Likewise.
33477 (acos_test_upward): Likewise.
33478 (acosh_test): Likewise.
33479 (asin_test): Likewise.
33480 (asin_test_tonearest): Likewise.
33481 (asin_test_towardzero): Likewise.
33482 (asin_test_downward): Likewise.
33483 (asin_test_upward): Likewise.
33484 (asinh_test): Likewise.
33485 (atan_test): Likewise.
33486 (atanh_test): Likewise.
33487 (atan2_test): Likewise.
33488 (cabs_test): Likewise.
33489 (cacos_test): Likewise.
33490 (cacosh_test): Likewise.
33491 (casin_test): Likewise.
33492 (casinh_test): Likewise.
33493 (catan_test): Likewise.
33494 (catanh_test): Likewise.
33495 (cbrt_test): Likewise.
33496 (ccos_test): Likewise.
33497 (ccosh_test): Likewise.
33498 (cexp_test): Likewise.
33499 (clog_test): Likewise.
33500 (clog10_test): Likewise.
33501 (cos_test): Likewise.
33502 (cos_test_tonearest): Likewise.
33503 (cos_test_towardzero): Likewise.
33504 (cos_test_downward): Likewise.
33505 (cos_test_upward): Likewise.
33506 (cosh_test): Likewise.
33507 (cosh_test_tonearest): Likewise.
33508 (cosh_test_towardzero): Likewise.
33509 (cosh_test_downward): Likewise.
33510 (cosh_test_upward): Likewise.
33511 (cpow_test): Likewise.
33512 (csin_test): Likewise.
33513 (csinh_test): Likewise.
33514 (csqrt_test): Likewise.
33515 (ctan_test): Likewise.
33516 (ctan_test_tonearest): Likewise.
33517 (ctan_test_towardzero): Likewise.
33518 (ctan_test_downward): Likewise.
33519 (ctan_test_upward): Likewise.
33520 (ctanh_test): Likewise.
33521 (ctanh_test_tonearest): Likewise.
33522 (ctanh_test_towardzero): Likewise.
33523 (ctanh_test_downward): Likewise.
33524 (ctanh_test_upward): Likewise.
33525 (erf_test): Likewise.
33526 (erfc_test): Likewise.
33527 (exp_test): Likewise.
33528 (exp_test_tonearest): Likewise.
33529 (exp_test_towardzero): Likewise.
33530 (exp_test_downward): Likewise.
33531 (exp_test_upward): Likewise.
33532 (exp10_test): Likewise.
33533 (exp2_test): Likewise.
33534 (expm1_test): Likewise.
33535 (fmod_test): Likewise.
33536 (gamma_test): Likewise.
33537 (hypot_test): Likewise.
33538 (j0_test): Likewise.
33539 (j1_test): Likewise.
33540 (jn_test): Likewise.
33541 (lgamma_test): Likewise.
33542 (log_test): Likewise.
33543 (log10_test): Likewise.
33544 (log1p_test): Likewise.
33545 (log2_test): Likewise.
33546 (logb_test_downward): Likewise.
33547 (pow_test): Likewise.
33548 (pow_test_tonearest): Likewise.
33549 (pow_test_towardzero): Likewise.
33550 (pow_test_downward): Likewise.
33551 (pow_test_upward): Likewise.
33552 (remainder_test): Likewise.
33553 (remquo_test): Likewise.
33554 (sin_test): Likewise.
33555 (sin_test_tonearest): Likewise.
33556 (sin_test_towardzero): Likewise.
33557 (sin_test_downward): Likewise.
33558 (sin_test_upward): Likewise.
33559 (sincos_test): Likewise.
33560 (sinh_test): Likewise.
33561 (sinh_test_tonearest): Likewise.
33562 (sinh_test_towardzero): Likewise.
33563 (sinh_test_downward): Likewise.
33564 (sinh_test_upward): Likewise.
33565 (sqrt_test): Likewise.
33566 (tan_test): Likewise.
33567 (tan_test_tonearest): Likewise.
33568 (tan_test_towardzero): Likewise.
33569 (tan_test_downward): Likewise.
33570 (tan_test_upward): Likewise.
33571 (tanh_test): Likewise.
33572 (tgamma_test): Likewise.
33573 (y0_test): Likewise.
33574 (y1_test): Likewise.
33575 (yn_test): Likewise.
33577 * math/gen-libm-test.pl (adjust_arg): Remove function.
33578 (special_function): Remove argument $in_func. Only handle
33579 generating output for tables of tests, not inside functions.
33580 (parse_args): Likewise.
33581 (generate_testfile): Remove variable $in_func. Update call to
33583 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33584 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33585 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33586 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33587 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33588 (MAX_VALUE_INIT): Rename macro to max_value.
33589 (MIN_VALUE_INIT): Rename macro to min_value.
33590 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33591 (plus_zero): Remove variable.
33592 (minus_zero): Likewise.
33593 (plus_infty): Likewise.
33594 (minus_infty): Likewise.
33595 (qnan_value): Likewise.
33596 (max_value): Likewise.
33597 (min_value): Likewise.
33598 (min_subnorm_value): Likewise.
33600 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33602 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33603 uint64_t or uint32_t usage.
33604 * crypt/sha256-block.c: Likewise.
33605 * crypt/sha256-crypt.c: Likewise.
33606 * crypt/sha256.c: Likewise.
33607 * crypt/sha512-block.c: Likewise.
33608 * crypt/sha512-crypt.c: Likewise.
33609 * crypt/sha512.c: Likewise.
33610 * debug/backtrace-tst.c: Likewise.
33611 * debug/pcprofiledump.c: Likewise.
33612 * elf/cache.c: Likewise.
33613 * elf/dl-cache.c: Likewise.
33614 * elf/dl-misc.c: Likewise.
33615 * elf/dl-profile.c: Likewise.
33616 * elf/dl-support.c: Likewise.
33617 * elf/ldconfig.c: Likewise.
33618 * elf/sprof.c: Likewise.
33619 * iconv/dummy-repertoire.c: Likewise.
33620 * iconv/iconv_charmap.c: Likewise.
33621 * iconv/skeleton.c: Likewise.
33622 * iconvdata/8bit-generic.c: Likewise.
33623 * iconvdata/cp737.h: Likewise.
33624 * iconvdata/cp775.h: Likewise.
33625 * iconvdata/ibm1008.h: Likewise.
33626 * iconvdata/ibm1025.h: Likewise.
33627 * iconvdata/ibm1046.h: Likewise.
33628 * iconvdata/ibm1097.h: Likewise.
33629 * iconvdata/ibm1112.h: Likewise.
33630 * iconvdata/ibm1122.h: Likewise.
33631 * iconvdata/ibm1123.h: Likewise.
33632 * iconvdata/ibm1124.h: Likewise.
33633 * iconvdata/ibm1129.h: Likewise.
33634 * iconvdata/ibm1130.h: Likewise.
33635 * iconvdata/ibm1132.h: Likewise.
33636 * iconvdata/ibm1133.h: Likewise.
33637 * iconvdata/ibm1137.h: Likewise.
33638 * iconvdata/ibm1140.h: Likewise.
33639 * iconvdata/ibm1141.h: Likewise.
33640 * iconvdata/ibm1142.h: Likewise.
33641 * iconvdata/ibm1143.h: Likewise.
33642 * iconvdata/ibm1144.h: Likewise.
33643 * iconvdata/ibm1145.h: Likewise.
33644 * iconvdata/ibm1146.h: Likewise.
33645 * iconvdata/ibm1147.h: Likewise.
33646 * iconvdata/ibm1148.h: Likewise.
33647 * iconvdata/ibm1149.h: Likewise.
33648 * iconvdata/ibm1153.h: Likewise.
33649 * iconvdata/ibm1154.h: Likewise.
33650 * iconvdata/ibm1155.h: Likewise.
33651 * iconvdata/ibm1156.h: Likewise.
33652 * iconvdata/ibm1157.h: Likewise.
33653 * iconvdata/ibm1158.h: Likewise.
33654 * iconvdata/ibm1160.h: Likewise.
33655 * iconvdata/ibm1161.h: Likewise.
33656 * iconvdata/ibm1162.h: Likewise.
33657 * iconvdata/ibm1163.h: Likewise.
33658 * iconvdata/ibm1164.h: Likewise.
33659 * iconvdata/ibm1166.h: Likewise.
33660 * iconvdata/ibm1167.h: Likewise.
33661 * iconvdata/ibm12712.h: Likewise.
33662 * iconvdata/ibm1390.h: Likewise.
33663 * iconvdata/ibm1399.h: Likewise.
33664 * iconvdata/ibm16804.h: Likewise.
33665 * iconvdata/ibm4517.h: Likewise.
33666 * iconvdata/ibm4899.h: Likewise.
33667 * iconvdata/ibm4909.h: Likewise.
33668 * iconvdata/ibm4971.h: Likewise.
33669 * iconvdata/ibm5347.h: Likewise.
33670 * iconvdata/ibm803.h: Likewise.
33671 * iconvdata/ibm856.h: Likewise.
33672 * iconvdata/ibm901.h: Likewise.
33673 * iconvdata/ibm902.h: Likewise.
33674 * iconvdata/ibm9030.h: Likewise.
33675 * iconvdata/ibm9066.h: Likewise.
33676 * iconvdata/ibm921.h: Likewise.
33677 * iconvdata/ibm922.h: Likewise.
33678 * iconvdata/ibm9448.h: Likewise.
33679 * iconvdata/isiri-3342.h: Likewise.
33680 * iconvdata/jis0201.h: Likewise.
33681 * include/link.h: Likewise.
33682 * include/netdb.h: Likewise.
33683 * inet/check_native.c: Likewise.
33684 * inet/check_pf.c: Likewise.
33685 * inet/getipv4sourcefilter.c: Likewise.
33686 * inet/getnameinfo.c: Likewise.
33687 * inet/getsourcefilter.c: Likewise.
33688 * inet/htonl.c: Likewise.
33689 * inet/setipv4sourcefilter.c: Likewise.
33690 * inet/setsourcefilter.c: Likewise.
33691 * inet/test-inet6_opt.c: Likewise.
33692 * inet/tst-network.c: Likewise.
33693 * locale/C-collate.c: Likewise.
33694 * locale/C-ctype.c: Likewise.
33695 * locale/C-time.c: Likewise.
33696 * locale/C-translit.h: Likewise.
33697 * locale/loadarchive.c: Likewise.
33698 * locale/programs/3level.h: Likewise.
33699 * locale/programs/charmap.c: Likewise.
33700 * locale/programs/charmap.h: Likewise.
33701 * locale/programs/ld-address.c: Likewise.
33702 * locale/programs/ld-collate.c: Likewise.
33703 * locale/programs/ld-ctype.c: Likewise.
33704 * locale/programs/ld-identification.c: Likewise.
33705 * locale/programs/ld-measurement.c: Likewise.
33706 * locale/programs/ld-messages.c: Likewise.
33707 * locale/programs/ld-monetary.c: Likewise.
33708 * locale/programs/ld-name.c: Likewise.
33709 * locale/programs/ld-numeric.c: Likewise.
33710 * locale/programs/ld-paper.c: Likewise.
33711 * locale/programs/ld-telephone.c: Likewise.
33712 * locale/programs/ld-time.c: Likewise.
33713 * locale/programs/linereader.c: Likewise.
33714 * locale/programs/locale.c: Likewise.
33715 * locale/programs/locarchive.c: Likewise.
33716 * locale/programs/locfile.h: Likewise.
33717 * locale/programs/repertoire.c: Likewise.
33718 * locale/programs/simple-hash.c: Likewise.
33719 * locale/programs/simple-hash.h: Likewise.
33720 * malloc/memusage.c: Likewise.
33721 * malloc/memusagestat.c: Likewise.
33722 * nis/nis_defaults.c: Likewise.
33723 * nis/nis_hash.c: Likewise.
33724 * nis/nis_print.c: Likewise.
33725 * nis/nis_xdr.c: Likewise.
33726 * nscd/connections.c: Likewise.
33727 * nscd/hstcache.c: Likewise.
33728 * nscd/nscd_gethst_r.c: Likewise.
33729 * nscd/nscd_getserv_r.c: Likewise.
33730 * nscd/nscd_helper.c: Likewise.
33731 * nscd/servicescache.c: Likewise.
33732 * nss/makedb.c: Likewise.
33733 * nss/nss_db/db-XXX.c: Likewise.
33734 * nss/nss_db/db-initgroups.c: Likewise.
33735 * nss/nss_db/db-netgrp.c: Likewise.
33736 * nss/nss_files/files-network.c: Likewise.
33737 * nss/nss_files/files-parse.c: Likewise.
33738 * posix/bug-regex5.c: Likewise.
33739 * posix/fnmatch_loop.c: Likewise.
33740 * posix/regcomp.c: Likewise.
33741 * posix/regexec.c: Likewise.
33742 * posix/tst-rfc3484-2.c: Likewise.
33743 * posix/tst-rfc3484-3.c: Likewise.
33744 * posix/tst-rfc3484.c: Likewise.
33745 * resolv/nss_dns/dns-canon.c: Likewise.
33746 * resolv/nss_dns/dns-network.c: Likewise.
33747 * resolv/res_init.c: Likewise.
33748 * resolv/res_mkquery.c: Likewise.
33749 * resolv/tst-aton.c: Likewise.
33750 * stdlib/cxa_atexit.c: Likewise.
33751 * stdlib/cxa_finalize.c: Likewise.
33752 * stdlib/gen-fpioconst.c: Likewise.
33753 * stdlib/strtol_l.c: Likewise.
33754 * string/tst-endian.c: Likewise.
33755 * sunrpc/auth_des.c: Likewise.
33756 * sunrpc/clnt_udp.c: Likewise.
33757 * sunrpc/rtime.c: Likewise.
33758 * sunrpc/svcauth_des.c: Likewise.
33759 * sunrpc/xdr.c: Likewise.
33760 * sunrpc/xdr_intXX_t.c: Likewise.
33761 * sunrpc/xdr_rec.c: Likewise.
33762 * sysdeps/generic/ldconfig.h: Likewise.
33763 * sysdeps/generic/ldsodefs.h: Likewise.
33764 * sysdeps/generic/memusage.h: Likewise.
33765 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33768 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33775 * sysdeps/posix/getaddrinfo.c: Likewise.
33776 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33777 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33778 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33779 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33780 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33781 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33782 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33783 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33784 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33785 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33786 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33787 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33788 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33789 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33790 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33791 * sysdeps/x86_64/dl-tls.h: Likewise.
33792 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33793 * time/alt_digit.c: Likewise.
33794 * time/era.c: Likewise.
33795 * wcsmbs/tst-c16c32-1.c: Likewise.
33797 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33799 * math/libm-test.inc (struct test_sincos_data): New type.
33800 (RUN_TEST_LOOP_sincos): New macro.
33801 (sincos_test_data): New variable.
33802 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33804 2013-05-16 Richard Henderson <rth@redhat.com>
33806 * math/atest-exp2.c (LIMB64): New macro.
33807 (CONSTSZ): New macro.
33808 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33810 (print_mpn_fp): ... to function scope.
33811 (read_mpn_hex): Remove.
33812 (get_log2): Remove.
33813 (exp2_mpn): Use mp_log2.
33814 (main): Use mp_exp1.
33816 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33818 * math/libm-test.inc: Remove comment about not testing "inexact"
33820 (INEXACT_EXCEPTION): New macro.
33821 (NO_INEXACT_EXCEPTION): Likewise.
33822 (INVALID_EXCEPTION_OK): Update value.
33823 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33824 (OVERFLOW_EXCEPTION_OK): Likewise.
33825 (UNDERFLOW_EXCEPTION_OK): Likewise.
33826 (IGNORE_ZERO_INF_SIGN): Likewise.
33827 (ERRNO_UNCHANGED): Likewise.
33828 (ERRNO_EDOM): Likewise.
33829 (ERRNO_ERANGE): Likewise.
33830 (test_exceptions): Handle testing "inexact" exceptions.
33831 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33832 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33833 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33834 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33836 (rint_towardzero_test_data): Likewise.
33837 (rint_downward_test_data): Likewise.
33838 (rint_upward_test_data): Likewise.
33840 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33841 with OVERFLOW_EXCEPTION.
33842 (exp10_test_data): Likewise.
33843 (exp2_test_data): Likewise.
33844 (expm1_test_data): Likewise.
33845 (lgamma_test_data): Likewise.
33846 (pow_test_data): Likewise.
33847 (tgamma_test_data): Likewise.
33848 (yn_test_data): Remove duplicate test of overflow.
33850 * math/libm-test.inc (struct test_cc_c_data): New type.
33851 (RUN_TEST_LOOP_cc_c): New macro.
33852 (cpow_test_data): New variable.
33853 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33855 * math/libm-test.inc (struct test_f_L_data): New type.
33856 (RUN_TEST_LOOP_f_L): New macro.
33857 (llrint_test_data): New variable.
33858 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33859 (llrint_tonearest_test_data): New variable.
33860 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33861 (llrint_towardzero_test_data): New variable.
33862 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33863 (llrint_downward_test_data): New variable.
33864 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33865 (llrint_upward_test_data): New variable.
33866 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33867 (llround_test_data): New variable.
33868 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33870 2013-05-13 Peter Collingbourne <pcc@google.com>
33872 * math/atest-exp2.c (get_log2): Remove const attribute.
33874 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33876 * math/libm-test.inc (struct test_f_l_data): New type.
33877 (RUN_TEST_LOOP_f_l): New macro.
33878 (lrint_test_data): New variable.
33879 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33880 (lrint_tonearest_test_data): New variable.
33881 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33882 (lrint_towardzero_test_data): New variable.
33883 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33884 (lrint_downward_test_data): New variable.
33885 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33886 (lrint_upward_test_data): New variable.
33887 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33888 (lround_test_data): New variable.
33889 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33891 2013-05-15 Peter Collingbourne <pcc@google.com>
33893 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33894 (EXTRACT_WORDS64) Use where appropriate.
33895 (INSERT_WORDS64) Likewise.
33897 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33898 constraints with x constraints.
33899 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33901 * malloc/obstack.c (_obstack_compat): Add initializer.
33903 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33905 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33906 si_trapno and add si_addr_lsb to _sifields.sigfault.
33907 (si_trapno): Remove macro.
33908 (si_addr_lsb): Define new macro.
33909 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33911 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33913 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33914 instead of TEST_f_l.
33915 (llrint_test_tonearest): Likewise.
33916 (llrint_test_towardzero): Likewise.
33917 (llrint_test_downward): Likewise.
33918 (llrint_test_upward): Likewise.
33919 (llround_test): Likewise.
33921 * math/libm-test.inc (struct test_f_i_data): Add comment.
33922 (RUN_TEST_LOOP_f_b): New macro.
33923 (RUN_TEST_LOOP_f_b_tg): Likewise.
33924 (finite_test_data): New variable.
33925 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33926 (isfinite_test_data): New variable.
33927 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33928 (isinf_test_data): New variable.
33929 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33930 (isnan_test_data): New variable.
33931 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33932 (isnormal_test_data): New variable.
33933 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33934 (issignaling_test_data): New variable.
33935 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33936 (signbit_test_data): New variable.
33937 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33939 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33940 with INVALID_EXCEPTION.
33941 (acosh_test_data): Likewise.
33942 (asin_test_data): Likewise.
33943 (atanh_test_data): Likewise.
33944 (fmod_test_data): Likewise.
33945 (log_test_data): Likewise.
33946 (log10_test_data): Likewise.
33947 (log2_test_data): Likewise.
33948 (pow_test_data): Likewise.
33949 (sqrt_test_data): Likewise.
33950 (y0_test_data): Likewise.
33951 (y1_test_data): Likewise.
33952 (yn_test_data): Likewise.
33954 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33957 * math/libm-test.inc (struct test_ff_i_data): New type.
33958 (RUN_TEST_LOOP_ff_i_tg): New macro.
33959 (isgreater_test_data): New variable.
33960 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33961 (isgreaterequal_test_data): New variable.
33962 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33963 (isless_test_data): New variable.
33964 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33965 (islessequal_test_data): New variable.
33966 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33967 (islessgreater_test_data): New variable.
33968 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33969 (isunordered_test_data): New variable.
33970 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33972 2013-05-14 David S. Miller <davem@davemloft.net>
33974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33976 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33978 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33980 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33982 (struct test_f_i_data): Change type of max_ulp to int.
33984 * math/libm-test.inc (test_ffI_f1_data): New type.
33985 (RUN_TEST_LOOP_ffI_f1): New macro.
33986 (remquo_test_data): New variable.
33987 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33989 * setjmp/tst-setjmp-fp.c: New file.
33990 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33991 (link-libm): New variable.
33992 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33994 * math/libm-test.inc (struct test_f_i_data): New type.
33995 (RUN_TEST_LOOP_f_i): New macro.
33996 (RUN_TEST_LOOP_f_i_tg): Likewise.
33997 (fpclassify_test_data): New variable.
33998 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33999 (ilogb_test_data): New variable.
34000 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34002 * math/libm-test.inc (scalbln_test): Correct function name in END
34005 * math/libm-test.inc (struct test_f_f1_data): Add comment.
34006 (RUN_TEST_LOOP_fI_f1): New macro.
34007 (frexp_test_data): New variable.
34008 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34010 * math/libm-test.inc (struct test_fF_f1_data): New type.
34011 (RUN_TEST_LOOP_fF_f1): New macro.
34012 (modf_test_data): New variable.
34013 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34015 * math/libm-test.inc (struct test_f_f1_data): New type.
34016 (RUN_TEST_LOOP_f_f1): New macro.
34017 (gamma_test_data): New variable.
34018 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34019 (lgamma_test_data): New variable.
34020 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34022 2013-05-13 Carlos O'Donell <carlos@redhat.com>
34024 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34025 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34026 (main): Comment "tls" pseudo-hwcap.
34028 2013-05-13 Joseph Myers <joseph@codesourcery.com>
34030 * math/libm-test.inc (struct test_fl_f_data): New type.
34031 (RUN_TEST_LOOP_fl_f): New variable.
34032 (scalbln_test_data): New variable.
34033 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34035 * math/libm-test.inc (struct test_fi_f_data): New type.
34036 (RUN_TEST_LOOP_fi_f): New macro.
34037 (ldexp_test_data): New variable.
34038 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34039 (scalbn_test_data): New variable.
34040 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34042 * math/libm-test.inc (struct test_c_f_data): New type.
34043 (RUN_TEST_LOOP_c_f): New macro.
34044 (cabs_test_data): New variable.
34045 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34046 (carg_test_data): New variable.
34047 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34048 (cimag_test_data): New variable.
34049 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34050 (creal_test_data): New variable.
34051 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34053 * math/libm-test.inc (struct test_if_f_data): New type.
34054 (RUN_TEST_LOOP_if_f): New macro.
34055 (jn_test_data): New variable.
34056 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34057 (yn_test_data): New variable.
34058 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34060 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34062 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34064 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34065 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34067 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34069 * benchtests/Makefile (CPPFLAGS-nonlib): Add
34070 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34071 (bench-deps): Add bench-timing.h.
34072 * benchtests-bench-skeleton.c: Include bench-timing.h.
34073 (main): Use TIMING_* macros instead of clock_gettime.
34074 * benchtests/bench-timing.h: New file.
34077 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34078 Renamed from _LIB_VERSION.
34079 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34081 2013-05-12 Joseph Myers <joseph@codesourcery.com>
34083 * math/libm-test.inc (struct test_fff_f_data): New type.
34084 (RUN_TEST_LOOP_fff_f): New macro.
34085 (fma_test_data): New variable.
34086 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34087 (fma_towardzero_test_data): New variable.
34088 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34089 (fma_downward_test_data): New variable.
34090 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34091 (fma_upward_test_data): New variable.
34092 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34094 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34095 (struct test_c_c_data): New type.
34096 (RUN_TEST_LOOP_c_c): New macro.
34097 (cacos_test_data): New variable.
34098 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34099 (cacosh_test_data): New variable.
34100 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34101 (casin_test_data): New variable.
34102 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34103 (casinh_test_data): New variable.
34104 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34105 (catan_test_data): New variable.
34106 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34107 (catanh_test_data): New variable.
34108 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34109 (ccos_test_data): New variable.
34110 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34111 (ccosh_test_data): New variable.
34112 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34113 (cexp_test_data): New variable.
34114 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34115 (clog_test_data): New variable.
34116 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34117 (clog10_test_data): New variable.
34118 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34119 (conj_test_data): New variable.
34120 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34121 (cproj_test_data): New variable.
34122 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34123 (csin_test_data): New variable.
34124 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34125 (csinh_test_data): New variable.
34126 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34127 (csqrt_test_data): New variable.
34128 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34129 (ctan_test_data): New variable.
34130 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34131 (ctan_tonearest_test_data): New variable.
34132 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34133 (ctan_towardzero_test_data): New variable.
34134 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34135 (ctan_downward_test_data): New variable.
34136 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34137 (ctan_upward_test_data): New variable.
34138 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34139 (ctanh_test_data): New variable.
34140 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34141 (ctanh_tonearest_test_data): New variable.
34142 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34143 (ctanh_towardzero_test_data): New variable.
34144 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34145 (ctanh_downward_test_data): New variable.
34146 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34147 (ctanh_upward_test_data): New variable.
34148 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34149 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34152 * math/libm-test.inc (struct test_ff_f_data): New type.
34153 (struct test_ff_f_data_nexttoward): Likewise.
34154 (RUN_TEST_LOOP_2_f): New macro.
34155 (RUN_TEST_LOOP_ff_f): Likewise.
34156 (atan2_test_data): New variable.
34157 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34158 (copysign_test_data): New variable.
34159 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34160 (fdim_test_data): New variable.
34161 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34162 (fmax_test_data): New variable.
34163 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34164 (fmin_test_data): New variable.
34165 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34166 (fmod_test_data): New variable.
34167 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34168 (hypot_test_data): New variable.
34169 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34170 (nextafter_test_data): New variable.
34171 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34172 (nexttoward_test_data): New variable.
34173 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34174 (pow_test_data): New variable.
34175 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34176 (pow_tonearest_test_data): New variable.
34177 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34178 (pow_towardzero_test_data): New variable.
34179 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34180 (pow_downward_test_data): New variable.
34181 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34182 (pow_upward_test_data): New variable.
34183 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34184 (remainder_test_data): New variable.
34185 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34186 (scalb_test_data): New variable.
34187 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34188 * sysdeps/i386/fpu/libm-test-ulps: Update.
34190 2013-05-11 Joseph Myers <joseph@codesourcery.com>
34192 * math/libm-test.inc (fma_test): Use max_value instead of local
34194 (nextafter_test): Likewise.
34196 * math/libm-test.inc (acos_towardzero_test_data): New variable.
34197 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34198 (acos_downward_test_data): New variable.
34199 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34200 (acos_upward_test_data): New variable.
34201 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34202 (acosh_test_data): New variable.
34203 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34204 (asin_test_data): New variable.
34205 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34206 (asin_tonearest_test_data): New variable.
34207 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34208 (asin_towardzero_test_data): New variable.
34209 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34210 (asin_downward_test_data): New variable.
34211 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34212 (asin_upward_test_data): New variable.
34213 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34214 (asinh_test_data): New variable.
34215 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34216 (atan_test_data): New variable.
34217 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34218 (atanh_test_data): New variable.
34219 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34220 (cbrt_test_data): New variable.
34221 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34222 (ceil_test_data): New variable.
34223 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34224 (cos_test_data): New variable.
34225 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34226 (cos_tonearest_test_data): New variable.
34227 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34228 (cos_towardzero_test_data): New variable.
34229 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34230 (cos_downward_test_data): New variable.
34231 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34232 (cos_upward_test_data): New variable.
34233 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34234 (cosh_test_data): New variable.
34235 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34236 (cosh_tonearest_test_data): New variable.
34237 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34238 (cosh_towardzero_test_data): New variable.
34239 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34240 (cosh_downward_test_data): New variable.
34241 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34242 (cosh_upward_test_data): New variable.
34243 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34244 (erf_test_data): New variable.
34245 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34246 (erfc_test_data): New variable.
34247 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34248 (exp_test_data): New variable.
34249 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34250 (exp_tonearest_test_data): New variable.
34251 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34252 (exp_towardzero_test_data): New variable.
34253 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34254 (exp_downward_test_data): New variable.
34255 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34256 (exp_upward_test_data): New variable.
34257 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34258 (exp10_test_data): New variable.
34259 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34260 (exp2_test_data): New variable.
34261 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34262 (expm1_test_data): New variable.
34263 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34264 (fabs_test_data): New variable.
34265 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34266 (floor_test_data): New variable.
34267 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34268 (j0_test_data): New variable.
34269 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34270 (j1_test_data): New variable.
34271 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34272 (log_test_data): New variable.
34273 (log_test): Run tests with RUN_TEST_LOOP_f_f.
34274 (log10_test_data): New variable.
34275 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34276 (log1p_test_data): New variable.
34277 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34278 (log2_test_data): New variable.
34279 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34280 (logb_test_data): New variable.
34281 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34282 (logb_downward_test_data): New variable.
34283 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34284 (nearbyint_test_data): New variable.
34285 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34286 (rint_test_data): New variable.
34287 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34288 (rint_tonearest_test_data): New variable.
34289 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34290 (rint_towardzero_test_data): New variable.
34291 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34292 (rint_downward_test_data): New variable.
34293 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34294 (rint_upward_test_data): New variable.
34295 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34296 (round_test_data): New variable.
34297 (round_test): Run tests with RUN_TEST_LOOP_f_f.
34298 (sin_test_data): New variable.
34299 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34300 (sin_tonearest_test_data): New variable.
34301 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34302 (sin_towardzero_test_data): New variable.
34303 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34304 (sin_downward_test_data): New variable.
34305 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34306 (sin_upward_test_data): New variable.
34307 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34308 (sinh_test_data): New variable.
34309 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34310 (sinh_tonearest_test_data): New variable.
34311 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34312 (sinh_towardzero_test_data): New variable.
34313 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34314 (sinh_downward_test_data): New variable.
34315 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34316 (sinh_upward_test_data): New variable.
34317 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34318 (sqrt_test_data): New variable.
34319 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34320 (tan_test_data): New variable.
34321 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34322 (tan_tonearest_test_data): New variable.
34323 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34324 (tan_towardzero_test_data): New variable.
34325 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34326 (tan_downward_test_data): New variable.
34327 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34328 (tan_upward_test_data): New variable.
34329 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34330 (tanh_test_data): New variable.
34331 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34332 (tgamma_test_data): New variable.
34333 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34334 (trunc_test_data): New variable.
34335 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34336 (y0_test_data): New variable.
34337 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34338 (y1_test_data): New variable.
34339 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34340 (significand_test_data): New variable.
34341 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34343 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
34346 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34348 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
34350 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34352 2013-05-10 Andreas Jaeger <aj@suse.de>
34355 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34356 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34358 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34360 * math/gen-libm-test.pl (adjust_arg): New function.
34361 (special_functions): Handle generating output in both functions
34363 (parse_args): Likewise.
34364 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
34365 $in_func argument to parse_args.
34366 * math/libm-test.inc (struct test_f_f_data): New type.
34367 (IF_ROUND_INIT_): New macro.
34368 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34369 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34370 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34371 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34372 (ROUND_RESTORE_): Likewise.
34373 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34374 (ROUND_RESTORE_FE_TONEAREST): Likewise.
34375 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34376 (ROUND_RESTORE_FE_UPWARD): Likewise.
34377 (RUN_TEST_LOOP_f_f): New macro.
34378 (acos_test_data): New variable.
34379 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34380 (acos_tonearest_test_data): New variable.
34381 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34383 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34385 * benchtests/bench-skeleton.c (startup): Fix coding style.
34387 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34390 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34391 negative infinity argument.
34392 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34393 negative infinity argument.
34394 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34395 negative infinity argument.
34396 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34399 2013-05-10 Florian Weimer <fweimer@redhat.com>
34401 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34402 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34403 * iconv/iconv_prog.c (main): Likewise.
34404 * locale/programs/charmap-dir.c (charmap_readdir)
34405 (fopen_uncompressed): Likewise.
34406 * locale/programs/locfile.c (siblings_uncached)
34407 (write_locale_data): Use lstat64 instead of lstat.
34408 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34411 2013-05-10 Andreas Jaeger <aj@suse.de>
34414 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34416 Include <locale.h>.
34418 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34420 * elf/dl-close.c (_dl_close_worker): Add comments.
34422 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34425 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34427 (__ieee754_rem_pio2l): Update comments.
34430 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34432 (__ieee754_rem_pio2l): Update comments.
34434 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34435 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34437 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34440 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34441 (M_PI_34_LOG10El): Likewise.
34442 (M_PI2_LOG10El): Likewise.
34443 (M_PI4_LOG10El): Likewise.
34444 (M_PI_LOG10El): Likewise.
34446 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34450 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34452 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34453 (MINUS_ZERO_INIT): Likewise.
34454 (PLUS_INFTY_INIT): Likewise.
34455 (MINUS_INFTY_INIT): Likewise.
34456 (QNAN_VALUE_INIT): Likewise.
34457 (MAX_VALUE_INIT): Likewise.
34458 (MIN_VALUE_INIT): Likewise.
34459 (MIN_SUBNORM_VALUE_INIT): Likewise.
34460 (plus_zero): Initialize with PLUS_ZERO_INIT.
34461 (minus_zero): Initialize with MINUS_ZERO_INIT.
34462 (plus_infty): Initialize with PLUS_INFTY_INIT.
34463 (minus_infty): Initialize with MINUS_INFTY_INIT.
34464 (qnan_value): Initialize with QNAN_VALUE_INIT.
34465 (max_value): Initialize with MAX_VALUE_INIT.
34466 (min_value): Initialize with MIN_VALUE_INIT.
34467 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34469 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34470 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34471 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34472 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34474 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34475 (RUN_TEST_2_f): Likewise.
34476 (RUN_TEST_ff_f): Likewise.
34477 (RUN_TEST_fi_f): Likewise.
34478 (RUN_TEST_fl_f): Likewise.
34479 (RUN_TEST_fff_f): Likewise.
34480 (RUN_TEST_c_f): Likewise.
34481 (RUN_TEST_f_f1): Likewise.
34482 (RUN_TEST_fF_f1): Likewise.
34483 (RUN_TEST_fI_f1): Likewise.
34484 (RUN_TEST_ffI_f1): Likewise.
34485 (RUN_TEST_c_c): Likewise.
34486 (RUN_TEST_cc_c): Likewise.
34487 (RUN_TEST_f_i): Likewise.
34488 (RUN_TEST_f_i_tg): Likewise.
34489 (RUN_TEST_ff_i_tg): Likewise.
34490 (RUN_TEST_f_b): Likewise.
34491 (RUN_TEST_f_b_tg): Likewise.
34492 (RUN_TEST_f_l): Likewise.
34493 (RUN_TEST_f_L): Likewise.
34494 (RUN_TEST_sincos): Likewise.
34495 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34496 whether to show exceptions. Do not include ");\n" in return
34498 (special_functions): Output call to RUN_TEST_sincos instead of
34499 check_float calls. Update calls to new_test.
34500 (parse_args): Output call to single RUN_TEST_* macro instead of
34501 check_* calls and other assignments. Update calls to new_test.
34507 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34508 input to result for tgamma overflow.
34509 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34510 (gamma_coeff): New variable.
34511 (NCOEFF): New macro.
34512 (gamma_positive): New function.
34513 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34514 underflow here. Use gamma_positive instead of exp (lgamma) for
34516 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34517 (gamma_coeff): New variable.
34518 (NCOEFF): New macro.
34519 (gammaf_positive): New function.
34520 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34521 underflow here. Use gamma_positive instead of exp (lgamma) for
34523 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34524 (gamma_coeff): New variable.
34525 (NCOEFF): New macro.
34526 (gammal_positive): New function.
34527 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34528 underflow here. Use gamma_positive instead of exp (lgamma) for
34530 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34531 (gamma_coeff): New variable.
34532 (NCOEFF): New macro.
34533 (gammal_positive): New function.
34534 (__ieee754_gammal_r): Handle positive infinity, overflow and
34535 underflow here. Handle NaN the same as positive infinity. Remove
34536 check x < 0xffffffff for negative integers. Use gamma_positive
34537 instead of exp (lgamma) for other arguments.
34538 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34539 (gamma_coeff): New variable.
34540 (NCOEFF): New macro.
34541 (gammal_positive): New function.
34542 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34543 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34544 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34545 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34546 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34547 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34548 * sysdeps/generic/math_private.h (__gamma_productf): New
34550 (__gamma_product): Likewise.
34551 (__gamma_productl): Likewise.
34552 * math/Makefile (libm-calls): Add gamma_product.
34553 * math/libm-test.inc (tgamma_test): Add more tests.
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34557 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34559 * benchtests/bench-skeleton.c (main): Preheat CPU.
34561 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34563 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34565 2013-05-07 Roland McGrath <roland@hack.frob.com>
34567 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34568 and _dl_skip_args_internal.
34570 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34572 * manual/message.texi (Message Translation): Talk about users.
34573 Message to key mapping impacts design.
34575 2013-05-06 Roland McGrath <roland@hack.frob.com>
34577 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34579 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34581 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34582 * sysdeps/wordsize-64/glob64.c: ... here.
34584 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34585 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34588 * debug/getlogin_r_chk.c: Moved to ...
34589 * login/getlogin_r_chk.c: ... here.
34590 * debug/Makefile (routines): Move getlogin_r_chk to ...
34591 * login/Makefile (routines): ... here.
34592 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34593 * login/Versions (libc: GLIBC_2.4): ... here.
34595 * io/poll.c (__poll): Renamed from poll.
34596 Add libc_hidden_def.
34597 (poll): Define as weak alias.
34599 * debug/ptsname_r_chk.c: Moved to ...
34600 * login/ptsname_r_chk.c: ... here.
34601 * debug/Makefile (routines): Move ptsname_r_chk to ...
34602 * login/Makefile (routines): ... here.
34603 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34604 * login/Versions (libc: GLIBC_2.4): ... here.
34606 * posix/getlogin.c: Moved to ...
34607 * login/getlogin.c: ... here.
34608 * posix/getlogin_r.c: Moved to ...
34609 * login/getlogin_r.c: ... here.
34610 * posix/getlogin_r.c: Moved to ...
34611 * login/getlogin_r.c: ... here.
34612 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34613 * login/Makefile (routines): ... here.
34614 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34615 * login/Versions (libc: GLIBC_2.0): ... here.
34617 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34618 (setrlimit): Define as weak alias.
34620 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34621 Call __ names for open, ftruncate, and close.
34622 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34623 (truncate): Define as weak alias.
34625 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34627 * math/gen-libm-test.pl (parse_args): Initialize x before each
34628 test of frexp, modf and remquo.
34630 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34631 test signgam value.
34633 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34637 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34639 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34641 2013-05-06 Roland McGrath <roland@hack.frob.com>
34643 * elf/dl-writev.h: New file.
34644 * elf/dl-misc.c: Include it.
34645 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34646 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34648 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34650 * math/libm-test.inc (noXFails): Remove variable.
34651 (noXPasses): Likewise.
34652 (BUILD_COMPLEX_INT): Remove macro.
34653 (print_screen): Remove xfail argument.
34654 (print_screen_max_error): Likewise.
34655 (update_stats): Likewise.
34656 (print_max_error): Likewise. Update calls to other affected
34658 (print_complex_max_error): Likewise.
34659 (test_single_exception): Update calls to print_screen.
34660 (test_single_errno): Likewise.
34661 (check_float_internal): Remove xfail argument. Update calls to
34662 other affected functions.
34663 (check_float): Likewise.
34664 (check_complex): Likewise.
34665 (check_int): Likewise.
34666 (check_long): Likewise.
34667 (check_bool): Likewise.
34668 (check_longlong): Likewise.
34669 (main): Don't print noXFails and noXPasses.
34670 * math/gen-libm-test.pl (top level): Don't mention expected
34671 failure handling in comment.
34672 (new_test): Don't handle expected failures.
34673 (parse_args): Don't mention expected failure handling in comment.
34674 (generate_testfile): Don't handle expected failures.
34675 (parse_ulps): Likewise.
34676 (print_ulps_file): Likewise.
34677 (get_failure): Remove function.
34678 (output_test): Don't handle expected failures.
34679 * make/README.libm-test: Don't mention expected failure handling.
34681 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34682 (minus_zero): Likewise.
34683 (plus_infty): Likewise.
34684 (minus_infty): Likewise.
34685 (qnan_value): Likewise.
34686 (max_value): Likewise.
34687 (min_value): Likewise.
34688 (min_subnorm_value): Likewise.
34689 (initialize): Do not initialize those variables dynamically.
34691 2013-05-03 Roland McGrath <roland@hack.frob.com>
34693 * io/open.c (__open_2): Moved to ...
34694 * io/open_2.c: ... this new file.
34695 * io/open64.c (__open64_2): Moved to ...
34696 * io/open64_2.c: ... this new file.
34697 * io/openat.c (__openat_2): Moved to ...
34698 * io/openat_2.c: ... this new file.
34699 * io/openat64.c (__openat64_2): Moved to ...
34700 * io/openat64_2.c: ... this new file.
34701 * io/Makefile (routines): Add them.
34702 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34703 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34704 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34705 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34706 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34707 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34708 (__openat64): Add hidden_ver.
34709 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34710 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34712 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34713 Separately conditionalize setting of GLRO(dl_sysinfo) so
34714 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34715 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34717 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34719 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34720 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34722 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34723 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34724 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34725 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34726 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34728 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34730 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34731 test signgam value.
34733 * math/libm-test.inc (hypot_test): Do not use
34734 IGNORE_ZERO_INF_SIGN.
34736 2013-05-03 Andreas Jaeger <aj@suse.de>
34738 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34740 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34741 (PF_MAX): Adjust for VSOCK change.
34743 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34747 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34750 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34751 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34752 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34754 2013-05-02 David S. Miller <davem@davemloft.net>
34756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34758 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34760 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34762 2013-05-01 Roland McGrath <roland@hack.frob.com>
34764 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34766 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34769 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34770 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34771 Use __attribute__ ((__gnu_inline__)).
34772 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34773 Don't use __attribute__ ((__gnu_inline__)).
34775 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34778 * math/s_catan.c (__catan): Handle small real or imaginary part of
34779 input specially to avoid spurious underflow.
34780 * math/s_catanf.c (__catanf): Likewise.
34781 * math/s_catanh.c (__catanh): Likewise.
34782 * math/s_catanhf.c (__catanhf): Likewise.
34783 * math/s_catanhl.c (__catanhl): Likewise.
34784 * math/s_catanl.c (__catanl): Likewise.
34785 * math/libm-test.inc (catan_test): Add more tests.
34786 (catanh_test): Likewise.
34787 * sysdeps/i386/fpu/libm-test-ulps: Update.
34788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34790 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34794 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34797 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34798 accurately for denominator in atan2.
34799 * math/s_catanf.c (__catanf): Likewise.
34800 * math/s_catanh.c (__catanh): Likewise.
34801 * math/s_catanhf.c (__catanhf): Likewise.
34802 * math/s_catanhl.c (__catanhl): Likewise.
34803 * math/s_catanl.c (__catanl): Likewise.
34804 * math/libm-test.inc (catan_test): Add more tests.
34805 (catanh_test): Likewise.
34806 * sysdeps/i386/fpu/libm-test-ulps: Update.
34807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34809 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34811 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34813 * benchtests/Makefile (bench): Remove slow benchmarks.
34814 * benchtests/atan-inputs: Add slow benchmark inputs.
34815 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34816 (BENCH_FUNC): Accept variant offset.
34818 * benchtests/bench-skeleton.c (main): Run benchmark for each
34820 * benchtests/cos-inputs: Add slow benchmark inputs.
34821 * benchtests/exp-inputs: Likewise.
34822 * benchtests/pow-inputs: Likewise.
34823 * benchtests/sin-inputs: Likewise.
34824 * benchtests/slowatan-inputs: Remove.
34825 * benchtests/slowatan.c: Remove.
34826 * benchtests/slowcos-inputs: Remove.
34827 * benchtests/slowcos.c: Remove.
34828 * benchtests/slowexp-inputs: Remove.
34829 * benchtests/slowexp.c: Remove.
34830 * benchtests/slowpow-inputs: Remove.
34831 * benchtests/slowpow.c: Remove.
34832 * benchtests/slowsin-inputs: Remove.
34833 * benchtests/slowsin.c: Remove.
34834 * benchtests/slowtan-inputs: Remove.
34835 * benchtests/slowtan.c: Remove.
34836 * benchtests/tan-inputs: Add slow benchmark inputs.
34837 * scripts/bench.pl: Parse comments and directives.
34839 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34841 ($(objpfx)bench-%.c): Remove *-ITER.
34842 * benchtests/bench-modf.c: Remove definition of ITER.
34843 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34844 (main): Loop for DURATION seconds instead of fixed number of
34846 * scripts/bench.pl: Don't expect iterations in parameters.
34848 2013-04-29 Roland McGrath <roland@hack.frob.com>
34850 * io/fchdir.c (__fchdir): Renamed from fchdir.
34851 (fchdir): Define as weak alias.
34853 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34855 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34856 (ERRNO_EDOM): Likewise.
34857 (ERRNO_ERANGE): Likewise.
34858 (noErrnoTests): New variable.
34859 (init_max_error): Set errno to 0.
34860 (test_single_errno): New function.
34861 (test_errno): Likewise.
34862 (check_float_internal): Call test_errno. Set errno to 0.
34863 (check_complex): Refer to errno tests in comment.
34864 (check_int): Call test_errno. Set errno to 0.
34865 (check_long): Likewise.
34866 (check_bool): Likewise.
34867 (check_longlong): Likewise.
34868 (cos_test): Use ERRNO_* flags for errno tests instead of
34870 (expm1_test): Likewise.
34871 (fmod_test): Likewise.
34872 (ilogb_test): Likewise.
34873 (lgamma_test): Likewise.
34874 (pow_test): Likewise.
34875 (remainder_test): Likewise.
34876 (sin_test): Likewise.
34877 (tan_test): Likewise.
34878 (yn_test): Likewise.
34879 (initialize): Set errno to 0.
34880 (main): Print number of errno tests.
34881 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34883 2013-04-29 Andreas Jaeger <aj@suse.de>
34886 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34890 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34891 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34895 * stdlib/random.c (__initstate): Return NULL if
34899 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34900 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34903 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34907 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34909 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34910 of individual tests.
34911 (casin_test): Likewise.
34912 (casinh_test): Likewise.
34914 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34917 * math/s_catan.c (__catan): Handle arguments with large real or
34918 imaginary part separately without squaring.
34919 * math/s_catanf.c (__catanf): Likewise.
34920 * math/s_catanh.c (__catanh): Likewise.
34921 * math/s_catanhf.c (__catanhf): Likewise.
34922 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34924 (__catanhl): Handle arguments with large real or imaginary part
34925 separately without squaring.
34926 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34928 (__catanl): Handle arguments with large real or imaginary part
34929 separately without squaring.
34930 * math/libm-test.inc (catan_test): Add more tests.
34931 (catanh_test): Likewise.
34932 * sysdeps/i386/fpu/libm-test-ulps: Update.
34933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935 2013-04-27 Andreas Jaeger <aj@suse.de>
34938 * stdlib/stdlib.h: Update guards for qecvt.
34939 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34942 2013-04-27 Allan McRae <allan@archlinux.org>
34944 * sysdeps/i386/fpu/libm-test-ulps: Update.
34946 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34949 * math/s_catan.c: Include <float.h>.
34950 (__catan): Ensure underflow exception occurs for underflowed
34952 * math/s_catanf.c: Include <float.h>.
34953 (__catanf): Ensure underflow exception occurs for underflowed
34955 * math/s_catanh.c: Include <float.h>.
34956 (__catanh): Ensure underflow exception occurs for underflowed
34958 * math/s_catanhf.c: Include <float.h>.
34959 (__catanhf): Ensure underflow exception occurs for underflowed
34961 * math/s_catanhl.c: Include <float.h>.
34962 (__catanhl): Ensure underflow exception occurs for underflowed
34964 * math/s_catanl.c: Include <float.h>.
34965 (__catanl): Ensure underflow exception occurs for underflowed
34967 * math/libm-test.inc (catan_test): Add more tests.
34968 (catanh_test): Likewise.
34971 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34972 underflowed result.
34973 * math/s_ccoshf.c (__ccoshf): Likewise.
34974 * math/s_ccoshl.c (__ccoshl): Likewise.
34975 * math/s_csin.c (__csin): Likewise.
34976 * math/s_csinf.c (__csinf): Likewise.
34977 * math/s_csinh.c (__csinh): Likewise.
34978 * math/s_csinhf.c (__csinhf): Likewise.
34979 * math/s_csinhl.c (__csinhl): Likewise.
34980 * math/s_csinl.c (__csinl): Likewise.
34981 * math/libm-test.inc (ccos_test): Add more tests.
34982 (ccosh_test): Likewise.
34983 (csin_test): Likewise.
34984 (csinh_test): Likewise.
34986 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34988 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34989 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34990 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34991 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34992 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34993 powerpc/power5+/fpu folders.
34994 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34997 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35001 2013-04-25 Joseph Myers <joseph@codesourcery.com>
35003 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35004 additions to variable.
35005 [$(config-machine) = x86_64] (modules-names): Likewise.
35006 ($(objpfx)tst-audit3): Remove dependency.
35007 ($(objpfx)tst-audit3.out): Likewise.
35008 ($(objpfx)tst-audit4): Likewise.
35009 ($(objpfx)tst-audit4.out): Likewise.
35010 ($(objpfx)tst-audit5): Likewise.
35011 ($(objpfx)tst-audit5.out): Likewise.
35012 ($(objpfx)tst-audit6): Likewise.
35013 ($(objpfx)tst-audit6.out): Likewise.
35014 ($(objpfx)tst-audit7): Likewise.
35015 ($(objpfx)tst-audit7.out): Likewise.
35016 (tst-audit3-ENV): Remove variable.
35017 (tst-audit4-ENV): Likewise.
35018 (tst-audit5-ENV): Likewise.
35019 (tst-audit6-ENV): Likewise.
35020 (tst-audit7-ENV): Likewise.
35021 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35022 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35023 addition to variable.
35024 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35025 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35026 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35027 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35029 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35030 tst-audit3, tst-audit4 and tst-audit5.
35031 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35032 tst-audit6 and tst-audit7.
35033 [$(subdir) = elf] (modules-names): Add audit modules for those
35035 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35036 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35037 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35038 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35039 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35040 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35041 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35042 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35043 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35044 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35045 [$(subdir) = elf] (tst-audit3-ENV): New variable.
35046 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35047 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35048 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35049 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35050 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35052 [$(subdir) = elf && $(config-cflags-avx) = yes]
35053 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35054 [$(subdir) = elf && $(config-cflags-avx) = yes]
35055 (CFLAGS-tst-auditmod4a.c): Likewise.
35056 [$(subdir) = elf && $(config-cflags-avx) = yes]
35057 (CFLAGS-tst-auditmod4b.c): Likewise.
35058 [$(subdir) = elf && $(config-cflags-avx) = yes]
35059 (CFLAGS-tst-auditmod6b.c): Likewise.
35060 [$(subdir) = elf && $(config-cflags-avx) = yes]
35061 (CFLAGS-tst-auditmod6c.c): Likewise.
35062 [$(subdir) = elf && $(config-cflags-avx) = yes]
35063 (CFLAGS-tst-auditmod7b.c): Likewise.
35064 * elf/tst-audit3.c: Move to ...
35065 * sysdeps/x86_64/tst-audit3.c: ... here.
35066 * elf/tst-audit4.c: Move to ...
35067 * sysdeps/x86_64/tst-audit4.c: ... here.
35068 * elf/tst-audit5.c: Move to ...
35069 * sysdeps/x86_64/tst-audit5.c: ... here.
35070 * elf/tst-audit6.c: Move to ...
35071 * sysdeps/x86_64/tst-audit6.c: ... here.
35072 * elf/tst-audit7.c: Move to ...
35073 * sysdeps/x86_64/tst-audit7.c: ... here.
35074 * elf/tst-auditmod3a.c: Move to ...
35075 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35076 * elf/tst-auditmod3b.c: Move to ...
35077 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35078 * elf/tst-auditmod4a.c: Move to ...
35079 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35080 * elf/tst-auditmod4b.c: Move to ...
35081 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35082 * elf/tst-auditmod5a.c: Move to ...
35083 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35084 * elf/tst-auditmod5b.c: Move to ...
35085 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35086 * elf/tst-auditmod6a.c: Move to ...
35087 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35088 * elf/tst-auditmod6b.c: Move to ...
35089 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35090 * elf/tst-auditmod6c.c: Move to ...
35091 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35092 * elf/tst-auditmod7a.c: Move to ...
35093 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35094 * elf/tst-auditmod7b.c: Move to ...
35095 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35097 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
35100 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35101 define unconditionally.
35102 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35103 define unconditionally.
35104 (INT8_C, INT16_C, etc.): Likewise.
35106 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
35108 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35109 __ehdr_start with hidden visibility.
35111 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35113 2013-04-24 Carlos O'Donell <carlos@redhat.com>
35115 * math/libm-test.inc (cos_test): Use accurate hex constants.
35116 (sincost_test): Likewise.
35118 2013-04-24 Joseph Myers <joseph@codesourcery.com>
35120 * math/libm-test.inc (catan_test): Add more tests.
35121 (catanh_test): Likewise.
35123 * math/s_catanf.c (__catanf): Use suffixed floating-point
35125 * math/s_catanhf.c (__catanhf): Likewise.
35126 * math/s_catanhl.c (__catanhl): Likewise.
35127 * math/s_catanl.c (__catanl): Likewise.
35130 * math/s_catan.c (__catan): Calculate imaginary part of result
35131 with log1p not log unless computing log of number close to 0.
35132 * math/s_catanf.c (__catanf): Likewise.
35133 * math/s_catanl.c (__catanl): Likewise.
35134 * math/s_catanh.c (__catanh): Calculate real part of result with
35135 log1p not log unless computing log of number close to 0.
35136 * math/s_catanhf.c (__catanhf): Likewise.
35137 * math/s_catanhl.c (__catanhl): Likewise.
35138 * math/libm-test.inc (catan_test): Add more tests.
35139 (catanh_test): Likewise.
35140 * sysdeps/i386/fpu/libm-test-ulps: Update.
35141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35143 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35145 * benchtests/Makefile: Mention files in which fast and slow
35146 paths of math functions are implemented.
35148 2013-04-23 Roland McGrath <roland@hack.frob.com>
35150 * sysdeps/posix/timespec_get.c: New file.
35152 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35154 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35156 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35158 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35159 powerpc/power5/fpu folders.
35160 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35161 * benchtests/Makefile: Add modf testcase.
35162 * benchtests/bench-modf.c: New file: Benchmark test for mo
35164 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35167 * time/Makefile (tests): Add tst-strptime-whitespace.
35168 * time/strptime_l.c (get_number): Use ISSPACE.
35169 (__strptime_internal): Likewise.
35170 * time/tst-strptime-whitespace.c: New test case.
35172 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
35174 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35176 (_nss_files_init): Set it here.
35178 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
35180 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35181 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35184 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
35186 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35188 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35193 2013-04-21 David S. Miller <davem@davemloft.net>
35195 * po/ru.po: Update Russion translation from translation project.
35197 2013-04-17 Adam Conrad <adconrad@0c3.net>
35199 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35202 2013-04-17 Carlos O'Donell <carlos@redhat.com>
35204 * configure.in: Remove i386 configure warning. Remove i386 case.
35205 * configure: Regenerate.
35206 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35207 Add example to error message.
35208 * sysdeps/i386/configure: Regenerate.
35210 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35212 * benchtests/Makefile (bench): Add cos, tan, slowcos and
35214 * benchtests/cos-inputs: New file.
35215 * benchtests/slowcos-inputs: New file.
35216 * benchtests/slowcos.c: New file.
35217 * benchtests/slowtan-inputs: New file.
35218 * benchtests/slowtan.c: New file.
35219 * benchtests/tan-inputs: New file.
35221 2013-04-16 Roland McGrath <roland@hack.frob.com>
35223 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35226 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35228 * benchtests/Makefile: Include cppflags-iterator.mk to add
35229 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35231 * Makefile.in (bench-clean): New target.
35232 * benchtests/Makefile (bench-clean): Likewise.
35234 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
35236 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35238 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
35240 * stdio-common/tstdiomisc.c: Fix coding-style violation.
35242 2013-04-15 Andreas Schwab <schwab@suse.de>
35244 * nscd/grpcache.c (cache_addgr): Properly check for short write.
35245 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35246 * nscd/pwdcache.c (cache_addpw): Likewise.
35247 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
35250 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35252 * benchtests/Makefile (bench): Write all output to
35253 bench-out.tmp together.
35255 2013-04-15 Andreas Schwab <schwab@suse.de>
35257 * nscd/nscd.c (main): Don't fork again after closing files.
35259 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35261 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35263 * benchtests/Rules (bench-deps): Collect dependencies into a
35264 single variable. Add Makefile to dependencies.
35265 ($(objpfx)bench-%.c): Depend on bench-deps.
35267 2013-04-12 Roland McGrath <roland@hack.frob.com>
35268 Xavier Roche <roche+kml2@exalead.com>
35271 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35272 just that it's a file descriptor.
35273 * manual/llio.texi (Synchronizing AIO Operations): Update description
35274 for EBADF error from aio_fsync.
35276 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35278 * Rules (bench): Move target definition...
35279 * benchtests/Makefile: ... here.
35281 2013-04-11 Carlos O'Donell <carlos@redhat.com>
35283 * math/libm-test.inc (cos_test): Fix PI/2 test.
35284 (sincos_test): Likewise.
35285 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35286 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35288 2013-04-11 Andreas Schwab <schwab@suse.de>
35291 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35292 accept exponent character only when digits were seen.
35293 * stdio-common/Makefile (tests): Add bug26.
35294 * stdio-common/bug26.c: New file.
35297 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35300 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35302 * Makeconfig (rtld-prefix): Define built linker prefix.
35303 * Rules (run-bench): Use it.
35304 * math/Makefile (run-regen-ulps): Likewise.
35306 * Rules (bench): Remove eval.
35308 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35309 Roland McGrath <roland@hack.frob.com>
35310 Ondrej Bilka <neleai@seznam.cz>
35313 * time/getdate.c: Include ctype.h and alloca.h.
35314 (__getdate_r): Trim leading and trailing spaces of input.
35315 * time/tst-getdate.c (tests): Add tests with leading and
35318 2013-04-08 Roland McGrath <roland@hack.frob.com>
35321 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35322 when computing value.
35324 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35326 * math/README.libm-test (How can I generate "libm-test-ulps"?):
35327 Use testrun.sh to run libm tests.
35330 * elf/dl-open.c (dl_open_worker): memset all of seen array.
35332 2013-04-06 Marko Myllynen <myllynen@redhat.com>
35335 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35337 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35339 * Makefile.in (regen-ulps): New target.
35340 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35341 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35342 [ifneq (no,$(PERL)] (regen-ulps): New target.
35343 [ifeq (no,$(PERL)] (regen-ulps): New target.
35344 * math/libm-test.inc (ulps_file_name): Define.
35345 (output_dir): New variable.
35346 (options): Add "output-dir" option.
35347 (parse_opt): Handle 'o' case.
35348 (main): If output_dir is non-NULL use it as a prefix
35350 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35352 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35354 [BZ #10060, #10062]
35355 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35356 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35357 fail configure if __sync_val_compare_and_swap is not inlined.
35358 * sysdeps/i386/configure: Regenerate.
35359 * configure.in: Build for i686 when configured for i386.
35360 * configure: Regenerate.
35361 * README: Remove i386 reference.
35363 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35365 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35368 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
35370 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35371 (lmsnanval): New variables.
35372 (F): Add conversion tests.
35373 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35374 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35376 * stdio-common/tstdiomisc.c (F): Properly collect individual
35379 [BZ #14686, #15336]
35380 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35381 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35382 Instead, use input NaN values or generate a qNaN by arithmetic
35383 operation. Also fix bugs to comply with the standard.
35384 * math/libm-test.inc (remainder_test): Add more tests.
35386 [BZ #15335, #15342]
35387 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35388 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35389 input NaN values or generate a qNaN by arithmetic operation.
35391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35394 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35397 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35400 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35401 underflowed result.
35402 * math/s_cexpf.c (__cexpf): Likewise.
35403 * math/s_cexpl.c (__cexpl): Likewise.
35404 * math/libm-test.inc (cexp_test): Add more tests.
35406 2013-04-03 Andreas Schwab <schwab@suse.de>
35409 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35410 order arrays from heap if bigger than alloca cutoff.
35412 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35414 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35415 (SNAN_TESTS_double): Refer to GCC PR56831.
35416 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35419 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35421 * Rules (bench): Move bench.out after the run is complete.
35423 * Rules (bench): Echo currently running benchmark.
35425 * benchtests/Makefile (bench): Add atan and slowatan.
35426 * benchtests/atan-inputs: New file.
35427 * benchtests/slowatan-inputs: New file.
35428 * benchtests/slowatan.c: New file.
35430 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35431 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35435 * sysdeps/unix/sysv/linux/kernel-features.h
35436 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35437 __ASSUME_XFS_RESTRICTED_CHOWN.
35438 * sysdeps/unix/sysv/linux/pathconf.c
35439 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35440 Save and restore errno.
35442 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35445 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35446 arguments using __kernel_casinh.
35447 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35448 arguments using __kernel_casinhf.
35449 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35450 arguments using __kernel_casinhl.
35451 * math/libm-test.inc (cacosh_test): Add more tests.
35452 * sysdeps/i386/fpu/libm-test-ulps: Update.
35453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35455 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35457 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35460 * bench/Makefile (bench): Add sin and slowsin.
35461 * benchtests/sin-inputs: New file.
35462 * benchtests/slowsin-inputs: New file.
35463 * benchtests/slowsin.c: New file.
35465 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35466 (bench): Add slowexp and slowpow.
35467 (exp-ITER): Increase iterations.
35468 (pow-ITER): Likewise.
35469 * benchtests/exp-inputs: Change input.
35470 * benchtests/pow-inputs: Likewise.
35471 * benchtests/slowexp-inputs: New file.
35472 * benchtests/slowexp.c: New file.
35473 * benchtests/slowpow-inputs: New file.
35474 * benchtests/slowpow.c: New file.
35476 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35478 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35480 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35481 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35482 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35483 * benchtests/Makefile: Add rint benchtest.
35484 * benchtests/rint-inputs: Input for rint benchtest.
35486 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35488 * Versions.def (libm): Add GLIBC_2.18.
35489 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35490 hidden libm prototypes.
35491 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35492 * math/Makefile (libm-calls): Add s_issignaling.
35493 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35494 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35495 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35497 * math/math.h [__USE_GNU] (issignaling): New macro.
35498 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35499 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35500 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35501 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35504 * manual/arith.texi (issignaling): New section.
35505 * manual/libm-err-tab.pl (@all_functions): Update comment.
35506 * math/gen-libm-test.pl (parse_args): Apply special handling for
35508 * math/libm-test.inc (print_float, issignaling_test): New
35510 (check_float_internal): Add issignaling checks.
35511 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35512 default definition.
35513 * sysdeps/powerpc/math-tests.h: New file.
35514 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35516 * math/test-snan.c (TEST_FUNC): Likewise.
35518 2013-03-30 David S. Miller <davem@davemloft.net>
35520 * po/de.po: Update from translation team.
35522 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35525 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35526 imaginary part less than 1.0 and real part less than 0.5
35528 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35529 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35530 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35531 (cacos_test): Add more tests.
35532 (casin_test): Likewise.
35533 (casinh_test): Likewise.
35534 * sysdeps/i386/fpu/libm-test-ulps: Update.
35535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35537 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35539 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35540 ONE with its value.
35542 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35543 (__pow_mp): Replace ONE and MONE with their values.
35544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35546 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35547 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35548 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35549 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35551 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35553 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35554 (__pow_mp): Replace ZERO and MZERO with their values.
35555 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35556 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35557 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35558 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35559 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35560 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35563 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35565 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35567 2013-03-28 Roland McGrath <roland@hack.frob.com>
35569 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35570 Declare with __attribute__ ((weak)).
35571 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35572 Call __call_tls_dtors only if it's not NULL.
35574 2013-03-28 Roland McGrath <roland@hack.frob.com>
35576 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35577 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35578 magic __ehdr_start linker symbol if it's defined.
35579 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35580 them up here if it was already done.
35582 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35583 (_dl_aux_init): Use const in cast when setting it.
35584 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35585 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35586 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35588 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35590 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35591 * csu/libc-tls.c: Nor here.
35592 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35594 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35595 (__libc_message): Never call vsyslog.
35597 2013-03-28 Alan Modra <amodra@gmail.com>
35599 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35601 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35604 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35607 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35611 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35614 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35615 Don't add gid passed as argument.
35617 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35619 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35622 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35623 imaginary part between 1.0 and 1.5 and real part less than 0.5
35625 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35626 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35627 * math/libm-test.inc (cacos_test): Add more tests.
35628 (casin_test): Likewise.
35629 (casinh_test): Likewise.
35630 * sysdeps/i386/fpu/libm-test-ulps: Update.
35631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35633 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35635 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35638 (denorm): Likewise.
35639 (__dbl_mp): Likewise.
35640 (add_magnitudes): Likewise.
35641 (sub_magnitudes): Likewise.
35649 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35651 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35652 (__dubcos): Likewise.
35653 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35654 (__ieee754_acos): Likewise.
35655 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35657 (__exp1): Likewise.
35658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35659 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35661 (my_log2): Likewise.
35662 (checkint): Likewise.
35663 * sysdeps/ieee754/dbl-64/e_remainder.c
35664 (__ieee754_remainder): Likewise.
35665 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35667 (bsloww): Likewise.
35668 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35670 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35671 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35672 MANTISSA_STORE_T to store computations on mantissa. Use
35673 macros for rounding and division.
35674 (denorm): Likewise.
35675 (__dbl_mp): Likewise.
35676 (add_magnitudes): Likewise.
35677 (sub_magnitudes): Likewise.
35680 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35681 powers of two in terms of TWOPOW macro.
35682 (mp_no): Make type of mantissa as MANTISSA_T.
35683 [!RADIXI]: Define RADIXI.
35684 [!TWO52]: Define TWO52.
35685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35687 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35689 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35690 llroundl symbol when building for PPC32.
35692 2013-03-24 Mark H Weaver <mhw@netris.org>
35694 * manual/arith.texi (Normalization Functions): Fix prototypes for
35695 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35697 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35701 high value to check if expl overflow.
35702 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35703 to check for underflow and overflow.
35704 * math/libm-test.inc: Add exp test.
35706 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35709 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35712 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35714 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35717 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35719 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35720 wrap blocks consisting of several statements.
35722 * sysdeps/generic/math-tests.h: New file.
35723 * sysdeps/i386/fpu/math-tests.h: Likewise.
35724 * math/test-snan.c: Include it.
35725 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35727 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35730 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35731 (__ieee754_j0l): Do not improve calculations using cos of twice
35732 input for inputs above LDBL_MAX / 2.0L.
35733 (__ieee754_y0l): Likewise.
35734 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35735 (__ieee754_j1l): Do not improve calculations using cos of twice
35736 input for inputs above LDBL_MAX / 2.0L.
35737 (__ieee754_y1l): Likewise.
35738 * math/libm-test.inc (j0_test): Add another test.
35739 (j1_test): Likewise.
35740 (y0_test): Likewise.
35741 (y1_test): Likewise.
35742 * sysdeps/i386/fpu/libm-test-ulps: Update.
35744 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35746 * Rules ($(objpfx)bench-%.c): Include code from a C source
35749 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35752 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35753 imaginary part 1.0 and real part less than 0.5 specially.
35754 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35755 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35756 * math/libm-test.inc (cacos_test): Add more tests.
35757 (casin_test): Likewise.
35758 (casinh_test): Likewise.
35759 * sysdeps/i386/fpu/libm-test-ulps: Update.
35760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35762 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35765 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35767 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35769 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35770 * config.make.in (config-cflags-sse4): Remove variable.
35771 (config-cflags-avx): Likewise.
35772 (config-cflags-sse2avx): Likewise.
35773 (config-cflags-novzeroupper): Likewise.
35774 (config-asflags-i686): Likewise.
35775 (have-mfma4): Likewise.
35776 (have-as-vis3): Likewise.
35778 * configure.in (MIG): Do not AC_SUBST.
35779 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35780 (libc_cv_cc_sse4): Do not AC_SUBST.
35781 (libc_cv_cc_avx): Likewise.
35782 (libc_cv_cc_sse2avx): Likewise.
35783 (libc_cv_cc_novzeroupper): Likewise.
35784 (libc_cv_cc_fma4): Likewise.
35785 (libc_cv_as_i686): Likewise.
35786 (libc_cv_sparc_as_vis3): Likewise.
35787 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35789 (config-asflags-i686): Likewise.
35790 (config-cflags-avx): Likewise.
35791 (config-cflags-sse2avx): Likewise.
35792 (have-mfma4): Likewise.
35793 (config-cflags-novzeroupper): Likewise.
35794 * sysdeps/mach/configure.in (MIG): Likewise.
35795 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35796 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35798 (config-cflags-avx): Likewise.
35799 (config-cflags-sse2avx): Likewise.
35800 (have-mfma4): Likewise.
35801 (config-cflags-novzeroupper): Likewise.
35802 * configure: Regenerated.
35803 * sysdeps/i386/configure: Likewise.
35804 * sysdeps/mach/configure: Likewise.
35805 * sysdeps/sparc/configure: Likewise.
35806 * sysdeps/x86_64/configure: Likewise.
35808 2013-03-20 Roland McGrath <roland@hack.frob.com>
35811 * locale/programs/localedef.c (options): Put N_ translation marker
35812 on argument names, not just descriptions.
35814 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35816 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35818 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35821 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35823 2013-03-19 Roland McGrath <roland@hack.frob.com>
35825 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35826 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35827 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35828 [!BEFORE_ABORT] (before_abort): New function.
35829 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35830 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35831 (writev_for_fatal): New function.
35832 (WRITEV_FOR_FATAL): New macro; call that.
35833 (backtrace_and_maps): New function.
35834 (BEFORE_ABORT): New macro; call that.
35835 (struct str_list): Type removed.
35836 (__libc_message, __libc_fatal): Functions removed.
35837 Include <sysdeps/posix/libc_fatal.c> instead.
35839 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35841 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35843 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35846 2013-03-19 Andreas Schwab <schwab@suse.de>
35848 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35849 * sysdeps/gnu/configure: Regenerate.
35851 * configure.in: Substitute libc_cv_rtlddir.
35852 * configure: Regenerate.
35853 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35854 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35855 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35856 * elf/Makefile (install-others, CFLAGS-interp.c)
35857 (ldso_install, common-ldd-rewrite): Likewise.
35858 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35859 $(inst_slibdir)/$(rtld-installed-name).
35860 * scripts/rellns-sh: Add -p option.
35861 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35864 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35866 * manual/nptl.texi: Renamed to ...
35867 * manual/threads.texi: ... this.
35868 * manual/Makefile (chapters): Update.
35870 2013-03-18 Roland McGrath <roland@hack.frob.com>
35873 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35874 on argument names, not just descriptions.
35875 * malloc/memusagestat.c (options): Likewise.
35876 * nss/getent.c (options): Likewise.
35878 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35881 * iconv/iconv_prog.c (options): Put N_ translation marker
35882 on argument names, not just descriptions.
35883 * iconv/iconvconfig.c (options): Likewise.
35885 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35887 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35888 implementation which is faster on all x86_64 architectures.
35889 Tested on AMD, Intel Nehalem, SNB, IVB.
35890 * sysdeps/x86_64/strnlen.S: Likewise.
35892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35893 Remove all multiarch strlen and strnlen versions.
35894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35895 Remove strlen and strnlen related parts.
35897 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35898 Inline strlen part.
35899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35901 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35902 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35903 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35904 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35905 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35906 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35908 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35910 * manual/memory.texi (Malloc Tunable Parameters):
35911 Sort parameters alphabetically. Add comments for missing entries.
35913 2013-03-17 David S. Miller <davem@davemloft.net>
35915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35917 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35920 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35921 for arguments at most half maximum finite value.
35922 * math/libm-test.inc (j0_test): Add more tests.
35923 (j1_test): Likewise.
35924 (y0_test): Likewise.
35925 (y1_test): Likewise.
35926 * sysdeps/i386/fpu/libm-test-ulps: Update.
35927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35930 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35931 1 / x and functions P and Q for arguments above 0x1p256L.
35932 (__ieee754_y0l): Likewise.
35933 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35934 (__ieee754_y1l): Likewise.
35935 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35936 (j1_test): Likewise.
35937 (y0_test): Likewise.
35938 (y1_test): Likewise.
35940 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35942 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35945 2013-03-15 Roland McGrath <roland@hack.frob.com>
35947 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35948 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35949 zero since it's initialized to EXEC_PAGESIZE.
35951 * sysdeps/unix/sysv/linux/ldsodefs.h
35952 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35953 * sysdeps/generic/ldsodefs.h: ... here.
35955 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35957 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35959 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35961 * math/test-snan.c: Renamed from
35962 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35963 * math/Makefile (tests): Add test-snan.
35964 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35967 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35968 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35970 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35971 __builtin_nan family of functions.
35972 * math/libm-test.inc (initialize): Initialize qnan_value with
35973 __builtin_nan family of functions.
35974 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35976 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35978 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35979 storage class. Initialize qNaN_var and sNaN_var with
35980 __builtin_nan and __builtin_nans families of functions,
35983 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35984 (sqrt_test): Remove duplicate test with qNaN input.
35985 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35986 (round_test, signbit_test, significand_test): Note missing +/-Inf
35987 as well as qNaN tests.
35989 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35990 qNaN_var. Fix a few strings, too.
35991 * math/libm-test.inc (nan_value): Rename to qnan_value.
35992 * math/gen-libm-test.pl (%beautify): Adjust to that.
35993 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35994 * math/test-misc.c (main): Likewise.
35995 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35996 to __qnan_bytes, and __qnan_union, respectively.
35997 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35999 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36000 and lqnanval, respectively.
36001 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36002 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36003 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36004 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36006 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36007 * math/test-misc.c (main) [__x86_64__]: Enable test for long
36010 * math/test-misc.c (main): Fix copy'n'pastos.
36011 * misc/tst-efgcvt.c (special): Likewise.
36013 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36014 Remove declarations.
36016 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36018 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36019 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36020 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36021 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36023 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36025 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36026 macro to return vdso values correctly in IFUNC implementations.
36027 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36028 Optimization by using IFUNC.
36030 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36031 Richard Henderson <rth@redhat.com>
36032 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36034 * Makefile.in (bench): New target.
36035 * NEWS: Mention the benchmark framework.
36036 * Rules (bench): Likewise.
36037 (binaries-bench): Generate binaries for functions to
36039 * benchtests/Makefile: New makefile for benchmark tests.
36040 * benchtests/bench-skeleton.c: New skeleton file for benchmark
36042 * benchtests/exp-inputs: New input file for EXP function.
36043 * benchtests/pow-inputs: New input file for POW function.
36044 * scripts/bench.pl: New script to generate source files for
36045 benchmark programs.
36047 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36049 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36050 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36051 computations on mantissa. Use macros for rounding and
36053 (denorm): Likewise.
36054 (__dbl_mp): Likewise.
36055 (add_magnitudes): Likewise.
36056 (sub_magnitudes): Likewise.
36059 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36060 powers of two in terms of TWOPOW macro.
36061 (mp_no): Make type of mantissa as MANTISSA_T.
36062 [!RADIXI]: Define RADIXI.
36063 [!TWO52]: Define TWO52.
36064 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36066 * manual/nptl.texi (cindex): Modify threads to pthreads.
36068 2013-03-15 Joseph Myers <joseph@codesourcery.com>
36070 * sysdeps/x86_64/preconfigure: Regenerated.
36072 2013-03-14 Joseph Myers <joseph@codesourcery.com>
36075 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36077 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36078 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36080 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36081 * math/libm-test.inc (j0_test): Do not allow one spurious
36082 underflow exception.
36083 (y1_test): Likewise.
36085 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36087 * manual/Makefile (chapters): Add nptl.
36088 * manual/debug.texi (Debugging Support): Add link to Threads
36090 * manual/nptl.texi: New file.
36092 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36094 2013-03-14 Petr Baudis <pasky@ucw.cz>
36096 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36097 for non-NULL pointer before the memory validity test. Pointed
36098 out by Holger Brunck <holger.brunck@keymile.com>.
36100 2013-03-13 Andreas Schwab <schwab@suse.de>
36102 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36105 2013-03-13 Joseph Myers <joseph@codesourcery.com>
36107 * timezone/zic.c: Update from tzcode 2013b.
36109 2013-03-12 Carlos O'Donell <carlos@redhat.com>
36111 * manual/install.texi (Configuring and compiling):
36112 Mention i686 and i586.
36113 * INSTALL: Regenerate.
36115 2013-03-12 Roland McGrath <roland@hack.frob.com>
36117 * sysdeps/init_array/elf-init.c: New file.
36119 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36120 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36122 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36123 __gmon_start__ as global, but as static with a .preinit_array pointer.
36124 * sysdeps/init_array/gmon-start.c: New file. Use that.
36125 * sysdeps/init_array/crti.S: New file, empty except for comments.
36126 * sysdeps/init_array/crtn.S: Likewise.
36128 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
36130 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36133 Remove Prefer_SSE_for_memop.
36134 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36135 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36136 HAS_PREFER_SSE_FOR_MEMOP.
36137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36140 Remove bzero, memset ifunc support.
36141 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36142 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36143 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36144 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36146 2013-03-11 Andreas Schwab <schwab@suse.de>
36149 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36152 (GLIBC_2.16): Remove pthread_atfork.
36154 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36156 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36157 (ptestcases.h): Likewise.
36159 2013-03-08 Roland McGrath <roland@hack.frob.com>
36161 * Makeconfig ($(common-objpfx)config.status): Depend on
36162 sysdeps/*/preconfigure{,.in} too.
36164 2013-03-08 Joseph Myers <joseph@codesourcery.com>
36166 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36167 (__free_hook): Use void * instead of __malloc_ptr_t.
36168 (__malloc_hook): Likewise.
36169 (__realloc_hook): Likewise.
36170 (__memalign_hook): Likewise.
36171 (__after_morecore_hook): Likewise.
36172 * malloc/arena.c (save_malloc_hook): Likewise.
36173 (save_free_hook): Likewise.
36174 * malloc/hooks.c (malloc_hook_ini): Likewise.
36175 (realloc_hook_ini): Likewise.
36176 (memalign_hook_ini): Likewise.
36177 * malloc/malloc.c (malloc_hook_ini): Likewise.
36178 (realloc_hook_ini): Likewise.
36179 (memalign_hook_ini): Likewise.
36180 (__free_hook): Likewise.
36181 (__malloc_hook): Likewise.
36182 (__realloc_hook): Likewise.
36183 (__memalign_hook): Likewise.
36184 (__libc_malloc): Likewise.
36185 (__libc_free): Likewise.
36186 (__libc_realloc): Likewise.
36187 (__libc_memalign): Likewise.
36188 (__libc_valloc): Likewise.
36189 (__libc_pvalloc): Likewise.
36190 (__libc_calloc): Likewise.
36191 (__posix_memalign): Likewise.
36192 * malloc/morecore.c (__sbrk): Likewise.
36193 (__default_morecore): Likewise.
36195 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36197 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36198 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36199 __malloc_ptrdiff_t.
36201 * malloc/malloc.h (__malloc_size_t): Remove macro.
36202 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36204 (old_memalign_hook): Likewise.
36205 (old_realloc_hook): Likewise.
36206 (struct hdr): Likewise.
36208 (mallochook): Likewise.
36209 (memalignhook): Likewise.
36210 (reallochook): Likewise.
36211 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36212 (tr_old_realloc_hook): Likewise.
36213 (tr_old_memalign_hook): Likewise.
36214 (tr_mallochook): Likewise.
36215 (tr_reallochook): Likewise.
36216 (tr_memalignhook): Likewise.
36218 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36221 default_ldbl_pack and using as default implementation.
36222 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36224 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36225 redundant definition.
36226 (ldbl_insert_mantissa): Likewise.
36227 (ldbl_canonicalize): Likewise.
36228 (ldbl_nearbyint): Likewise.
36229 (ldbl_pack): Rename to ldbl_pack_ppc.
36230 (ldbl_unpack): Rename to ldbl_unpack_ppc.
36231 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36232 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36234 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36237 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36238 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36239 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36242 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36243 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36245 2013-03-07 Andreas Jaeger <aj@suse.de>
36247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36250 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36252 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36253 Include mpa.h and declare __MPEXP.
36254 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36256 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36257 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36258 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36259 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36260 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36262 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36263 (__slowpow): Use long double EXPL and LOGL functions to
36265 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36266 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36267 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36268 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36269 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36270 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36273 intermediate variable to calculate exponent.
36275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36279 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36280 [!NO__SQR]: Define __sqr.
36281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36282 and NO__SQR. Remove all code except __mul and __sqr. Include
36283 sysdeps/ieee754/dbl-64/mpa.c.
36284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36287 * posix/Makefile (tests): Add tst-pathconf.
36288 * posix/tst-pathconf.c: New test case.
36289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36291 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36293 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
36295 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36297 2013-03-06 Andreas Jaeger <aj@suse.de>
36299 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36300 definition via __MAP_ANONYMOUS.
36302 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36303 it's not part of Linux headers.
36305 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36306 (MAP_HUGE_MASK): Define.
36308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36310 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36311 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36313 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36314 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36316 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36317 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36319 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36321 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36322 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36323 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36324 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36325 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36326 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36332 Handle f2fs and efivarfs.
36334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36337 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36338 (EFIVARFS_MAGIC): Add.
36339 (F2FS_LINK_MAX): Add.
36341 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36343 * stdio-common/vfprintf.c: Replace __builtin_expect with
36346 2013-03-06 Joseph Myers <joseph@codesourcery.com>
36349 * sysdeps/generic/bp-sym.h: Remove file.
36350 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36351 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36352 <bp-sym.h> and <bp-asm.h>.
36353 (__longjmp): Don't use BP_SYM.
36354 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36356 (memcpy): Don't use BP_SYM.
36357 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36358 <bp-sym.h> and <bp-asm.h>.
36359 (memcpy): Don't use BP_SYM.
36360 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36362 (memcpy): Don't use BP_SYM.
36363 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36365 (memset): Don't use BP_SYM.
36366 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36367 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36368 (__bzero): Don't use BP_SYM.
36369 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36370 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36371 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36372 <bp-sym.h> and <bp-asm.h>.
36373 (memcmp): Don't use BP_SYM. Remove comment about bounded
36375 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36376 <bp-sym.h> and <bp-asm.h>.
36377 (memcpy): Don't use BP_SYM.
36378 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36379 <bp-sym.h> and <bp-asm.h>.
36380 (memset): Don't use BP_SYM.
36381 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36382 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36383 (__bzero): Don't use BP_SYM.
36384 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36385 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36386 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36387 <bp-sym.h> and <bp-asm.h>.
36388 (strncmp): Don't use BP_SYM. Remove comment about bounded
36390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36391 <bp-sym.h> and <bp-asm.h>.
36392 (memcpy): Don't use BP_SYM.
36393 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36394 <bp-sym.h> and <bp-asm.h>.
36395 (memset): Don't use BP_SYM.
36396 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36397 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36398 (__bzero): Don't use BP_SYM.
36399 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36400 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36401 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36402 <bp-sym.h> and <bp-asm.h>.
36403 (__memchr): Don't use BP_SYM.
36404 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36405 <bp-sym.h> and <bp-asm.h>.
36406 (memcmp): Don't use BP_SYM. Remove comment about bounded
36408 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36409 <bp-sym.h> and <bp-asm.h>.
36410 (memcpy): Don't use BP_SYM.
36411 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36412 <bp-sym.h> and <bp-asm.h>.
36413 (__mempcpy): Don't use BP_SYM.
36414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36415 <bp-sym.h> and <bp-asm.h>.
36416 (__memrchr): Don't use BP_SYM.
36417 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36418 <bp-sym.h> and <bp-asm.h>.
36419 (memset): Don't use BP_SYM.
36420 (__bzero): Likewise.
36421 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36422 <bp-sym.h> and <bp-asm.h>.
36423 (__rawmemchr): Don't use BP_SYM.
36424 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36425 <bp-sym.h> and <bp-asm.h>.
36426 (__STRCMP): Don't use BP_SYM.
36427 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36428 <bp-sym.h> and <bp-asm.h>.
36429 (strchr): Don't use BP_SYM.
36430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36431 <bp-sym.h> and <bp-asm.h>.
36432 (__strchrnul): Don't use BP_SYM.
36433 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36434 <bp-sym.h> and <bp-asm.h>.
36435 (strlen): Don't use BP_SYM.
36436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36437 <bp-sym.h> and <bp-asm.h>.
36438 (strncmp): Don't use BP_SYM. Remove comment about bounded
36440 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36441 <bp-sym.h> and <bp-asm.h>.
36442 (__strnlen): Don't use BP_SYM.
36443 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36444 <bp-sym.h> and <bp-asm.h>.
36445 (__GI__setjmp): Don't use BP_SYM.
36446 (_setjmp): Likewise.
36447 (__sigsetjmp): Likewise.
36448 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36449 (L(start_addresses)): Don't use BP_SYM.
36450 (_start): Likewise.
36451 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36453 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36454 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36455 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36456 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36457 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36459 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36460 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36461 about bounded pointers.
36462 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36463 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36464 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36466 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36467 about bounded pointers. Remove GKM FIXME comments.
36468 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36469 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36471 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36472 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36473 Remove GKM FIXME comments.
36474 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36475 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36476 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36478 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36479 about bounded pointers. Remove GKM FIXME comment.
36480 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36482 (strncmp): Don't use BP_SYM. Remove comment about bounded
36484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36485 <bp-sym.h> and <bp-asm.h>.
36486 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36488 <bp-sym.h> and <bp-asm.h>.
36489 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36492 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36494 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36497 2013-03-05 David S. Miller <davem@davemloft.net>
36499 * po/es.po: Update from translation team.
36501 2013-03-05 Andreas Jaeger <aj@suse.de>
36503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36504 <bits/mman-linux.h>.
36505 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36507 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36508 <bits/mman-linux.h> to end of file.
36509 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36511 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36512 <bits/mman-linux.h> to end of file.
36513 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36516 <bits/mman-linux.h> to end of file.
36518 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36519 (MCL_CURRENT, MCL_FUTURE): Define here.
36521 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36524 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36526 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36528 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36530 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36531 fourth parameter needed for rt_sigprocmask syscall.
36532 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36533 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36534 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36535 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36536 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36537 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36539 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36542 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36543 comment about bounded pointers.
36544 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36545 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36547 2013-03-04 Andreas Jaeger <aj@suse.de>
36549 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36550 common definitions.
36552 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36553 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36555 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36557 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36559 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36562 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36563 __ieee754_sqrl instead of __sqrl.
36565 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36567 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36568 * sysdeps/powerpc/fpu_control.h: ... here.
36569 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36570 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36571 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36572 * sysdeps/powerpc/bits/mathinline.h: ... here.
36574 2013-03-01 Roland McGrath <roland@hack.frob.com>
36576 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36577 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36578 to just [NEED_DL_SYSINFO_DSO].
36579 * elf/dl-support.c: Likewise.
36580 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36581 * elf/rtld.c (dl_main): Likewise.
36582 * elf/setup-vdso.h (setup_vdso): Likewise.
36583 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36584 * sysdeps/unix/sysv/linux/dl-sysdep.c
36585 (_dl_discover_osversion): Likewise.
36587 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36589 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36590 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36592 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36594 * NEWS: Mention libm performance improvements and non-x86 PI
36597 * csu/libc-start.c (__pthread_initialize_minimal): Change
36598 function arguments.
36599 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36601 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36604 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36605 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36606 <bp-sym.h> and <bp-asm.h>.
36607 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36608 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36610 (memcpy): Don't use BP_SYM.
36611 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36613 (__mpn_add_n): Don't use BP_SYM.
36614 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36615 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36617 (__mpn_addmul_1): Don't use BP_SYM.
36618 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36619 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36621 (_setjmp): Don't use BP_SYM.
36622 (__novmx_setjmp): Likewise.
36623 (__GI__setjmp): Likewise.
36624 (__vmx_setjmp): Likewise.
36625 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36627 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36628 (__bzero): Don't use BP_SYM.
36629 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36630 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36631 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36632 <bp-sym.h> and <bp-asm.h>.
36633 (memcpy): Don't use BP_SYM.
36634 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36635 <bp-sym.h> and <bp-asm.h>.
36636 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36637 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36638 <bp-sym.h> and <bp-asm.h>.
36639 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36640 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36642 (__mpn_lshift): Don't use BP_SYM.
36643 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36644 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36646 (memset): Don't use BP_SYM.
36647 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36648 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36649 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36651 (__mpn_mul_1): Don't use BP_SYM.
36652 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36653 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36654 <bp-sym.h> and <bp-asm.h>.
36655 (memcmp): Don't use BP_SYM.
36656 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36657 <bp-sym.h> and <bp-asm.h>.
36658 (memcpy): Don't use BP_SYM.
36659 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36660 <bp-sym.h> and <bp-asm.h>.
36661 (memset): Don't use BP_SYM.
36662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36663 <bp-sym.h> and <bp-asm.h>.
36664 (strncmp): Don't use BP_SYM.
36665 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36666 <bp-sym.h> and <bp-asm.h>.
36667 (memcpy): Don't use BP_SYM.
36668 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36669 <bp-sym.h> and <bp-asm.h>.
36670 (memset): Don't use BP_SYM.
36671 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36672 <bp-sym.h> and <bp-asm.h>.
36673 (__memchr): Don't use BP_SYM.
36674 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36675 <bp-sym.h> and <bp-asm.h>.
36676 (memcmp): Don't use BP_SYM.
36677 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36678 <bp-sym.h> and <bp-asm.h>.
36679 (memcpy): Don't use BP_SYM.
36680 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36681 <bp-sym.h> and <bp-asm.h>.
36682 (__mempcpy): Don't use BP_SYM.
36683 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36684 <bp-sym.h> and <bp-asm.h>.
36685 (__memrchr): Don't use BP_SYM.
36686 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36687 <bp-sym.h> and <bp-asm.h>.
36688 (memset): Don't use BP_SYM.
36689 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36690 <bp-sym.h> and <bp-asm.h>.
36691 (__rawmemchr): Don't use BP_SYM.
36692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36693 <bp-sym.h> and <bp-asm.h>.
36694 (__STRCMP): Don't use BP_SYM.
36695 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36696 <bp-sym.h> and <bp-asm.h>.
36697 (strchr): Don't use BP_SYM.
36698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36699 <bp-sym.h> and <bp-asm.h>.
36700 (__strchrnul): Don't use BP_SYM.
36701 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36702 <bp-sym.h> and <bp-asm.h>.
36703 (strlen): Don't use BP_SYM.
36704 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36705 <bp-sym.h> and <bp-asm.h>.
36706 (strncmp): Don't use BP_SYM.
36707 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36708 <bp-sym.h> and <bp-asm.h>.
36709 (__strnlen): Don't use BP_SYM.
36710 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36712 (__mpn_rshift): Don't use BP_SYM.
36713 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36714 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36715 <bp-sym.h> and <bp-asm.h>.
36716 (__sigsetjmp): Don't use BP_SYM.
36717 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36718 (L(start_addresses)): Don't use BP_SYM.
36719 (_start): Likewise.
36720 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36722 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36723 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36724 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36725 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36727 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36728 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36729 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36730 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36732 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36734 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36735 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36737 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36739 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36740 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36741 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36743 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36745 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36747 (strncmp): Don't use BP_SYM,
36748 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36750 (__mpn_sub_n): Don't use BP_SYM.
36751 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36752 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36754 (__mpn_submul_1): Don't use BP_SYM.
36755 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36757 <bp-sym.h> and <bp-asm.h>.
36758 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36760 <bp-sym.h> and <bp-asm.h>.
36761 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36764 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36767 Use ZK to minimize writes to Z.
36768 (sub_magnitudes): Simplify code a bit.
36769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36770 Use ZK to minimize writes to Z.
36771 (sub_magnitudes): Simplify code a bit.
36773 2013-02-27 Roland McGrath <roland@hack.frob.com>
36775 * csu/gmon-start.c: Add special exception to license text.
36777 2013-02-27 Richard Henderson <rth@redhat.com>
36779 * scripts/config.guess: Update from config.git.
36780 * scripts/config.sub: Likewise.
36782 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36784 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36786 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36788 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36790 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36792 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36794 2013-02-26 Roland McGrath <roland@hack.frob.com>
36796 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36797 [$(build-shared = yes].
36799 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36801 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36802 (__mul): Reduce iterations for calculating mantissa.
36804 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36806 (__mpranred): Likewise.
36809 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36810 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36812 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36814 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36815 Define __attribute__.
36817 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36819 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36821 * posix/regex_internal.h (__attribute): Remove.
36822 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36823 (re_string_context_at): Likewise.
36824 (bitset_not): Use __attribute__ and mark function as possibly
36826 (bitset_merge): Likewise.
36827 (bitset_mask): Likewise.
36828 (re_string_char_size_at): Likewise.
36829 (re_string_wchar_at): Likewise.
36830 (re_string_elem_size_at): Likewise.
36832 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36834 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36838 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36842 (denorm): Likewise.
36843 (__dbl_mp): Likewise.
36844 (add_magnitudes): Likewise.
36845 (sub_magnitudes): Likewise.
36849 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36852 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36855 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36859 up changes with default code.
36860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36863 2013-02-24 Allan McRae <allan@archlinux.org>
36865 * manual/socket.texi (The Internet Namespace): Order menu items
36866 to match that in the file.
36868 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36869 node listing of the info page menu.
36871 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36874 * sysdeps/i386/bp-asm.h: Remove file.
36875 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36876 (PARMS): Do not use macros from bp-asm.h.
36880 (__mpn_add_n): Do not use BP_SYM
36881 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36883 (PARMS): Do not use macros from bp-asm.h.
36886 (__mpn_addmul_1): Do not use BP_SYM
36887 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36889 (PARMS): Do not use macros from bp-asm.h.
36890 (SIGMSK): Likewise.
36891 (_setjmp): Likewise. Do not use BP_SYM.
36892 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36894 (PARMS): Do not use macros from bp-asm.h.
36895 (SIGMSK): Likewise.
36896 (setjmp): Likewise. Do not use BP_SYM.
36897 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36899 (PARMS): Do not use macros from bp-asm.h.
36900 (__frexp): Do not use BP_SYM.
36902 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36904 (PARMS): Do not use macros from bp-asm.h.
36905 (__frexpf): Do not use BP_SYM.
36906 (frexpf): Likewise.
36907 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36909 (PARMS): Do not use macros from bp-asm.h.
36910 (__frexpl): Do not use BP_SYM.
36911 (frexpl): Likewise.
36912 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36914 (PARMS): Do not use macros from bp-asm.h.
36915 (__remquo): Do not use BP_SYM.
36916 (remquo): Likewise.
36917 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36919 (PARMS): Do not use macros from bp-asm.h.
36920 (__remquof): Do not use BP_SYM.
36921 (remquof): Likewise.
36922 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36924 (PARMS): Do not use macros from bp-asm.h.
36925 (__remquol): Do not use BP_SYM.
36926 (remquol): Likewise.
36927 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36929 (PARMS): Do not use macros from bp-asm.h.
36932 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36933 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36935 (PARMS): Do not use macros from bp-asm.h.
36936 (strlen): Do not use BP_SYM.
36937 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36939 (PARMS): Do not use macros from bp-asm.h.
36943 (__mpn_add_n): Do not use BP_SYM.
36944 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36946 (PARMS): Do not use macros from bp-asm.h.
36949 (__mpn_addmul_1): Do not use BP_SYM.
36950 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36953 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36955 (PARMS): Do not use macros from bp-asm.h.
36958 (__mpn_lshift): Do not use BP_SYM.
36959 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36961 (PARMS): Do not use macros from bp-asm.h.
36965 (memcpy): Likewise. Do not use BP_SYM.
36966 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36967 libc_hidden_def and weak_alias.
36968 (mempcpy): Do not use BP_SYM in weak_alias.
36969 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36971 (PARMS): Do not use macros from bp-asm.h.
36974 [!BZERO_P] (CHR): Likewise.
36975 (memset): Likewise. Do not use BP_SYM.
36976 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36978 (PARMS): Do not use macros from bp-asm.h.
36981 (__mpn_mul_1): Do not use BP_SYM.
36982 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36984 (PARMS): Do not use macros from bp-asm.h.
36987 (__mpn_rshift): Do not use BP_SYM.
36988 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36990 (PARMS): Do not use macros from bp-asm.h.
36993 (strchr): Likewise. Do not use BP_SYM.
36994 (index): Do not use BP_SYM in weak_alias.
36995 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36997 (PARMS): Do not use macros from bp-asm.h.
37000 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
37001 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37003 (PARMS): Do not use macros from bp-asm.h.
37004 (strlen): Do not use BP_SYM.
37005 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37007 (PARMS): Do not use macros from bp-asm.h.
37011 (__mpn_sub_n): Do not use BP_SYM.
37012 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37014 (PARMS): Do not use macros from bp-asm.h.
37017 (__mpn_submul_1): Do not use BP_SYM.
37018 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37020 (PARMS): Do not use macros from bp-asm.h.
37024 (__mpn_add_n): Do not use BP_SYM.
37025 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37028 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37030 (PARMS): Do not use macros from bp-asm.h.
37033 (memcmp): Do not use BP_SYM.
37034 (bcmp): Do not use BP_SYM in weak_alias.
37035 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37037 (PARMS): Do not use macros from bp-asm.h.
37041 (memcpy): Likewise. Do not use BP_SYM.
37042 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37044 (PARMS): Do not use macros from bp-asm.h.
37048 (memmove): Likewise. Do not use BP_SYM.
37049 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37051 (PARMS): Do not use macros from bp-asm.h.
37055 (__mempcpy): Likewise. Do not use BP_SYM.
37056 (mempcpy): Do not use BP_SYM in weak_alias.
37057 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37059 (PARMS): Do not use macros from bp-asm.h.
37062 [!BZERO_P] (CHR): Likewise.
37063 (memset): Likewise. Do not use BP_SYM.
37064 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37066 (PARMS): Do not use macros from bp-asm.h.
37068 (strcmp): Do not use BP_SYM.
37069 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37071 (PARMS): Do not use macros from bp-asm.h.
37074 [USE_AS_STRTOK_R] (SAVE): Likewise.
37075 (FUNCTION): Likewise. Do not use BP_SYM.
37076 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37078 (strtok_r): Likewise.
37079 (__GI___strtok_r): Likewise.
37080 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37081 (PARMS): Do not use macros from bp-asm.h.
37084 (__mpn_lshift): Do not use BP_SYM.
37085 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37086 (PARMS): Do not use macros from bp-asm.h.
37089 (__memchr): Do not use BP_SYM.
37090 (memchr): Do not use BP_SYM in weak_alias.
37091 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37092 (PARMS): Do not use macros from bp-asm.h.
37095 (memcmp): Do not use BP_SYM.
37096 (bcmp): Do not use BP_SYM in weak_alias.
37097 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37098 (PARMS): Do not use macros from bp-asm.h.
37101 (__mpn_mul_1): Do not use BP_SYM.
37102 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37104 (PARMS): Do not use macros from bp-asm.h.
37107 (__rawmemchr): Do not use BP_SYM.
37108 (rawmemchr): Do not use BP_SYM in weak_alias.
37109 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37110 (PARMS): Do not use macros from bp-asm.h.
37113 (__mpn_rshift): Do not use BP_SYM.
37114 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37115 (PARMS): Do not use macros from bp-asm.h.
37116 (SIGMSK): Likewise.
37117 (__sigsetjmp): Likewise. Do not use BP_SYM.
37118 * sysdeps/i386/start.S: Do not include "bp-sym.h".
37119 (_start): Do not use BP_SYM.
37120 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37121 (PARMS): Do not use macros from bp-asm.h.
37124 (__stpcpy): Likewise. Do not use BP_SYM.
37125 (stpcpy): Do not use BP_SYM in weak_alias.
37126 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37128 (PARMS): Do not use macros from bp-asm.h.
37132 (__stpncpy): Likewise. Do not use BP_SYM.
37133 (stpncpy): Do not use BP_SYM in weak_alias.
37134 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37135 (PARMS): Do not use macros from bp-asm.h.
37138 (strchr): Likewise. Do not use BP_SYM.
37139 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37141 (PARMS): Do not use macros from bp-asm.h.
37144 (__strchrnul): Likewise. Do not use BP_SYM.
37145 (strchrnul): Do not use BP_SYM in weak_alias.
37146 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37148 (PARMS): Do not use macros from bp-asm.h.
37150 (strcspn): Do not use BP_SYM.
37151 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37153 (PARMS): Do not use macros from bp-asm.h.
37156 (strpbrk): Likewise. Do not use BP_SYM.
37157 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37159 (PARMS): Do not use macros from bp-asm.h.
37162 (strrchr): Likewise. Do not use BP_SYM.
37163 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37164 (PARMS): Do not use macros from bp-asm.h.
37166 (strspn): Do not use BP_SYM.
37167 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37168 (PARMS): Do not use macros from bp-asm.h.
37172 (FUNCTION): Likewise. Do not use BP_SYM.
37173 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37175 (strtok_r): Likewise.
37176 (__GI___strtok_r): Likewise.
37177 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37178 (PARMS): Do not use macros from bp-asm.h.
37182 (__mpn_sub_n): Do not use BP_SYM.
37183 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37185 (PARMS): Do not use macros from bp-asm.h.
37188 (__mpn_submul_1): Do not use BP_SYM.
37189 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37191 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37193 (PARMS): Do not use macros from bp-asm.h.
37198 (__clone): Do not use BP_SYM.
37199 (clone): Do not use BP_SYM in weak_alias.
37200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37202 (PARMS): Do not use macros from bp-asm.h.
37204 (__mmap64): Do not use BP_SYM.
37205 (mmap64): Do not use BP_SYM in weak_alias.
37206 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37207 <bp-sym.h> and <bp-asm.h>.
37208 (PARMS): Do not use macros from bp-asm.h.
37209 (__posix_fadvise64_l64): Do not use BP_SYM.
37210 * sysdeps/unix/sysv/linux/i386/semtimedop.S
37211 (PARMS): Do not use macros from bp-asm.h.
37213 (semtimedop): Do not use BP_SYM.
37214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37217 2013-02-21 Allan McRae <allan@archlinux.org>
37219 * manual/message.texi (Charset conversion in gettext):
37220 Move @end statement to beginning of line.
37222 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37229 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37230 (denorm): Likewise.
37231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37234 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37236 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37237 tail-call to the resolved function if pltexit isn't needed.
37239 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37242 or Y being zero as being unlikely.
37243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37246 2013-02-20 Carlos O'Donell <carlos@redhat.com>
37248 * manual/nss.texi (System Databases and Name Service Switch):
37249 Remove frobnicate @pxref.
37251 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37253 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37254 __attribute__ ((unused)) to __attribute__ ((__unused__)).
37256 2013-02-20 Petr Machata <pmachata@redhat.com>
37258 * elf/elf.h (R_ARM_TARGET1): New macro.
37259 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37260 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37261 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37262 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37263 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37264 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37265 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37266 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37267 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37268 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37269 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37270 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37271 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37272 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37273 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37274 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37275 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37276 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37277 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37278 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37279 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37280 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37281 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37282 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37283 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37284 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37285 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37286 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37287 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37288 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37289 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37290 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37291 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37292 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37293 (R_ARM_THM_GOT_BREL12): Likewise.
37294 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37295 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37296 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37297 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37298 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37299 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37300 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37301 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37302 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37304 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37306 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37307 __attribute_used__ to __attribute__ ((unused)).
37309 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37311 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37314 comment formatting.
37315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37317 2013-02-19 Joseph Myers <joseph@codesourcery.com>
37320 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37322 (ENTER): Remove both macro definitions.
37324 (CHECK_BOUNDS_LOW): Likewise.
37325 (CHECK_BOUNDS_HIGH): Likewise.
37326 (CHECK_BOUNDS_BOTH): Likewise.
37327 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37328 (RETURN_BOUNDED_POINTER): Likewise.
37329 (RETURN_NULL_BOUNDED_POINTER): Likewise.
37330 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37331 (POP_ERRNO_LOCATION_RETURN): Likewise.
37332 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37333 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37334 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37336 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37337 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37338 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37339 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37340 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37341 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37342 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37343 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37344 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37345 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37346 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37347 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37348 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37349 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37351 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37352 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37355 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37356 * sysdeps/i386/i586/memset.S (memset): Likewise.
37357 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37358 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37359 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37361 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37362 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37363 Change uses of L(2) to L(out).
37364 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37365 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37366 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37367 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37368 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37370 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37371 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37373 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37374 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37375 (RETURN): Do not use macro LEAVE.
37376 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37377 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37378 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37379 * sysdeps/i386/i686/memset.S (memset): Likewise.
37380 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37381 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37382 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37383 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37385 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37386 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37387 L(1_2) and L(1_3) into L(1).
37388 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37389 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37390 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37391 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37392 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37393 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37394 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37395 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37396 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37398 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37399 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37400 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37401 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37402 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37403 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37404 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37405 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37406 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37407 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37408 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37409 * sysdeps/i386/strspn.S (strspn): Likewise.
37410 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37412 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37413 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37414 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37415 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37416 L(1_3) into L(1_1).
37417 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37418 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37419 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37421 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37423 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37425 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37428 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37430 * math/atest-exp.c (exp_mpn): Remove ROUND.
37431 * math/atest-exp2.c (exp_mpn): Likewise.
37432 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37434 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37435 * stdlib/tst-tls-atexit-lib.c: Likewise.
37436 * stdlib/tst-tls-atexit.c: Likewise.
37438 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37440 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37441 and __attribute_alloc_size__.
37443 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37445 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37446 __attribute_alloc_size__.
37447 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37448 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37450 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37452 * include/programs/xmalloc.h: New file.
37453 * catgets/gencat.c: Include it.
37454 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37455 * elf/pldd.c: Likewise.
37456 * iconv/iconv_charmap.c: Likewise.
37457 * iconv/iconvconfig.c: Likewise.
37458 * iconv/strtab.c: Likewise.
37459 * locale/programs/locale.c: Likewise.
37460 * locale/programs/localedef.h: Likewise.
37461 * locale/programs/simple-hash.c: Likewise.
37462 * nscd/nscd.h: Likewise.
37463 * nss/makedb.c: Likewise.
37464 * sysdeps/generic/ldconfig.h: Likewise.
37466 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37468 * Versions.def: Add GLIBC_2.18.
37469 * include/link.h (struct link_map): New member l_tls_dtor_count.
37470 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37471 (__call_tls_dtors): Likewise.
37472 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37473 __cxa_thread_atexit_impl.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37490 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37491 (tests): Add test case tst-tls-atexit.
37492 (modules-names): Add shared library for tst-tls-atexit.
37493 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37494 (GLIBC_PRIVATE): Add __call_tls_dtors.
37495 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37497 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37498 * stdlib/tst-tls-atexit.c: New test case.
37499 * stdlib/tst-tls-atexit-lib.c: New test case.
37501 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37503 * elf/Versions (ld): Add _dl_find_dso_for_object.
37504 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37505 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37506 (dl_open_worker): Use _dl_find_dso_for_object.
37507 * elf/dl-sym.c (do_sym): Likewise.
37508 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37510 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37512 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37513 Syntactic changes only.
37514 (_dl_runtime_profile): Do a tail-call to the resolved function.
37516 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37519 * sysdeps/x86_64/bp-asm.h: Remove file.
37520 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37521 <bp-sym.h> and <bp-asm.h>.
37522 (__clone): Do not use BP_SYM.
37523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37524 <bp-sym.h> and <bp-asm.h>.
37525 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37526 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37528 (_setjmp): Do not use BP_SYM.
37529 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37531 (setjmp): Do not use BP_SYM.
37532 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37534 (mempcpy): Do not use BP_SYM in weak_alias.
37535 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37537 (strchr): Do not use BP_SYM.
37538 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37540 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37541 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37542 (_start): Do not use BP_SYM.
37543 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37545 (strcat): Do not use BP_SYM.
37546 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37548 (STRCMP): Do not use BP_SYM.
37549 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37551 (STRCPY): Do not use BP_SYM.
37552 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37554 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37556 (FUNCTION): Do not use BP_SYM.
37557 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37559 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37561 2013-02-17 Andreas Jaeger <aj@suse.de>
37563 * time/Versions: Sort entries.
37564 * string/Versions: Likewise.
37565 * resolv/Versions: Likewise.
37566 * posix/Versions: Likewise.
37567 * iconv/Versions: Likewise.
37568 * elf/Versions: Likewise.
37569 * wcsmbs/Versions: Likewise.
37571 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37573 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37574 loop termination condition.
37576 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37577 variable to calculate EZ.
37580 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37581 the lower precision input.
37583 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37586 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37587 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37588 (run-via-rtld-prefix): Do not handle %-bp tests.
37589 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37590 (all-object-suffixes): Remove .ob.
37591 (bppfx): Remove variable.
37592 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37593 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37594 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37595 [$(build-bounded) = yes] (libtype.ob): Likewise.
37596 * Makerules (elide-routines.ob): Remove variable.
37597 (do-tests-clean): Do not handle *-bp.out.
37598 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37599 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37600 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37601 (tests): Do not include $(tests-bp.out).
37602 (xtests): Do not include $(xtests-bp.out).
37603 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37604 [$(build-bounded) = yes] ($(addprefix
37605 $(objpfx),$(binaries-bounded))): Remove rule.
37606 ($(objpfx)%-bp.out): Remove rule.
37607 * config.make.in (build-bounded): Remove variable.
37608 * crypt/Makefile [$(build-bounded) = yes]
37609 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37610 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37611 append to variable.
37612 [$(build-bounded) = yes] (install-lib): Likewise.
37613 [$(build-bounded) = yes] (generated): Likewise.
37614 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37616 * intl/Makefile [$(build-bounded) = yes]
37617 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37618 * math/Makefile [$(build-bounded) = yes]
37619 ($(tests:%=$(objpfx)%-bp): Likewise.
37620 * misc/Makefile [$(build-bounded) = yes]
37621 ($(objpfx)tst-tsearch-bp): Likewise.
37622 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37623 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37625 * string/Makefile (o-objects.ob): Remove variable.
37626 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37627 (CFLAGS-.ob): Remove variable.
37628 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37629 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37630 both definitions of variable.
37631 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37632 (ASFLAGS-.ob): Remove variable.
37634 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37637 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37638 Remove __BOUNDED_POINTERS__ from condition.
37639 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37640 * string/bits/string2.h [!__NO_STRING_INLINES &&
37641 !__BOUNDED_POINTERS__]: Likewise.
37642 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37644 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37645 Remove conditional code.
37646 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37647 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37648 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37652 * csu/libc-start.c: Do not include <bp-sym.h>.
37653 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37654 * elf/dl-open.c: Do not include <bp-sym.h>.
37655 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37656 * math/fegetenv.c: Do not include <bp-sym.h>.
37657 (fegetenv): Do not use BP_SYM in versioned symbols.
37658 * nptl/sysdeps/pthread/bits/libc-lockP.h
37659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37662 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37664 (__pthread_mutex_destroy): Likewise.
37665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37666 (__pthread_mutex_lock): Likewise.
37667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37668 (__pthread_mutex_trylock): Likewise.
37669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37670 (__pthread_mutex_unlock): Likewise.
37671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37672 (__pthread_mutexattr_init): Likewise.
37673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37674 (__pthread_mutexattr_destroy): Likewise.
37675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37676 (__pthread_mutexattr_settype): Likewise.
37677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37678 (__pthread_rwlock_init): Likewise.
37679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37680 (__pthread_rwlock_destroy): Likewise.
37681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37682 (__pthread_rwlock_rdlock): Likewise.
37683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37684 (__pthread_rwlock_tryrdlock): Likewise.
37685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37686 (__pthread_rwlock_wrlock): Likewise.
37687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37688 (__pthread_rwlock_trywrlock): Likewise.
37689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37690 (__pthread_rwlock_unlock): Likewise.
37691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37692 (__pthread_key_create): Likewise.
37693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37694 (__pthread_setspecific): Likewise.
37695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37696 (__pthread_getspecific): Likewise.
37697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37700 (_pthread_cleanup_push_defer): Likewise.
37701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37702 (_pthread_cleanup_pop_restore): Likewise.
37703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37704 (pthread_setcancelstate): Likewise.
37705 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37707 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37708 (memchr): Do not use BP_SYM in weak_alias.
37709 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37710 (fegetenv): Do not use BP_SYM in versioned symbols.
37711 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37712 (fesetenv): Do not use BP_SYM in versioned symbols.
37713 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37714 (feupdateenv): Do not use BP_SYM in versioned symbols.
37715 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37716 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37717 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37718 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37719 (open64): Do not use BP_SYM in weak_alias.
37720 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37721 (fegetenv): Do not use BP_SYM in versioned symbols.
37722 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37723 (fesetenv): Do not use BP_SYM in versioned symbols.
37724 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37725 (feupdateenv): Do not use BP_SYM in versioned symbols.
37726 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37727 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37728 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37729 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37730 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37731 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37732 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37734 (__libc_start_main): Do not use BP_SYM.
37736 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37739 redundant return line.
37741 (denorm): Likewise.
37742 (dbl_mp): Likewise.
37743 (sub_magnitudes): Likewise.
37749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37751 (denorm): Likewise.
37752 (dbl_mp): Likewise.
37753 (sub_magnitudes): Likewise.
37760 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37762 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37763 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37766 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37767 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37768 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37769 of __mul for squares.
37770 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37777 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37780 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37782 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37783 prototype or function definition. Rename ubp_* variables and
37784 parameters. Remove argv definitions conditional on
37785 [__BOUNDED_POINTERS__].
37786 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37787 * elf/dl-runtime.c (_dl_fixup): Likewise.
37788 * include/set-hooks.h (RUN_HOOK): Likewise.
37789 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37791 * string/strcpy.c (strcpy): Do not use __unbounded.
37792 * sysdeps/generic/frame.h (struct layout): Likewise.
37793 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37794 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37795 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37796 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37797 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37798 (__backtrace): Likewise.
37799 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37801 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37802 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37803 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37805 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37806 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37807 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37808 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37809 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37810 Do not use __unbounded.
37811 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37812 Rename __unboundedrlimits parameter to rlimits in prototype.
37813 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37814 Do not use __unbounded.
37815 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37816 not use __ptrvalue.
37817 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37818 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37819 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37820 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37821 __ptrvalue or __unbounded.
37822 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37823 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37825 (__new_msgctl): Do not use __ptrvalue.
37826 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37828 (__libc_msgrcv): Do not use __ptrvalue.
37829 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37830 startup_info): Do not use __unbounded.
37831 (__libc_start_main): Likewise. Rename ubp_* variables and
37832 parameters. Remove argv definitions conditional on
37833 [__BOUNDED_POINTERS__].
37834 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37836 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37838 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37840 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37842 (__new_shmctl): Do not use __ptrvalue.
37843 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37844 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37846 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37847 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37848 (__libc_sigaction): Likewise.
37849 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37852 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37854 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37856 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37858 * string/mempcpy.c: Implement by calling memcpy.
37860 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37868 values in the mantissa.
37870 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37871 minimize writes to Z.
37872 (sub_magnitudes): Simplify code a bit.
37874 2013-02-12 Roland McGrath <roland@hack.frob.com>
37876 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37877 from the message. The linker prefixes all warnings with that already.
37879 2013-02-12 Andreas Schwab <schwab@suse.de>
37882 * posix/regexec.c (extend_buffers): Add parameter min_len.
37883 (check_matching): Pass minimum needed length.
37884 (clean_state_log_if_needed): Likewise.
37885 (get_subexp): Likewise.
37886 * posix/Makefile (tests): Add bug-regex34.
37887 (bug-regex34-ENV): Define.
37888 * posix/bug-regex34.c: New file.
37891 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37892 elements compare against the byte sequence of it, not its name.
37893 * posix/Makefile (tests): Add bug-regex35.
37894 (bug-regex35-ENV): Define.
37895 * posix/bug-regex35.c: New file.
37897 2013-02-11 Tom de Vries <tom@codesourcery.com>
37899 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37901 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37902 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37903 (CHECK_EOL): Add undef.
37905 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37907 * bits/stdlib-bsearch.h: New file.
37908 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37909 * stdlib/stdlib.h: Likewise.
37911 2013-02-11 Roland McGrath <roland@hack.frob.com>
37913 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37914 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37916 * manual/search.texi (Array Search Function): Add missing const in
37918 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37919 declaration to use rlim_t.
37920 (Basic Scheduling Functions): Remove erroneous const from
37921 sched_getparam prototype. Remove erroneous * from
37922 sched_get_priority_max and sched_get_priority_min prototypes.
37923 (Resource Usage): Fix summary @comment on vtimes to refer to
37924 sys/vtimes.h rather than vtimes.h.
37925 Add missing *s in vtimes prototype.
37926 (Limits on Resources): Fix ulimit prototype to return long int.
37927 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37928 prototypes to use long int rather than double.
37929 (BSD Random): Fix initstate and setstate to use char *, not void *.
37930 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37931 prototype to make second argument 'struct aiocb64 *const[]'.
37932 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37933 (Status of AIO Operations): Remove erroneous const in aio_return and
37934 aio_return64 prototypes.
37935 (Synchronizing I/O): Fix sync prototype to return void.
37936 * manual/startup.texi (Suboptions): Remove an erroneous const in
37937 getsubopt prototype.
37938 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37939 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37940 use size_t rather than int.
37941 (Scanning All Users): Likewise for getpwent_r.
37942 (Setting Groups): Add missing const to setgroups prototype.
37943 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37944 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37945 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37946 'const void *' rather than 'const char *'.
37947 (Host Address Functions): Likewise for inet_ntop.
37948 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37949 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37950 ssize_t for return value.
37951 (Sending Data): Likewise for send, sendto, sendmsg.
37952 (Socket Option Functions): Add a missing const in setsockopt prototype.
37953 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37954 use wchar_t for the argument.
37955 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37956 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37958 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37959 double/float/long double for second argument.
37960 Fix return types of significand, significandf, significandl.
37961 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37962 argument in fchmod prototype.
37963 (File Owner): Use uid_t and gid_t in fchown prototype.
37964 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37965 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37966 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37967 use 'const struct dirent **' as argument types to CMP function pointer
37969 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37970 (File Times): Fix summary magic @comment for struct utimbuf and utime
37971 to refer to utime.h, not time.h.
37972 * manual/string.texi (Argz Functions): Add missing const in
37973 argz_extract and argz_next prototypes.
37974 (Finding Tokens in a String): Likewise for basename.
37975 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37976 (Copying and Concatenation): Fix typo in wmemmove prototype.
37977 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37978 (Signal Stack): Remove erroneous const in sigstack prototype.
37979 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37981 (Simple Calendar Time): Likewise for stime.
37982 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37984 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37985 say sys/sysctl.h instead.
37986 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37987 and vsyslog prototypes.
37989 2013-02-11 Tom de Vries <tom@codesourcery.com>
37991 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37994 2013-02-11 Roland McGrath <roland@hack.frob.com>
37996 * misc/sys/mman.h: Fix typo in mremap comment.
37998 2013-02-08 Roland McGrath <roland@hack.frob.com>
38000 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38001 the '\0' terminator.
38003 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38006 * debug/segfault.c: Don't include <bp-checks.h>.
38007 * sysdeps/generic/bp-checks.h: Remove file.
38008 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38009 (__GETDENTS): Don't use CHECK_N.
38010 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38011 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38012 (__getgroups): Don't use CHECK_N.
38013 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38014 (setgroups): Don't use CHECK_N.
38015 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38016 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38017 (__libc_msgrcv): Don't use CHECK_N.
38018 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38019 (__libc_msgsnd): Don't use CHECK_N.
38020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38022 (__libc_pread): Don't use CHECK_N.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38024 include <bp-checks.h>.
38025 (__libc_pread64): Don't use CHECK_N.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38027 include <bp-checks.h>.
38028 (__libc_pwrite): Don't use CHECK_N.
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38030 include <bp-checks.h>.
38031 (__libc_pwrite64): Don't use CHECK_N.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38034 (__libc_pread): Don't use CHECK_N.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38036 include <bp-checks.h>.
38037 (__libc_pread64): Don't use CHECK_N.
38038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38039 include <bp-checks.h>.
38040 (__libc_pwrite): Don't use CHECK_N.
38041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38042 include <bp-checks.h>.
38043 (__libc_pwrite64): Don't use CHECK_N.
38044 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38045 (do_pread): Don't use CHECK_N.
38046 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38047 (do_pread64): Don't use CHECK_N.
38048 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38049 (do_pwrite): Don't use CHECK_N.
38050 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38051 (do_pwrite64): Don't use CHECK_N.
38052 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38053 (__libc_readv): Don't use CHECK_N.
38054 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38055 (semop): Don't use CHECK_N.
38056 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38058 (semtimedop): Don't use CHECK_N.
38059 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38060 (__libc_pread): Don't use CHECK_N.
38061 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38063 (__libc_pread64): Don't use CHECK_N.
38064 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38066 (__libc_pwrite): Don't use CHECK_N.
38067 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38069 (__libc_pwrite64): Don't use CHECK_N.
38070 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38072 (__libc_msgrcv): Don't use CHECK_N.
38073 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38074 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
38075 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38076 (__libc_writev): Don't use CHECK_N.
38078 2013-02-08 Roland McGrath <roland@hack.frob.com>
38080 * string/strcpy.c: Removed unused variable.
38082 * Makeconfig (+sysdep-includes): Define with := rather than =.
38083 Use an existing include/ subdir of each sysdeps dir before it.
38085 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38087 * nscd/connection.c (register_traced_file): Comment function.
38088 [HAVE_INOTIFY] (union __inev): Define.
38089 [HAVE_INOTIFY] (inotify_check_files): New function.
38090 [HAVE_INOTIFY] (clear_db_cache): Likewise.
38091 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38093 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38095 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38097 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38098 loaded if not already and that a failure is permanent.
38100 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38103 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38104 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38106 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38109 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38110 (CHECK_1_NULL_OK): Likewise.
38111 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38112 (__fxstat): Do not use CHECK_1.
38113 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38115 (___fxstat64): Do not use CHECK_1.
38116 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38118 (__fxstatat): Do not use CHECK_1.
38119 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38121 (__fxstatat64): Do not use CHECK_1.
38122 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38124 (__fxstat): Do not use CHECK_1.
38125 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38127 (__fxstatat): Do not use CHECK_1.
38128 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38130 (__getresgid): Do not use CHECK_1.
38131 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38133 (__getresuid): Do not use CHECK_1.
38134 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38136 (__lxstat): Do not use CHECK_1.
38137 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38139 (__old_msgctl): Do not use CHECK_1.
38140 (__new_msgctl): Likewise.
38141 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38143 (__new_setrlimit): Do not use CHECK_1.
38144 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38146 (__old_shmctl): Do not use CHECK_1.
38147 (__new_shmctl): Likewise.
38148 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38150 (__xstat): Do not use CHECK_1.
38151 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38152 (__lxstat): Do not use CHECK_1.
38153 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38155 (___lxstat64): Do not use CHECK_1.
38156 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38157 (__old_msgctl): Do not use CHECK_1.
38158 (__new_msgctl): Likewise.
38159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38161 (__gettimeofday): Do not use CHECK_1.
38162 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38163 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38164 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38166 (__gettimeofday): Do not use CHECK_1.
38167 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38168 (__old_shmctl): Do not use CHECK_1_NULL_OK.
38169 (__new_shmctl): Do not use CHECK_1.
38170 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38172 (do_sigtimedwait): Do not use CHECK_1.
38173 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38175 (do_sigwaitinfo): Do not use CHECK_1.
38176 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38178 (msgctl): Do not use CHECK_1.
38179 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38181 (shmctl): Do not use CHECK_1.
38182 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38183 (ustat): Do not use CHECK_1.
38184 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38186 (__fxstat): Do not use CHECK_1.
38187 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38189 (__fxstatat): Do not use CHECK_1.
38190 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38192 (__lxstat): Do not use CHECK_1.
38193 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38195 (__xstat): Do not use CHECK_1.
38196 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38197 (__xstat): Do not use CHECK_1.
38198 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38199 (___xstat64): Do not use CHECK_1.
38202 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38204 (CHECK_BOUNDS_HIGH): Likewise.
38205 * string/strcpy.c: Do not include <bp-checks.h>.
38206 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38208 2013-02-07 Roland McGrath <roland@hack.frob.com>
38210 * nscd/nscd-client.h (__nscd_drop_map_ref):
38211 Add __attribute__ ((unused)).
38212 * nis/nss-nisplus.h (niserr2nss): Likewise.
38214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38215 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38217 * csu/libc-tls.c (init_static_tls, init_slotinfo):
38218 Remove inline keyword.
38219 * include/rounding-mode.h (round_away): Likewise.
38220 * libio/wfileops.c (adjust_wide_data): Likewise.
38221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38222 (__m128i_strloadu_tolower): Likewise.
38223 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38224 (__m128i_strloadu_tolower): Likewise.
38225 * time/mktime.c (ydhms_diff): Likewise.
38226 * locale/elem-hash.h (elem_hash): Likewise.
38227 * locale/setlocale.c (setdata): Likewise.
38228 * posix/regex_internal.h (re_string_char_size_at): Likewise.
38229 (re_string_wchar_at): Likewise.
38230 (bitset_not, bitset_merge, bitset_mask): Likewise.
38231 [!(__GNUC__ > 3)] (inline): Remove macro.
38232 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38233 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38234 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38235 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38236 * string/memcmp.c (memcmp_bytes): Likewise.
38237 * locale/programs/locarchive.c (compute_hashval): Likewise.
38238 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38239 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38240 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38241 * nss/getent.c (print_rpc, print_protocols): Likewise.
38242 (print_passwd, print_group, print_aliases): Likewise.
38243 * nis/nss-nisplus.h (niserr2nss): Likewise.
38244 * nscd/connections.c (restart_p): Likewise.
38245 Change return type to bool.
38247 2013-02-05 Roland McGrath <roland@hack.frob.com>
38249 * Makeconfig (all-Depend-files): Add existing
38250 $(sorted-subdirs:=/Depend) files.
38251 (all-subdirs): Remove nss.
38252 * sysdeps/unix/inet/Subdirs: Add it here instead.
38253 * hesiod/Depend: New file.
38255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38256 instead of calling alloca.
38258 * io/lseek.c (__lseek): Rename to __libc_lseek.
38259 Define __lseek as an alias.
38261 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38263 2013-02-04 Carlos O'Donell <carlos@redhat.com>
38265 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38266 else clause and remove check for non-standard endianness.
38268 2013-02-04 David S. Miller <davem@davemloft.net>
38270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38272 2013-02-04 Joseph Myers <joseph@codesourcery.com>
38275 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38276 (__ubp_memchr): Remove prototype.
38277 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38278 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38279 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38280 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38281 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38283 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38284 (__ubp_memchr): Likewise.
38285 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38286 (__ubp_memchr): Likewise.
38287 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38288 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38289 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38290 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38292 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38293 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38294 (__getcwd): Do not use CHECK_STRING.
38295 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38297 (__real_chown): Do not use CHECK_STRING.
38298 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38300 (fchownat): Do not use CHECK_STRING.
38301 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38303 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38305 (__lchown): Do not use CHECK_STRING.
38306 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38307 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38308 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38309 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38311 include <bp-checks.h>.
38312 (truncate64): Do not use CHECK_STRING.
38313 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38315 (__real_chown): Do not use CHECK_STRING.
38316 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38318 (__lchown): Do not use CHECK_STRING.
38319 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38321 (__chown): Do not use CHECK_STRING.
38322 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38324 (truncate64): Do not use CHECK_STRING.
38325 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38327 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38328 (__xmknod): Do not use CHECK_STRING.
38329 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38331 (__xmknodat): Do not use CHECK_STRING.
38332 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38333 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38335 2013-02-04 Andreas Schwab <schwab@suse.de>
38338 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38339 * include/netdb.h: Likewise for h_errno.
38340 * elf/tst-stackguard1.c: Include <tls.h>.
38342 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
38344 * elf/link.h (struct link_map): Extend the l_addr comment.
38345 * include/link.h (struct link_map): Likewise.
38347 2013-02-01 Joseph Myers <joseph@codesourcery.com>
38350 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38351 (BOUNDED_1): Remove macro.
38352 * debug/backtrace.c: Don't include <bp-checks.h>.
38353 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38354 (__backtrace): Likewise.
38355 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38357 (__backtrace): Don't use BOUNDED_1.
38358 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38360 (__backtrace): Don't use BOUNDED_1.
38361 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38362 (__backtrace): Don't use BOUNDED_1.
38363 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38364 (shmat): Don't use BOUNDED_N.
38366 2013-01-31 Joseph Myers <joseph@codesourcery.com>
38369 * sysdeps/generic/bp-start.h: Remove file.
38370 * csu/libc-start.c: Don't include <bp-start.h>.
38371 (LIBC_START_MAIN): Set up __environ directly instead of using
38372 INIT_ARGV_and_ENVIRON.
38373 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38377 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38379 (CHECK_FCNTL): Likewise.
38380 (CHECK_N_PAGES): Likewise.
38383 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38385 (CHECK_SIGSET_NULL_OK): Likewise.
38386 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38388 (sigpending): Don't use CHECK_SIGSET.
38389 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38391 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38392 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38394 (do_sigsuspend): Don't use CHECK_SIGSET.
38395 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38397 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38398 (do_sigwait): Don't use CHECK_SIGSET.
38399 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38401 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38402 include <bp-checks.h>.
38403 (sigpending): Don't use CHECK_SIGSET.
38404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38405 include <bp-checks.h>.
38406 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38407 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38409 (sigpending): Don't use CHECK_SIGSET.
38410 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38412 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38415 * sysdeps/generic/bp-semctl.h: Remove file.
38416 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38417 <bp-checks.h> and <bp-semctl.h>.
38418 (__old_semctl): Don't use CHECK_SEMCTL.
38419 (__new_semctl): Likewise.
38420 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38422 (__old_semctl): Don't use CHECK_SEMCTL.
38423 (__new_semctl): Likewise.
38424 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38425 <bp-checks.h> and <bp-semctl.h>.
38426 (__old_semctl): Don't use CHECK_SEMCTL.
38427 (__new_semctl): Likewise.
38428 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38429 <bp-checks.h> and <bp-semctl.h>.
38430 (semctl): Don't use CHECK_SEMCTL.
38433 * Makerules (elide-bp-thunks): Remove variable.
38434 (elide-routines.oS): Don't use $(elide-bp-thunks).
38435 (elide-routines.os): Likewise.
38436 (elide-routines.o): Likewise.
38437 (elide-routines.op): Likewise.
38438 (elide-routines.og): Likewise.
38439 (objects): Don't use $(bp-thunks).
38440 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38442 (common-generated): Do not add s-proto-bp.d.
38443 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38446 Do not generate makefile rules for bounded-pointer thunks.
38447 * sysdeps/generic/bp-thunks.h: Remove file.
38448 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38449 * sysdeps/unix/s-proto-bp.S: Likewise.
38452 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38453 parts of result separately when argument is not close to line from
38454 -i to i and one part of argument is small.
38455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38457 * math/libm-test.inc (cacos_test): Add more tests.
38458 (casin_test): Likewise.
38459 (casinh_test): Likewise.
38460 * sysdeps/i386/fpu/libm-test-ulps: Update.
38461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 2013-01-31 David S. Miller <davem@davemloft.net>
38465 * po/de.po: Update from translation team.
38467 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38469 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38471 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38473 * configure.in (_AC_PROG_CC_C89): New definition.
38474 * configure: Regenerate.
38476 * configure.in (AC_PROG_CPP): New definition.
38477 * configure: Regenerate.
38479 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38481 * debug/tst-backtrace.h: New file.
38482 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38483 (ret): Remove variable.
38485 (FAIL): Remove macro.
38486 (NO_INLINE): Likewise.
38487 (fn1): Use match function instead of strstr.
38488 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38489 (ret): Remove variable.
38491 (FAIL): Remove macro.
38492 (NO_INLINE): Likewise.
38493 (fn): Use match function instead of strstr.
38494 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38495 (ret): Remove variable.
38497 (FAIL): Remove macro.
38498 (NO_INLINE): Likewise.
38499 (handle_signal): Use match function instead of strstr.
38500 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38501 (ret): Remove variable.
38503 (FAIL): Remove macro.
38504 (NO_INLINE): Likewise.
38505 (handle_signal): Use match function instead of strstr.
38507 2013-01-23 Roland McGrath <roland@hack.frob.com>
38509 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38511 2013-01-23 David S. Miller <davem@davemloft.net>
38513 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38514 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38515 argument of CAS if possible.
38516 * sysdeps/sparc/sparc64/bits/atomic.h
38517 (__arch_compare_and_exchange_val_32_acq): Likewise.
38518 (__arch_compare_and_exchange_val_64_acq): Likewise.
38520 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38522 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38523 * sysdeps/posix/ulimit.c: ... this.
38524 Include <limits.h>.
38525 * sysdeps/unix/bsd/ulimit.c: Remove file.
38527 2013-01-23 Adam Conrad <adconrad@0c3.net>
38529 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38530 (LDFLAGS-tst-array5): Likewise.
38532 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38535 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38536 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38537 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38538 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38540 2013-01-21 David S. Miller <davem@davemloft.net>
38542 * sysdeps/sparc/backtrace.c: New file.
38543 * sysdeps/sparc/sparc32/backtrace.h: New file.
38544 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38545 * sysdeps/sparc/sparc64/backtrace.h: New file.
38546 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38547 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38550 2013-01-21 Andreas Schwab <schwab@suse.de>
38553 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38556 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38562 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38563 Mark Mitchell <mark@codesourcery.com>
38564 Tom de Vries <tom@codesourcery.com>
38565 Paul Pluzhnikov <ppluzhnikov@google.com>
38567 * debug/tst-backtrace2.c: New file.
38568 * debug/tst-backtrace3.c: Likewise.
38569 * debug/tst-backtrace4.c: Likewise.
38570 * debug/tst-backtrace5.c: Likewise.
38571 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38572 (CFLAGS-tst-backtrace3.c): Likewise.
38573 (CFLAGS-tst-backtrace4.c): Likewise.
38574 (CFLAGS-tst-backtrace5.c): Likewise.
38575 (LDFLAGS-tst-backtrace2): Likewise.
38576 (LDFLAGS-tst-backtrace3): Likewise.
38577 (LDFLAGS-tst-backtrace4): Likewise.
38578 (LDFLAGS-tst-backtrace5): Likewise.
38579 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38580 tst-backtrace4 and tst-backtrace5.
38582 2013-01-18 Anton Blanchard <anton@samba.org>
38583 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38585 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38586 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38587 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38588 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38590 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38591 "+r" and remove output regs list as redundant. Add explicit inline
38592 asm to specify register of return val to work around compiler codegen
38593 bug. Remove (int) cast on return value. Add return type parameter to
38594 use in macro so that this macro does not truncate return value for
38596 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38597 pass to INTERNAL_VSYSCALL_NCS.
38598 (INLINE_VSYSCALL): Add 'long int' as return type to
38599 INTERNAL_VSYSCALL_NCS macro invocation.
38600 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38601 INTERNAL_VSYSCALL_NCS macro invocation.
38602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38604 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38607 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38608 Fix application of SIMD FP exception mask.
38610 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38611 mp_no from a power of two.
38612 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38613 __mpexp_twomm1. Use __pow_mp.
38615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38618 2013-01-17 David S. Miller <davem@davemloft.net>
38620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38622 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38625 * include/complex.h: Condition contents on [!_COMPLEX_H].
38626 (__kernel_casinhf): New prototype.
38627 (__kernel_casinh): Likewise.
38628 (__kernel_casinhl): Likewise.
38629 * math/Makefile (libm_calls): Add k_casinh.
38630 * math/k_casinh.c: New file.
38631 * math/k_casinhf.c: Likewise.
38632 * math/k_casinhl.c: Likewise.
38633 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38634 finite nonzero arguments.
38635 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38636 finite nonzero arguments.
38637 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38638 finite nonzero arguments.
38639 * math/s_casinh.c: Do not include <float.h>.
38640 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38641 * math/s_casinhf.c: Do not include <float.h>.
38642 (__casinhf): Move code for finite nonzero arguments to
38644 * math/s_casinhl.c: Do not include <float.h>.
38645 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38647 (__casinhl): Move code for finite nonzero arguments to
38649 * math/libm-test.inc (cacos_test): Add more tests.
38650 * sysdeps/i386/fpu/libm-test-ulps: Update.
38651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38653 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38655 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38656 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38657 [!HAVE_MREMAP]: Remove [defined linux] case.
38658 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38660 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38662 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38664 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38666 * elf/elf.h (R_386_SIZE32): New relocation.
38667 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38669 (elf_machine_rela): Likewise.
38670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38671 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38673 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38675 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38676 (FP_FAST_FMA): Do not define.
38677 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38678 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38679 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38680 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38681 !_SOFT_FLOAT]: Likewise.
38682 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38683 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38685 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38686 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38687 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38688 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38689 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38690 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38693 2013-01-16 Andreas Schwab <schwab@suse.de>
38696 * include/stdlib.h (__mktemp): Add declaration.
38697 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38698 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38700 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38702 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38704 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38705 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38706 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38708 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38709 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38711 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38713 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38714 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38715 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38717 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38718 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38720 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38722 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38724 2013-01-15 David S. Miller <davem@davemloft.net>
38726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38727 trunc{,f} to libm-sysdep_routes.
38728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38738 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38739 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38740 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38741 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38742 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38743 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38746 nearbyint{,f} to libm-sysdep_routes.
38747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38758 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38760 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38764 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38765 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38767 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38768 libc_feholdexcept and libc_fesetenv.
38770 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38772 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38774 2013-01-14 David S. Miller <davem@davemloft.net>
38776 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38777 (SPARC_ASM_VIS2_IFUNC): Likewise.
38778 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38780 use of 'siam' instruction.
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38814 routines to libm-sysdep_routines.
38815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38818 fdim/fdimf to libm-sysdep_routines.
38819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38827 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38828 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38829 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38830 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38832 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38834 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38835 to optimize copies.
38837 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38842 local variable MPTWO.
38843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38846 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38848 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38851 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38853 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38855 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38857 * manual/pattern.texi (glob_t): Document gl_flags.
38858 (glob64_t): Likewise.
38860 2013-01-11 David S. Miller <davem@davemloft.net>
38862 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38863 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38864 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38865 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38866 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38867 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38868 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38869 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38870 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38871 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38872 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38873 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38874 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38876 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38877 sparc V9 rather than using V8 code.
38878 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38879 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38881 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38883 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38886 2013-01-11 Roland McGrath <roland@hack.frob.com>
38888 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38889 not in the main loop.
38890 * configure: Regenerated.
38892 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38894 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38895 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38897 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38898 [!__GLIBC_HAVE_LONG_LONG] case.
38899 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38900 condition to just #else.
38901 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38902 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38903 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38904 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38906 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38907 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38908 #elif condition to just #else.
38909 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38910 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38911 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38912 #elif condition to just #else.
38914 2013-01-11 Steve Ellcey <sellcey@mips.com>
38916 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38917 (EF_MIPS_ARCH_64): Fix value.
38918 (EF_MIPS_ARCH_32R2): New.
38919 (EF_MIPS_ARCH_64R2): New.
38921 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38923 * Makeconfig (+link-pie-before-libc): New.
38924 (+link-pie-after-libc): Likewise.
38925 (+link-pie-tests): Likewise.
38926 (+link-pie): Rewritten.
38927 (link-before-libc): Remove $(config-LDFLAGS).
38928 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38929 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38930 (config-LDFLAGS): Renamed to ...
38931 (rtld-LDFLAGS): This.
38932 (rtld-tests-LDFLAGS): New macro.
38933 (link-libc-rpath-link): Likewise.
38934 (link-libc-tests-rpath-link): Likewise.
38935 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38936 (link-libc): Prepand $(link-libc-rpath-link).
38937 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38938 (test-program-prefix): New macro.
38939 (test-via-rtld-prefix): Likewise.
38940 (test-program-cmd): Likewise.
38941 (host-test-program-cmd): Likewise.
38942 * Makefile ($(common-objpfx)testrun.sh): Replace
38943 $(run-program-prefix) with $(test-program-prefix).
38944 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38946 ($(common-objpfx)shlib.lds): Likewise.
38947 (build-module-helper): Likewise.
38948 ($(common-objpfx)format.lds): Likewise.
38949 * Rules (binaries-pie-tests): New.
38950 (binaries-pie-notests): Likewise.
38951 (binaries-pie): Rewritten.
38952 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38953 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38954 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38955 (make-test-out): Replace $(host-built-program-cmd) with
38956 $(host-test-program-cmd).
38957 * config.make.in (build-hardcoded-path-in-tests): New variable.
38958 * configure.in (--enable-hardcoded-path-in-tests): New configure
38960 (hardcoded_path_in_tests): New AC_SUBST.
38961 * configure: Regenerated.
38962 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38963 $(built-program-cmd) with $(test-program-cmd).
38964 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38965 (test_program_cmd): This.
38966 * elf/Makefile ($(objpfx)order.out): Run test with
38967 $(test-program-prefix).
38968 ($(objpfx)order2.out): Likewise.
38969 ($(objpfx)tst-initorder.out): Likewise.
38970 ($(objpfx)tst-initorder2.out): Likewise.
38971 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38972 $(test-program-cmd).
38973 ($(objpfx)tst-array1-static.out): Likewise.
38974 ($(objpfx)tst-array2.out): Likewise.
38975 ($(objpfx)tst-array3.out): Likewise.
38976 ($(objpfx)tst-array4.out): Likewise.
38977 ($(objpfx)tst-array5.out): Likewise.
38978 ($(objpfx)tst-array5-static.out): Likewise.
38979 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38980 $(test-program-cmd).
38981 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38982 $(run-program-prefix) with $(test-program-prefix).
38983 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38984 (test_program_prefix): This.
38985 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38986 $(run-program-prefix) with $(test-program-prefix).
38987 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38988 (test_program_prefix): This.
38989 * iconvdata/tst-tables.sh: Likewise.
38990 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38991 $(run-program-prefix) with $(test-program-prefix).
38992 ($(objpfx)tst-translit.out): Likewise.
38993 ($(objpfx)tst-gettext2.out): Likewise.
38994 ($(objpfx)tst-gettext4.out): Likewise.
38995 ($(objpfx)tst-gettext6.out): Likewise.
38996 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38997 (test_program_prefix): This.
38998 * intl/tst-gettext2.sh: Likewise.
38999 * intl/tst-gettext4.sh Likewise.
39000 * intl/tst-gettext6.sh: Likewise.
39001 * intl/tst-translit.sh: Likewise.
39002 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39003 with $(test-program-cmd).
39004 * libio/Makefile ($(objpfx)test-freopen.out): Replace
39005 $(run-program-prefix) with $(test-program-prefix).
39006 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39007 (test_program_prefix): This.
39008 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39009 $(run-program-prefix) with $(test-program-prefix).
39010 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39011 (test_program_prefix): This.
39012 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39013 * posix/Makefile ($(objpfx)globtest.out): Replace
39014 $(run-via-rtld-prefix) and $(test-wrapper) with
39015 $(test-program-prefix) and $(test-via-rtld-prefix).
39016 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39017 $(test-program-prefix).
39018 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39019 $(host-test-program-cmd).
39020 (tst-spawn-ARGS): Likewise.
39021 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39022 $(test-program-prefix).
39023 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39024 (test_via_rtld_prefix): This.
39025 (test_wrapper): Renamed to ...
39026 (test_program_prefix): This.
39027 (run_program_prefix): Replaced by test_program_prefix.
39028 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39029 (test_program_prefix): This.
39030 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39031 with $(host-test-program-cmd).
39032 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39033 $(run-program-prefix) with $(test-program-prefix).
39034 ($(objpfx)tst-printf.out): Likewise.
39035 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39036 $(test-program-cmd).
39037 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39038 (test_program_prefix): This.
39039 * stdio-common/tst-unbputc.sh: Likewise.
39040 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39041 $(run-program-prefix) with $(test-program-prefix).
39042 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39043 (test_program_prefix): This.
39044 * string/Makefile ($(objpfx)tst-svc.out): Replace
39045 $(built-program-cmd) with $(test-program-cmd).
39047 2013-01-11 Andreas Jaeger <aj@suse.de>
39050 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39051 value. Sync with Linux 3.7.
39053 2013-01-10 David S. Miller <davem@davemloft.net>
39055 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39056 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39057 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39059 2013-01-10 Roland McGrath <roland@hack.frob.com>
39061 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39063 * configure: Regenerated.
39065 2013-01-10 David S. Miller <davem@davemloft.net>
39067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39068 sparc V9 rather than using V8 code.
39069 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39070 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39072 2013-01-10 Roland McGrath <roland@hack.frob.com>
39074 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39075 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39076 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39077 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39078 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39079 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39080 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39081 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39082 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39083 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39084 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39085 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39086 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39087 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39088 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39089 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39090 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39091 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39092 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39093 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39094 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39095 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39096 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39097 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39098 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39099 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39100 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39102 2013-01-10 David S. Miller <davem@davemloft.net>
39104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39106 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39108 * posix/Makefile (tests-static): New variable.
39109 (tests): Add $(tests-static).
39110 (tst-exec-static-ARGS): New variable.
39111 (tst-spawn-static-ARGS): Likewise.
39112 * posix/tst-exec-static.c: New file.
39113 * posix/tst-spawn-static.c: Likewise.
39114 * posix/tst-exec.c: Support run directly.
39115 * posix/tst-spawn.c: Likewise.
39117 2013-01-10 Joseph Myers <joseph@codesourcery.com>
39119 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39121 * math/bits/mathcalls.h (llrint): Likewise.
39122 (llround): Likewise.
39123 * stdlib/stdlib.h (struct drand48_data): Likewise.
39124 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39125 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39126 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39128 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39130 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39131 (elf_greg_t): Likewise.
39132 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39133 (__jmp_buf): Likewise.
39134 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39136 (llrint): Likewise, for all definitions.
39137 (llrintl): Likewise.
39139 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39140 Remove [__GNUC__] condition.
39141 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39142 condition to just [__USE_ISOC99].
39143 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39145 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39148 * sysdeps/unix/sysv/linux/x86/bits/environments.h
39149 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39151 (_POSIX_V6_ILP32_OFF32): Likewise.
39152 (_XBS5_ILP32_OFF32): Likewise.
39153 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39154 (__ILP32_OFFBIG_LDFLAGS): Likewise.
39156 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39158 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39161 doubles __mpexp_twomm1. Adjust usage.
39162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39165 2013-01-10 Andreas Schwab <schwab@suse.de>
39168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39169 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39171 2013-01-09 David S. Miller <davem@davemloft.net>
39174 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39175 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39176 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39177 (TCP_FASTOPEN): Define.
39178 (tcp_repair_opt): New structure.
39179 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39181 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39182 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39183 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39184 (tcp_cookie_transactions): New structure.
39186 2013-01-09 Anton Blanchard <anton@samba.org>
39188 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39189 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39190 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39191 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39193 2013-01-09 Joseph Myers <joseph@codesourcery.com>
39195 * include/features.h (__USE_ANSI): Remove.
39197 2013-01-09 Roland McGrath <roland@hack.frob.com>
39199 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39201 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39203 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
39205 * sysdeps/s390/fpu/libm-test-ulps: Update.
39207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39209 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39213 (denorm): Likewise.
39214 (__mp_dbl): Likewise.
39215 (__dbl_mp): Likewise.
39216 (add_magnitudes): Likewise.
39217 (sub_magnitudes): Likewise.
39223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39227 (denorm): Likewise.
39228 (__mp_dbl): Likewise.
39229 (__dbl_mp): Likewise.
39230 (add_magnitudes): Likewise.
39231 (sub_magnitudes): Likewise.
39237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39241 (denorm): Likewise.
39242 (__mp_dbl): Likewise.
39243 (__dbl_mp): Likewise.
39244 (add_magnitudes): Likewise.
39245 (sub_magnitudes): Likewise.
39252 2013-01-08 Joseph Myers <joseph@codesourcery.com>
39254 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39255 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39256 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39257 2 && __USE_EXTERN_INLINES]: Likewise.
39259 2013-01-08 Andreas Jaeger <aj@suse.de>
39262 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39264 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39265 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39267 2013-01-07 Anton Blanchard <anton@samba.org>
39269 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39270 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39271 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39272 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39273 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39274 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39275 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39276 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39278 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39279 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39280 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39281 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39282 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39283 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39284 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39285 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39286 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39287 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39288 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39290 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39291 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39292 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39293 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39294 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39295 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39296 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39298 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39299 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39302 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39303 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39305 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39306 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39307 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39308 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39309 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39310 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39311 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39313 2013-01-07 Joseph Myers <joseph@codesourcery.com>
39315 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39316 (__MALLOC_PMT): Likewise.
39317 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39318 [__GNUC__], only on [_LIBC].
39319 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39320 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39321 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39322 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39323 forward declaration.
39324 (realloc_hook_ini): Likewise.
39325 (memalign_hook_ini): Likewise.
39326 (__libc_memalign): Do not use __MALLOC_PMT in variable
39328 (__libc_valloc): Likewise.
39329 (__libc_pvalloc): Likewise.
39330 (__libc_calloc): Likewise.
39331 (__posix_memalign): Likewise.
39334 * math/s_casinh.c: Include <float.h>.
39335 (__casinh): Do not do computation with squaring and square root
39336 for large arguments.
39337 * math/s_casinhf.c: Include <float.h>.
39338 (__casinhf): Do not do computation with squaring and square root
39339 for large arguments.
39340 * math/s_casinhl.c: Include <float.h>.
39341 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39342 (__casinhl): Do not do computation with squaring and square root
39343 for large arguments.
39344 * math/libm-test.inc (casin_test): Add more tests.
39345 (casinh_test): Likewise.
39346 * sysdeps/i386/fpu/libm-test-ulps: Update.
39347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39349 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
39351 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39352 (__x86_64_raw_data_cache_size): Likewise.
39353 (__x86_64_data_cache_size_half): Likewise.
39354 (__x86_64_raw_data_cache_size_half): Likewise.
39355 (__x86_64_shared_cache_size): Likewise.
39356 (__x86_64_raw_shared_cache_size): Likewise.
39357 (__x86_64_shared_cache_size_half): Likewise.
39358 (__x86_64_raw_shared_cache_size_half): Likewise.
39359 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39361 (__x86_data_cache_size): This.
39362 (__x86_64_raw_data_cache_size): Renamed to ...
39363 (__x86_raw_data_cache_size): This.
39364 (__x86_64_data_cache_size_half): Renamed to ...
39365 (__x86_data_cache_size_half): This.
39366 (__x86_64_raw_data_cache_size_half): Renamed to ...
39367 (__x86_raw_data_cache_size_half): This.
39368 (__x86_64_shared_cache_size): Renamed to ...
39369 (__x86_shared_cache_size): This.
39370 (__x86_64_raw_shared_cache_size): Renamed to ...
39371 (__x86_raw_shared_cache_size): This.
39372 (__x86_64_shared_cache_size_half): Renamed to ...
39373 (__x86_shared_cache_size_half): This.
39374 (__x86_64_raw_shared_cache_size_half): Renamed to ...
39375 (__x86_raw_shared_cache_size_half): This.
39376 * sysdeps/x86_64/memcpy.S: Updated.
39377 * sysdeps/x86_64/memset.S: Likewise.
39378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39382 2013-01-04 David S. Miller <davem@davemloft.net>
39384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39386 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39388 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39389 1 to avoid redefinition warning.
39390 (__USE_GNU): Don't define.
39391 (init_signaling_nan): Protoize.
39393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39395 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39397 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39399 (__cpymn): Likewise.
39400 (norm): Remove commented code.
39401 (denorm): Likewise.
39402 (__mp_dbl): Likewise.
39404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39405 (__cpymn): Likewise.
39406 (norm): Remove commented code.
39407 (denorm): Likewise.
39408 (__mp_dbl): Likewise.
39411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39412 mp_no value for 1.0 and 2.0.
39413 (norm): Use RADIXI instead of radixi.d.
39414 (denorm): Likewise.
39415 (__mul): Use 0.0 instead of zero.d.
39416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39417 mp_no value for 1.0 and 2.0.
39418 (norm): Use RADIXI instead of radixi.d.
39419 (denorm): Likewise.
39420 (__mul): Use 0.0 instead of zero.d.
39422 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39425 * math/s_casinh.c (__casinh): Reduce finite argument to first
39426 quadrant then set signs of results at the end.
39427 * math/s_casinhf.c (__casinhf): Likewise.
39428 * math/s_casinhl.c (__casinhl): Likewise.
39429 * math/libm-test.inc (casin_test): Add more tests.
39430 (casinh_test): Likewise.
39431 * sysdeps/i386/fpu/libm-test-ulps: Update.
39432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39436 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39438 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39440 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39442 (denorm): Likewise.
39443 (__mp_dbl): Likewise.
39446 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39447 and adjust the header comment.
39449 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39450 variable name from declaration.
39452 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39455 Initialize COMMON_CPUID_INDEX_7 element.
39456 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39457 (CPUID_RTM): Likewise.
39458 (HAS_RTM): Likewise.
39459 (COMMON_CPUID_INDEX_7): New enum.
39461 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39464 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39465 size is zero, record memory as freed.
39467 2013-01-03 Andreas Jaeger <aj@suse.de>
39469 * po/ia.po: Add new Interlingua translation.
39471 2012-01-03 Allan McRae <allan@archlinux.org>
39473 * locale/programs/localedef.c: Fix description of '--posix' flag.
39475 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39477 * NEWS: Update dates in second copyright notice.
39478 * README: Update copyright dates in example.
39479 * manual/libc.texinfo: Update copyright dates.
39480 * scripts/test-installation.pl: Update copyright date in --version
39483 * hurd/ctty-input.c: Fix copyright notice formatting.
39484 * hurd/ctty-output.c: Likewise.
39485 * hurd/dtable.c: Likewise.
39486 * hurd/hurd-raise.c: Likewise.
39487 * hurd/hurdprio.c: Likewise.
39488 * hurd/msgportdemux.c: Likewise.
39489 * misc/sys/file.h: Likewise.
39490 * misc/sys/ioctl.h: Likewise.
39491 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39492 * sysdeps/mach/hurd/chdir.c: Likewise.
39493 * sysdeps/mach/hurd/fchdir.c: Likewise.
39494 * sysdeps/mach/hurd/rename.c: Likewise.
39495 * sysdeps/mach/hurd/rmdir.c: Likewise.
39496 * sysdeps/mach/hurd/seekdir.c: Likewise.
39497 * sysdeps/mach/hurd/setsid.c: Likewise.
39498 * sysdeps/posix/wait3.c: Likewise.
39500 * All files with FSF copyright notices: Update copyright dates
39501 using scripts/update-copyrights.
39502 * intl/plural.c: Regenerated.
39503 * locale/programs/charmap-kw.h: Likewise.
39504 * locale/programs/locfile-kw.h: Likewise.
39506 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39508 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39511 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39512 calculation loop and add branch prediction.
39514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39515 check access beyond bounds of m1np.
39517 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39519 (__inv): Remove local variable MPTWO to use the global
39521 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39522 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39525 MP3HALFS static const.
39527 2013-01-01 David S. Miller <davem@davemloft.net>
39529 * po/ca.po: Update from translation team.
39531 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39533 * scripts/update-copyrights: New file.
39534 * Makeconfig: Reformat copyright notice.
39535 * ctype/ctype.h: Likewise.
39536 * debug/swprintf_chk.c: Likewise.
39537 * elf/dl-cache.c: Likewise.
39538 * elf/dl-debug.c: Likewise.
39539 * elf/dl-object.c: Likewise.
39540 * grp/initgroups.c: Likewise.
39541 * hurd/Makefile: Likewise.
39542 * hurd/hurd/signal.h: Likewise.
39543 * hurd/hurdfault.c: Likewise.
39544 * hurd/hurdioctl.c: Likewise.
39545 * hurd/hurdlookup.c: Likewise.
39546 * hurd/intr-msg.c: Likewise.
39547 * iconv/gconv_open.c: Likewise.
39548 * libio/swprintf.c: Likewise.
39549 * locale/lc-ctype.c: Likewise.
39550 * locale/nl_langinfo.c: Likewise.
39551 * mach/Machrules: Likewise.
39552 * mach/Makefile: Likewise.
39553 * malloc/obstack.h: Likewise.
39554 * manual/Makefile: Likewise.
39555 * manual/tsort.awk: Likewise.
39556 * misc/bits/stab.def: Likewise.
39557 * nis/nis_print_group_entry.c: Likewise.
39558 * nis/nis_table.c: Likewise.
39559 * nis/nss_compat/compat-pwd.c: Likewise.
39560 * nis/nss_compat/compat-spwd.c: Likewise.
39561 * po/Makefile: Likewise.
39562 * posix/fnmatch.c: Likewise.
39563 * posix/regex.h: Likewise.
39564 * resolv/Makefile: Likewise.
39565 * resolv/nss_dns/dns-network.c: Likewise.
39566 * resolv/res_hconf.c: Likewise.
39567 * scripts/gen-sorted.awk: Likewise.
39568 * soft-fp/soft-fp.h: Likewise.
39569 * stdio-common/printf.h: Likewise.
39570 * stdlib/monetary.h: Likewise.
39571 * stdlib/random.c: Likewise.
39572 * stdlib/random_r.c: Likewise.
39573 * sysdeps/generic/Makefile: Likewise.
39574 * sysdeps/gnu/Makefile: Likewise.
39575 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39577 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39582 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39583 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39585 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39586 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39587 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39588 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39589 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39590 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39591 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39593 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39595 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39598 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39599 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39600 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39603 * sysdeps/mach/hurd/errnos.awk: Likewise.
39604 * sysdeps/mach/hurd/fork.c: Likewise.
39605 * sysdeps/mach/hurd/getcwd.c: Likewise.
39606 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39607 * sysdeps/mach/hurd/mmap.c: Likewise.
39608 * sysdeps/mach/hurd/utimes.c: Likewise.
39609 * sysdeps/mach/hurd/xmknod.c: Likewise.
39610 * sysdeps/posix/profil.c: Likewise.
39611 * sysdeps/posix/readdir_r.c: Likewise.
39612 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39613 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39614 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39615 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39617 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39618 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39621 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39622 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39623 * sysdeps/pthread/lio_listio.c: Likewise.
39624 * sysdeps/sparc/dl-procinfo.h: Likewise.
39625 * sysdeps/unix/i386/sysdep.S: Likewise.
39626 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39627 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39628 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39629 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39631 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39632 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39633 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39634 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39635 * sysdeps/wordsize-32/divdi3.c: Likewise.
39636 * time/sys/time.h: Likewise.
39637 * wcsmbs/Makefile: Likewise.
39639 2013-01-01 David S. Miller <davem@davemloft.net>
39641 * po/fr.po: Update from translation team.
39643 * catgets/gencat.c: Update copyright year.
39644 * csu/version.c: Likewise.
39645 * debug/catchsegv.sh: Likewise.
39646 * debug/pcprofiledump.c: Likewise.
39647 * debug/xtrace.sh: Likewise.
39648 * elf/ldconfig.c: Likewise.
39649 * elf/ldd.bash.in: Likewise.
39650 * elf/pldd.c: Likewise.
39651 * elf/sotruss.ksh: Likewise.
39652 * elf/sprof.c: Likewise.
39653 * iconv/iconv_prog.c: Likewise.
39654 * iconv/iconvconfig.c: Likewise.
39655 * locale/programs/locale.c: Likewise.
39656 * locale/programs/localedef.c: Likewise.
39657 * login/programs/pt_chown.c: Likewise.
39658 * malloc/memusage.sh: Likewise.
39659 * malloc/memusagestat.c: Likewise.
39660 * malloc/mtrace.pl: Likewise.
39661 * nscd/nscd.c: Likewise.
39662 * nss/getent.c: Likewise.
39663 * nss/makedb.c: Likewise.
39664 * posix/getconf.c: Likewise.
39666 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39668 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39671 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39673 * math/bits/mathcalls.h (modf): Use __nonnull.
39675 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39677 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39678 (split): Use macro CN instead of the bare value.
39679 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39682 instead of the bare value.
39683 (power1): Likewise.
39685 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39689 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39691 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39693 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39695 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39696 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39698 2012-12-28 Andreas Jaeger <aj@suse.de>
39700 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39701 values are from Linux 3.7.
39703 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39704 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39706 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39708 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39711 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39713 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39714 variables with preprocessor constants.
39715 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39716 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39717 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39719 2012-12-27 Bruno Haible <bruno@clisp.org>
39722 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39725 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39727 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39728 and use variable directly.
39729 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39731 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39733 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39734 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39736 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39738 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39739 include directive. Remove local variable MPONE.
39740 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39741 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39744 2012-12-25 David S. Miller <davem@davemloft.net>
39746 * version.h (RELEASE): Set to "development".
39747 (VERSION): Set to "2.17.90".
39748 * NEWS: Add 2.18 section.
39750 2012-12-21 David S. Miller <davem@davemloft.net>
39752 * po/hr.po: Update from translation team.
39754 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39756 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39758 2012-12-19 Steve Ellcey <sellcey@mips.com>
39760 * NEWS: Mention new memcpy for MIPS.
39762 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39764 * manual/contrib.texi (Contributors): Spelling correction.
39766 2012-12-15 David S. Miller <davem@davemloft.net>
39768 * po/ru.po: Update from translation team.
39770 2012-12-13 David S. Miller <davem@davemloft.net>
39772 * NEWS: Mention IFUNC testsuite enhancements.
39774 * po/pl.po: Update from translation team.
39775 * po/bg.po: Likewise.
39777 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39778 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39780 2012-12-11 David S. Miller <davem@davemloft.net>
39782 * po/sv.po: Update from translation team.
39784 * po/vi.po: Update from translation team.
39786 * po/cs.po: Update from translation team.
39788 * po/de.po: Update from translation team.
39789 * po/eo.po: Likewise.
39790 * po/nl.po: Likewise.
39792 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39795 * manual/argp.texi (Argp Helper Functions): Move node to follow
39796 Argp Parsing State.
39799 * manual/conf.texi (Limits on File System Capacity): Mention if
39800 terminating null is included in the max size.
39802 2012-12-10 Andreas Jaeger <aj@suse.de>
39804 * po/cs.po: Update from translation team.
39806 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39808 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39809 void pointer and cast to uintptr_t.
39810 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39812 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39813 * sysdeps/s390/s390-64/memset.S: Likewise.
39815 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39818 * menual/message.texi (Message Translation): Fix typos.
39819 (Helper programs for gettext): Likewise.
39821 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39824 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39827 2012-12-07 David S. Miller <davem@davemloft.net>
39829 * po/libc.pot: Update.
39831 2012-12-07 Richard Henderson <rth@redhat.com>
39834 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39835 normal/normal case to before the switch.
39836 (_FP_DIV): Likewise.
39838 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39839 Mike Frysinger <vapier@gentoo.org>
39841 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39842 check for __NR_fadvise64_64.
39844 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39846 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39847 0, not just to plain "0" as a statement.
39848 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39851 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39853 * NEWS: Use sourceware.org in Bugzilla URL.
39855 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39858 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39860 * stdio-common/tst-put-error.c (do_test): Add newline to the
39861 padded test to ensure flush.
39863 2012-12-05 Jeff Law <law@redhat.com>
39865 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39867 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39869 * README: Don't refer to ports add-on as distributed separately.
39870 Mention AArch64 in list of systems supported in the ports add-on.
39872 * LICENSES: Add more non-FSF copyright and license notices.
39874 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39877 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39879 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39880 10000 as width of padded output.
39882 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39884 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39886 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39887 variable LX with __attribute__ ((unused)).
39888 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39890 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39892 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39893 with __attribute__ ((unused)).
39895 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39897 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39899 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39901 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39902 (CFLAGS-nldbl-acos.c): New variable.
39903 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39904 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39905 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39906 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39907 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39908 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39909 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39910 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39911 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39912 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39913 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39914 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39915 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39916 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39917 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39918 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39919 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39920 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39921 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39922 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39923 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39924 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39925 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39926 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39927 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39928 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39929 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39930 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39931 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39932 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39933 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39934 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39935 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39936 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39937 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39938 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39939 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39940 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39941 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39942 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39943 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39944 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39945 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39946 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39947 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39948 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39949 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39950 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39951 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39952 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39953 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39954 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39955 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39956 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39957 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39958 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39959 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39960 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39961 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39962 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39963 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39964 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39965 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39966 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39967 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39968 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39969 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39970 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39971 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39972 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39973 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39974 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39975 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39976 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39977 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39978 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39979 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39980 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39981 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39982 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39983 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39984 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39985 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39986 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39987 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39988 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39989 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39990 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39991 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39992 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39993 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39994 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39995 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39996 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39997 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39998 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39999 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40002 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40005 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40006 whole low double instead of just low 47 bits when splitting values
40009 2012-12-03 Allan McRae <allan@archlinux.org>
40011 * manual/stdio.texi (Predefined Printf Handlers): Remove
40012 @hsep and @vsep usage.
40014 2012-12-03 Mike Frysinger <vapier@gentoo.org>
40016 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40017 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40019 2012-12-03 Jeff Law <law@redhat.com>
40021 * time/sys/time.h (settimeofday): Do not mark TV argument
40024 2012-12-01 Mike Frysinger <vapier@gentoo.org>
40026 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40027 when currently writing and seek to current position when not.
40028 * libio/Makefile (tests): Remove bug-fclose1.
40029 * libio/bug-fclose1.c: Delete.
40031 2012-12-01 Joseph Myers <joseph@codesourcery.com>
40033 * manual/arith.texi (feenableexcept): Fix typo.
40034 (fedisableexcept): Likewise.
40036 2012-11-30 Roland McGrath <roland@hack.frob.com>
40038 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40039 second, differently-typed declaration, rather than a cast.
40041 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40043 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40044 * include/rpc/svc.h: ... here.
40046 2012-11-30 Aurelien Jarno <aurel32@debian.org>
40049 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40050 depending n and resplen2 to catch cases where answer
40053 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
40055 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40056 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40058 2012-11-29 Mike Frysinger <vapier@gentoo.org>
40060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40062 2012-11-29 Roland McGrath <roland@hack.frob.com>
40064 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40066 2012-11-28 Jeff Law <law@redhat.com>
40069 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40070 dataset_temporary. Track alloca usage into alloca_used.
40071 If dataset is large allocate and release it via malloc/free.
40073 2012-06-04 Florian Weimer <fweimer@redhat.com>
40076 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40078 2012-11-28 David S. Miller <davem@davemloft.net>
40080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40082 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40085 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40086 of pi/2 rounded to nearest to 64 bits.
40087 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40088 nearest to 64 bits.
40089 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40092 2012-11-28 Jeff Law <law@redhat.com>
40093 Martin Osvald <mosvald@redhat.com>
40096 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40097 * sunrpc/svc.c: Include time.h.
40098 (__svc_accept_failed): New function.
40099 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40100 any reason other than EINTR, call __svc_accept_failed.
40101 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40102 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40104 2012-11-28 Andreas Schwab <schwab@suse.de>
40106 * scripts/abilist.awk: Also handle indirect functions in .opd
40109 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40112 * sysdeps/x86/fpu/powl_helper.c: New file.
40113 * sysdeps/x86/fpu/Makefile: Likewise.
40114 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40116 (__ieee754_powl): Use __powl_helper for finite arguments except
40117 integer exponents below 8.
40118 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40120 (__ieee754_powl): Use __powl_helper for finite arguments except
40121 integer exponents below 8.
40122 * math/libm-test.inc (pow_test): Add more tests and enable some
40123 previously disabled tests.
40124 * sysdeps/i386/fpu/libm-test-ulps: Update.
40125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40127 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40128 Carlos O'Donell <carlos_odonell@mentor.com>
40130 * nss/makedb.c (is_prime): Assert that input is odd and greater
40131 than 4. Note that fact in a comment too.
40132 (next_prime): Add 4 to input.
40134 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40137 * libio/Makefile (tests): Add test case tst-fwrite-error.
40138 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40139 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40140 * libio/tst-fwrite-error.c: New test case.
40142 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
40144 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40145 before casting to void *.
40146 * include/libc-internal.h (__pointer_type): New macro.
40147 (__integer_if_pointer_type_sub): Likewise.
40148 (__integer_if_pointer_type): Likewise.
40149 (cast_to_integer): Likewise.
40150 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40151 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40152 before casting to atomic64_t.
40153 (atomic_exchange_acq): Likewise.
40154 (__arch_exchange_and_add_body): Likewise.
40155 (__arch_add_body): Likewise.
40156 (atomic_add_negative): Likewise.
40157 (atomic_add_zero): Likewise.
40159 2012-11-26 Joseph Myers <joseph@codesourcery.com>
40161 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40162 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40163 (add_fdes): Likewise.
40164 (linear_search_fdes): Likewise.
40165 (binary_search_unencoded_fdes): Likewise.
40167 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
40169 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40171 2012-11-24 Adam Conrad <adconrad@0c3.net>
40173 * configure.in: Autodetect C++ header directories.
40174 * configure: Regenerated.
40176 2012-11-23 Mike Frysinger <vapier@gentoo.org>
40178 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40180 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40184 2012-11-22 Joseph Myers <joseph@codesourcery.com>
40186 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40187 LDBL_MANT_DIG == 106]: Disable some tests.
40188 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40190 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40194 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40195 input for small inputs. Return +/- pi/2 for large inputs.
40196 * math/libm-test.inc (atan_test): Add more tests.
40198 * sysdeps/generic/unwind-dw2-fde-glibc.c
40199 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40200 __attribute__ ((unused)).
40203 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40204 x * y if x and y are nonzero and z is zero.
40207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40208 nonzero exponents with absolute value below 0x1p-117 to +/-
40212 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40213 up arguments below 2**-450, not just those below 2**-500.
40214 * math/libm-test.inc (hypot_test): Add another test.
40217 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40218 Return a+b for ratio over 2**120, not 2**60.
40219 * math/libm-test.inc (hypot_test): Add another test.
40221 * math/libm-test.inc (clog_test): Use
40222 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40223 (clog10_test): Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40228 2012-11-22 Andreas Schwab <schwab@suse.de>
40230 * sysdeps/i386/fpu/libm-test-ulps: Update.
40232 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
40234 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40235 printf output with newline.
40237 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
40240 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40241 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40242 -z nodlopen, -z initfirst and -z execstack support.
40243 * configure: Regenerated.
40245 * elf/elf.h (DF_1_NODIRECT): New macro.
40246 (DF_1_IGNMULDEF): Likewise.
40247 (DF_1_NOKSYMS): Likewise.
40248 (DF_1_NOHDR): Likewise.
40249 (DF_1_EDITED): Likewise.
40250 (DF_1_NORELOC): Likewise.
40251 (DF_1_SYMINTPOSE): Likewise.
40252 (DF_1_GLOBAUDIT): Likewise.
40253 (DF_1_SINGLETON): Likewise.
40254 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40255 DT_1_SUPPORTED_MASK bits.
40256 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40258 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
40260 * sysdeps/unix/make-syscalls.sh: Document prefixes.
40262 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
40264 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40267 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40268 (sendmmsg): Move declarations...
40269 * socket/sys/socket.h: ... here.
40270 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40271 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40273 * socket/recvmmsg.c: ... this new file.
40274 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40275 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40276 definition of __sendmmsg hidden.
40277 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40278 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40279 Move ENOSYS stub into and include it from...
40280 * socket/sendmmsg.c: ... this new file.
40281 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40282 (sysdep_routines): Move recvmmsg and sendmmsg...
40283 * socket/Makefile (routines): ... here.
40284 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40285 (GLIBC_PRIVATE): Add __sendmmsg.
40286 * include/sys/socket.h (__sendmmsg): Add declarations.
40287 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40290 2012-11-20 Joseph Myers <joseph@codesourcery.com>
40292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40293 variable I1 with __attribute__ ((unused)).
40294 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40296 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40298 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40299 DUMMY variables with __attribute__ ((unused)).
40301 * bits/byteswap.h: Include <bits/types.h>.
40302 (__bswap_64): Use __uint64_t instead of unsigned long long int.
40304 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40306 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40307 string_t. Do not manually set errno.
40308 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40309 length with __strnlen. Make sure to both set errno and return it on
40312 2012-11-19 David S. Miller <davem@davemloft.net>
40314 With help from Joseph Myers.
40315 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40316 very large arguments properly.
40317 * math/libm-test.inc (atan_test): New tests.
40318 (atan2_test): New tests.
40319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40322 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40325 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40328 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40329 [POSIX] (EADDRNOTAVAIL): Likewise.
40330 [POSIX] (EAFNOSUPPORT): Likewise.
40331 [POSIX] (EALREADY): Likewise.
40332 [POSIX] (ECONNABORTED): Likewise.
40333 [POSIX] (ECONNREFUSED): Likewise.
40334 [POSIX] (ECONNRESET): Likewise.
40335 [POSIX] (EDESTADDRREQ): Likewise.
40336 [POSIX] (EDQUOT): Likewise.
40337 [POSIX] (EHOSTUNREACH): Likewise.
40338 [POSIX] (EIDRM): Likewise.
40339 [POSIX] (EISCONN): Likewise.
40340 [POSIX] (ELOOP): Likewise.
40341 [POSIX] (EMULTIHOP): Likewise.
40342 [POSIX] (ENETDOWN): Likewise.
40343 [POSIX] (ENETUNREACH): Likewise.
40344 [POSIX] (ENOBUFS): Likewise.
40345 [POSIX] (ENODATA): Likewise.
40346 [POSIX] (ENOLINK): Likewise.
40347 [POSIX] (ENOMSG): Likewise.
40348 [POSIX] (ENOPROTOOPT): Likewise.
40349 [POSIX] (ENOSR): Likewise.
40350 [POSIX] (ENOSTR): Likewise.
40351 [POSIX] (ENOTCONN): Likewise.
40352 [POSIX] (ENOTSOCK): Likewise.
40353 [POSIX] (EOPNOTSUPP): Likewise.
40354 [POSIX] (EOVERFLOW): Likewise.
40355 [POSIX] (EPROTO): Likewise.
40356 [POSIX] (EPROTONOSUPPORT): Likewise.
40357 [POSIX] (EPROTOTYPE): Likewise.
40358 [POSIX] (ESTALE): Likewise.
40359 [POSIX] (ETIME): Likewise.
40360 [POSIX] (ETXTBSY): Likewise.
40361 [POSIX] (EWOULDBLOCK): Likewise.
40362 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40363 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40364 [POSIX] (SEEK_CUR): Likewise.
40365 [POSIX] (SEEK_END): Likewise.
40366 [POSIX || UNIX98] (mode_t): Do not require.
40367 [POSIX] (off_t): Likewise.
40368 [POSIX] (pid_t): Likewise.
40369 [POSIX] (sys/stat.h): Do not allow header.
40370 [POSIX] (unistd.h): Likewise.
40371 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40372 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40373 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40374 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40376 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40377 sigevent): Specify elements.
40378 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40380 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40381 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40383 * conform/data/cpio.h-data [POSIX]: Disable whole file.
40384 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40385 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40386 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40387 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40388 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40389 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40390 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40391 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40392 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40393 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40394 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40395 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40396 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40398 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40400 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40402 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40404 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40405 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40406 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40407 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40408 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40409 Specify lower bound on value.
40410 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40411 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40412 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40413 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40414 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40415 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40416 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40417 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40419 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40421 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40422 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40423 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40424 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40425 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40426 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40427 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40428 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40429 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40430 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40431 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40432 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40433 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40434 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40435 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40436 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40438 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40440 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40441 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40442 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40443 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40444 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40445 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40447 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40448 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40449 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40450 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40451 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40452 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40453 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40455 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40457 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40458 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40459 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40460 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40461 specify as optional.
40462 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40463 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40464 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40465 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40466 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40467 [XPG3] (NL_LANGMAX): Likewise.
40468 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40469 [POSIX || XPG3] (NL_NMAX): Likewise.
40470 [POSIX || XPG3] (NL_SETMAX): Likewise.
40471 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40472 [XPG3] (NZERO): Likewise.
40473 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40474 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40475 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40476 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40477 (REG_ERANGE): Expect.
40478 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40480 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40481 Use (void) in prototype.
40482 [POSIX] (*_t): Allow.
40483 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40484 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40485 (WRDE_BADVAL): Expect.
40487 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40489 [XPG3 || XPG4] (O_RSYNC): Likewise.
40490 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40492 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40493 [XPG3 || XPG4] (sigqueue): Likewise.
40494 [XPG3 || XPG4] (sigtimedwait): Likewise.
40495 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40496 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40497 [XPG3 || XPG4] (vsnprintf): Likewise.
40498 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40500 [XPG3 || XPG4] (blksize_t): Likewise.
40501 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40503 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40504 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40505 [XPG3 || XPG4] (struct itimerspec): Likewise.
40506 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40507 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40508 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40509 [XPG3 || XPG4] (clockid_t): Likewise.
40510 [XPG3 || XPG4] (timer_t): Likewise.
40511 [XPG3 || XPG4] (clock_getres): Likewise.
40512 [XPG3 || XPG4] (clock_gettime): Likewise.
40513 [XPG3 || XPG4] (clock_settime): Likewise.
40514 [XPG3 || XPG4] (nanosleep): Likewise.
40515 [XPG3 || XPG4] (timer_create): Likewise.
40516 [XPG3 || XPG4] (timer_delete): Likewise.
40517 [XPG3 || XPG4] (timer_gettime): Likewise.
40518 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40519 [XPG3 || XPG4] (timer_settime): Likewise.
40520 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40521 [XPG3 || XPG4] (getlogin_r): Likewise.
40522 [XPG3 || XPG4] (pread): Likewise.
40523 [XPG3 || XPG4] (pthread_atfork): Likewise.
40524 [XPG3 || XPG4] (pwrite): Likewise.
40527 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40530 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40532 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40533 finalizing MALLSTREAM.
40535 * sysdeps/mach/hurd/syncfs.c: New file.
40537 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40540 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40541 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40542 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40543 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40544 (_nss_dns_gethostbyname4_r): Likewise.
40545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40546 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40548 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40551 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40553 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40555 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40556 * elf/cache.c (print_entry): Print ",AArch64" for
40559 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40560 * elf/cache.c (print_entry): Print ",hard-float" for
40563 2012-11-18 David S. Miller <davem@davemloft.net>
40565 With help from Joseph Myers.
40566 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40568 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40570 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40571 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40573 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40574 * math/libm-test.inc (y0_test): New tests.
40575 (y1_test): New tests.
40576 * sysdeps/i386/fpu/libm-test-ulps: Update.
40577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40580 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40582 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40584 * configure: Regenerated.
40586 2012-11-17 David S. Miller <davem@davemloft.net>
40589 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40590 nonzero exponents with absolute value below 0x1p-128 to +/-
40593 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40595 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40597 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40599 * posix/getconf-speclist.c: New file.
40600 * posix/posix-envs.def: Likewise.
40601 * posix/confstr.c (START_ENV_GROUP): New macro.
40602 (END_ENV_GROUP): Likewise.
40603 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40604 (KNOWN_PRESENT_ENV_STRING): Likewise.
40605 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40606 (UNKNOWN_ENVIRONMENT): Likewise.
40607 (confstr): Include posix-envs.def instead of handling
40608 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40609 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40610 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40611 (END_ENV_GROUP): Likewise.
40612 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40613 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40614 (UNKNOWN_ENVIRONMENT): Likewise.
40615 (__sysconf): Include posix-envs.def instead of handling associated
40616 cases directly here.
40617 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40618 preprocessing getconf-speclist.c rather than running getconf or
40619 generating empty file.
40621 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40623 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40625 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40628 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40630 2012-11-16 David S. Miller <davem@davemloft.net>
40632 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40633 smaller than LDBL_EPSILON/2.0L, just return xm1.
40635 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40637 * elf/tst-array1.c (init): Set constructor priority to 1000.
40638 (fini): Set destructor priority to 1000.
40639 * elf/tst-array2dep.c: Likewise.
40641 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40644 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40645 (_IO_new_file_xsputn): Also return EOF if none of the input
40646 data was written when overflow failed.
40647 * libio/iopadn.c (_IO_padn): Likewise.
40648 * libio/iowpadn.c (_IO_wpadn): Likewise.
40649 * stdio-common/tst-put-error.c: Add copyright notice.
40650 (do_test): Add case for printing padded string.
40651 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40652 _IO_padn returned error.
40653 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40654 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40657 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40659 * libio/libioP.h: Add comment note that the references to C++
40660 bits are now obsolete.
40662 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40664 * math/libm-test.inc (check_complex): Use asprintf.
40666 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40668 * debug/pcprofiledump.c (print_version): Update copyright year.
40669 * malloc/memusagestat.c (print_version): Likewise.
40671 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40674 * elf/Makefile (tests): Add tst-audit8.
40675 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40676 ($(objpfx)tst-audit8.out): New target.
40677 (tst-audit8-ENV): New variable.
40678 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40679 audit if l_reloc_result is NULL.
40680 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40681 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40682 * elf/tst-audit8.c: New file.
40684 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40686 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40687 * misc/Makefile (CFLAGS-select.c): Define.
40688 * posix/Makefile (CFLAGS-pause.c): Define.
40690 2012-11-13 David S. Miller <davem@davemloft.net>
40692 * crypt/Makefile: Move test targets after toplevel Rules
40693 inclusion. Grab any necessary sysdep routines when linking.
40694 * crypt/md5.c (md5_process_block): Remove define, we will always
40695 name it __md5_process_block.
40696 (md5_finish_ctx): Update md5_process_block call.
40697 (md5_stream): Likewise.
40698 (md5_process_bytes): Likewise.
40699 (md5_process_block): Rename to __md5_process_block and move to ...
40700 * crypt/md5-block.c: ... here.
40701 * crypt/sha256.c (sha256_process_block): Move to ...
40702 * crypt/sha256-block.c: ... here.
40703 * crypt/sha512.c (sha512_process_block): Move to ...
40704 * crypt/sha512-block.c: ... here.
40705 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40707 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40708 * sysdeps/sparc/sparc64/multiarch/Makefile
40709 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40711 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40712 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40714 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40715 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40716 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40717 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40718 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40719 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40720 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40721 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40722 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40724 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40727 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40729 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40731 * timezone/tzselect.ksh: Update from tzcode git revision
40732 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40733 * timezone/zdump.c: Likewise.
40734 * timezone/zic.c: Likewise.
40735 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40736 in TZVERSION setting, not $(PKGVERSION).
40737 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40738 REPORT_BUGS_TO settings.
40741 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40744 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40746 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40747 detection to immediately after _FP_ROUND().
40748 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40751 2012-11-11 David S. Miller <davem@davemloft.net>
40753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40755 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40756 __close rather than their public counterparts.
40758 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40760 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40762 [UNIX98] (sem_timedwait): Do not expect.
40763 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40764 [XPG4 || UNIX98] (sockatmark): Do not expect.
40765 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40766 (clock_getcpuclockid): Do not expect.
40767 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40768 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40770 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40771 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40772 [UNIX98] (vwscanf): Likewise.
40773 [UNIX98] (vswscanf): Likewise.
40775 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40777 * timezone/version.h: Remove file.
40778 * timezone/README: Do not refer to version.h.
40779 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40780 $(objpfx)version.h.
40781 ($(objpfx)zdump.o): Likewise.
40782 ($(objpfx)version.h): New target.
40784 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40786 * timezone/README: Don't mention modification to tzselect.ksh.
40787 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40788 work on unmodified tzselect.ksh. Substitute version numbers in
40791 * Makefile (format-me): Remove.
40792 (INSTALL): Adjust indentation. Use commands directly instead of
40793 using $(format-me).
40795 * aclocal.m4 (ACX_PKGVERSION): New macro.
40796 (ACX_BUGURL): Likewise.
40797 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40798 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40799 (REPORT_BUGS_TO): Likewise.
40800 * configure: Regenerated.
40801 * config.h.in (PKGVERSION): New macro.
40802 (REPORT_BUGS_TO): Likewise.
40803 * config.make.in (PKGVERSION): New variable.
40804 (PKGVERSION_TEXI): Likewise.
40805 (REPORT_BUGS_TO): Likewise.
40806 (REPORT_BUGS_TEXI): Likewise.
40807 * Makefile (format-me): Use -I$(common-objpfx)manual.
40808 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40809 ($(common-objpfx)manual/%): New target.
40810 (manual/%): Remove target.
40811 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40812 (print_version): Use PKGVERSION.
40813 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40814 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40815 and REPORT_BUGS_TO.
40816 ($(objpfx)xtrace): Likewise.
40817 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40818 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40819 (print_version): Use PKGVERSION.
40820 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40821 (do_version): Use PKGVERSION.
40822 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40824 (common-ldd-rewrite): Likewise.
40825 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40826 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40827 (print_version): Use PKGVERSION.
40828 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40829 * elf/pldd.c (argp_program_bug_address): Remove variable.
40830 (more_help): New function.
40831 (argp): Use more_help.
40832 (print_version): Use PKGVERSION.
40833 * elf/sln.c (main): Use PKGVERSION.
40834 (usage): Use REPORT_BUGS_TO.
40835 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40836 (top level): Use PKGVERSION.
40837 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40838 (print_version): Use PKGVERSION.
40839 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40840 (print_version): Use PKGVERSION.
40841 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40842 (print_version): Use PKGVERSION.
40843 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40844 (print_version): Use PKGVERSION.
40845 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40846 (print_version): Use PKGVERSION.
40847 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40848 (print_version): Use PKGVERSION.
40849 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40851 ($(objpfx)memusage): Likewise.
40852 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40853 (do_version): Use PKGVERSION.
40854 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40855 (print_version): Use PKGVERSION.
40856 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40857 ($PKGVERSION): New variable.
40858 ($REPORT_BUGS_TO): Likewise.
40859 (usage): Use $REPORT_BUGS_TO.
40860 (top level): Use $PKGVERSION.
40861 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40862 ($(objpfx)pkgvers.texi): New rule.
40863 ($(objpfx)stamp-pkgvers): Likewise.
40864 * manual/install.texi: Include pkgvers.texi.
40865 (--with-pkgversion): Document new configure option.
40866 (--with-bugurl): Likewise.
40867 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40868 than necessarily for this particular distribution. Use
40869 REPORT_BUGS_TO for where to report bugs.
40870 * INSTALL: Regenerated.
40871 * manual/libc.texinfo: Include pkgvers.texi.
40872 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40873 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40874 (print_version): Use PKGVERSION.
40875 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40876 (print_version): Use PKGVERSION.
40877 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40878 (print_version): Use PKGVERSION.
40879 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40880 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40882 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40883 (print_version): Use PKGVERSION.
40884 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40885 (print_version): Use PKGVERSION.
40886 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40889 * timezone/checktab.awk: Update from tzcode 2012i.
40890 * timezone/ialloc.c: Likewise.
40891 * timezone/private.h: Likewise.
40892 * timezone/scheck.c: Likewise.
40893 * timezone/tzfile.h: Likewise.
40894 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40895 (TZVERSION): Hardcode tzcode version number.
40896 * timezone/zdump.c: Update from tzcode 2012i.
40897 * timezone/zic.c: Likewise.
40898 * timezone/version.h: New file.
40899 * timezone/README: Describe version.h. Update upstream location.
40902 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40903 (mktemp): Enable declaration.
40904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40921 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40922 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40923 for copies of such integer values.
40924 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40925 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40927 2012-11-09 Andreas Jaeger <aj@suse.de>
40929 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40930 definitions and declarations that are provided by
40931 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40933 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40935 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40936 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40937 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40940 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40942 * elf/elf.h: Update comment before AArch64 relocations.
40944 2012-11-07 David S. Miller <davem@davemloft.net>
40946 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40947 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40948 (__start_context): Declare.
40949 (__makecontext_ret): Delete.
40950 (__makecontext): Hook up __start_context instead of
40952 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40953 (sysdep_routines): Add __start_context when in stdlib.
40955 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40957 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40958 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40959 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40961 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40962 (READELF): New variable. Use it instead of hardcoded "readelf".
40964 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40966 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40967 * sysdeps/x86/Makefile: Here.
40968 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40969 * sysdeps/x86/tst-xmmymm.sh: This.
40971 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40973 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40975 [UNIX98] (pthread_barrier_t): Do not expect.
40976 [UNIX98] (pthread_barrierattr_t): Likewise.
40977 [UNIX98] (pthread_spinlock_t): Likewise.
40978 [UNIX98] (pthread_barrier_destroy): Likewise.
40979 [UNIX98] (pthread_barrier_init): Likewise.
40980 [UNIX98] (pthread_barrier_wait): Likewise.
40981 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40982 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40983 [UNIX98] (pthread_barrierattr_init): Likewise.
40984 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40985 [UNIX98] (pthread_getcpuclockid): Likewise.
40986 [UNIX98] (pthread_mutex_timedlock): Likewise.
40987 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40988 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40989 [UNIX98] (pthread_sigmask): Likewise.
40990 [UNIX98] (pthread_spin_destroy): Likewise.
40991 [UNIX98] (pthread_spin_init): Likewise.
40992 [UNIX98] (pthread_spin_lock): Likewise.
40993 [UNIX98] (pthread_spin_trylock): Likewise.
40994 [UNIX98] (pthread_spin_unlock): Likewise.
40995 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40997 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40998 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40999 [XPG3 || XPG4] (pthread_cond_t): Likewise.
41000 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41001 [XPG3 || XPG4] (pthread_key_t): Likewise.
41002 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41003 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41004 [XPG3 || XPG4] (pthread_once_t): Likewise.
41005 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41006 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41007 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41008 [XPG3 || XPG4] (pthread_t): Likewise.
41010 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41012 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41014 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41015 Change function return type to int.
41017 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41018 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41019 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41020 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41021 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41022 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41023 [!POSIX] (posix_madvise): Likewise.
41024 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41026 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41027 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41028 (mode_t): Likewise.
41029 (posix_mem_offset): Likewise.
41030 (posix_typed_mem_get_info): Likewise.
41031 (posix_typed_mem_open): Likewise.
41033 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41034 Change condition to [XOPEN2K8].
41036 * conform/conformtest.pl: Preprocess allow-header data with -x c
41037 instead of from stdin.
41038 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41039 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41040 [C99-based standards] (cerfc): Likewise.
41041 [C99-based standards] (cexp2): Likewise.
41042 [C99-based standards] (cexpm1): Likewise.
41043 [C99-based standards] (clog10): Likewise.
41044 [C99-based standards] (clog1p): Likewise.
41045 [C99-based standards] (clog2): Likewise.
41046 [C99-based standards] (clgamma): Likewise.
41047 [C99-based standards] (ctgamma): Likewise.
41048 [C99-based standards] (cerff): Likewise.
41049 [C99-based standards] (cerfcf): Likewise.
41050 [C99-based standards] (cexp2f): Likewise.
41051 [C99-based standards] (cexpm1f): Likewise.
41052 [C99-based standards] (clog10f): Likewise.
41053 [C99-based standards] (clog1pf): Likewise.
41054 [C99-based standards] (clog2f): Likewise.
41055 [C99-based standards] (clgammaf): Likewise.
41056 [C99-based standards] (ctgammaf): Likewise.
41057 [C99-based standards] (cerfl): Likewise.
41058 [C99-based standards] (cerfcl): Likewise.
41059 [C99-based standards] (cexp2l): Likewise.
41060 [C99-based standards] (cexpm1l): Likewise.
41061 [C99-based standards] (clog10l): Likewise.
41062 [C99-based standards] (clog1pl): Likewise.
41063 [C99-based standards] (clog2l): Likewise.
41064 [C99-based standards] (clgammal): Likewise.
41065 [C99-based standards] (ctgammal): Likewise.
41066 * conform/data/inttypes.h-data [C99-based standards]: Include
41067 stdint.h-data. Remove all expectations for stdint.h contents.
41068 [C99-based standards] (PRI*): Do not allow.
41069 [C99-based standards] (SCN*): Likewise.
41070 [C99-based standards] (*_t): Likewise.
41071 [C99-based-standards] (PRId8): Expect macro.
41072 [C99-based-standards] (PRIi8): Likewise.
41073 [C99-based-standards] (PRIo8): Likewise.
41074 [C99-based-standards] (PRIu8): Likewise.
41075 [C99-based-standards] (PRIx8): Likewise.
41076 [C99-based-standards] (PRIX8): Likewise.
41077 [C99-based-standards] (SCNd8): Likewise.
41078 [C99-based-standards] (SCNi8): Likewise.
41079 [C99-based-standards] (SCNo8): Likewise.
41080 [C99-based-standards] (SCNu8): Likewise.
41081 [C99-based-standards] (SCNx8): Likewise.
41082 [C99-based-standards] (PRIdLEAST8): Likewise.
41083 [C99-based-standards] (PRIiLEAST8): Likewise.
41084 [C99-based-standards] (PRIoLEAST8): Likewise.
41085 [C99-based-standards] (PRIuLEAST8): Likewise.
41086 [C99-based-standards] (PRIxLEAST8): Likewise.
41087 [C99-based-standards] (PRIXLEAST8): Likewise.
41088 [C99-based-standards] (SCNdLEAST8): Likewise.
41089 [C99-based-standards] (SCNiLEAST8): Likewise.
41090 [C99-based-standards] (SCNoLEAST8): Likewise.
41091 [C99-based-standards] (SCNuLEAST8): Likewise.
41092 [C99-based-standards] (SCNxLEAST8): Likewise.
41093 [C99-based-standards] (PRIdFAST8): Likewise.
41094 [C99-based-standards] (PRIiFAST8): Likewise.
41095 [C99-based-standards] (PRIoFAST8): Likewise.
41096 [C99-based-standards] (PRIuFAST8): Likewise.
41097 [C99-based-standards] (PRIxFAST8): Likewise.
41098 [C99-based-standards] (PRIXFAST8): Likewise.
41099 [C99-based-standards] (SCNdFAST8): Likewise.
41100 [C99-based-standards] (SCNiFAST8): Likewise.
41101 [C99-based-standards] (SCNoFAST8): Likewise.
41102 [C99-based-standards] (SCNuFAST8): Likewise.
41103 [C99-based-standards] (SCNxFAST8): Likewise.
41104 [C99-based-standards] (PRId16): Likewise.
41105 [C99-based-standards] (PRIi16): Likewise.
41106 [C99-based-standards] (PRIo16): Likewise.
41107 [C99-based-standards] (PRIu16): Likewise.
41108 [C99-based-standards] (PRIx16): Likewise.
41109 [C99-based-standards] (PRIX16): Likewise.
41110 [C99-based-standards] (SCNd16): Likewise.
41111 [C99-based-standards] (SCNi16): Likewise.
41112 [C99-based-standards] (SCNo16): Likewise.
41113 [C99-based-standards] (SCNu16): Likewise.
41114 [C99-based-standards] (SCNx16): Likewise.
41115 [C99-based-standards] (PRIdLEAST16): Likewise.
41116 [C99-based-standards] (PRIiLEAST16): Likewise.
41117 [C99-based-standards] (PRIoLEAST16): Likewise.
41118 [C99-based-standards] (PRIuLEAST16): Likewise.
41119 [C99-based-standards] (PRIxLEAST16): Likewise.
41120 [C99-based-standards] (PRIXLEAST16): Likewise.
41121 [C99-based-standards] (SCNdLEAST16): Likewise.
41122 [C99-based-standards] (SCNiLEAST16): Likewise.
41123 [C99-based-standards] (SCNoLEAST16): Likewise.
41124 [C99-based-standards] (SCNuLEAST16): Likewise.
41125 [C99-based-standards] (SCNxLEAST16): Likewise.
41126 [C99-based-standards] (PRIdFAST16): Likewise.
41127 [C99-based-standards] (PRIiFAST16): Likewise.
41128 [C99-based-standards] (PRIoFAST16): Likewise.
41129 [C99-based-standards] (PRIuFAST16): Likewise.
41130 [C99-based-standards] (PRIxFAST16): Likewise.
41131 [C99-based-standards] (PRIXFAST16): Likewise.
41132 [C99-based-standards] (SCNdFAST16): Likewise.
41133 [C99-based-standards] (SCNiFAST16): Likewise.
41134 [C99-based-standards] (SCNoFAST16): Likewise.
41135 [C99-based-standards] (SCNuFAST16): Likewise.
41136 [C99-based-standards] (SCNxFAST16): Likewise.
41137 [C99-based-standards] (PRId32): Likewise.
41138 [C99-based-standards] (PRIi32): Likewise.
41139 [C99-based-standards] (PRIo32): Likewise.
41140 [C99-based-standards] (PRIu32): Likewise.
41141 [C99-based-standards] (PRIx32): Likewise.
41142 [C99-based-standards] (PRIX32): Likewise.
41143 [C99-based-standards] (SCNd32): Likewise.
41144 [C99-based-standards] (SCNi32): Likewise.
41145 [C99-based-standards] (SCNo32): Likewise.
41146 [C99-based-standards] (SCNu32): Likewise.
41147 [C99-based-standards] (SCNx32): Likewise.
41148 [C99-based-standards] (PRIdLEAST32): Likewise.
41149 [C99-based-standards] (PRIiLEAST32): Likewise.
41150 [C99-based-standards] (PRIoLEAST32): Likewise.
41151 [C99-based-standards] (PRIuLEAST32): Likewise.
41152 [C99-based-standards] (PRIxLEAST32): Likewise.
41153 [C99-based-standards] (PRIXLEAST32): Likewise.
41154 [C99-based-standards] (SCNdLEAST32): Likewise.
41155 [C99-based-standards] (SCNiLEAST32): Likewise.
41156 [C99-based-standards] (SCNoLEAST32): Likewise.
41157 [C99-based-standards] (SCNuLEAST32): Likewise.
41158 [C99-based-standards] (SCNxLEAST32): Likewise.
41159 [C99-based-standards] (PRIdFAST32): Likewise.
41160 [C99-based-standards] (PRIiFAST32): Likewise.
41161 [C99-based-standards] (PRIoFAST32): Likewise.
41162 [C99-based-standards] (PRIuFAST32): Likewise.
41163 [C99-based-standards] (PRIxFAST32): Likewise.
41164 [C99-based-standards] (PRIXFAST32): Likewise.
41165 [C99-based-standards] (SCNdFAST32): Likewise.
41166 [C99-based-standards] (SCNiFAST32): Likewise.
41167 [C99-based-standards] (SCNoFAST32): Likewise.
41168 [C99-based-standards] (SCNuFAST32): Likewise.
41169 [C99-based-standards] (SCNxFAST32): Likewise.
41170 [C99-based-standards] (PRId64): Likewise.
41171 [C99-based-standards] (PRIi64): Likewise.
41172 [C99-based-standards] (PRIo64): Likewise.
41173 [C99-based-standards] (PRIu64): Likewise.
41174 [C99-based-standards] (PRIx64): Likewise.
41175 [C99-based-standards] (PRIX64): Likewise.
41176 [C99-based-standards] (SCNd64): Likewise.
41177 [C99-based-standards] (SCNi64): Likewise.
41178 [C99-based-standards] (SCNo64): Likewise.
41179 [C99-based-standards] (SCNu64): Likewise.
41180 [C99-based-standards] (SCNx64): Likewise.
41181 [C99-based-standards] (PRIdLEAST64): Likewise.
41182 [C99-based-standards] (PRIiLEAST64): Likewise.
41183 [C99-based-standards] (PRIoLEAST64): Likewise.
41184 [C99-based-standards] (PRIuLEAST64): Likewise.
41185 [C99-based-standards] (PRIxLEAST64): Likewise.
41186 [C99-based-standards] (PRIXLEAST64): Likewise.
41187 [C99-based-standards] (SCNdLEAST64): Likewise.
41188 [C99-based-standards] (SCNiLEAST64): Likewise.
41189 [C99-based-standards] (SCNoLEAST64): Likewise.
41190 [C99-based-standards] (SCNuLEAST64): Likewise.
41191 [C99-based-standards] (SCNxLEAST64): Likewise.
41192 [C99-based-standards] (PRIdFAST64): Likewise.
41193 [C99-based-standards] (PRIiFAST64): Likewise.
41194 [C99-based-standards] (PRIoFAST64): Likewise.
41195 [C99-based-standards] (PRIuFAST64): Likewise.
41196 [C99-based-standards] (PRIxFAST64): Likewise.
41197 [C99-based-standards] (PRIXFAST64): Likewise.
41198 [C99-based-standards] (SCNdFAST64): Likewise.
41199 [C99-based-standards] (SCNiFAST64): Likewise.
41200 [C99-based-standards] (SCNoFAST64): Likewise.
41201 [C99-based-standards] (SCNuFAST64): Likewise.
41202 [C99-based-standards] (SCNxFAST64): Likewise.
41203 [C99-based-standards] (PRIdMAX): Likewise.
41204 [C99-based-standards] (PRIiMAX): Likewise.
41205 [C99-based-standards] (PRIoMAX): Likewise.
41206 [C99-based-standards] (PRIuMAX): Likewise.
41207 [C99-based-standards] (PRIxMAX): Likewise.
41208 [C99-based-standards] (PRIXMAX): Likewise.
41209 [C99-based-standards] (SCNdMAX): Likewise.
41210 [C99-based-standards] (SCNiMAX): Likewise.
41211 [C99-based-standards] (SCNoMAX): Likewise.
41212 [C99-based-standards] (SCNuMAX): Likewise.
41213 [C99-based-standards] (SCNxMAX): Likewise.
41214 [C99-based-standards] (PRIdPTR): Likewise.
41215 [C99-based-standards] (PRIiPTR): Likewise.
41216 [C99-based-standards] (PRIoPTR): Likewise.
41217 [C99-based-standards] (PRIuPTR): Likewise.
41218 [C99-based-standards] (PRIxPTR): Likewise.
41219 [C99-based-standards] (PRIXPTR): Likewise.
41220 [C99-based-standards] (SCNdPTR): Likewise.
41221 [C99-based-standards] (SCNiPTR): Likewise.
41222 [C99-based-standards] (SCNoPTR): Likewise.
41223 [C99-based-standards] (SCNuPTR): Likewise.
41224 [C99-based-standards] (SCNxPTR): Likewise.
41225 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41227 * conform/data/stdint.h-data: Update comments to clarify
41229 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
41231 [C99-based standards] (INT8_MAX): Likewise.
41232 [C99-based standards] (INT16_MIN): Likewise.
41233 [C99-based standards] (INT16_MAX): Likewise.
41234 [C99-based standards] (INT32_MIN): Likewise.
41235 [C99-based standards] (INT32_MAX): Likewise.
41236 [C99-based standards] (INT64_MIN): Likewise.
41237 [C99-based standards] (INT64_MAX): Likewise.
41238 [C99-based standards] (UINT8_MAX): Likewise.
41239 [C99-based standards] (UINT16_MAX): Likewise.
41240 [C99-based standards] (UINT32_MAX): Likewise.
41241 [C99-based standards] (UINT64_MAX): Likewise.
41242 [C99-based standards] (INT_LEAST8_MIN): Likewise.
41243 [C99-based standards] (INT_LEAST8_MAX): Likewise.
41244 [C99-based standards] (INT_LEAST16_MIN): Likewise.
41245 [C99-based standards] (INT_LEAST16_MAX): Likewise.
41246 [C99-based standards] (INT_LEAST32_MIN): Likewise.
41247 [C99-based standards] (INT_LEAST32_MAX): Likewise.
41248 [C99-based standards] (INT_LEAST64_MIN): Likewise.
41249 [C99-based standards] (INT_LEAST64_MAX): Likewise.
41250 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41251 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41252 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41253 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41254 [C99-based standards] (INT_FAST8_MIN): Likewise.
41255 [C99-based standards] (INT_FAST8_MAX): Likewise.
41256 [C99-based standards] (INT_FAST16_MIN): Likewise.
41257 [C99-based standards] (INT_FAST16_MAX): Likewise.
41258 [C99-based standards] (INT_FAST32_MIN): Likewise.
41259 [C99-based standards] (INT_FAST32_MAX): Likewise.
41260 [C99-based standards] (INT_FAST64_MIN): Likewise.
41261 [C99-based standards] (INT_FAST64_MAX): Likewise.
41262 [C99-based standards] (UINT_FAST8_MAX): Likewise.
41263 [C99-based standards] (UINT_FAST16_MAX): Likewise.
41264 [C99-based standards] (UINT_FAST32_MAX): Likewise.
41265 [C99-based standards] (UINT_FAST64_MAX): Likewise.
41266 [C99-based standards] (INTPTR_MIN): Likewise.
41267 [C99-based standards] (INTPTR_MAX): Likewise.
41268 [C99-based standards] (UINTPTR_MAX): Likewise.
41269 [C99-based standards] (INTMAX_MIN): Likewise.
41270 [C99-based standards] (INTMAX_MAX): Likewise.
41271 [C99-based standards] (UINTMAX_MAX): Likewise.
41272 [C99-based standards] (PTRDIFF_MIN): Likewise.
41273 [C99-based standards] (PTRDIFF_MAX): Likewise.
41274 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41275 [C99-based standards] (SIZE_MAX): Likewise.
41276 [C99-based standards] (WCHAR_MAX): Likewise.
41277 [C99-based standards] (WINT_MAX): Likewise.
41278 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
41279 constraint on value.
41280 [C99-based standards] (WCHAR_MIN): Likewise.
41281 [C99-based standards] (WINT_MIN): Likewise.
41282 [C99-based standards] (*_t): Allow.
41283 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41284 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41285 Include math.h-data and complex.h-data. Remove all expectations
41286 of math.h and complex.h contents.
41287 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41289 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41290 (struct tm): Expect tag.
41291 [C99-based-standards] (wcstof): Expect function.
41292 [C99-based-standards] (wcstold): Likewise.
41293 [C99-based-standards] (wcstoll): Likewise.
41294 [C99-based-standards] (wcstoull): Likewise.
41295 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41296 macro-int-constant. Specify type.
41297 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
41298 constraint on value.
41299 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41301 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41303 [ISO C standards]: Do not allow headers.
41304 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41305 wcs[abcdefghijklmnopqrstuvwxyz]*.
41306 [ISO C standards] (*_t): Do not allow.
41307 * conform/data/wctype.h-data [C99-based standards] (iswblank):
41309 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41310 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41312 [ISO C standards]: Do not allow headers.
41313 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41314 is[abcdefghijklmnopqrstuvwxyz]*.
41315 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41316 to[abcdefghijklmnopqrstuvwxyz]*.
41317 [ISO C standards] (*_t): Do not allow.
41318 * conform/data/stdalign.h-data: New file.
41319 * conform/data/stdbool.h-data: Likewise.
41320 * conform/data/stdnoreturn.h-data: Likewise.
41322 2012-11-07 Roland McGrath <roland@hack.frob.com>
41325 * manual/filesys.texi (Directory Entries): Typo fix.
41326 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41328 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41330 * elf/elf.h (EM_AARCH64): New macro.
41331 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41332 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41333 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41334 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41335 (R_AARCH64_TLSDESC): Likewise.
41336 (NT_ARM_TLS): Likewise.
41337 (NT_ARM_HW_BREAK): Likewise.
41338 (NT_ARM_HW_WATCH): Likewise.
41340 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41343 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41344 (__ieee754_powl): Saturate nonzero exponents with absolute value
41345 below 0x1p-79 to +/- 0x1p-79.
41346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41347 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41348 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41349 nonzero exponents with absolute value below 0x1p-32 to +/-
41351 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41352 (__ieee754_powl): Saturate nonzero exponents with absolute value
41353 below 0x1p-79 to +/- 0x1p-79.
41354 * math/libm-test.inc (pow_test): Add more tests.
41356 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41358 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41359 _dl_s390_cap_flags with kernel. Increase string length.
41360 (_dl_s390_platforms): Add z196 and zEC12.
41362 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41364 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41365 Change XOPEN21K to XOPEN2K.
41367 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
41369 * string/memmove.c: Use memcpy when possible.
41371 2012-11-06 Andreas Jaeger <aj@suse.de>
41373 * po/eo.po: Update from translation team.
41375 2012-11-06 Joseph Myers <joseph@codesourcery.com>
41378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41379 exponent and small x and y exponents, scale x or y up. Increase
41380 by 2 the exponent used in scaling up.
41381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41383 * math/libm-test.inc (fma_test): Add more tests.
41384 (fma_test_towardzero): Likewise.
41385 (fma_test_downward): Likewise.
41386 (fma_test_upward): Likewise.
41388 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41391 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41395 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41396 namespace for names of struct fields.
41397 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41399 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41400 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41402 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41405 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41407 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41409 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41413 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41416 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41420 definitely overflow as x * y not x * y + z.
41421 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41422 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41423 * math/libm-test.inc (fma_test): Add more tests.
41424 (fma_test_towardzero): Likewise.
41425 (fma_test_downward): Likewise.
41426 (fma_test_upward): Likewise.
41428 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41432 * include/stub-tag.h: Remove file.
41433 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41435 * manual/maint.texi (Porting): Don't reference it.
41436 * Makerules ($(objpfx)stubs): Likewise.
41437 * dirent/closedir.c: Don't include <stub-tag.h>.
41438 * dirent/dirfd.c: Likewise.
41439 * dirent/fdopendir.c: Likewise.
41440 * dirent/getdents.c: Likewise.
41441 * dirent/getdents64.c: Likewise.
41442 * dirent/opendir.c: Likewise.
41443 * dirent/readdir.c: Likewise.
41444 * dirent/readdir64.c: Likewise.
41445 * dirent/readdir64_r.c: Likewise.
41446 * dirent/readdir_r.c: Likewise.
41447 * dirent/rewinddir.c: Likewise.
41448 * dirent/seekdir.c: Likewise.
41449 * dirent/telldir.c: Likewise.
41450 * gmon/profil.c: Likewise.
41451 * grp/setgroups.c: Likewise.
41452 * inet/if_index.c: Likewise.
41453 * io/access.c: Likewise.
41454 * io/chdir.c: Likewise.
41455 * io/chmod.c: Likewise.
41456 * io/chown.c: Likewise.
41457 * io/close.c: Likewise.
41458 * io/dup.c: Likewise.
41459 * io/dup2.c: Likewise.
41460 * io/dup3.c: Likewise.
41461 * io/euidaccess.c: Likewise.
41462 * io/faccessat.c: Likewise.
41463 * io/fchdir.c: Likewise.
41464 * io/fchmod.c: Likewise.
41465 * io/fchmodat.c: Likewise.
41466 * io/fchown.c: Likewise.
41467 * io/fchownat.c: Likewise.
41468 * io/fcntl.c: Likewise.
41469 * io/flock.c: Likewise.
41470 * io/fstatfs.c: Likewise.
41471 * io/fstatfs64.c: Likewise.
41472 * io/fstatvfs.c: Likewise.
41473 * io/fstatvfs64.c: Likewise.
41474 * io/futimens.c: Likewise.
41475 * io/fxstat.c: Likewise.
41476 * io/fxstat64.c: Likewise.
41477 * io/fxstatat.c: Likewise.
41478 * io/fxstatat64.c: Likewise.
41479 * io/getcwd.c: Likewise.
41480 * io/isatty.c: Likewise.
41481 * io/lchmod.c: Likewise.
41482 * io/lchown.c: Likewise.
41483 * io/link.c: Likewise.
41484 * io/linkat.c: Likewise.
41485 * io/lseek.c: Likewise.
41486 * io/lseek64.c: Likewise.
41487 * io/lxstat64.c: Likewise.
41488 * io/mkdir.c: Likewise.
41489 * io/mkdirat.c: Likewise.
41490 * io/mkfifo.c: Likewise.
41491 * io/mkfifoat.c: Likewise.
41492 * io/open.c: Likewise.
41493 * io/open64.c: Likewise.
41494 * io/openat.c: Likewise.
41495 * io/openat64.c: Likewise.
41496 * io/pipe.c: Likewise.
41497 * io/pipe2.c: Likewise.
41498 * io/poll.c: Likewise.
41499 * io/posix_fadvise.c: Likewise.
41500 * io/posix_fadvise64.c: Likewise.
41501 * io/posix_fallocate.c: Likewise.
41502 * io/posix_fallocate64.c: Likewise.
41503 * io/read.c: Likewise.
41504 * io/readlink.c: Likewise.
41505 * io/readlinkat.c: Likewise.
41506 * io/rmdir.c: Likewise.
41507 * io/sendfile.c: Likewise.
41508 * io/sendfile64.c: Likewise.
41509 * io/statfs.c: Likewise.
41510 * io/statfs64.c: Likewise.
41511 * io/statvfs.c: Likewise.
41512 * io/statvfs64.c: Likewise.
41513 * io/symlink.c: Likewise.
41514 * io/symlinkat.c: Likewise.
41515 * io/ttyname.c: Likewise.
41516 * io/ttyname_r.c: Likewise.
41517 * io/umask.c: Likewise.
41518 * io/unlink.c: Likewise.
41519 * io/unlinkat.c: Likewise.
41520 * io/utime.c: Likewise.
41521 * io/utimensat.c: Likewise.
41522 * io/write.c: Likewise.
41523 * io/xmknod.c: Likewise.
41524 * io/xmknodat.c: Likewise.
41525 * io/xstat.c: Likewise.
41526 * io/xstat64.c: Likewise.
41527 * login/getpt.c: Likewise.
41528 * login/grantpt.c: Likewise.
41529 * login/unlockpt.c: Likewise.
41530 * math/e_acoshl.c: Likewise.
41531 * math/e_acosl.c: Likewise.
41532 * math/e_asinl.c: Likewise.
41533 * math/e_atan2l.c: Likewise.
41534 * math/e_atanhl.c: Likewise.
41535 * math/e_coshl.c: Likewise.
41536 * math/e_expl.c: Likewise.
41537 * math/e_fmodl.c: Likewise.
41538 * math/e_gammal_r.c: Likewise.
41539 * math/e_hypotl.c: Likewise.
41540 * math/e_j0l.c: Likewise.
41541 * math/e_j1l.c: Likewise.
41542 * math/e_jnl.c: Likewise.
41543 * math/e_lgammal_r.c: Likewise.
41544 * math/e_log10l.c: Likewise.
41545 * math/e_log2l.c: Likewise.
41546 * math/e_logl.c: Likewise.
41547 * math/e_powl.c: Likewise.
41548 * math/e_rem_pio2l.c: Likewise.
41549 * math/e_sinhl.c: Likewise.
41550 * math/e_sqrtl.c: Likewise.
41551 * math/fclrexcpt.c: Likewise.
41552 * math/fedisblxcpt.c: Likewise.
41553 * math/feenablxcpt.c: Likewise.
41554 * math/fegetenv.c: Likewise.
41555 * math/fegetexcept.c: Likewise.
41556 * math/fegetround.c: Likewise.
41557 * math/feholdexcpt.c: Likewise.
41558 * math/fesetenv.c: Likewise.
41559 * math/fesetround.c: Likewise.
41560 * math/feupdateenv.c: Likewise.
41561 * math/fgetexcptflg.c: Likewise.
41562 * math/fraiseexcpt.c: Likewise.
41563 * math/fsetexcptflg.c: Likewise.
41564 * math/ftestexcept.c: Likewise.
41565 * math/k_cosl.c: Likewise.
41566 * math/k_rem_pio2l.c: Likewise.
41567 * math/k_sinl.c: Likewise.
41568 * math/k_tanl.c: Likewise.
41569 * math/s_asinhl.c: Likewise.
41570 * math/s_atanl.c: Likewise.
41571 * math/s_cbrtl.c: Likewise.
41572 * math/s_erfl.c: Likewise.
41573 * math/s_expm1l.c: Likewise.
41574 * math/s_log1pl.c: Likewise.
41575 * math/s_tanhl.c: Likewise.
41576 * misc/acct.c: Likewise.
41577 * misc/brk.c: Likewise.
41578 * misc/chflags.c: Likewise.
41579 * misc/chroot.c: Likewise.
41580 * misc/fchflags.c: Likewise.
41581 * misc/fgetxattr.c: Likewise.
41582 * misc/flistxattr.c: Likewise.
41583 * misc/fremovexattr.c: Likewise.
41584 * misc/fsetxattr.c: Likewise.
41585 * misc/fsync.c: Likewise.
41586 * misc/ftruncate.c: Likewise.
41587 * misc/futimes.c: Likewise.
41588 * misc/futimesat.c: Likewise.
41589 * misc/getdomain.c: Likewise.
41590 * misc/getdtsz.c: Likewise.
41591 * misc/gethostid.c: Likewise.
41592 * misc/gethostname.c: Likewise.
41593 * misc/getloadavg.c: Likewise.
41594 * misc/getpagesize.c: Likewise.
41595 * misc/getsysstats.c: Likewise.
41596 * misc/getxattr.c: Likewise.
41597 * misc/gtty.c: Likewise.
41598 * misc/ioctl.c: Likewise.
41599 * misc/lgetxattr.c: Likewise.
41600 * misc/listxattr.c: Likewise.
41601 * misc/llistxattr.c: Likewise.
41602 * misc/lremovexattr.c: Likewise.
41603 * misc/lsetxattr.c: Likewise.
41604 * misc/lutimes.c: Likewise.
41605 * misc/madvise.c: Likewise.
41606 * misc/mincore.c: Likewise.
41607 * misc/mlock.c: Likewise.
41608 * misc/mlockall.c: Likewise.
41609 * misc/mmap.c: Likewise.
41610 * misc/mprotect.c: Likewise.
41611 * misc/msync.c: Likewise.
41612 * misc/munlock.c: Likewise.
41613 * misc/munlockall.c: Likewise.
41614 * misc/munmap.c: Likewise.
41615 * misc/preadv.c: Likewise.
41616 * misc/preadv64.c: Likewise.
41617 * misc/ptrace.c: Likewise.
41618 * misc/pwritev.c: Likewise.
41619 * misc/pwritev64.c: Likewise.
41620 * misc/readv.c: Likewise.
41621 * misc/reboot.c: Likewise.
41622 * misc/remap_file_pages.c: Likewise.
41623 * misc/removexattr.c: Likewise.
41624 * misc/revoke.c: Likewise.
41625 * misc/select.c: Likewise.
41626 * misc/setdomain.c: Likewise.
41627 * misc/setegid.c: Likewise.
41628 * misc/seteuid.c: Likewise.
41629 * misc/sethostid.c: Likewise.
41630 * misc/sethostname.c: Likewise.
41631 * misc/setregid.c: Likewise.
41632 * misc/setreuid.c: Likewise.
41633 * misc/setxattr.c: Likewise.
41634 * misc/sstk.c: Likewise.
41635 * misc/stty.c: Likewise.
41636 * misc/swapoff.c: Likewise.
41637 * misc/swapon.c: Likewise.
41638 * misc/sync.c: Likewise.
41639 * misc/syncfs.c: Likewise.
41640 * misc/syscall.c: Likewise.
41641 * misc/truncate.c: Likewise.
41642 * misc/ualarm.c: Likewise.
41643 * misc/usleep.c: Likewise.
41644 * misc/ustat.c: Likewise.
41645 * misc/utimes.c: Likewise.
41646 * misc/vhangup.c: Likewise.
41647 * misc/writev.c: Likewise.
41648 * posix/_exit.c: Likewise.
41649 * posix/alarm.c: Likewise.
41650 * posix/execve.c: Likewise.
41651 * posix/fexecve.c: Likewise.
41652 * posix/fork.c: Likewise.
41653 * posix/fpathconf.c: Likewise.
41654 * posix/getaddrinfo.c: Likewise.
41655 * posix/getegid.c: Likewise.
41656 * posix/geteuid.c: Likewise.
41657 * posix/getgid.c: Likewise.
41658 * posix/getgroups.c: Likewise.
41659 * posix/getlogin.c: Likewise.
41660 * posix/getlogin_r.c: Likewise.
41661 * posix/getpgid.c: Likewise.
41662 * posix/getpid.c: Likewise.
41663 * posix/getppid.c: Likewise.
41664 * posix/getresgid.c: Likewise.
41665 * posix/getresuid.c: Likewise.
41666 * posix/getsid.c: Likewise.
41667 * posix/getuid.c: Likewise.
41668 * posix/glob64.c: Likewise.
41669 * posix/nanosleep.c: Likewise.
41670 * posix/pathconf.c: Likewise.
41671 * posix/pause.c: Likewise.
41672 * posix/posix_madvise.c: Likewise.
41673 * posix/pread.c: Likewise.
41674 * posix/pread64.c: Likewise.
41675 * posix/pwrite.c: Likewise.
41676 * posix/pwrite64.c: Likewise.
41677 * posix/sched_getaffinity.c: Likewise.
41678 * posix/sched_getp.c: Likewise.
41679 * posix/sched_gets.c: Likewise.
41680 * posix/sched_primax.c: Likewise.
41681 * posix/sched_primin.c: Likewise.
41682 * posix/sched_rr_gi.c: Likewise.
41683 * posix/sched_setaffinity.c: Likewise.
41684 * posix/sched_setp.c: Likewise.
41685 * posix/sched_sets.c: Likewise.
41686 * posix/sched_yield.c: Likewise.
41687 * posix/setgid.c: Likewise.
41688 * posix/setlogin.c: Likewise.
41689 * posix/setpgid.c: Likewise.
41690 * posix/setresgid.c: Likewise.
41691 * posix/setresuid.c: Likewise.
41692 * posix/setsid.c: Likewise.
41693 * posix/setuid.c: Likewise.
41694 * posix/sleep.c: Likewise.
41695 * posix/spawni.c: Likewise.
41696 * posix/sysconf.c: Likewise.
41697 * posix/times.c: Likewise.
41698 * posix/wait.c: Likewise.
41699 * posix/wait3.c: Likewise.
41700 * posix/wait4.c: Likewise.
41701 * posix/waitpid.c: Likewise.
41702 * resolv/gai_sigqueue.c: Likewise.
41703 * resource/getpriority.c: Likewise.
41704 * resource/getrlimit.c: Likewise.
41705 * resource/getrusage.c: Likewise.
41706 * resource/nice.c: Likewise.
41707 * resource/setpriority.c: Likewise.
41708 * resource/setrlimit.c: Likewise.
41709 * resource/ulimit.c: Likewise.
41710 * rt/aio_cancel.c: Likewise.
41711 * rt/aio_fsync.c: Likewise.
41712 * rt/aio_read.c: Likewise.
41713 * rt/aio_sigqueue.c: Likewise.
41714 * rt/aio_suspend.c: Likewise.
41715 * rt/aio_write.c: Likewise.
41716 * rt/clock_getres.c: Likewise.
41717 * rt/clock_gettime.c: Likewise.
41718 * rt/clock_nanosleep.c: Likewise.
41719 * rt/clock_settime.c: Likewise.
41720 * rt/lio_listio.c: Likewise.
41721 * rt/mq_close.c: Likewise.
41722 * rt/mq_getattr.c: Likewise.
41723 * rt/mq_notify.c: Likewise.
41724 * rt/mq_open.c: Likewise.
41725 * rt/mq_receive.c: Likewise.
41726 * rt/mq_send.c: Likewise.
41727 * rt/mq_setattr.c: Likewise.
41728 * rt/mq_timedreceive.c: Likewise.
41729 * rt/mq_timedsend.c: Likewise.
41730 * rt/mq_unlink.c: Likewise.
41731 * rt/shm_open.c: Likewise.
41732 * rt/shm_unlink.c: Likewise.
41733 * rt/timer_create.c: Likewise.
41734 * rt/timer_delete.c: Likewise.
41735 * rt/timer_getoverr.c: Likewise.
41736 * rt/timer_gettime.c: Likewise.
41737 * rt/timer_settime.c: Likewise.
41738 * setjmp/__longjmp.c: Likewise.
41739 * setjmp/setjmp.c: Likewise.
41740 * signal/kill.c: Likewise.
41741 * signal/killpg.c: Likewise.
41742 * signal/raise.c: Likewise.
41743 * signal/sigaction.c: Likewise.
41744 * signal/sigaltstack.c: Likewise.
41745 * signal/sigblock.c: Likewise.
41746 * signal/sigignore.c: Likewise.
41747 * signal/sigintr.c: Likewise.
41748 * signal/signal.c: Likewise.
41749 * signal/sigpause.c: Likewise.
41750 * signal/sigpending.c: Likewise.
41751 * signal/sigqueue.c: Likewise.
41752 * signal/sigreturn.c: Likewise.
41753 * signal/sigset.c: Likewise.
41754 * signal/sigsetmask.c: Likewise.
41755 * signal/sigstack.c: Likewise.
41756 * signal/sigsuspend.c: Likewise.
41757 * signal/sigtimedwait.c: Likewise.
41758 * signal/sigvec.c: Likewise.
41759 * signal/sigwait.c: Likewise.
41760 * signal/sigwaitinfo.c: Likewise.
41761 * signal/sysv_signal.c: Likewise.
41762 * socket/accept.c: Likewise.
41763 * socket/accept4.c: Likewise.
41764 * socket/bind.c: Likewise.
41765 * socket/connect.c: Likewise.
41766 * socket/getpeername.c: Likewise.
41767 * socket/getsockname.c: Likewise.
41768 * socket/getsockopt.c: Likewise.
41769 * socket/isfdtype.c: Likewise.
41770 * socket/listen.c: Likewise.
41771 * socket/recv.c: Likewise.
41772 * socket/recvfrom.c: Likewise.
41773 * socket/recvmsg.c: Likewise.
41774 * socket/send.c: Likewise.
41775 * socket/sendmsg.c: Likewise.
41776 * socket/sendto.c: Likewise.
41777 * socket/setsockopt.c: Likewise.
41778 * socket/shutdown.c: Likewise.
41779 * socket/sockatmark.c: Likewise.
41780 * socket/socket.c: Likewise.
41781 * socket/socketpair.c: Likewise.
41782 * stdio-common/ctermid.c: Likewise.
41783 * stdio-common/cuserid.c: Likewise.
41784 * stdio-common/remove.c: Likewise.
41785 * stdio-common/rename.c: Likewise.
41786 * stdio-common/renameat.c: Likewise.
41787 * stdio-common/tempname.c: Likewise.
41788 * stdlib/getcontext.c: Likewise.
41789 * stdlib/makecontext.c: Likewise.
41790 * stdlib/setcontext.c: Likewise.
41791 * stdlib/swapcontext.c: Likewise.
41792 * stdlib/system.c: Likewise.
41793 * streams/fattach.c: Likewise.
41794 * streams/fdetach.c: Likewise.
41795 * streams/getmsg.c: Likewise.
41796 * streams/getpmsg.c: Likewise.
41797 * streams/putmsg.c: Likewise.
41798 * streams/putpmsg.c: Likewise.
41799 * sysdeps/unix/bsd/getpt.c: Likewise.
41800 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41801 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41802 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41805 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41806 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41807 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41808 * sysvipc/msgctl.c: Likewise.
41809 * sysvipc/msgget.c: Likewise.
41810 * sysvipc/msgrcv.c: Likewise.
41811 * sysvipc/msgsnd.c: Likewise.
41812 * sysvipc/semctl.c: Likewise.
41813 * sysvipc/semget.c: Likewise.
41814 * sysvipc/semop.c: Likewise.
41815 * sysvipc/semtimedop.c: Likewise.
41816 * sysvipc/shmat.c: Likewise.
41817 * sysvipc/shmctl.c: Likewise.
41818 * sysvipc/shmdt.c: Likewise.
41819 * sysvipc/shmget.c: Likewise.
41820 * termios/tcdrain.c: Likewise.
41821 * termios/tcflow.c: Likewise.
41822 * termios/tcflush.c: Likewise.
41823 * termios/tcgetattr.c: Likewise.
41824 * termios/tcgetpgrp.c: Likewise.
41825 * termios/tcsendbrk.c: Likewise.
41826 * termios/tcsetattr.c: Likewise.
41827 * termios/tcsetpgrp.c: Likewise.
41828 * time/adjtime.c: Likewise.
41829 * time/clock.c: Likewise.
41830 * time/getitimer.c: Likewise.
41831 * time/gettimeofday.c: Likewise.
41832 * time/setitimer.c: Likewise.
41833 * time/settimeofday.c: Likewise.
41834 * time/stime.c: Likewise.
41835 * time/time.c: Likewise.
41837 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41839 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41842 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41844 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41846 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41850 FE_TONEAREST before applying Dekker multiplication and Knuth
41851 addition. Clear inexact exceptions and check for exact zero
41852 results afterwards.
41853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41856 * math/libm-test.inc (fma_test): Add more tests.
41857 (fma_test_towardzero): Likewise.
41858 (fma_test_downward): Likewise.
41859 (fma_test_upward): Likewise.
41860 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41862 (libc_fesetround): New macro.
41863 (libc_fesetroundf): Likewise.
41864 (libc_fesetroundl): Likewise.
41865 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41867 (libc_fesetround_387): Likewise.
41868 (libc_fesetroundf): New macro.
41869 (libc_fesetround): Likewise.
41870 (libc_fesetroundl): Likewise.
41871 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41873 (libc_fesetroundf): New macro.
41874 (libc_fesetround): Likewise.
41875 (libc_fesetroundl): Likewise.
41876 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41877 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41878 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41880 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41881 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41883 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41884 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41886 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41890 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41891 integer constant usable in #if and use that to give value to enum
41893 (FE_DIVBYZERO): Likewise.
41894 (FE_UNDERFLOW): Likewise.
41895 (FE_OVERFLOW): Likewise.
41896 (FE_INVALID): Likewise.
41897 (FE_INVALID_SNAN): Likewise.
41898 (FE_INVALID_ISI): Likewise.
41899 (FE_INVALID_IDI): Likewise.
41900 (FE_INVALID_ZDZ): Likewise.
41901 (FE_INVALID_IMZ): Likewise.
41902 (FE_INVALID_COMPARE): Likewise.
41903 (FE_INVALID_SOFTWARE): Likewise.
41904 (FE_INVALID_SQRT): Likewise.
41905 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41906 (FE_TONEAREST): Likewise.
41907 (FE_TOWARDZERO): Likewise.
41908 (FE_UPWARD): Likewise.
41909 (FE_DOWNWARD): Likewise.
41910 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41911 (FE_DIVBYZERO): Likewise.
41912 (FE_OVERFLOW): Likewise.
41913 (FE_UNDERFLOW): Likewise.
41914 (FE_INEXACT): Likewise.
41915 (FE_TONEAREST): Likewise.
41916 (FE_DOWNWARD): Likewise.
41917 (FE_UPWARD): Likewise.
41918 (FE_TOWARDZERO): Likewise.
41919 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41920 (FE_UNDERFLOW): Likewise.
41921 (FE_OVERFLOW): Likewise.
41922 (FE_DIVBYZERO): Likewise.
41923 (FE_INVALID): Likewise.
41924 (FE_TONEAREST): Likewise.
41925 (FE_TOWARDZERO): Likewise.
41926 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41927 (FE_OVERFLOW): Likewise.
41928 (FE_UNDERFLOW): Likewise.
41929 (FE_DIVBYZERO): Likewise.
41930 (FE_INEXACT): Likewise.
41931 (FE_TONEAREST): Likewise.
41932 (FE_TOWARDZERO): Likewise.
41933 (FE_UPWARD): Likewise.
41934 (FE_DOWNWARD): Likewise.
41935 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41936 (FE_DIVBYZERO): Likewise.
41937 (FE_OVERFLOW): Likewise.
41938 (FE_UNDERFLOW): Likewise.
41939 (FE_INEXACT): Likewise.
41940 (FE_TONEAREST): Likewise.
41941 (FE_DOWNWARD): Likewise.
41942 (FE_UPWARD): Likewise.
41943 (FE_TOWARDZERO): Likewise.
41945 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41947 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41949 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41951 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41952 commands. Quote $PWD.
41953 (blacklist_exports): Don't use remove_newlines. Replace "declare
41955 (remove_newlines): Remove.
41957 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41959 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41960 * stdlib/stdlib.h (atof): Moved to ...
41961 * include/bits/stdlib-float.h: Here. New file.
41962 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41963 * stdlib/bits/stdlib-float.h: New file.
41964 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41969 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41971 * conform/conformtest.pl (@headers): Add fenv.h.
41972 * conform/data/fenv.h-data: New file.
41973 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41974 include of <math/fenv.h>.
41976 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41977 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41978 && !UNIX98]. Enables tests for XOPEN2K8.
41979 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41980 POSIX2008]: Likewise.
41982 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41983 (struct rusage): Do not expect type or its members.
41986 * math/math.h (FP_NAN): Define macro to integer constant usable in
41987 #if and use that to give value to enum constant.
41988 (FP_INFINITE): Likewise.
41989 (FP_ZERO): Likewise.
41990 (FP_SUBNORMAL): Likewise.
41991 (FP_NORMAL): Likewise.
41993 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41995 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41996 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41999 2012-11-02 Roland McGrath <roland@hack.frob.com>
42001 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42002 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42003 autoconf-time if not.
42004 * configure.in: Remove AC_PREREQ.
42006 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42008 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42009 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42010 of the internal implementation.
42012 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42014 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42015 except include of <misc/sys/syslog.h>.
42017 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42020 function returns with a NULL context exit with zero.
42022 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42024 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42026 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
42028 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42029 (run_program_cmd): This.
42030 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42031 (tst_langinfo): New variable. Use it.
42033 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
42035 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42036 floating point opcodes.
42038 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42040 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42043 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42045 * sysdeps/mach/hurd/powerpc: Remove directory.
42046 * sysdeps/mach/powerpc: Likewise.
42048 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42050 * scripts/check-local-headers.sh: Ignore c++ headers.
42052 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42054 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42055 __libc_cleanup_region_start argument.
42057 2012-11-01 Joseph Myers <joseph@codesourcery.com>
42061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42062 x * y using scaling, not as x * y + z.
42063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42065 * math/libm-test.inc (fma_test): Add more tests.
42066 (fma_test_towardzero): Likewise.
42067 (fma_test_downward): Likewise.
42068 (fma_test_upward): Likewise.
42070 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42072 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42074 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42076 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42079 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
42081 * rt/tst-shm.c (worker): Correct checking for mmap failure.
42083 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42090 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42093 Fix the order of the list for glibc 2.17.
42094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42097 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42101 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42104 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42105 for low part of x being zero before using __atanl (y).
42106 * math/libm-test.inc (atan2_test): Add another test.
42108 * manual/install.texi (Configuring and compiling): Document
42109 general use of test-wrapper and test-wrapper-env.
42110 * INSTALL: Regenerated.
42112 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42113 (__fma): Do not extract and scale down low bits on after-rounding
42114 systems when result rounded to normal precision would have normal
42116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42117 (__fmal): Do not extract and scale down low bits on after-rounding
42118 systems when result rounded to normal precision would have normal
42120 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42121 (__fmal): Do not extract and scale down low bits on after-rounding
42122 systems when result rounded to normal precision would have normal
42124 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42126 (fma_test): Add more tests.
42127 (fma_test_towardzero): Likewise.
42128 (fma_test_downward): Likewise.
42129 (fma_test_upward): Likewise.
42131 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
42133 * sysdeps/i386/tininess.h: Renamed to ...
42134 * sysdeps/x86/tininess.h: This.
42135 * sysdeps/x86_64/tininess.h: Removed.
42137 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42139 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42140 input. Use $(build-program-cmd).
42141 ($(objpfx)tst-array1-static.out): Likewise.
42142 ($(objpfx)tst-array2.out): Likewise.
42143 ($(objpfx)tst-array3.out): Likewise.
42144 ($(objpfx)tst-array4.out): Likewise.
42145 ($(objpfx)tst-array5.out): Likewise.
42146 ($(objpfx)tst-array5-static.out): Likewise.
42148 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
42150 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42153 * nss/nsswitch.h (nss_interface_function): Provide new
42154 macro for use with NSS functions.
42155 * grp/initgroups.c: Use new macro.
42156 * nss/getXXbyYY.c: Likewise.
42157 * nss/getXXbyYY_r.c: Likewise.
42158 * nss/getXXent.c: Likewise.
42159 * nss/getXXent_r.c: Likewise.
42160 * sysdeps/posix/getaddrinfo.c: Likewise.
42162 2012-10-30 Andreas Jaeger <aj@suse.de>
42164 * po/ru.po: Update Russion translation from translation project.
42166 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42171 result and shift together with sticky bit instead of replicating
42172 round-to-nearest rounding.
42173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42174 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42175 * math/libm-test.inc (fma_test): Add more tests. Do not permit
42176 missing underflow exceptions.
42177 (fma_test_towardzero): Add more tests.
42178 (fma_test_downward): Likewise.
42179 (fma_test_upward): Likewise.
42182 * sysdeps/generic/tininess.h: New file.
42183 * sysdeps/i386/tininess.h: Likewise.
42184 * sysdeps/sh/tininess.h: Likewise.
42185 * sysdeps/x86_64/tininess.h: Likewise.
42186 * stdlib/tst-strtod-underflow.c: Likewise.
42187 * stdlib/tst-tininess.c: Likewise.
42188 * stdlib/strtod_l.c: Include <tininess.h>.
42189 (round_and_return): Do not set errno for exact underflow cases.
42190 Force an underflow exception when setting errno for underflow.
42191 Determine underflow based on rounding to normal precision if
42192 TININESS_AFTER_ROUNDING.
42193 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42194 ERANGE for exact underflow cases.
42195 * stdlib/Makefile (tests): Add tst-tininess and
42196 tst-strtod-underflow.
42197 ($(objpfx)tst-tininess): Use $(link-libm).
42198 ($(objpfx)tst-strtod-underflow): Likewise.
42200 2012-10-30 Andreas Jaeger <aj@suse.de>
42203 * elf/Makefile (tests): Remove conditional for have-initfini-array
42204 since this is now always required and the variable does not exist
42206 (tests-static): Likewise.
42207 (modules-names): Likewise.
42209 * po/eo.po: Add Esperanto translation from translation project.
42211 * elf/tst-array1.c (fini_array): Make writeable so that it can be
42212 merged with constructor/destructor.
42213 (init_array): Likewise.
42214 * elf/tst-array2dep.c (fini_array): Likewise.
42215 (init_array): Likewise.
42217 2012-10-29 Mike Frysinger <vapier@gentoo.org>
42219 * manual/message.texi: Delete @cartouche tags.
42221 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
42223 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42225 * sysdeps/mach/hurd/fsync.c: Likewise.
42227 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42228 [_POSIX_REALTIME_SIGNALS]: Change condition to
42229 [_POSIX_REALTIME_SIGNALS > 0].
42231 2012-10-27 Andreas Jaeger <aj@suse.de>
42233 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42234 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42236 [__WORDSIZE != 64]: Likewise.
42238 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
42240 * iconvdata/tst-table.sh: Remove ${SHELL}.
42241 * iconvdata/tst-tables.sh: Likewise.
42243 2012-10-25 David S. Miller <davem@davemloft.net>
42245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42246 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42251 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42252 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42253 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42256 2012-10-25 Roland McGrath <roland@hack.frob.com>
42258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42259 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42262 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42263 Jim Blandy <jimb@codesourcery.com>
42265 * scripts/cross-test-ssh.sh: New file.
42266 * manual/install.texi (Configuring and compiling): Document use of
42268 * INSTALL: Regenerated.
42270 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
42272 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42275 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42277 * Makeconfig (run-program-prefix): Fix comment.
42279 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42280 Jim Blandy <jimb@codesourcery.com>
42282 * Makeconfig (test-wrapper): New variable,
42283 (test-wrapper-env): Likewise.
42284 [$(cross-compiling) = yes && $(test-wrapper) != ""]
42285 (run-built-tests): Define to yes.
42286 (run-program-prefix): Use $(test-wrapper).
42287 (built-program-cmd): Likewise.
42288 * Rules (make-test-out): Use $(test-wrapper-env) and
42289 $(host-built-program-cmd).
42290 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42291 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42293 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42294 $(test-wrapper-env) to tst-rtld-load-self.sh.
42295 ($(objpfx)order2.out): Use $(test-wrapper).
42296 ($(objpfx)tst-initorder.out): Likewise.
42297 ($(objpfx)tst-initorder2.out): Likewise.
42298 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42299 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42300 (test_wrapper_env): New variable. Use it to run ld.so.
42301 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42302 Use it to run ld.so.
42303 (test_wrapper_env): Likewise.
42304 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42305 $(test-wrapper) to run-iconv-test.sh.
42306 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42307 (ICONV): Use $test_wrapper.
42308 * posix/Makefile ($(objpfx)globtest.out): Pass
42309 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42310 globtest.sh, not $(run-program-prefix).
42311 * posix/globtest.sh (run_via_rtld_prefix): New variable.
42312 (test_wrapper): Likewise.
42313 (test_wrapper_env): Likewise. Use it to run globtest with HOME
42314 set together with run_via_rtld_prefix.
42315 (run_program_prefix): Define in terms of test_wrapper and
42316 run_via_rtld_prefix.
42318 2012-10-24 Roland McGrath <roland@hack.frob.com>
42320 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42321 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42325 * include/time.h: Remove librt_hidden_proto (clock_gettime).
42326 Declare __clock_getres, __clock_gettime, __clock_settime,
42327 __clock_nanosleep, and __clock_getcpuclockid.
42328 * rt/clock_gettime.c: Define __clock_gettime as an alias.
42329 Remove librt_hidden_def (clock_gettime).
42330 * sysdeps/unix/clock_gettime.c: Likewise.
42331 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42333 * rt/clock_getres.c: Define __clock_getres as an alias.
42334 * sysdeps/posix/clock_getres.c: Likewise.
42335 * rt/clock_settime.c: Define __clock_settime as an alias.
42336 * sysdeps/unix/clock_settime.c: Likewise.
42337 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42338 * sysdeps/unix/clock_nanosleep.c: Likewise.
42339 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42340 * rt/clock-compat.c: New file.
42341 * rt/Makefile (librt-routines): Add clock-compat and move
42342 $(clock-routines) to ...
42343 (routines): ... here, new variable.
42344 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42345 Don't add get_clockfreq here.
42346 * rt/Versions (libc: GLIBC_2.17): New version set.
42347 Add clock_* symbols here.
42348 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
42349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42350 (GLIBC_2.17): Add clock_* symbols.
42351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42362 * NEWS: Mention the move.
42364 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42365 Use __open, __read, __close rather than their public counterparts.
42366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42367 (__get_clockfreq_via_cpuinfo): Likewise.
42368 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42369 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42371 * config.h.in (HAVE_IFUNC): New #undef.
42372 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42374 * configure: Regenerated.
42376 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42378 * configure.in: Move READELF check to start of file.
42379 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42380 libc_cv_asm_gnu_indirect_function in the process.
42381 * configure: Regenerated.
42383 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42385 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42386 send the output to /dev/null.
42387 (libc_cv_cc_with_libunwind): Likewise.
42388 (libc_cv_as_noexecstack): Likewise.
42389 * configure: Regenerate.
42391 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42393 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42395 * posix/globtest.sh (TMPDIR): Do not set.
42396 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42397 (testout): Likewise.
42399 2012-10-24 Andreas Jaeger <aj@suse.de>
42401 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42402 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42403 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42404 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42405 posix_fadvise64, posix_fallocate64.
42407 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42408 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42409 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42411 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42413 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42416 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42417 <bits/fcntl-linux.h>.
42418 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42421 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42422 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42423 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42424 [__WORDSIZE != 64]: Likewise.
42426 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42428 * Makeconfig (run-built-tests): New variable.
42429 * Rules [$(cross-compiling) = yes]: Change condition to
42430 [$(run-built-tests) = no].
42431 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42432 to [$(run-built-tests) = yes].
42433 * elf/Makefile [$(cross-compiling) = no]: Likewise
42434 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42435 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42436 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42437 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42438 * io/Makefile [$(cross-compiling) = no]: Likewise.
42439 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42440 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42441 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42442 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42443 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42444 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42445 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42446 * string/Makefile [$(cross-compiling) = no]: Likewise.
42448 * posix/Makefile ($(objpfx)globtest.out): Pass
42449 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42450 $(rtld-installed-name).
42451 * posix/globtest.sh (elf_objpfx): Remove variable.
42452 (rtld_installed_name): Likewise.
42453 (library_path): Likewise.
42454 (run_program_prefix): New variable. Use for running globtest
42457 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42458 Joseph Myers <joseph@codesourcery.com>
42460 * Makeconfig (host-built-program-cmd): New variable.
42461 * elf/Makefile (tst-stackguard1-ARGS): Use
42462 $(host-built-program-cmd).
42463 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42464 (tst-spawn-ARGS): Likewise.
42465 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42467 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42468 Jim Blandy <jimb@codesourcery.com>
42470 * Makeconfig (run-via-rtld-prefix): New variable.
42471 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42472 (built-program-cmd): Likewise.
42474 2012-10-22 Andreas Jaeger <aj@suse.de>
42476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42477 __O_RSYNC if it exists, otherwise to O_SYNC.
42479 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42480 Joseph Myers <joseph@codesourcery.com>
42482 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42484 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42486 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42489 2012-10-22 Andreas Jaeger <aj@suse.de>
42491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42496 bits/fcntl-linux.h.
42498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42499 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42506 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42507 Joseph Myers <joseph@codesourcery.com>
42509 * config.make.in (NM): New variable.
42511 2012-10-21 Andreas Jaeger <aj@suse.de>
42513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42514 definitions and declarations that are provided by
42515 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42517 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42520 * elf/Makefile (tests-static): Add tst-leaks1-static.
42521 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42522 ($(objpfx)tst-leaks1-static): New rule.
42523 ($(objpfx)tst-leaks1-static-mem): Likewise.
42524 (tst-leaks1-static-ENV): New macro.
42525 * elf/dl-open.c (dl_open_worker): Check the main application
42526 only if SHARED is defined.
42527 * elf/tst-leaks1-static.c: New file.
42529 2012-10-20 Andreas Jaeger <aj@suse.de>
42531 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42532 generic values for Linux.
42533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42534 and declarations that are provided by <bits/fcntl-linux.h> and
42535 include <bits/fcntl-linux.h>.
42536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42539 2012-10-20 Roland McGrath <roland@hack.frob.com>
42541 * io/fcntl.h: Move include of <bits/types.h> to the top and
42542 include it unconditionally.
42544 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42546 * wcsmbs/Makefile (tests-ifunc): New variable.
42547 (tests): Add $(tests-ifunc).
42548 * wcsmbs/test-wcschr-ifunc.c: New file.
42549 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42550 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42551 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42552 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42553 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42555 * string/Makefile (tests-ifunc): New variable.
42556 (tests): Add $(tests-ifunc).
42557 * string/test-memccpy.c (TEST_NAME): New macro.
42558 * string/test-memchr.c (TEST_NAME): Likewise.
42559 * string/test-memcmp.c (TEST_NAME): Likewise.
42560 * string/test-memcpy.c (TEST_NAME): Likewise.
42561 * string/test-memmem.c (TEST_NAME): Likewise.
42562 * string/test-memmove.c (TEST_NAME): Likewise.
42563 * string/test-memset.c (TEST_NAME): Likewise.
42564 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42565 * string/test-stpcpy.c (TEST_NAME): Likewise.
42566 * string/test-stpncpy.c (TEST_NAME): Likewise.
42567 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42568 * string/test-strcasestr.c (TEST_NAME): Likewise.
42569 * string/test-strcat.c (TEST_NAME): Likewise.
42570 * string/test-strchr.c (TEST_NAME): Likewise.
42571 * string/test-strcmp.c(TEST_NAME): Likewise.
42572 * string/test-strcpy.c (TEST_NAME): Likewise.
42573 * string/test-strcspn.c (TEST_NAME): Likewise.
42574 * string/test-strlen.c (TEST_NAME): Likewise.
42575 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42576 * string/test-strncmp.c (TEST_NAME): Likewise.
42577 * string/test-strncpy.c (TEST_NAME): Likewise.
42578 * string/test-strnlen.c (TEST_NAME): Likewise.
42579 * string/test-strpbrk.c (TEST_NAME): Likewise.
42580 * string/test-strrchr.c (TEST_NAME): Likewise.
42581 * string/test-strspn.c (TEST_NAME): Likewise.
42582 * string/test-strstr.c (TEST_NAME): Likewise.
42583 * string/test-bcopy-ifunc.c: New file.
42584 * string/test-bzero-ifunc.c: Likewise.
42585 * string/test-memccpy-ifunc.c: Likewise.
42586 * string/test-memchr-ifunc.c: Likewise.
42587 * string/test-memcmp-ifunc.c: Likewise.
42588 * string/test-memcpy-ifunc.c: Likewise.
42589 * string/test-memmem-ifunc.c: Likewise.
42590 * string/test-memmove-ifunc.c: Likewise.
42591 * string/test-mempcpy-ifunc.c: Likewise.
42592 * string/test-memset-ifunc.c: Likewise.
42593 * string/test-rawmemchr-ifunc.c: Likewise.
42594 * string/test-stpcpy-ifunc.c: Likewise.
42595 * string/test-stpncpy-ifunc.c: Likewise.
42596 * string/test-strcasecmp-ifunc.c: Likewise.
42597 * string/test-strcasestr-ifunc.c: Likewise.
42598 * string/test-strcat-ifunc.c: Likewise.
42599 * string/test-strchr-ifunc.c: Likewise.
42600 * string/test-strchrnul-ifunc.c: Likewise.
42601 * string/test-strcmp-ifunc.c: Likewise.
42602 * string/test-strcpy-ifunc.c: Likewise.
42603 * string/test-strcspn-ifunc.c: Likewise.
42604 * string/test-strlen-ifunc.c: Likewise.
42605 * string/test-strncasecmp-ifunc.c: Likewise.
42606 * string/test-strncat-ifunc.c: Likewise.
42607 * string/test-strncmp-ifunc.c: Likewise.
42608 * string/test-strncpy-ifunc.c: Likewise.
42609 * string/test-strnlen-ifunc.c: Likewise.
42610 * string/test-strpbrk-ifunc.c: Likewise.
42611 * string/test-strrchr-ifunc.c: Likewise.
42612 * string/test-strspn-ifunc.c: Likewise.
42613 * string/test-strstr-ifunc.c: Likewise.
42615 * debug/Makefile (tests-ifunc): New variable.
42616 (tests): Add $(tests-ifunc).
42617 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42618 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42619 * debug/test-stpcpy_chk-ifunc.c: New file.
42620 * debug/test-strcpy_chk-ifunc.c: Likewise.
42622 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42625 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42626 header is not read in.
42628 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42630 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42631 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42632 directly. Pass built executable to script as
42633 $(built-program-cmd).
42634 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42635 $testprogram without using LD_LIBRARY_PATH and $ldso.
42637 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42638 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42639 $(rtld-installed-name).
42640 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42641 (rtld_installed_name): Likewise.
42642 (library_path): Likewise.
42643 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42644 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42645 $(run-program-prefix) to tst-tables.sh.
42646 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42647 it to run tst-table-from and tst-table-to.
42648 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42649 Pass it to tst-table.sh.
42650 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42651 $(run-program-prefix) to tst-gettext.sh.
42652 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42654 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42656 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42657 to run tst-gettext.
42658 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42659 to run tst-gettext2.
42660 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42661 to run tst-translit.
42662 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42663 $(run-program-prefix) to tst-mtrace.sh.
42664 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42666 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42667 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42668 $(rtld-installed-name).
42669 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42670 (rtld_installed_name): Likewise.
42671 (run_program_prefix): New variable. Use it to run wordexp-test.
42673 * Makeconfig (ARCH): Remove all definitions.
42674 (machine): Likewise.
42675 [ARCH]: Remove conditional code.
42676 [!objdir]: Give error.
42677 [!objdir] (objpfx): Remove.
42678 [!objdir] (common-objpfx): Likewise.
42679 [!objdir] (common-objdir): Likewise.
42680 * configure.in (config_makefile): Remove. Hardcode Makefile in
42681 AC_CONFIG_FILES call.
42682 * configure: Regenerated.
42685 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42687 (testout): Likewise.
42689 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42690 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42691 $(rtld-installed-name).
42692 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42693 (rtld_installed_name): Likwise.
42694 (runit): Remove function.
42695 (run_getconf): New variable, Use it for running getconf binary.
42697 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42700 * string/test-memmem.c (check_result): New function.
42701 (do_one_test): Use it.
42702 (check1): New function.
42703 (test_main): Use it.
42705 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42707 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42709 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42711 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42712 (_G_LSEEK64): Likewise.
42713 (_G_MMAP64): Likewise.
42714 (_G_FSTAT64): Likewise.
42715 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42716 (_G_LSEEK64): Likewise.
42717 (_G_MMAP64): Likewise.
42718 (_G_FSTAT64): Likewise.
42719 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42720 unconditional. Call __mmap64 directly.
42721 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42722 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42723 __lseek64 directly.
42724 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42725 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42727 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42728 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42729 __lseek64 directly.
42730 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42731 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42732 __lseek64 directly.
42733 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42734 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42735 __lseek64 directly.
42736 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42737 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42738 __fxstat64 directly.
42739 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42740 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42742 (freopen64) [!_G_OPEN64]: Remove conditional code.
42743 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42745 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42746 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42748 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42749 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42751 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42752 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42754 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42755 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42757 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42758 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42760 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42761 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42763 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42765 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42768 * manual/memory.texi (Malloc Tunable Parameters): Add note
42769 about free list pointers overwriting some perturb bytes.
42770 Wording suggested by Roland McGrath.
42772 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42774 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42775 (lgamma_test): Likewise.
42776 (tgamma_test): Likewise.
42778 2012-10-16 Florian Weimer <fweimer@redhat.com>
42781 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42782 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42784 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42786 * NEWS: Mention BZ #14716.
42787 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42788 when removing AVAILABLE1_USES_J macro.
42790 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42792 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42793 (__bswap_64): __uint64_t for unsigned 64-bit int.
42795 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42797 * include/string.h (memmem): Declare libc hidden alias.
42798 * string/memmem.c (memmem): Define libc hidden alias.
42799 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42800 __read, __close instead of open, read, close.
42802 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42805 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42807 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42808 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42809 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42811 (__rawmemchr_sse2): Likewise.
42812 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42813 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42814 (__strchr_sse2): Likewise.
42815 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42816 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42817 (__strcasecmp_sse2): Likewise.
42818 (__strncasecmp_sse2): Likewise.
42819 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42820 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42821 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42822 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42823 (__strrchr_sse2): Likewise.
42824 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42826 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42827 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42828 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42829 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42830 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42831 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42832 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42833 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42834 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42835 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42836 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42837 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42838 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42839 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42840 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42841 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42842 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42843 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42844 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42845 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42846 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42847 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42848 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42849 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42850 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42851 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42852 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42853 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42854 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42855 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42857 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42859 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42860 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42861 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42862 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42864 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42866 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42867 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42868 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42869 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42871 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42872 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42873 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42874 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42875 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42876 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42877 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42878 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42879 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42880 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42881 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42882 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42883 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42884 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42885 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42886 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42887 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42888 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42889 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42890 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42891 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42892 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42893 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42894 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42896 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42897 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42898 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42899 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42900 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42901 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42902 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42903 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42904 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42905 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42906 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42907 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42908 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42909 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42910 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42911 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42913 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42914 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42915 * include/ifunc-impl-list.h: New file.
42916 * misc/ifunc-impl-list.c: Likewise.
42917 * misc/Makefile (routines): Add ifunc-impl-list.
42918 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42919 * string/test-string.h: Include <ifunc-impl-list.h>.
42920 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42921 TEST_NAME]: New variables.
42922 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42924 (test_init): Call __libc_ifunc_impl_list to initialize
42925 func_list if TEST_IFUNC and TEST_NAME are defined.
42927 * string/Makefile (strop-tests): Add bcopy and bzero.
42928 * string/test-bcopy.c: New file.
42929 * string/test-bzero.c: Likewise.
42930 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42932 * string/test-memset.c: Support bzero test if TEST_BZERO is
42934 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42936 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42938 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42941 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42943 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42944 * configure: Regenerated.
42946 * Makeconfig (+link-static-before-libc): Don't include
42947 $(link-static-libc).
42949 * libio/libio.h (_IO_pos_t): Remove.
42951 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42953 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42956 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42958 * crypt/crypt-entry.c: Include fips-private.h.
42959 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42960 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42961 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42962 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42964 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42966 * crypt/crypt-private.h: Include stdbool.h.
42967 (_ufc_setup_salt_r): Return bool.
42968 * crypt/crypt-entry.c: Include errno.h.
42969 (__crypt_r): Return NULL with EINVAL for bad salt.
42970 * crypt/crypt_util.c (bad_for_salt): New.
42971 (_ufc_setup_salt_r): Check that salt is long enough and within
42972 the specified alphabet.
42973 * crypt/badsalttest.c: New file.
42974 * crypt/Makefile (tests): Add it.
42975 ($(objpfx)badsalttest): New.
42977 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42979 * NEWS: Add entry for BZ #14602.
42981 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42983 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42985 * math/libm-test.inc: Update comment listing what functions and
42987 (isgreater_test): New function.
42988 (isgreaterequal_test): Likewise.
42989 (isless_test): Likewise.
42990 (islessequal_test): Likewise.
42991 (islessgreater_test): Likewise.
42992 (isunordered_test): Likewise.
42993 (main): Call the new functions.
42995 2012-10-09 Roland McGrath <roland@hack.frob.com>
42997 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42998 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42999 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43000 * sysdeps/i386/configure: Regenerated.
43001 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43002 * sysdeps/mach/configure: Regenerated.
43003 * sysdeps/mach/hurd/configure: Regenerated.
43004 * sysdeps/powerpc/configure: Regenerated.
43005 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43006 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43007 * sysdeps/s390/s390-32/configure: Regenerated.
43008 * sysdeps/s390/s390-64/configure: Regenerated.
43009 * sysdeps/sh/configure: Regenerated.
43010 * sysdeps/sparc/configure: Regenerated.
43011 * sysdeps/unix/sysv/linux/configure: Regenerated.
43012 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43013 * sysdeps/x86_64/configure: Regenerated.
43015 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43016 defined. Don't check if MAP is NULL.
43018 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43020 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43021 (_G_stat64): Likewise.
43022 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43023 (_G_stat64): Likewise.
43024 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43025 instead of struct _G_stat64.
43026 * libio/fileops.c (mmap_remap_check): Likewise.
43027 (decide_maybe_mmap): Likewise.
43028 (_IO_new_file_seekoff): Likewise.
43029 (_IO_file_stat): Likewise.
43030 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43032 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43033 instead of struct _G_stat64.
43034 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43036 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
43039 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43041 (CHECK_EOL): New macro.
43042 (two_way_short_needle): Check beginning of haystack for EOL. Use
43044 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43045 Replace with CHECK_EOL.
43046 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43047 Replace with CHECK_EOL.
43049 2012-10-08 Joseph Myers <joseph@codesourcery.com>
43051 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43053 * math/libm-test.inc: Update comment listing what functions and
43055 (finite_test): New function.
43056 (isinf_test): Likewise.
43057 (isnan_test): Likewise.
43058 (fpclassify_test): Test subnormal input.
43059 (isfinite_test): Likewise.
43060 (isnormal_test): Likewise.
43061 (main): Call the new functions.
43063 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
43066 * Makerules (%.dynsym): Force C locale when running
43067 $(OBJDUMP) --dynamic-syms.
43069 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
43071 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43074 2012-10-06 David S. Miller <davem@davemloft.net>
43076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43077 upper 32-bits of the length value in %o2 since we use branch-on-register
43078 tests which consider the entire 64-bit register.
43080 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
43082 * string/test-strstr.c (check2): Add a test for page boundary.
43084 2012-10-05 David S. Miller <davem@davemloft.net>
43086 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43087 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43089 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43091 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43092 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43093 and bzero when HWCAP_SPARC_CRYPTO is present.
43095 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
43098 * string/test-strstr.c (check2): New function.
43099 (test_main): Call check2.
43101 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43103 * string/bug-strcasestr1.c (do_test): Moved to ...
43104 * string/test-strcasestr.c (check1): Here. New function.
43105 (do_one_test): Break out result checking code into ...
43106 (check_result): This. New function.
43107 (do_one_test): Call check_result.
43108 (test_main): Call check1.
43109 * string/bug-strchr1.c (do_test): Moved to ...
43110 * string/test-strchr.c (check1): Here. New function.
43111 (do_one_test): Break out result checking code into ...
43112 (check_result): This. New function.
43113 (do_one_test): Call check_result.
43114 (test_main): Call check1.
43115 * string/bug-strstr1.c (main): Moved to ...
43116 * string/test-strstr.c (check1): Here. New function.
43117 (do_one_test): Break out result checking code into ...
43118 (check_result): This. New function.
43119 (do_one_test): Call check_result.
43120 (test_main): Call check1.
43121 * string/bug-strcasestr1.c: Removed.
43122 * string/bug-strchr1.c: Likewise.
43123 * string/bug-strstr1.c: Likewise.
43125 * elf/Makefile (dl-routines): Add hwcaps.
43126 * elf/dl-support.c (_dl_important_hwcaps): Removed.
43127 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43128 (_dl_important_hwcaps): Moved to ...
43129 * elf/dl-hwcaps.c: Here. New file.
43130 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43133 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43134 if IS_IN_rtld isn't defined.
43136 * elf/dl-support.c (_dl_sysinfo_map): New.
43137 Include "get-dynamic-info.h" and "setup-vdso.h".
43138 (_dl_non_dynamic_init): Call setup_vdso.
43139 * elf/dynamic-link.h: Don't include <assert.h>.
43140 (elf_get_dynamic_info): Moved to ...
43141 * elf/get-dynamic-info.h: Here. New file.
43142 * elf/dynamic-link.h: Include "get-dynamic-info.h".
43143 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43144 * elf/setup-vdso.h: Here. New file.
43145 * elf/rtld.c: Include "setup-vdso.h".
43146 (dl_main): Call setup_vdso.
43148 2012-10-05 Joseph Myers <joseph@codesourcery.com>
43150 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43151 creal in comment listing functions tested. List finite, isinf,
43152 isnan, isless, islessequal, isgreater, isgreaterequal,
43153 islessgreater, isunordered, lgamma_r and pow10 as functions and
43154 macros not tested. Mention which functions not tested are aliases
43155 for other functions. Fix typo. Note that signs of NaNs are not
43158 * scripts/config.guess: Update from config.git.
43159 * scripts/config.sub: Likewise.
43161 2012-10-04 Roland McGrath <roland@hack.frob.com>
43163 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43164 * misc/madvise.c (madvise): Renamed to __madvise.
43165 Make madvise a weak alias.
43166 * include/sys/mman.h: Declare __madvise.
43167 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43168 * sysdeps/unix/syscalls.list
43169 (madvise): Make __madvise the strong name, and madvise a weak alias.
43170 * sysdeps/unix/sysv/linux/syscalls.list
43171 (madvise, mmap): Remove redundant entries.
43172 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43173 * malloc/malloc.c (mtrim): Likewise.
43174 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43176 2012-10-03 Roland McGrath <roland@hack.frob.com>
43178 * sysdeps/mach/hurd/dl-cache.c: File removed.
43179 * config.h.in (USE_LDCONFIG): New #undef.
43180 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43181 * configure: Regenerated.
43182 * elf/Makefile (dl-routines): Add dl-cache only under
43183 [$(use-ldconfig) = yes].
43184 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43185 cache on [USE_LDCONFIG].
43186 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43188 * elf/rtld.c (dl_main): Likewise.
43190 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
43192 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43193 _SC_LEVEL4_CACHE_LINESIZE.
43195 2012-10-03 Roland McGrath <roland@hack.frob.com>
43197 * sysdeps/unix/bsd/confstr.h: File removed.
43199 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
43201 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43204 2012-10-02 Roland McGrath <roland@hack.frob.com>
43206 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43207 Make 'mapoff' field ElfW(Off) rather than off_t.
43209 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
43211 * nscd/Makefile: Remove nscd-cflags and all its users.
43212 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43213 (CFLAGS-nonlib): Add compiler flags for nscd modules.
43216 * malloc.c (malloc_printerr): Clarify error message.
43218 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
43221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43222 Set bit_FMA_Usable if FMA is supported.
43223 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43225 (bit_FMA4_Usable): Updated.
43226 (index_FMA_Usable): New macro.
43227 (CPUID_FMA): Likewise
43228 (HAS_FMA): Defined with bit_FMA_Usable.
43230 2012-10-01 Roland McGrath <roland@hack.frob.com>
43232 * bits/types.h (__swblk_t): Type removed.
43233 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43234 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43235 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43236 (__SWBLK_T_TYPE): Likewise.
43237 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43238 (__SWBLK_T_TYPE): Likewise.
43239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43240 (__SWBLK_T_TYPE): Likewise.
43241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43242 (__SWBLK_T_TYPE): Likewise.
43244 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
43245 Honza Horak <hhorak@redhat.com>
43247 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43248 (xdr_mapname): Use YPMAXMAP as maxsize.
43249 (xdr_peername): Use YPMAXPEER as maxsize.
43250 (xdr_keydat): Use YPAXRECORD as maxsize.
43251 (xdr_valdat): Use YPMAXRECORD as maxsize.
43253 2012-10-01 Roland McGrath <roland@hack.frob.com>
43255 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43257 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43258 * csu/init-first.c: ... here.
43259 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43260 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43261 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43262 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43263 * sysdeps/i386/init-first.c: File removed.
43264 * sysdeps/sh/init-first.c: File removed.
43266 2012-10-01 Joseph Myers <joseph@codesourcery.com>
43269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43270 if x * y might underflow to zero and z is zero.
43271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43273 * math/libm-test.inc (min_subnorm_value): New variable.
43274 (fma_test): Add more tests.
43275 (fma_test_towardzero): Likewise.
43276 (fma_test_downward): Likewise
43277 (fma_test_upward): Likewise.
43278 (initialize): Set min_subnorm_value.
43280 2012-09-29 Joseph Myers <joseph@codesourcery.com>
43283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43285 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43286 mode for addition resulting in exact zero.
43287 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43292 * math/libm-test.inc (fma_test): Add more tests.
43293 (fma_test_towardzero): New function.
43294 (fma_test_downward): Likewise.
43295 (fma_test_upward): Likewise.
43296 (main): Call the new functions.
43298 2012-09-28 David S. Miller <davem@davemloft.net>
43300 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43302 2012-09-28 Roland McGrath <roland@hack.frob.com>
43304 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43305 instead of SIGALRM.
43307 * sysdeps/gnu/_G_config.h: Moved to ...
43308 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43309 * sysdeps/mach/hurd/_G_config.h: Moved to ...
43310 * sysdeps/generic/_G_config.h: ... here.
43312 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
43314 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43316 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43317 Conditionalize target on [libnss_test1.so-version].
43319 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43321 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43322 (elfobjdir): Move out of conditionals.
43324 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43325 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43326 (__nss_lookup_function): Conditionalize label remove_from_tree on
43327 [!DO_STATIC_NSS || SHARED], matching its only use.
43329 2012-09-28 David S. Miller <davem@davemloft.net>
43331 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43332 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43334 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43336 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43338 when HWCAP_SPARC_CRYPTO is present.
43340 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43342 * io/tst-mknodat.c: Create a FIFO instead of a socket.
43344 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
43347 * stdio-common/vfprintf.c (process_string_arg): Revert
43350 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
43352 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43354 * stdio-common/tst-sprintf.c: Include <locale.h>
43355 (main): Test sprintf's handling of incomplete multibyte
43358 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
43360 * elf/dl-runtime.c (VERSYMIDX): Removed.
43361 * elf/dl-version.c (VERSYMIDX): Likewise.
43362 * elf/do-rel.h (VERSYMIDX): Likewise.
43363 (VALIDX): Likewise.
43364 * elf/dynamic-link.h (VERSYMIDX): Likewise.
43365 * elf/rtld.c (VALIDX): Likewise.
43366 (ADDRIDX): Likewise.
43367 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43368 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43369 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43370 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43371 (VALIDX): Likewise.
43372 (ADDRIDX): Likewise.
43374 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43376 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43378 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
43381 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43383 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43384 addresses are in the same scope as 192.0.2/24.
43385 * posix/gai.conf: Document new scope table defaults.
43387 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43390 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43391 for ftell. Compute offsets from write pointers instead.
43392 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43394 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43397 * libio/Makefile (tests): New test case tst-fseek.
43398 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43399 combination works in wide mode.
43400 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43401 state when the external buffer state changes.
43403 2012-09-27 David S. Miller <davem@davemloft.net>
43406 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43407 pass reloc->r_addend in as the 'high' argument to
43408 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43412 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43414 * rt/tst-aio2.c: Include <pthread.h>.
43415 * rt/tst-aio3.c: Likewise.
43417 2012-09-27 Steve Ellcey <sellcey@mips.com>
43419 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43421 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43423 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43424 contents on [SHARED].
43426 2012-09-26 Marek Polacek <polacek@redhat.com>
43430 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43431 for C++ and GCC <4.3 as well as for non GCC compilers.
43433 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43437 2012-09-25 Roland McGrath <roland@hack.frob.com>
43439 * Makefile.in (all, install): Declare with .PHONY.
43440 Reported by Michael Hope <michael.hope@linaro.org>.
43442 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43444 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43445 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43447 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43449 (sydep_routines): Add the new and the internal functions.
43450 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43451 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43453 (GLIBC_2.17): Add the new function.
43454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43455 (GLIBC_2.17): Likewise.
43456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43457 (GLIBC_2.17): Likewise.
43458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43459 (GLIBC_2.17): Likewise.
43460 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43462 2012-09-25 Alan Modra <amodra@gmail.com>
43464 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43465 Add release barrier before setting once_control to say
43466 initialisation is done. Add hints on lwarx. Use macro in
43468 (clear_once_control): Add release barrier.
43470 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43473 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43475 * math/s_clog10.c (__clog10): Likewise.
43476 * math/s_clog10f.c (__clog10f): Likewise.
43477 * math/s_clog10l.c (__clog10l): Likewise.
43478 * math/s_clogf.c (__clogf): Likewise.
43479 * math/s_clogl.c (__clogl): Likewise.
43480 * math/Makefile (libm-calls): Add x2y2m1.
43481 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43482 (__x2y2m1): Likewise.
43483 (__x2y2m1l): Likewise.
43484 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43485 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43486 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43487 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43488 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43489 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43490 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43491 * sysdeps/i386/fpu/libm-test-ulps: Update.
43492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43495 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43496 int as type of variable DEPTH.
43497 (glob): Use size_t instead of int as type of variables NEWCOUNT
43500 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43502 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43503 Add s_sincosf-sse2.
43504 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43505 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43506 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43507 macros for using routine as __sincosf_ia32.
43508 Use macro for function declaration and weak_alias.
43509 * sysdeps/i386/fpu/libm-test-ulps: Update.
43511 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43514 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43515 subnormal argument.
43516 * math/s_cexpf.c (__cexpf): Likewise.
43517 * math/s_csinf.c (__csinf): Likewise.
43518 * math/s_csinhf.c (__csinhf): Likewise.
43519 * math/s_ctanf.c (__ctanf): Likewise.
43520 * math/s_ctanhf.c (__ctanhf): Likewise.
43521 * math/s_ccosh.c (__ccoshf): Likewise.
43522 * math/s_cexp.c (__cexpl): Likewise.
43523 * math/s_csin.c (__csin): Likewise.
43524 * math/s_csinh.c (__csinh): Likewise.
43525 * math/s_ctan.c (__ctan): Likewise.
43526 * math/s_ctanh.c (ctanh): Likewise.
43527 * math/s_ccoshl.c (__ccoshl): Likewise.
43528 * math/s_cexpl.c (__cexpl): Likewise.
43529 * math/s_csinl.c (__csinl): Likewise.
43530 * math/s_csinhl.c (__csinhl): Likewise.
43531 * math/s_ctanl.c (__ctanl): Likewise.
43532 * math/s_ctanhl.c (__ctanhl): Likewise.
43534 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43536 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43537 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43538 (_IO_off_t): Define to __off_t, not _G_off_t.
43539 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43540 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43541 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43542 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43543 type of __dummy and __dummy2 fields.
43544 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43545 (_G_ssize_t): Likewise.
43546 (_G_off_t): Likewise.
43547 (_G_pid_t): Likewise.
43548 (_G_uid_t): Likewise.
43549 (_G_wchar_t): Likewise.
43550 (_G_wint_t): Likewise.
43551 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43552 (_G_ssize_t): Likewise.
43553 (_G_off_t): Likewise.
43554 (_G_pid_t): Likewise.
43555 (_G_uid_t): Likewise.
43556 (_G_wchar_t): Likewise.
43557 (_G_wint_t): Likewise.
43558 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43559 (_G_ssize_t): Likewise.
43560 (_G_off_t): Likewise.
43561 (_G_pid_t): Likewise.
43562 (_G_uid_t): Likewise.
43563 (_G_wchar_t): Likewise.
43564 (_G_wint_t): Likewise.
43566 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43568 * malloc/arena.c: Include malloc-sysdep.h.
43569 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43570 is sufficient to shrink the heap or an unmap is needed.
43571 * sysdeps/generic/malloc-sysdep.h: New file. Define
43572 new function check_may_shrink_heap.
43573 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43574 new function check_may_shrink_heap.
43576 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43578 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43581 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43583 * catgets/test-gencat.sh: Add "set -e".
43584 * elf/tst-pathopt.sh: Likewise.
43585 * grp/tst_fgetgrent.sh: Likewise.
43586 * iconvdata/run-iconv-test.sh: Likewise.
43587 * intl/tst-gettext.sh: Likewise.
43588 * intl/tst-gettext2.sh: Likewise.
43589 * intl/tst-gettext4.sh: Likewise.
43590 * intl/tst-gettext6.sh: Likewise.
43591 * intl/tst-translit.sh: Likewise.
43592 * io/ftwtest-sh: Likewise.
43593 * libio/test-freopen.sh: Likewise.
43594 * malloc/tst-mtrace.sh: Likewise.
43595 * posix/globtest.sh: Likewise.
43596 * posix/tst-getconf.sh: Likewise.
43597 * posix/wordexp-tst.sh: Likewise.
43598 * stdio-common/tst-printf.sh: Likewise.
43599 * stdio-common/tst-unbputc.sh: Likewise.
43600 * stdlib/tst-fmtmsg.sh: Likewise.
43601 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43602 * catgets/Makefile: Do not specify -e option when running
43603 testsuite shell scripts.
43604 * elf/Makefile: Likewise.
43605 * grp/Makefile: Likewise.
43606 * iconvdata/Makefile: Likewise.
43607 * intl/Makefile: Likewise.
43608 * io/Makefile: Likewise.
43609 * libio/Makefile: Likewise.
43610 * malloc/Makefile: Likewise.
43611 * posix/Makefile: Likewise.
43612 * stdio-common/Makefile: Likewise.
43613 * stdlib/Makefile: Likewise.
43614 * sysdeps/x86_64/Makefile: Likewise.
43616 * io/ftwtest-sh: Add copyright header.
43617 * posix/globtest.sh: Likewise.
43618 * posix/tst-getconf.sh: Likewise.
43619 * posix/wordexp-tst.sh: Likewise.
43620 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43622 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43625 * Makeconfig (+link): Defined as $(+link-static) if
43626 $(build-shared) isn't yes.
43627 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43629 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43631 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43634 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43635 new chunk size with MALLOC_ALIGN_MASK.
43637 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43640 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43642 (__printf_fphex): Determine rounding using get_rounding_mode and
43644 * stdio-common/tst-printf-round.c (struct hex_test): New
43646 (hex_tests): New variable.
43647 (test_hex_in_one_mode): New function.
43648 (do_test): Also run tests for hex float output.
43650 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43652 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43653 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43654 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43655 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43656 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43657 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43658 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43659 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43661 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43663 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43664 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43665 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43666 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43668 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43671 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43673 * elf/tst-rtld-load-self.sh: New test.
43674 * elf/Makefile: Run it.
43676 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43678 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43679 (tst-writev-ENV): Remove.
43680 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43682 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43684 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43686 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43688 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43690 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43692 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43693 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43694 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43697 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43700 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43701 * config.make.in (have-cpp-asm-debuginfo): Removed.
43702 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43703 * configure: Regenerated.
43705 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43708 * stdio-common/printf_fp.c: Include <stdbool.h> and
43710 (___printf_fp): Determine rounding using get_rounding_mode and
43712 * stdio-common/tst-printf-round.c: New file.
43713 * stdio-common/Makefile (tests): Add tst-printf-round.
43714 (link-libm): New variable.
43715 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43717 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43720 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43721 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43723 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43726 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43728 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43729 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43730 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43731 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43733 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43736 * include/rounding-mode.h: New file.
43737 * sysdeps/generic/get-rounding-mode.h: Likewise.
43738 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43739 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43740 (MAX_VALUE): New macro.
43741 (MIN_VALUE): Likewise.
43742 (overflow_value): New function.
43743 (underflow_value): Likewise.
43744 (round_and_return): Use overflow_value and underflow_value to
43745 determine return values in overflow and underflow cases. Use
43746 round_away to determine rounding depending on rounding mode.
43747 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43748 determine return values in overflow and underflow cases.
43749 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43750 (struct test_results): New structure.
43751 (struct test): Use struct test_results to store expected results
43752 for all rounding modes.
43753 (TEST): Include expected results for all rounding modes.
43754 (test_in_one_mode): New function.
43755 (do_test): Use test_in_one_mode to compute and check results.
43756 Check results for all rounding modes.
43757 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43760 2012-12-09 Allan McRae <allan@archlinux.org>
43762 * sysdeps/i386/fpu/libm-test-ulps: Update
43764 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43766 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43767 (_G_int32_t): Likewise.
43768 (_G_uint16_t): Likewise.
43769 (_G_uint32_t): Likewise.
43770 (_G_HAVE_BOOL): Likewise.
43771 (_G_HAVE_ATEXIT): Likewise.
43772 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43773 (_G_HAVE_IO_FILE_OPEN): Likewise.
43774 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43775 (_G_int32_t): Likewise.
43776 (_G_uint16_t): Likewise.
43777 (_G_uint32_t): Likewise.
43778 (_G_HAVE_BOOL): Likewise.
43779 (_G_HAVE_ATEXIT): Likewise.
43780 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43781 (_G_HAVE_IO_FILE_OPEN): Likewise.
43782 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43783 (_G_int32_t): Likewise.
43784 (_G_uint16_t): Likewise.
43785 (_G_uint32_t): Likewise.
43786 (_G_HAVE_BOOL): Likewise.
43787 (_G_HAVE_ATEXIT): Likewise.
43788 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43789 (_G_HAVE_IO_FILE_OPEN): Likewise.
43791 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43793 * csu/libc-tls.c: Update copyright years.
43795 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43797 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43798 [!_G_USING_THUNKS]: Remove conditional code.
43799 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43800 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43802 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43803 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43804 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43805 (_G_VTABLE_LABEL_PREFIX): Likewise.
43806 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43807 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43808 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43809 (_G_VTABLE_LABEL_PREFIX): Likewise.
43810 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43811 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43812 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43813 (_G_VTABLE_LABEL_PREFIX): Likewise.
43814 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43816 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43818 * libio/Makefile: Include ../Makeconfig before tests.
43819 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43820 only if $(build-shared) is yes.
43822 * iconv/gconv_db.c: Update copyright years.
43824 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43826 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43827 unwind info if defined PIC. Fix special cases description.
43828 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43830 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43832 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43834 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43836 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43838 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43841 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43842 (LDLIBS-tst-chk4): This.
43843 (LDFLAGS-tst-chk5): Renamed to ...
43844 (LDLIBS-tst-chk5): This.
43845 (LDFLAGS-tst-chk6): Renamed to ...
43846 (LDLIBS-tst-chk6): This.
43847 (LDFLAGS-tst-lfschk4): Renamed to ...
43848 (LDLIBS-tst-lfschk4): This.
43849 (LDFLAGS-tst-lfschk5): Renamed to ...
43850 (LDLIBS-tst-lfschk5): This.
43851 (LDFLAGS-tst-lfschk6): Renamed to ...
43852 (LDLIBS-tst-lfschk6): This.
43854 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43855 on $(common-objpfx)soversions.mk.
43857 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43860 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43863 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43865 * malloc/arena.c (arena_get_retry): New function that gets
43866 another arena for the caller to try its request on.
43867 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43868 current arena cannot fulfill the request.
43869 (__libc_memalign): Likewise.
43870 (__libc_memalign): Likewise.
43871 (__libc_pvalloc): Likewise.
43872 (__libc_calloc): Likewise.
43874 2012-09-05 John Tobey <john.tobey@gmail.com>
43877 * manual/arith.texi (Operations on Complex): Fix description
43878 of carg branch cut.
43880 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43883 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43887 * manual/memory.texi (Memory): Make order of menu items match
43890 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43892 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43893 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43894 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43896 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43898 * csu/libc-tls.c (static_dtv): Renamed to ...
43899 (_dl_static_dtv): This. Make it global.
43900 (_dl_initial_dtv): Removed.
43901 (__libc_setup_tls): Updated.
43902 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43903 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43906 2012-09-06 Petr Machata <pmachata@redhat.com>
43908 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43909 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43910 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43911 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43913 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43916 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43917 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43920 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43923 * Makeconfig (link-static-before-libc): Replace $(+prector)
43925 (link-static-after-libc): Replace $(+postctor) with
43927 (link-bounded): Replace $(+prector)/$(+postctor) with
43928 $(+prectorT)/$(+postctorT).
43929 (+prectorT): New macro.
43930 (+postctorT): Likewise.
43932 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43934 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43935 (round_str): Handle values above the maximum for IBM long double
43937 * stdlib/tst-strtod-round.c (tests): Regenerated.
43939 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43941 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43943 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43944 zarch_nohighgprs around the zarch optimized routines.
43945 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43946 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43947 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43950 2012-09-05 David S. Miller <davem@davemloft.net>
43952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43954 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43955 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43956 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43957 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43960 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43962 * malloc/arena.c: Fold copyright years.
43963 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43965 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43967 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43969 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43971 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43973 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43975 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43976 change internal state upon failure.
43978 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43980 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43981 * malloc/memusage.c (mmap): Likewise.
43982 (mmap64, mremap): Likewise. Adjust name in comment.
43984 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43986 * libio/fileops.c: Fix typos in comments.
43987 * libio/oldfileops.c: Likewise.
43988 * libio/wfileops.c: Likewise.
43990 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43993 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43994 (tst-malloc-usable-ENV): Set environment for test case.
43995 * malloc/hooks.c (malloc_check_get_size): New function to get
43997 * malloc/malloc.c (musable): Use malloc_check_get_size.
43998 * malloc/tst-malloc-usable.c: New test case.
44000 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44002 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44004 2012-09-05 Allan McRae <allan@archlinux.org>
44007 * configure.in (CXX_SYSINCLUDES): Use compiler output to
44008 determine header location.
44009 * configure: Regenerated.
44011 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44013 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44015 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44016 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44018 (test): Regenerate.
44020 2012-09-04 David S. Miller <davem@davemloft.net>
44022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44024 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44026 2012-09-04 Florian Weimer <fweimer@redhat.com>
44028 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44031 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44033 2012-09-04 Joseph Myers <joseph@codesourcery.com>
44036 * libio/iogetdelim.c: Include <limits.h>.
44037 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44038 + len + 1 would overflow.
44040 2012-09-03 Andreas Jaeger <aj@suse.de>
44042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44043 * sysdeps/i386/fpu/libm-test-ulps: Update.
44045 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44047 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44048 Add s_sinf-sse2, s_conf-sse2.
44050 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44051 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44052 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44053 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44055 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44056 for using routine as __sinf_ia32.
44057 Use macro for function declaration and weak_alias.
44058 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44059 for using routine as __cosf_ia32.
44060 Use macro for function declaration and weak_alias.
44062 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44063 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44065 * sysdeps/x86_64/fpu/s_sinf.S: New file.
44066 * sysdeps/x86_64/fpu/s_cosf.S: New file.
44067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44069 * math/libm-test.inc (cos_test): Add more test cases.
44070 (sin_test): Likewise.
44071 (sincos_test): Likewise.
44073 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44075 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44076 (IFUNC_RESOLVE): Make pointers to the specialized implementations
44078 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44080 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
44083 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44084 first element of the GOT.
44085 (elf_machine_load_address): Return the difference between
44086 the runtime address of _DYNAMIC and elf_machine_dynamic ().
44088 2012-09-01 Allan McRae <allan@archlinux.org>
44091 * configure.in (AWK): Require gawk version 3.0 or later.
44092 * configure: Regenerated.
44094 2012-09-01 Joseph Myers <joseph@codesourcery.com>
44096 * sysdeps/unix/sysv/linux/kernel-features.h
44097 (__ASSUME_POSIX_CPU_TIMERS): Remove.
44098 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44099 [__NR_clock_getres]: Make code unconditional.
44100 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44101 (clock_getcpuclockid): Remove code left unreachable by removal of
44103 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44104 code unconditional.
44105 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44106 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44107 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44108 Make code unconditional.
44109 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44110 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44111 * sysdeps/unix/sysv/linux/clock_settime.c
44112 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44114 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44115 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44117 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
44120 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44121 scripts/test-installation.pl.
44123 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44124 and $ld_so_version if it is set.
44126 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44130 failure if reading from procfs failed.
44131 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44133 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44135 * sysdeps/unix/sysv/linux/kernel-features.h
44136 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44137 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44138 Remove conditional code.
44139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44140 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44141 Remove conditional code.
44142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44143 * sysdeps/unix/sysv/linux/i386/fxstat.c
44144 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44146 * sysdeps/unix/sysv/linux/i386/fxstatat.c
44147 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44149 * sysdeps/unix/sysv/linux/i386/lxstat.c
44150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44152 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44153 Remove conditional code.
44154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44155 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44156 Remove conditional code.
44157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44158 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44159 <kernel-features.h>.
44160 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44162 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44163 Remove conditional code.
44164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44165 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44166 Remove conditional.
44168 2012-08-27 Mike Frysinger <vapier@gentoo.org>
44171 * NEWS: Add fixed bug number.
44173 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44176 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44177 underflowing exponent in case of negative sign.
44178 * stdlib/tst-strtod-round-data: Add more tests.
44179 * stdlib/tst-strtod-round.c (tests): Regenerated.
44182 * stdlib/strtod_l.c (NDIG): Remove.
44183 (HEXNDIG): Likewise.
44184 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44185 smallest representable value.
44186 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44187 lie within an exact representation of 1/2 ulp of the result.
44188 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44190 (TENS_P9_IDX): Define unconditionally.
44191 (TENS_P9_SIZE): Likewise.
44192 (TENS_P10_IDX): Likewise.
44193 (TENS_P10_SIZE): Likewise.
44194 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44195 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44196 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44197 entries for 10^2^13 and 10^2^14.
44198 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44199 (TENS_P13_IDX): Define.
44200 (TENS_P13_SIZE): Likewise.
44201 (TENS_P14_IDX): Likewise.
44202 (TENS_P14_SIZE): Likewise.
44203 (_fpioconst_pow10): Change array size to
44204 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
44206 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44207 1024]: Add entries for 10^2^13 and 10^2^14.
44208 [LAST_POW10 > _LAST_POW10]: Remove #error.
44209 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44210 (_fpioconst_pow10): Change array size to
44211 FPIOCONST_POW10_ARRAY_SIZE.
44212 * stdlib/gen-fpioconst.c: New file.
44213 * stdlib/gen-tst-strtod-round.c: Likewise.
44214 * stdlib/tst-strtod-round-data: Likewise.
44215 * stdlib/tst-strtod-round.c: Likewise.
44216 * stdlib/Makefile (tests): Add tst-strtod-round.
44219 * stdlib/strtod_l.c: Include <stdint.h>.
44220 (NDEBUG): Do not define.
44221 (round_and_return): Change EXPONENT parameter to type intmax_t.
44222 Rearrange calculations to avoid internal overflow possibilities.
44223 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44224 Rearrange calculations to avoid internal overflow possibilities.
44225 Assert that number fits inside MPNSIZE limbs.
44226 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44227 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
44228 calculations and add assertions to avoid internal overflow
44229 possibilities. Add casts to avoid signed/unsigned operations.
44230 * stdlib/tst-strtod-overflow.c: New file.
44231 * stdlib/Makefile (tests): Add tst-strtod-overflow.
44233 2012-08-25 Marek Polacek <polacek@redhat.com>
44235 * time/time.h: Fix some typos in comments.
44237 2012-08-23 Roland McGrath <roland@hack.frob.com>
44239 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44240 * posix/tst-rfc3484-2.c: Likewise.
44241 * posix/tst-rfc3484-3.c: Likewise.
44243 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
44245 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44246 (EF_ARM_ABI_FLOAT_HARD): Likewise.
44248 2012-08-23 Joseph Myers <joseph@codesourcery.com>
44250 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44251 #include of fxstatat64.c.
44253 2012-08-22 Roland McGrath <roland@hack.frob.com>
44255 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44256 * shadow/getspent_r.c: Likewise.
44257 * shadow/getspnam.c: Likewise.
44258 * shadow/getspnam_r.c: Likewise.
44259 * gshadow/getsgent.c: Likewise.
44260 * gshadow/getsgent_r.c: Likewise.
44261 * gshadow/getsgnam.c: Likewise.
44262 * gshadow/getsgnam_r.c: Likewise.
44263 * inet/getnetbyad.c: Likewise.
44264 * inet/getnetbyad_r.c: Likewise.
44265 * inet/getnetbynm.c: Likewise.
44266 * inet/getnetbynm_r.c: Likewise.
44267 * inet/getnetent.c: Likewise.
44268 * inet/getnetent_r.c: Likewise.
44269 * inet/getproto.c: Likewise.
44270 * inet/getproto_r.c: Likewise.
44271 * inet/getprtent.c: Likewise.
44272 * inet/getprtent_r.c: Likewise.
44273 * inet/getprtname.c: Likewise.
44274 * inet/getprtname_r.c: Likewise.
44275 * inet/getrpcbyname.c: Likewise.
44276 * inet/getrpcbyname_r.c: Likewise.
44277 * inet/getrpcbynumber.c: Likewise.
44278 * inet/getrpcbynumber_r.c: Likewise.
44279 * inet/getrpcent.c: Likewise.
44280 * inet/getrpcent_r.c: Likewise.
44281 * inet/getaliasent.c: Likewise.
44282 * inet/getaliasent_r.c: Likewise.
44283 * inet/getaliasname.c: Likewise.
44284 * inet/getaliasname_r.c: Likewise.
44285 * nscd/getgrgid_r.c: Likewise.
44286 * nscd/getgrnam_r.c: Likewise.
44287 * nscd/gethstbyad_r.c: Likewise.
44288 * nscd/gethstbynm3_r.c: Likewise.
44289 * nscd/getpwnam_r.c: Likewise.
44290 * nscd/getpwuid_r.c: Likewise.
44291 * nscd/getsrvbynm_r.c: Likewise.
44292 * nscd/getsrvbypt_r.c: Likewise.
44293 * nscd/gai.c: Likewise.
44295 * configure.in (build_nscd): New substituted variable, set
44296 by --disable-build-nscd and defaults to $use_nscd.
44297 * configure: Regenerated.
44298 * config.make.in (build-nscd): New substituted variable.
44299 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44300 Change conditional to require [$(build-nscd) = yes] as well.
44301 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44304 * configure.in (use_nscd): New substituted variable, set by
44305 --disable-nscd. If enabled, define USE_NSCD.
44306 * configure: Regenerated.
44307 * config.h.in: Add USE_NSCD.
44308 * config.make.in (use-nscd): New substituted variable.
44309 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44310 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44311 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44312 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44313 (CFLAGS-getgrnam_r.c): Likewise.
44314 (CFLAGS-initgroups.c): Likewise.
44315 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44316 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44318 * inet/getnetgrent_r.c
44319 (nscd_setnetgrent): New function, broken out of ...
44320 (setnetgrent): ... here. Call it.
44321 (innetgr): Conditionalize nscd bits on [USE_NSCD].
44322 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44323 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44324 * nscd/Makefile (routines, aux): Move definitions after include of
44325 Makeconfig. Conditionalize on [$(use-nscd) != no].
44326 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44327 Conditionalize on [USE_NSCD].
44328 (is_nscd, nscd_init_cb): Likewise.
44329 (nss_load_library): Conditionalize init callback on [USE_NSCD].
44330 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44331 * nss/nss_db/db-init.c: Likewise.
44332 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44334 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44335 (make_request): Use it.
44336 (cache_valid_p): New function.
44337 (__check_pf): Use it.
44338 * NEWS: Add item for --disable-nscd.
44340 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
44342 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44343 to support sed >= 4.2.1-20-ga9bf076.
44344 * configure: Regenerated.
44346 2012-08-22 Roland McGrath <roland@hack.frob.com>
44348 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44349 Conditionalize whole body on [IREL].
44351 2012-08-22 Jeff Law <law@redhat.com>
44354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44355 if the family is PF_UNSPEC.
44357 2012-08-22 Mike Frysinger <vapier@gentoo.org>
44359 * Makerules (lib-version): Rename from V.
44360 (install-lib-nosubdir): Change V to lib-version.
44362 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
44365 * powerpc32/power6/wcschr.c: New file.
44366 * powerpc32/power6/wcscpy.c: New file.
44367 * powerpc32/power6/wcsrchr.c: New file.
44368 * powerpc64/power6/wcschr.c: New file.
44369 * powerpc64/power6/wcscpy.c: New file.
44370 * powerpc64/power6/wcsrchr.c: New file.
44372 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44374 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44375 (two_way_short_needle): Use it.
44376 * string/strstr.c (AVAILABLE1_USES_J): Define.
44377 * string/strcasestr.c: Likewise.
44379 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44381 * string/strcasestr.c (TOLOWER): Make side-effect safe.
44384 * NEWS: Add an entry.
44385 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44386 define their defaults.
44387 (two_way_short_needle): Detect end-of-string on-the-fly.
44388 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44389 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44390 * string/bug-strcasestr1.c: New test.
44391 * string/Makefile: Run it.
44393 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44396 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44397 the first character.
44399 2012-08-21 Roland McGrath <roland@hack.frob.com>
44401 * csu/elf-init.c (__libc_csu_irel): Function removed.
44402 * csu/libc-start.c (apply_irel): New function.
44403 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44405 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44407 * sysdeps/unix/sysv/linux/kernel-features.h
44408 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44409 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44410 <kernel-features.h>.
44411 [__NR_fadvise64_64]: Make code unconditional.
44412 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44413 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44414 !__NR_fadvise64_64)]: Likewise.
44415 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44416 !__NR_fadvise64_64))]: Likewise.
44417 [__NR_fadvise64]: Make code unconditional.
44418 [!__NR_fadvise64]: Remove conditional code.
44419 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44420 <kernel-features.h>.
44421 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44423 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44426 not include <kernel-features.h>.
44427 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44429 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44431 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44432 include <kernel-features.h>.
44433 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44435 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44438 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44441 slight instruction rearrangements per scrollpipe analysis.
44442 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44444 2012-08-20 Roland McGrath <roland@hack.frob.com>
44446 * manual/syslog.texi (syslog; vsyslog, closelog):
44447 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44448 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44450 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44451 DSOCAPS to match condition on defining it.
44453 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44455 * sysdeps/unix/sysv/linux/kernel-features.h
44456 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44458 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44459 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44461 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44462 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44467 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44468 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44470 * sysdeps/unix/sysv/linux/kernel-features.h
44471 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44472 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44474 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44475 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44476 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44477 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44478 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44479 Make code unconditional.
44480 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44481 (__mmap64) [!__NR_mmap2]: Likewise.
44482 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44483 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44484 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44485 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44486 [__NR_mmap2]: Make code unconditional.
44487 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44488 (__mmap64) [!__NR_mmap2]: Likewise.
44490 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44492 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44494 2012-08-18 Andreas Jaeger <aj@suse.de>
44496 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44498 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44500 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44501 * include/unistd.h (__have_sock_cloexec): Likewise.
44502 (__have_pipe2): Likewise.
44503 (__have_dup3): Likewise.
44505 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44508 * include/unistd.h (__have_pipe2): Change define into an extern int.
44509 (__have_dup3): Likewise.
44510 * socket/have_sock_cloexec.c: Include fcntl.h.
44511 (__have_pipe2): New variable.
44512 (__have_dup3): Likewise.
44514 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44516 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44518 2012-08-17 Marek Polacek <polacek@redhat.com>
44520 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44521 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44523 2012-08-17 Roland McGrath <roland@hack.frob.com>
44525 * configure.in: Add AC_SUBST for sysheaders.
44526 * configure: Regenerated.
44527 * config.make.in (sysheaders): New substituted variable.
44529 * sysdeps/unix/mkfifo.c: Moved ...
44530 * sysdeps/posix/mkfifo.c: ... here.
44531 * sysdeps/unix/mkfifoat.c: Moved ...
44532 * sysdeps/posix/mkfifoat.c: ... here.
44534 * sysdeps/unix/utime.c: Moved ...
44535 * sysdeps/posix/utime.c: ... here.
44537 * sysdeps/unix/time.c: Moved ...
44538 * sysdeps/posix/time.c: ... here.
44539 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44540 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44542 * sysdeps/unix/nice.c: Moved ...
44543 * sysdeps/posix/nice.c: ... here.
44545 * sysdeps/unix/alarm.c: Moved ...
44546 * sysdeps/posix/alarm.c: ... here.
44548 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44550 2012-08-17 Jeff Law <law@redhat.com>
44552 * intl/Makefile (codeset_mo): New variable.
44553 ($(codeset_mo)): New target.
44554 (tst-codeset.out): Depend on that. Remove explicit rule.
44555 (tst-gettext3.out, tst-gettext5.out): Likewise.
44556 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44557 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44558 * intl/tst-codeset.sh: Remove.
44559 * intl/tst-gettext3.sh: Likewise.
44560 * intl/tst-gettext5.sh: Likewise.
44562 2012-08-17 Roland McGrath <roland@hack.frob.com>
44564 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44565 * sysdeps/unix/syscalls.list: ... here.
44567 * sysdeps/posix/getaddrinfo.c
44568 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44569 (gaiconf_init, gaiconf_reload): Use them.
44570 [!_STATBUF_ST_NSEC]
44571 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44572 Define using time_t rather than struct timespec.
44574 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44575 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44577 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44579 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44580 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44583 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44584 __libc_cleanup_push argument.
44586 * bits/param.h: New file.
44587 * misc/sys/param.h: New file.
44588 * include/sys/param.h: New file.
44589 * misc/Makefile (headers): Add bits/param.h.
44590 * sysdeps/generic/sys/param.h: File removed.
44591 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44592 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44593 * sysdeps/mach/hurd/bits/param.h: New file.
44594 * sysdeps/mach/hurd/sys/param.h: File removed.
44596 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44599 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44601 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44602 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44605 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44606 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44607 rather than -D_IO_MTSAFE_IO conditionally.
44608 * stdio-common/Makefile (CPPFLAGS): Likewise.
44609 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44610 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44611 Use $(libio-mtsafe).
44612 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44613 of -D_IO_MTSAFE_IO.
44614 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44615 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44616 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44617 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44618 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44619 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44620 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44621 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44622 (CFLAGS-fread_u_chk.c): Likewise.
44623 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44624 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44625 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44626 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44627 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44628 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44629 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44630 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44631 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44633 * libio/Makefile: Test [$(libc-reentrant) = yes]
44634 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44637 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44638 * sysdeps/pthread/configure: File removed.
44639 * sysdeps/pthread/Makeconfig: New file.
44640 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44641 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44643 2012-08-16 Gary Benson <gbenson@redhat.com>
44645 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44646 unmapping the first object in a namespace.
44648 2012-08-16 Roland McGrath <roland@hack.frob.com>
44650 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44651 (__internal_setnetgrent): ... this. Add internal_function to
44652 definition. Add libc_hidden_def.
44653 (setnetgrent): Update caller.
44654 (internal_endnetgrent): Renamed to ...
44655 (__internal_endnetgrent): ... this. Add internal_function to
44656 definition. Add libc_hidden_def.
44657 (endnetgrent): Update caller.
44658 (internal_getnetgrent_r): Renamed to ...
44659 (__internal_getnetgrent_r): ... this. Add internal_function to
44660 definition. Add libc_hidden_def.
44661 (__getnetgrent_r): Update caller.
44662 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44664 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44666 * stdlib/longlong.h: Update from GCC.
44668 2012-08-16 Roland McGrath <roland@hack.frob.com>
44670 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44671 on _QL, which is set by umul_ppmm but never used.
44672 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44673 variables, which are set by GMP macros but never used.
44674 * stdio-common/_itowa.c (_itowa): Likewise.
44675 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44676 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44678 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44680 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44681 struct La_sh_regs is not constant.
44682 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44683 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44684 and struct La_sparc64_regs are not constant.
44686 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44688 * sysdeps/unix/sysv/linux/kernel-features.h
44689 (__ASSUME_POSIX_TIMERS): Remove.
44690 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44691 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44692 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44693 Make code unconditional.
44694 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44695 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44696 Make code unconditional.
44697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44698 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44699 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44701 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44702 Make code unconditional.
44703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44704 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44705 (__libc_missing_posix_timers): Remove.
44707 2012-08-15 Roland McGrath <roland@hack.frob.com>
44709 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44710 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44712 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44714 * elf/dl-sym.c: Include <stdlib.h>.
44716 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44717 constants, which avoids warnings in 32-bit builds.
44719 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44720 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44722 * misc/lseek.c: File moved to ...
44723 * io/lseek.c: ... here.
44725 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44727 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44728 shifting LEN more than 31 bits at once.
44730 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44733 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44734 segmentation fault for a case of two empty input strings.
44735 * string/test-strncasecmp.c (check1): Renamed to...
44736 (bz12205): ...this.
44737 (bz14195): Add new testcase for two empty input strings and N > 0.
44738 (test_main): Call new testcase, adapt for renamed function.
44740 2012-08-15 Andreas Jaeger <aj@suse.de>
44743 * crypt/md5test2.c: New test, based on test supplied by Serge
44744 Belyshev <belyshev@depni.sinp.msu.ru>.
44745 * crypt/Makefile (xtests): Add md5test-giant..
44746 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44748 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44751 * crypt/md5.c (md5_process_block): Don't assume the buffer
44752 length is less than 2**32.
44753 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44754 length is less than 2**64.
44756 2012-08-15 Roland McGrath <roland@hack.frob.com>
44758 * string/str-two-way.h: Include <sys/param.h>.
44759 (MAX): Macro removed.
44761 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44762 Move #define and #undef of memmove to just before and after
44763 including <string.h>.
44765 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44766 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44767 and after including <string.h>. Move declarations of
44768 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44769 to before #include "string/memmove.c".
44771 * include/dirent.h: Declare __getdirentries.
44773 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44774 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44776 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44778 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44779 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44780 * sysdeps/i386/configure: Regenerated.
44781 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44782 STABS_CURRENT_FILE, and STABS_FUN.
44783 (END): Remove call to STABS_FUN_END.
44784 (STABS_CURRENT_FILE1): Delete.
44785 (STABS_CURRENT_FILE): Likewise.
44786 (STABS_FUN): Likewise.
44787 (STABS_FUN_END): Likewise.
44788 (STABS_FUN2): Likewise.
44789 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44790 * sysdeps/x86_64/configure: Regenerated.
44792 2012-08-14 Roland McGrath <roland@hack.frob.com>
44794 * elf/dl-open.c: Include <atomic.h>.
44795 * elf/dl-lookup.c: Likewise.
44797 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44799 * sysdeps/unix/sysv/linux/kernel-features.h
44800 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44801 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44803 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44805 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44806 condition on __ASSUME_CLONE_THREAD_FLAGS.
44808 2012-08-14 Andreas Jaeger <aj@suse.de>
44810 * sysdeps/i386/fpu/libm-test-ulps: Update.
44812 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44814 * include/atomic.h (atomic_exchange_and_add): Split into ...
44815 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44818 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44822 2012-08-13 Jeff Law <law@redhat.com>
44824 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44825 null byte in the output string.
44827 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44829 * sysdeps/unix/sysv/linux/kernel-features.h
44830 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44831 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44832 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44834 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44835 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44836 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44838 2012-08-09 Jeff Law <law@redhat.com>
44841 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44842 When avoid_arena is set, don't retry in the that arena. Pick the
44843 next one, whatever it might be.
44844 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44845 (arena_lock): Pass in new parameter to arena_get2.
44846 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44848 (__libc_malloc): Unify retrying after main arena failure with
44849 __libc_memalign version.
44850 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44852 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44855 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44856 to __redirect_strstr.
44857 (__strstr_sse42): Use typeof __redirect_strstr.
44858 (__strstr_ia32): Likewise.
44859 (__libc_strstr): New prototype.
44860 (strstr): Renamed to ...
44861 (__libc_strstr): This.
44862 (strstr): New strong alias of __libc_strstr.
44863 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44864 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44867 (__libc_time): New prototype.
44868 (time_ifunc): Replace time with __libc_time.
44869 (time): New strong alias and hidden definition of __libc_time.
44870 (__GI_time): Remove strong alias.
44871 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44872 Include <stddef.h>.
44873 (memmove): Redefined to __redirect_memmove.
44874 (__memmove_sse2): Use typeof __redirect_memmove.
44875 (__memmove_ssse3): Likewise.
44876 (__memmove_ssse3_back): Likewise.
44877 (__libc_memmove): New prototype.
44878 (memmove): Renamed to ...
44879 (__libc_memmove): This.
44880 (memmove): New strong alias of __libc_memmove.
44882 2012-08-08 Mark Salter <msalter@redhat.com>
44885 (R_MN10300_TLS_GD): Define.
44886 (R_MN10300_TLS_LD): Likewise.
44887 (R_MN10300_TLS_LDO): Likewise.
44888 (R_MN10300_TLS_GOTIE): Likewise.
44889 (R_MN10300_TLS_IE): Likewise.
44890 (R_MN10300_TLS_LE): Likewise.
44891 (R_MN10300_TLS_DTPMOD): Likewise.
44892 (R_MN10300_TLS_DTPOFF): Likewise.
44893 (R_MN10300_TLS_TPOFF): Likewise.
44894 (R_MN10300_SYM_DIFF): Likewise.
44895 (R_MN10300_ALIGN): Likewise.
44896 (R_MN10300_NUM): Update.
44898 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44903 2012-08-08 Roland McGrath <roland@hack.frob.com>
44905 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44907 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44908 sysdeps/unix -> sysdeps/posix move.
44909 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44911 2012-08-07 Allan McRae <allan@archlinux.org>
44914 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44915 (SUNOS_CPP): Likewise.
44916 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44918 (open_input): Call CPP using execvp.
44920 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44922 * sysdeps/unix/sysv/linux/kernel-features.h
44923 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44924 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44925 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44926 (__ASSUME_WAITID_SYSCALL): Likewise.
44927 * sysdeps/unix/sysv/linux/dl-execstack.c
44928 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44929 code unconditional.
44930 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44932 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44933 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44934 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44936 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44938 [__ASSUME_WAITID_SYSCALL]: Likewise.
44939 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44941 2012-08-07 Roland McGrath <roland@hack.frob.com>
44943 * sysdeps/unix/closedir.c: Renamed to ...
44944 * sysdeps/posix/closedir.c: ... here.
44945 * sysdeps/unix/dirfd.c: Renamed to ...
44946 * sysdeps/posix/dirfd.c: ... here.
44947 * sysdeps/unix/dirstream.h: Renamed to ...
44948 * sysdeps/posix/dirstream.h: ... here.
44949 * sysdeps/unix/fdopendir.c: Renamed to ...
44950 * sysdeps/posix/fdopendir.c: ... here.
44951 * sysdeps/unix/opendir.c: Renamed to ...
44952 * sysdeps/posix/opendir.c: ... here.
44953 * sysdeps/unix/readdir.c: Renamed to ...
44954 * sysdeps/posix/readdir.c: ... here.
44955 * sysdeps/unix/readdir_r.c: Renamed to ...
44956 * sysdeps/posix/readdir_r.c: ... here.
44957 * sysdeps/unix/rewinddir.c: Renamed to ...
44958 * sysdeps/posix/rewinddir.c: ... here.
44959 * sysdeps/unix/seekdir.c: Renamed to ...
44960 * sysdeps/posix/seekdir.c: ... here.
44961 * sysdeps/unix/telldir.c: Renamed to ...
44962 * sysdeps/posix/telldir.c: ... here.
44963 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44964 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44965 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44966 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44968 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44969 * bits/fcntl.h: ... here.
44971 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44973 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44974 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44975 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44976 (struct flock): Move l_start, l_len to the beginning.
44977 Use __pid_t for l_pid.
44978 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44979 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44980 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44981 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44982 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44983 [__USE_LARGEFILE64] (struct flock64): New type.
44984 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44986 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44987 * bits/dirent.h: ... here.
44989 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44990 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44992 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44994 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44995 Change from 2.6.0 to 2.6.16.
44996 * sysdeps/unix/sysv/linux/configure: Regenerated.
44997 * sysdeps/unix/sysv/linux/kernel-features.h
44998 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44999 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45001 (__ASSUME_UTIMES): Likewise.
45002 (__ASSUME_CLONE_STOPPED): Remove.
45003 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45004 architectures, not kernel version.
45005 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45006 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45007 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45008 (__ASSUME_WAITID_SYSCALL): Likewise.
45009 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45010 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45011 * README: State 2.6.16 as minimum Linux kernel version. Do not
45012 refer to older versions.
45014 2012-08-06 Roland McGrath <roland@hack.frob.com>
45016 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45017 Define alphasort64 as an alias.
45018 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45019 Define versionsort64 as an alias.
45020 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45021 Define scandir64 as an alias.
45022 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45023 Define scandirat64 as an alias.
45024 * dirent/alphasort64.c (alphasort64):
45025 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45026 * dirent/versionsort64.c: Likewise.
45027 * dirent/scandir64.c: Likewise.
45028 * dirent/scandirat64.c: Likewise.
45029 * sysdeps/wordsize-64/alphasort.c: File removed.
45030 * sysdeps/wordsize-64/alphasort64.c: File removed.
45031 * sysdeps/wordsize-64/scandir.c: File removed.
45032 * sysdeps/wordsize-64/scandir64.c: File removed.
45033 * sysdeps/wordsize-64/scandirat.c: File removed.
45034 * sysdeps/wordsize-64/scandirat64.c: File removed.
45035 * sysdeps/wordsize-64/versionsort.c: File removed.
45036 * sysdeps/wordsize-64/versionsort64.c: File removed.
45037 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45039 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45040 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45041 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45042 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45043 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45044 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45046 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45048 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45050 [defined __arch64__ || defined __sparcv9]
45051 (__INO_T_MATCHES_INO64_T): New macro.
45052 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45053 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45054 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45055 * sysdeps/unix/sysv/linux/bits/dirent.h
45056 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45057 (_DIRENT_MATCHES_DIRENT64): New macro.
45059 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45060 Define lockf64 as an alias.
45061 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45062 Define fseeko64 as an alias.
45063 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45064 Define ftello64 as an alias.
45065 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45066 Define _IO_fgetpos64 and fgetpos64 as aliases.
45067 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45068 Define _IO_fsetpos64 and fsetpos64 as aliases.
45069 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45070 Conditionalize body on this.
45071 * libio/fseeko64.c: Likewise.
45072 * libio/ftello64.c: Likewise.
45073 * libio/iofgetpos64.c: Likewise.
45074 * libio/iofsetpos64.c: Likewise.
45075 * sysdeps/wordsize-64/lockf.c: File removed.
45076 * sysdeps/wordsize-64/lockf64.c: File removed.
45077 * sysdeps/wordsize-64/fseeko.c: File removed.
45078 * sysdeps/wordsize-64/fseeko64.c: File removed.
45079 * sysdeps/wordsize-64/ftello.c: File removed.
45080 * sysdeps/wordsize-64/ftello64.c: File removed.
45081 * sysdeps/wordsize-64/iofgetpos.c: File removed.
45082 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45083 * sysdeps/wordsize-64/iofsetpos.c: File removed.
45084 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45086 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45087 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45088 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45089 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45090 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45093 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45096 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45098 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45099 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45100 [defined __arch64__ || defined __sparcv9]
45101 (__OFF_T_MATCHES_OFF64_T): New macro.
45102 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45103 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45105 (__OFF_T_MATCHES_OFF64_T): New macro.
45107 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45109 * stdlib/secure-getenv.c (__secure_getenv): Replace
45110 GLIBC_2_16 with GLIBC_2_17.
45112 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45114 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45115 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45117 2012-08-03 David S. Miller <davem@davemloft.net>
45119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45121 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45123 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45125 (__ASSUME_CORRECT_SI_PID): Likewise.
45126 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45127 (__ASSUME_TMPFS_NAME): Likewise.
45128 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45129 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45130 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45131 (HAVE_AUX_SECURE): Make definition unconditional.
45132 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45133 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45135 2012-08-03 Roland McGrath <roland@hack.frob.com>
45137 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45138 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45139 * sysdeps/mach/hurd/eloop-threshold.h: New file.
45140 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45141 __eloop_threshold instead of SYMLOOP_MAX.
45143 * sysdeps/generic/eloop-threshold.h: New file.
45144 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45146 * elf/chroot_canon.c (chroot_canon): Likewise.
45148 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45151 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45152 Change to 2.6.0 everywhere.
45153 * sysdeps/unix/sysv/linux/configure: Regenerated.
45154 * sysdeps/unix/sysv/linux/kernel-features.h
45155 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45156 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45158 (__ASSUME_POSIX_TIMERS): Define unconditionally.
45159 (__ASSUME_FUTEX_REQUEUE): Remove.
45160 (__ASSUME_STATFS64): Define unconditionally.
45161 (__ASSUME_AT_SECURE): Likewise.
45162 (__ASSUME_CORRECT_SI_PID): Likewise.
45163 (__ASSUME_TGKILL): Define without depending on kernel version for
45165 (__ASSUME_UTIMES): Likewise.
45166 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45168 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45169 (__ASSUME_TMPFS_NAME): Likewise.
45170 * README: Update reference to Linux kernel versions.
45172 2012-08-02 Marek Polacek <polacek@redhat.com>
45175 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
45176 libc_cv_asm_type_prefix with %.
45177 * configure: Regenerated.
45178 * include/libc-symbols.h: Remove comment about
45179 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45180 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45181 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45182 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45183 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45184 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45185 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45186 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45187 * elf/tst-unique2mod1.c: Likewise.
45188 * elf/tst-unique1mod2.c: Likewise.
45189 * elf/tst-unique1mod1.c: Likewise.
45190 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45191 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45192 Replace ASM_TYPE_DIRECTIVE with .type.
45193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45194 * sysdeps/i386/sysdep.h: Likewise.
45195 * sysdeps/x86_64/sysdep.h: Likewise.
45196 * sysdeps/sh/sysdep.h: Likewise.
45197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45198 Do not define ASM_TYPE_DIRECTIVE.
45199 * sysdeps/powerpc/sysdep.h: Likewise.
45200 * sysdeps/powerpc/powerpc32/sysdep.h:
45201 Replace ASM_TYPE_DIRECTIVE with .type.
45202 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45203 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45204 * sysdeps/i386/fpu/e_powf.S: Likewise.
45205 * sysdeps/i386/fpu/e_expl.S: Likewise.
45206 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45207 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45208 * sysdeps/i386/fpu/e_pow.S: Likewise.
45209 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45210 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45211 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45212 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45213 * sysdeps/i386/fpu/e_log2.S: Likewise.
45214 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45215 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45216 * sysdeps/i386/fpu/e_powl.S: Likewise.
45217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45218 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45219 * sysdeps/i386/fpu/e_logl.S: Likewise.
45220 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45221 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45222 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45223 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45224 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45225 * sysdeps/i386/fpu/e_log.S: Likewise.
45226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45227 * sysdeps/i386/fpu/e_logf.S: Likewise.
45228 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45229 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45230 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45231 * sysdeps/i386/fpu/e_log10.S: Likewise.
45232 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45234 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45235 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45236 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45238 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45239 * sysdeps/i386/i686/strtok.S: Likewise.
45240 * sysdeps/i386/i386-mcount.S: Likewise.
45241 * sysdeps/i386/strtok.S: Likewise.
45242 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45244 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45245 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45246 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45251 * sysdeps/x86_64/_mcount.S: Likewise.
45252 * sysdeps/x86_64/strtok.S: Likewise.
45253 * sysdeps/sh/_mcount.S: Likewise.
45255 2012-08-01 Roland McGrath <roland@hack.frob.com>
45257 * libio/iofopen.c: Include <fcntl.h>.
45258 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45259 (_IO_fopen64, fopen64): Define as aliases.
45260 * libio/iofopen64.c: Include <fcntl.h>.
45261 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45262 Conditionalize body on this.
45263 * sysdeps/wordsize-64/iofopen.c: File removed.
45264 * sysdeps/wordsize-64/iofopen64.c: File removed.
45266 2012-08-01 Marek Polacek <polacek@redhat.com>
45268 * libc/Makeconfig: Use elf in place of binfmt-subdir.
45269 Use dlfcn directly instead of a variable.
45270 (binfmt-subdir): Do not define.
45273 2012-08-01 Joseph Myers <joseph@codesourcery.com>
45275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45276 Remove all definitions.
45277 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45278 <kernel-features.h>.
45279 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45280 (miss_F_GETOWN_EX): Remove all definitions.
45281 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45283 [!__ASSUME_FCNTL64]: Remove conditional code.
45284 [__ASSUME_FCNTL64]: Make code unconditional.
45285 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45286 <kernel-features.h>.
45287 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45288 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45289 (lockf64) [__NR_fcntl64]: Make code unconditional.
45290 (lockf64) [__ASSUME_FCNTL64]: Likewise.
45292 * sysdeps/unix/sysv/linux/kernel-features.h
45293 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45294 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45295 Make code unconditional.
45296 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45297 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45299 [__NR_vfork]: Make code unconditional.
45300 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45301 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45303 [__NR_vfork]: Make code unconditional.
45304 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45305 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45307 2012-08-01 Roland McGrath <roland@hack.frob.com>
45309 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45310 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45312 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45313 Define mkstemp64 as an alias.
45314 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45315 Define mkstemps64 as an alias.
45316 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45317 Define mkostemp64 as an alias.
45318 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45319 Define mkostemps64 as an alias.
45320 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45321 Conditionalize body on this.
45322 * misc/mkostemp64.c: Likewise.
45323 * misc/mkostemps64.c: Likewise.
45324 * misc/mkstemps64.c: Likewise.
45325 * sysdeps/wordsize-64/mkstemp64.c: File removed.
45326 * sysdeps/wordsize-64/mkostemp64.c: File removed.
45327 * sysdeps/wordsize-64/mkostemp.c: File removed.
45328 * sysdeps/wordsize-64/mkstemp.c: File removed.
45329 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45330 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45331 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45335 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45336 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45337 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45338 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45340 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45341 compat_symbol macros from <shlib-compat.h> rather than the underlying
45342 default_symbol_version and symbol_version macros, so that DEFAULT
45343 lines in shlib-versions are respected.
45344 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45346 2012-08-01 Florian Weimer <fweimer@redhat.com>
45348 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45349 Declare with warn_unused_result.
45350 (setgid, setregid, setegid, setresgid): Likewise.
45351 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45353 * WUR-REPORT: Remove set*id functions.
45355 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
45357 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45359 2012-07-31 Roland McGrath <roland@hack.frob.com>
45362 * include/sys/socket.h (__libc_accept, __libc_accept4):
45363 Add attribute_hidden.
45364 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45366 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45368 * inet/getnetgrent_r.c (setup): Likewise.
45370 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45372 2012-07-31 David S. Miller <davem@davemloft.net>
45374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45376 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45379 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45380 value between 1.0 and 2.0 and smaller part has absolute value less
45382 * math/s_clog10.c (__clog10): Likewise.
45383 * math/s_clog10f.c (__clog10f): Likewise.
45384 * math/s_clog10l.c (__clog10l): Likewise.
45385 * math/s_clogf.c (__clogf): Likewise.
45386 * math/s_clogl.c (__clogl): Likewise.
45387 * math/libm-test.inc (clog_test): Add more tests.
45388 (clog10_test): Likewise.
45389 * sysdeps/i386/fpu/libm-test-ulps: Update.
45390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45392 2012-07-31 Florian Weimer <fweimer@redhat.com>
45394 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45395 Exit with zero in case no suitable GID is found, and write a
45396 message to standard error.
45398 2012-07-30 Roland McGrath <roland@hack.frob.com>
45400 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45402 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45403 (MAXPATHLEN): Removed.
45404 (NOGROUP, NODEV): New macros.
45405 (setbit, clrbit, isset, isclr): New macros.
45406 (howmany, roundup, powerof2): New macros.
45407 (DEV_BSIZE): New macro.
45409 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45410 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45412 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45413 definition on [!__NO_LONG_DOUBLE_MATH].
45415 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45416 PTR_MANGLE and PTR_DEMANGLE.
45418 * socket/accept4.c (accept4): Rename to __libc_accept4.
45419 Define accept4 as a weak alias.
45421 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45422 on [_DIRENT_HAVE_D_TYPE].
45423 * io/ftw.c (ftw_dir): Likewise.
45425 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45427 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45429 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45430 Use the BSD numbers rather than the arbitrary ones we had.
45431 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45432 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45433 (SIGXCPU, SIGXFSZ): New macros.
45436 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45437 initializer on [_LIBC_REENTRANT].
45439 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45440 definitions inside [_POSIX_MAPPED_FILES].
45442 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45444 * dirent/opendir.c: Include <fcntl.h>.
45446 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45447 (__libc_getspecific): Likewise.
45448 (__libc_key_create): Likewise.
45450 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45451 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45452 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45453 (tmpfile64): Define as alias.
45454 * sysdeps/wordsize-64/tmpfile.c: File removed.
45455 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45456 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45459 * stdio-common/vfscanf.c: Include <stdbool.h>.
45460 * nss/makedb.c: Likewise.
45461 * stdio-common/_i18n_number.h: Likewise.
45462 * argp/argp-help.c: Likewise.
45463 * posix/wordexp.c: Likewise.
45464 * sysdeps/posix/spawni.c: Likewise.
45465 * nss/nss_files/files-initgroups.c: Likewise.
45466 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45467 * nss/nss_files/files-initgroups.c: Likewise.
45468 * nss/nss_db/db-netgrp.c: Likewise.
45469 * nss/nss_db/db-initgroups.c: Likewise.
45470 * io/fchmodat.c: Include <sys/stat.h>.
45472 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45473 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45475 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45478 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45479 Add multiple inclusion protection.
45481 2012-07-27 David S. Miller <davem@davemloft.net>
45483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45485 2012-07-27 Gary Benson <gbenson@redhat.com>
45488 * elf/rtld.c: Include <stap-probe.h>.
45489 (dl_main): Added static probes "init_start" and "init_complete".
45490 * elf/dl-load.c: Include <stap-probe.h>.
45491 (lose): Take new parameter "nsid".
45492 Added static probe "map_failed".
45493 (_dl_map_object_from_fd): Pass namespace id to lose.
45494 Added static probe "map_start".
45495 (open_verify): Pass namespace id to lose.
45496 * elf/dl-open.c: Include <stap-probe.h>.
45497 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45498 and "reloc_complete".
45499 * elf/dl-close.c: Include <stap-probe.h>.
45500 (_dl_close_worker): Added static probes "unmap_start" and
45502 * elf/rtld-debugger-interface.txt: New file documenting the above.
45504 2012-07-26 Roland McGrath <roland@hack.frob.com>
45506 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45507 rather than a string variable.
45508 * sunrpc/rpc_main.c (h_output): Likewise.
45509 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45511 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45513 * inet/check_native.c: New file.
45515 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45518 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45519 if larger part has absolute value 1.0.
45520 * math/s_clog10.c (__clog10): Likewise.
45521 * math/s_clog10f.c (__clog10f): Likewise.
45522 * math/s_clog10l.c (__clog10l): Likewise.
45523 * math/s_clogf.c (__clogf): Likewise.
45524 * math/s_clogl.c (__clogl): Likewise.
45525 * math/libm-test.inc (clog_test): Add more tests.
45526 (clog10_test): Likewise.
45527 * sysdeps/i386/fpu/libm-test-ulps: Update.
45528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45530 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45531 (pltexit): Likewise.
45532 (La_regs): Likewise.
45533 (La_retval): Likewise.
45534 (int_retval): Likewise.
45535 Update #error for removed macros to refer only to definitions in
45537 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45539 (pltexit): Likewise.
45540 (La_regs): Likewise.
45541 (La_retval): Likewise.
45542 (int_retval): Likewise.
45543 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45545 (pltexit): Likewise.
45546 (La_regs): Likewise.
45547 (La_retval): Likewise.
45548 (int_retval): Likewise.
45549 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45551 (pltexit): Likewise.
45552 (La_regs): Likewise.
45553 (La_retval): Likewise.
45554 (int_retval): Likewise.
45555 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45557 (pltexit): Likewise.
45558 (La_regs): Likewise.
45559 (La_retval): Likewise.
45560 (int_retval): Likewise.
45561 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45563 (pltexit): Likewise.
45564 (La_regs): Likewise.
45565 (La_retval): Likewise.
45566 (int_retval): Likewise.
45567 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45569 (pltexit): Likewise.
45570 (La_regs): Likewise.
45571 (La_retval): Likewise.
45572 (int_retval): Likewise.
45573 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45574 macro definitions in tst-audit.h.
45575 * sysdeps/i386/tst-audit.h: New file.
45576 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45577 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45578 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45579 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45580 * sysdeps/sh/tst-audit.h: Likewise.
45581 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45582 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45583 * sysdeps/x86_64/tst-audit.h: Likewise.
45585 2012-07-26 Andreas Jaeger <aj@suse.de>
45587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45590 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45591 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45592 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45594 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45595 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45596 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45598 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45601 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45603 (si_call_addr, si_syscall, si_arch): Define new macro.
45604 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45606 (si_call_addr, si_syscall, si_arch): Define new marcro.
45607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45609 (si_call_addr, si_syscall, si_arch): Define new macro.
45610 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45612 (si_call_addr, si_syscall, si_arch): Define new macro.
45614 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45618 Change to 2.4.21 where previously 2.4.1.
45619 * sysdeps/unix/sysv/linux/configure: Regenerated.
45620 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45621 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45622 Linux kernel version.
45623 (__ASSUME_STD_AUXV): Remove.
45624 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45626 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45627 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45628 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45629 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45630 (__ASSUME_NETLINK_SUPPORT): Likewise.
45631 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45632 (__no_netlink_support): Remove conditional definition.
45633 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45635 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45636 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45637 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45638 (if_nameindex_ioctl): Remove.
45639 (if_nameindex_netlink): Do not handle __no_netlink_support.
45640 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45642 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45643 Remove conditional code.
45644 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45646 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45648 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45649 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45650 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45652 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45653 [!__ASSUME_STD_AUXV]: Remove conditional code.
45654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45655 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45656 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45658 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45659 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45661 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45663 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45664 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45666 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45668 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45671 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45674 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45675 code unconditional.
45676 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45678 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45680 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45683 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45685 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45688 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45689 code unconditional.
45690 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45692 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45694 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45697 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45698 code unconditional.
45699 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45701 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45703 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45706 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45708 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45709 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45710 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45711 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45712 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45713 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45714 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45715 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45716 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45717 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45718 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45719 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45720 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45721 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45722 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45723 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45724 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45726 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45728 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45729 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45732 2012-07-25 Florian Weimer <fweimer@redhat.com>
45734 * Versions.def: Add GLIBC_2.17.
45735 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45736 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45737 Introduce __libc_secure_getenv.
45738 * stdlib/Versions (2.17): Add secure_getenv
45739 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45740 * stdlib/secure-getenv.c: Rename __secure_getenv to
45741 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45742 symbol __secure_getenv for GLIBC_2.0.
45743 * stdlib/tst-secure-getenv.c: New.
45744 * stdlib/Makefile (tests): Add testcase.
45745 * manual/startup.texi (Environment Access): Document
45747 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45748 __libc_secure_getenv.
45749 * inet/ruserpass.c (ruserpass): Likewise.
45750 * malloc/mtrace.c (mtrace): Likewise.
45751 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45752 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45753 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45754 * sysdeps/posix/tempname.c: Likewise. Evaluate
45755 HAVE_SECURE_GETENV.
45756 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45757 __secure_getenv to __libc_secure_getenv.
45758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45771 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45773 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45774 (struct La_i86_retval): Likewise.
45775 (struct La_x86_64_regs): Likewise.
45776 (struct La_x86_64_retval): Likewise.
45777 (struct La_x32_regs): Likewise.
45778 (struct La_x32_retval): Likewise.
45779 (struct La_ppc32_regs): Likewise.
45780 (struct La_ppc32_retval): Likewise.
45781 (struct La_ppc64_regs): Likewise.
45782 (struct La_ppc64_retval): Likewise.
45783 (struct La_sh_regs): Likewise.
45784 (struct La_sh_retval): Likewise.
45785 (struct La_s390_32_regs): Likewise.
45786 (struct La_s390_32_retval): Likewise.
45787 (struct La_s390_64_regs): Likewise.
45788 (struct La_s390_64_retval): Likewise.
45789 (struct La_sparc32_regs): Likewise.
45790 (struct La_sparc32_retval): Likewise.
45791 (struct La_sparc64_regs): Likewise.
45792 (struct La_sparc64_retval): Likewise.
45793 (struct audit_ifaces): Remove architecture-specific pltenter and
45795 * sysdeps/i386/ldsodefs.h: New file.
45796 * sysdeps/powerpc/ldsodefs.h: Likewise.
45797 * sysdeps/s390/ldsodefs.h: Likewise.
45798 * sysdeps/sh/ldsodefs.h: Likewise.
45799 * sysdeps/sparc/ldsodefs.h: Likewise.
45800 * sysdeps/x86_64/ldsodefs.h: Likewise.
45802 2012-07-25 Marek Polacek <polacek@redhat.com>
45805 * math/libm-test.inc (yn_test): Add another test.
45806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45807 to ERANGE when the result is +-Inf.
45808 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45809 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45811 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45813 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45815 * conform/data/time.h-data (NULL): Use macro-constant. Require
45817 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45819 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45821 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45823 * configure.in <sysdeps resolving>: Correct printing
45825 * configure: Regenerate.
45827 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45829 * math/w_ilogb.c: Include <limits.h>.
45830 * math/w_ilogbl.c: Likewise.
45832 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45834 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45835 va_copy. Document allowing for unavailable va_copy only as
45836 pre-C99 compatibility.
45837 * manual/string.texi (Copying and Concatenation): Use va_copy
45838 instead of __va_copy in concat example.
45840 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45842 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45843 (__sendto): Use create_address_port. Initialize APORT and deallocate
45846 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45847 with O_NOLINK passed to __file_name_lookup.
45849 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45850 with O_NOLINK passed to __file_name_lookup.
45852 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45853 negative N or less than NGIDS.
45855 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45856 type to string_t. Set ERANGE as errno and return it if NAME is not big
45857 enough. Use memcpy instead of strncpy.
45859 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45861 * elf/Makefile (check-data): Remove.
45862 (localplt.data): New vpath directive.
45863 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45864 instead of $(check-data).
45865 * scripts/data/localplt-generic.data: Move to ...
45866 * sysdeps/generic/localplt.data: ... here.
45867 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45868 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45869 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45872 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45875 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45878 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45881 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45884 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45888 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45890 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45891 PPC32 and PPC64 files.
45892 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45893 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45895 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45897 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45898 __makecontext_ret to ...
45899 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45900 ... here and call exit if uc_link is NULL. New file.
45901 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45902 __makecontext_ret.S.
45903 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45904 __makecontext_ret to ...
45905 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45906 ... here and call exit if uc_link is NULL. New file.
45907 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45908 __makecontext_ret.S.
45910 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45912 * elf/elf.h (R_390_IRELATIVE): New definition.
45913 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45914 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45915 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45916 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45917 (elf_machine_lazy_rel): Likewise.
45918 * sysdeps/s390/dl-irel.h: New file.
45919 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45920 * sysdeps/s390/s390-64/memset.S: New asm code.
45921 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45922 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45923 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45924 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45925 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45926 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45928 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45929 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45930 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45931 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45932 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45933 * sysdeps/s390/s390-32/memset.S: New asm code.
45934 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45936 2012-07-17 Marek Polacek <polacek@redhat.com>
45939 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45940 * sysdeps/s390/s390-64/configure.in: Likewise.
45941 * sysdeps/sparc/configure.in: Likewise.
45942 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45943 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45944 * sysdeps/i386/configure.in: Likewise.
45945 * sysdeps/x86_64/configure.in: Likewise.
45946 * sysdeps/sh/configure.in: Likewise.
45947 * sysdeps/s390/s390-32/configure: Regenerated.
45948 * sysdeps/s390/s390-64/configure: Likewise.
45949 * sysdeps/x86_64/configure: Likewise.
45950 * sysdeps/sh/configure: Likewise.
45951 * sysdeps/powerpc/powerpc64/configure: Likewise.
45952 * sysdeps/powerpc/powerpc32/configure: Likewise.
45953 * sysdeps/sparc/configure: Likwise.
45954 * sysdeps/i386/configure: Likewise.
45956 * elf/dl-open.c: Comment fixes.
45958 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45960 * Makefile [CXX] (check-data): Remove.
45961 [CXX] (c++-types.data): New vpath directive.
45962 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45963 vpath. Do not allow for C++ type data being missing.
45964 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45965 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45966 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45967 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45968 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45969 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45970 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45973 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45976 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45979 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45982 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45985 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45988 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45991 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45994 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45995 definitions to architecture-specific files.
45996 (TLS_IE): Likewise.
45997 (TLS_LD): Likewise.
45998 (TLS_GD): Likewise.
45999 * sysdeps/i386/tls-macros.h: New file.
46000 * sysdeps/powerpc/tls-macros.h: Likewise.
46001 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46002 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46003 * sysdeps/sh/tls-macros.h: Likewise.
46004 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46005 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46006 * sysdeps/x86_64/tls-macros.h: Likewise.
46008 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46010 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46011 zero value for regular exit case.
46013 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46014 (__start_context): Preserve zero value for regular exit case.
46016 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46017 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46019 * manual/setjmp.texi (setcontext): Clarify normal process
46020 termination when uc_link is the null pointer.
46021 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46024 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
46026 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46027 preprocessor. Test for each exception mask separately.
46029 2012-07-16 Andreas Jaeger <aj@suse.de>
46031 * po/ru.po: Update from translation team.
46033 2012-07-15 Joseph Myers <joseph@codesourcery.com>
46035 * conform/data/string.h-data (NULL): Use macro-constant. Require
46037 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46038 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46039 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46040 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46041 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46043 2012-07-13 Andreas Jaeger <aj@suse.de>
46045 * po/fr.po: Update from translation team.
46047 2012-07-12 Marek Polacek <polacek@redhat.com>
46050 * math/libm-test.inc (yn_test): Add test for BZ #14173.
46051 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46054 2012-07-12 Joseph Myers <joseph@codesourcery.com>
46057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46058 Change to 2.4.1 where previously 2.4.0.
46059 * sysdeps/unix/sysv/linux/configure: Regenerated.
46060 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46061 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46063 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46064 (__ASSUME_AT_CLKTCK): Remove.
46065 (__ASSUME_AT_PAGESIZE): Likewise.
46066 (__ASSUME_AT_XID): Likewise.
46067 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46068 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46069 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46071 (HAVE_AUX_PAGESIZE): Likewise.
46072 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46073 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46074 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46076 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
46079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46080 the temporary buffer used to invoke __gethostbyname2_r,
46081 __gethostbyaddr_r and gethostbyname4_r to make room for struct
46082 host_data / struct gaih_addrtuple.
46083 * resolv/nss_dns/dns-host.c (global scope): Move definition of
46084 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46085 header file nss/nsswitch.h.
46086 * nss/nsswitch.h (global scope): Add definition of implementation
46087 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46088 resolv/nss_dns/dns-host.c).
46090 2012-07-11 Andreas Jaeger <aj@suse.de>
46092 * po/fr.po: Update from translation team.
46094 * po/sv.po: Update from translation team
46095 * po/fr.po: Another update from translation team.
46097 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46099 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46100 for subnormals or multiply small sinh result by itself.
46101 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46104 2012-07-11 David S. Miller <davem@davemloft.net>
46106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46108 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
46111 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46112 (INTERNAL_MARK): Shift it here.
46114 2012-07-10 Marek Polacek <polacek@redhat.com>
46117 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
46118 libc_cv_asm_global_directive with .globl.
46119 * configure: Regenerated.
46120 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46122 * sysdeps/i386/configure: Regenerated.
46123 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46125 * sysdeps/x86_64/configure: Regenerated.
46126 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46127 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46128 * elf/tst-unique2mod2.c: Likewise.
46129 * elf/tst-unique2mod1.c: Likewise.
46130 * elf/tst-unique1mod2.c: Likewise.
46131 * elf/tst-unique1mod1.c: Likewise.
46132 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46133 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46135 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46136 * sysdeps/mach/sysdep.h: Likewise.
46137 * sysdeps/i386/sysdep.h: Likewise.
46138 * sysdeps/i386/i386-mcount.S: Likewise.
46139 * sysdeps/x86_64/_mcount.S: Likewise.
46140 * sysdeps/x86_64/sysdep.h: Likewise.
46141 * sysdeps/sh/_mcount.S: Likewise.
46142 * sysdeps/sh/sysdep.h: Likewise.
46143 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46144 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46145 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46146 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46147 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46148 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46149 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46150 * locale/localeinfo.h: Likewise.
46151 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46152 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46154 2012-07-09 Roland McGrath <roland@hack.frob.com>
46157 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46159 * manual/message.texi (The Uniforum approach): Likewise.
46160 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46161 (glibc iconv Implementation): Likewise.
46163 2012-07-09 Joseph Myers <joseph@codesourcery.com>
46166 * math/s_clog.c (__clog): Avoid scaling a value down where that
46167 could result in underflow.
46168 * math/s_clog10.c (__clog10): Likewise.
46169 * math/s_clog10f.c (__clog10f): Likewise.
46170 * math/s_clog10l.c (__clog10l): Likewise.
46171 * math/s_clogf.c (__clogf): Likewise.
46172 * math/s_clogl.c (__clogl): Likewise.
46173 * math/libm-test.inc (clog_test): Add more tests.
46174 (clog10_test): Likewise.
46175 * sysdeps/i386/fpu/libm-test-ulps: Update.
46176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46178 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
46181 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46182 by 7 not 8 to examine high bit of fractional part.
46185 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46186 for call to __mcount_internal.
46187 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46188 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46189 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46191 2012-07-06 Joseph Myers <joseph@codesourcery.com>
46194 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46195 approximation for values within 0x1p-13f of an odd multiple of
46197 * math/libm-test.inc (tan_test): Do not allow spurious underflow
46198 exception. Add more tests.
46199 * sysdeps/i386/fpu/libm-test-ulps: Update.
46202 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46203 inputs and return -1 for them. Do not check for +Inf in case not
46204 reachable for +Inf.
46205 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46206 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46207 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46208 and return -1 for them. Do not check for +Inf in case not
46209 reachable for +Inf.
46210 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46212 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46213 and return -1 for them. Do not check for +Inf in case not
46214 reachable for +Inf.
46215 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
46216 spurious underflow.
46217 * sysdeps/i386/fpu/libm-test-ulps: Update.
46218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46220 2012-07-06 Mike Frysinger <vapier@gentoo.org>
46222 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46224 2012-07-05 Joseph Myers <joseph@codesourcery.com>
46228 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46229 could result in spurious underflow. Scale down values above
46230 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46231 * math/s_csqrtf.c (__csqrtf): Likewise.
46232 * math/s_csqrtl.c (__csqrtl): Likewise.
46233 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
46234 spurious underflow.
46235 * sysdeps/i386/fpu/libm-test-ulps: Update.
46236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46238 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
46240 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46242 * catgets/xopen-msg.awk: New file.
46243 * catgets/xopen-msg.sed: Removed.
46245 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46247 * intl/po2test.awk: New file.
46248 * intl/po2test.sed: Removed.
46250 2012-07-04 Joseph Myers <joseph@codesourcery.com>
46253 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46254 or multiply small sinh result by itself.
46255 * math/s_ctanf.c (__ctanf): Likewise.
46256 * math/s_ctanh.c (__ctanh): Likewise.
46257 * math/s_ctanhf.c (__ctanhf): Likewise.
46258 * math/s_ctanhl.c (__ctanhl): Likewise.
46259 * math/s_ctanl.c (__ctanl): Likewise.
46260 * math/libm-test.inc (ctan_test_tonearest): New function.
46261 (ctan_test_towardzero): Likewise.
46262 (ctan_test_downward): Likewise.
46263 (ctan_test_upward): Likewise.
46264 (ctanh_test_tonearest): Likewise.
46265 (ctanh_test_towardzero): Likewise.
46266 (ctanh_test_downward): Likewise.
46267 (ctanh_test_upward): Likewise.
46268 (main): Call these new functions.
46269 * sysdeps/i386/fpu/libm-test-ulps: Update.
46270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46272 2012-07-03 Mike Frysinger <vapier@gentoo.org>
46274 * .gitignore: Delete /ports entry.
46276 2012-07-03 Andreas Jaeger <aj@suse.de>
46278 * po/bg.po: Update from translation team.
46279 * po/cs.po: Likewise.
46280 * po/de.po: Likewise.
46281 * po/hr.po: Likewise.
46282 * po/nl.pl: Likewise.
46283 * po/pl.po: Likewise.
46284 * po/vi.po: Likewise.
46286 2012-07-03 Joseph Myers <joseph@codesourcery.com>
46288 * Makeconfig [!+link] (+link-before-libc): New variable.
46289 [!+link] (+link-after-libc): Likewise.
46290 [!+link] (+link-tests): Likewise.
46291 [!+link] (+link): Define in terms of $(+link-before-libc) and
46292 $(+link-after-libc).
46293 [!+link-static] (+link-static-before-libc): New variable.
46294 [!+link-static] (+link-static-after-libc): Likewise.
46295 [!+link-static] (+link-static-tests): Likewise.
46296 [!+link-static] (+link-static): Define in terms of
46297 $(+link-static-before-libc) and $(+link-static-after-libc).
46298 [build-shared] (link-libc-before-gnulib): New variable.
46299 [build-shared] (link-libc-tests): Likewise.
46300 [build-shared] (link-libc): Define in terms of
46301 $(link-libc-before-gnulib).
46302 [!build-shared] (link-libc-tests): New variable.
46303 (link-libc-static-tests): New variable.
46304 [!gnulib] (gnulib-arch): New variable.
46305 [!gnulib] (gnulib-tests): Likewise.
46306 [!gnulib] (static-gnulib-arch): Likewise.
46307 [!gnulib] (static-gnulib-tests): Likewise.
46308 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
46309 Define with "=" instead of ":=".
46310 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
46311 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
46312 * Rules (binaries-all-notests): New variable.
46313 (binaries-all-tests): Likewise.
46314 (binaries-static-notests): Likewise.
46315 (binaries-static-tests): Likewise.
46316 (binaries-all): Define using $(binaries-all-notests) and
46317 $(binaries-all-tests).
46318 (binaries-static): Define using $(binaries-static-notests) and
46319 $(binaries-static-tests).
46320 (binaries-shared-tests): New variable.
46321 (binaries-shared-notests): Likewise.
46322 (binaries-shared): Remove variable.
46323 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46324 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46325 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46326 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46327 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46328 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46329 * elf/Makefile (sln-modules): New variable.
46330 (extra-objs): Add $(sln-modules:=.o).
46331 (ldconfig-modules): Add static-stubs.
46332 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46333 * elf/static-stubs.c: New file.
46336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46337 by 7 not 8 to examine high bit of fractional part. Use volatile
46338 variables when splitting into final array of floats if
46339 __FLT_EVAL_METHOD__ != 0.
46340 * math/libm-test.inc (cos_test): Add another test.
46341 (sin_test): Likewise.
46342 * sysdeps/i386/fpu/libm-test-ulps: Update.
46345 * math/libm-test.inc (cosh_test): Add more tests.
46347 * version.h (RELEASE): Set to "development".
46348 (VERSION): Set to "2.16.90".
46350 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
46352 * NEWS: Update copyright. Remove last-updated date.
46353 Mention math library bug fixes and timezone data changes.
46354 * README: Mention GNU/Hurd, x32, and HPPA support status.
46356 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
46358 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46360 2012-06-27 Andreas Jaeger <aj@suse.de>
46362 * manual/contrib.texi (Contributors): Add Samuel Thibault.
46364 2012-06-25 Andreas Jaeger <aj@suse.de>
46366 * sysdeps/s390/fpu/libm-test-ulps: Update.
46368 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
46369 Thomas Schwinge <thomas@codesourcery.com>
46371 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46372 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46376 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
46378 * sysdeps/mach/start.c: Remove file.
46379 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46380 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46381 * sysdeps/sh/init-first.c: Likewise.
46383 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46384 registers for frame unwinding purposes, add CFI directives.
46385 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46387 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46390 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46391 __fortify_fail returning.
46392 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46394 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46395 sysdeps/sh/____longjmp_chk.S.
46396 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46397 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46398 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46399 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46401 * sysdeps/sh/abort-instr.h: New file.
46402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46403 process in case exit returns.
46405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46406 initialize the GOT register before use.
46408 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46409 calculation of ARGC > 4.
46411 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46412 meaningful names to some local labels.
46414 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46415 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46417 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46418 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46419 (__arch_compare_and_exchange_val_16_acq): Likewise.
46420 (__arch_compare_and_exchange_val_32_acq): Likewise.
46421 (atomic_exchange_and_add): Fix gUSA sequence.
46422 (atomic_add): Likewise.
46423 (atomic_add_negative): Likewise.
46424 (atomic_add_zero): Likewise.
46425 (atomic_bit_test_set): Likewise.
46427 2012-06-22 Andreas Schwab <schwab@redhat.com>
46430 * include/link.h (struct link_map): Add l_free_initfini.
46431 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46433 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46434 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46435 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46438 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46440 * configure.in: Use AC_LANG_SOURCE.
46441 * configure: Regenerate.
46443 2012-06-22 Roland McGrath <roland@hack.frob.com>
46445 * configure.in (libc_cv_localstatedir): New substituted variable.
46446 * configure: Regenerated.
46447 * config.make.in (localstatedir): New variable, substituted from
46448 libc_cv_localstatedir.
46449 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46450 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46451 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46452 * sysdeps/gnu/configure: Regenerated.
46454 2012-06-21 Jeff Law <law@redhat.com>
46457 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46458 free. Simplify list management for _LIBC case.
46460 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46464 Clear sign bit of 64-bit integer value before comparing against
46467 * sysdeps/mach/configure: Regenerated.
46469 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46472 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46474 2012-06-21 Jeff Law <law@redhat.com>
46477 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46478 uint16_t for elements in the "seen" array to avoid char overflows.
46479 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46480 * elf/dl-open.c (dl_open_worker): Likewise.
46482 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46484 * scripts/list-sources.sh: Scan PORTS for translations.
46485 * po/libc.pot: Regenerated.
46487 2012-06-21 Andreas Jaeger <aj@suse.de>
46490 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46492 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46493 * bits/byteswap-16.h (__bswap_16): Likewise.
46494 * bits/byteswap.h (__bswap_constant_16): Likewise.
46496 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46499 * sysdeps/i386/fpu_control.h: Removed.
46500 * sysdeps/x86_64/fpu_control.h: Moved to ...
46501 * sysdeps/x86/fpu_control.h: Here.
46503 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46504 (_FPU_SETCW): Likewise.
46506 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46509 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46510 * sysdeps/x86/fpu/bits/mathinline.h: This.
46511 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46515 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46516 functions if __x86_64__ is defined.
46518 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46520 * string/endian.h: Add !__ASSEMBLER__ condition for including
46521 conversion interfaces.
46523 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46527 of ABS(x) in calculating zero to negative powers other than odd
46529 * math/libm-test.inc (pow_test): Add more tests.
46531 2012-06-15 Andreas Jaeger <aj@suse.de>
46533 * manual/contrib.texi (Contributors): Update entry of Liubov
46534 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46537 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46539 * string/string.h: Add __wur to GNU version of strerror_r.
46541 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46544 * string/Makefile (tests): Add tst-strtok_r.
46545 * string/tst-strtok_r.c: New file.
46546 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46547 RAX_LP/RDX_LP on SAVE_PTR.
46549 2012-06-14 Roland McGrath <roland@hack.frob.com>
46551 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46553 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46555 * libm_test.inc (csqrt_test): Allow more spurious underflow
46557 (j0_test): Likewise.
46558 (j1_test): Likewise.
46559 (y0_test): Likewise.
46560 (y1_test): Likewise.
46562 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46564 * po/Makefile (libc.pot): Use UTF-8 charset.
46566 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46569 Suppress sign-conversion warning from FD_SET.
46570 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46571 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46572 not unsigned long int.
46573 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46575 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46579 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46580 __extern_always_inline instead of __extern_inline.
46581 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46582 (__signbit): Likewise.
46583 (__signbitl): Support C++ namespace.
46584 (lrintf): New inline function.
46586 (llrintf): Likewise.
46587 (llrint): Likewise.
46597 (floorf): Likewise.
46598 (nearbyint): Likewise.
46599 (nearbyintf): Likewise.
46601 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46603 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46604 non-default versions.
46606 2012-06-11 Roland McGrath <roland@hack.frob.com>
46609 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46611 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46613 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46614 (FE_UPWARD, FE_DOWNWARD): Don't define.
46615 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46616 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46618 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46620 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46623 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46627 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46628 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46630 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46633 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46634 * sysdeps/i386/fpu/Implies: New file.
46635 * sysdeps/x86_64/fpu/Implies: Likewise.
46636 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46637 * sysdeps/x86/fpu/bits/fenv.h: This.
46639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46642 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46645 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46646 character 0xffff that matches the last element of the
46649 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46651 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46654 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46656 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46657 values higher than 25.6283.
46659 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46662 subnormal exponent extraction and add some __builtin_expect.
46663 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46664 Fix for subnormal mantissa calculation.
46666 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46668 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46669 cpu2 is -1 and errno is not ENOSYS.
46671 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46674 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46675 * sysdeps/x86/bits/string.h: This.
46676 * sysdeps/x86_64/bits/string.h: Removed.
46678 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46679 if not compiling for x86-64, but compiling for >= i486.
46681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46682 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46684 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46685 New macro from Linux kernel 3.4.0.
46686 (FP_XSTATE_MAGIC2): Likewise.
46687 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46688 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46689 (struct _fpx_sw_bytes): New struct.
46690 (struct _xsave_hdr): Likewise.
46691 (struct _ymmh_state): Likewise.
46692 (struct _xstate): Likewise.
46694 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46695 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46696 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46697 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46698 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46699 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46701 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46702 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46703 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46704 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46705 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46706 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46708 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46711 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46712 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46713 (sysdep_headers): Include sys/platform/ppc.h.
46714 * sysdeps/powerpc/test-gettimebase.c: Test for
46715 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46716 * manual/Makefile (appendices): Include platform.texi.
46717 * manual/contrib.texi (Contributors): Update @node pointers.
46718 * manual/maint.texi (Maintenance): Likewise.
46719 (Platform): New node.
46720 * manual/platform.texi: New file. Document the new features.
46722 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46723 Jakub Jelinek <jakub@redhat.com>
46726 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46727 where __builtin_expect is unavailable.
46729 2012-06-03 David S. Miller <davem@davemloft.net>
46731 * stdlib/longlong.h: Updated from GCC.
46733 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46736 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46737 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46740 (GLIBC_2.16): Likewise.
46742 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46744 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46746 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46749 (default-abi): New variable.
46750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46751 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46753 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46755 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46757 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46760 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46761 definition. Document in comment.
46763 2012-06-01 David S. Miller <davem@davemloft.net>
46765 * stdlib/longlong.h: Updated from GCC.
46767 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46770 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46771 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46772 sys/debugreg.h sys/io.h here.
46773 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46774 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46776 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46777 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46778 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46779 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46780 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46781 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46784 Define only if __x86_64__ is defined.
46786 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46789 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46790 Use int64_t for variable i.
46791 * math/libm-test.inc (fmod_test): Add more tests.
46793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46794 z computation is not scheduled after fetestexcept.
46795 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46796 Use math_force_eval instead of asm to ensure calculation scheduled
46797 before exception test.
46798 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46799 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46801 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46804 computation is not scheduled after fetestexcept.
46806 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46809 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46812 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46814 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46815 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46817 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46820 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46822 (__WCHAR_MIN): Support __WORDSIZE == 64.
46823 (__WCHAR_MAX): Likewise.
46825 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46826 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46830 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46833 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46834 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46836 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46837 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46840 Defined to 1 if __x86_64__ isn't defined.
46841 (_STAT_VER_LINUX_OLD): New.
46842 (st_atime): Remove duplicate.
46843 (st_mtime): Likewise.
46844 (st_ctime): Likewise.
46846 2012-05-31 David S. Miller <davem@davemloft.net>
46848 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46851 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46853 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46857 * elf/dl-reloc.c: Include <_itoa.h>.
46858 (_dl_reloc_bad_type): Remove use of INTUSE.
46859 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46860 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46861 * stdio-common/psiginfo.c (psiginfo): Likewise.
46862 * stdio-common/psignal.c (psignal): Likewise.
46863 * string/strsignal.c (strsignal): Likewise.
46864 * include/signal.h (_sys_siglist): Declare hidden proto.
46865 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46866 INTVARDEF with libc_hidden_data_def.
46867 * stdio-common/itoa-udigits.c: Likewise.
46868 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46869 (_itoa_lower_digits_internal): Remove declaration.
46870 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46871 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46872 (_sys_sigabbrev_internal): Remove aliases.
46873 (_sys_siglist): Define hidden alias.
46875 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46880 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46883 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46884 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46886 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46887 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46888 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46889 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46891 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46893 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46894 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46895 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46905 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46906 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46909 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46910 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46911 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46912 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46913 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46914 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46916 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46917 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46919 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46920 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46924 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46926 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46927 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46929 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46931 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46932 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46933 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46935 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46937 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46939 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46941 * math/math.h (M_El): Use two more decimal places.
46942 (M_LOG2El): Likewise.
46943 (M_LOG10El): Likewise.
46944 (M_LN2l): Likewise.
46945 (M_LN10l): Likewise.
46947 (M_PI_2l): Likewise.
46948 (M_PI_4l): Likewise.
46949 (M_1_PIl): Likewise.
46950 (M_2_PIl): Likewise.
46951 (M_2_SQRTPIl): Likewise.
46952 (M_SQRT2l): Likewise.
46953 (M_SQRT1_2l): Likewise.
46955 2012-05-31 David S. Miller <davem@davemloft.net>
46957 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46958 values between float registers.
46959 * sysdeps/sparc/sparc64/memset.S: Likewise.
46960 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46962 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46964 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46965 -D_FORTIFY_SOURCE=1.
46966 (CPPFLAGS-tst-longjmp_chk.c): Define.
46967 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46968 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46969 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46970 CFLAGS-tst-wchar-h.c.
46972 2012-05-31 Marek Polacek <polacek@redhat.com>
46975 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46976 __endmntent_internal): Remove declaration.
46977 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46978 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46979 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46981 2012-05-30 David S. Miller <davem@davemloft.net>
46983 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46984 (___Q_simulate_exceptions): Use real FP ops rather than writing
46986 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46989 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46992 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46993 * sysdeps/x86/bits/xtitypes.h: This.
46995 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46996 * sysdeps/x86/bits/wordsize.h: This.
46998 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46999 * sysdeps/x86/bits/huge_vall.h: This.
47001 * sysdeps/i386/bits/select.h: Removed.
47002 * sysdeps/x86_64/bits/select.h: Renamed to ...
47003 * sysdeps/x86/bits/select.h: This.
47005 * sysdeps/i386/bits/setjmp.h: Removed.
47006 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47007 * sysdeps/x86/bits/setjmp.h: This.
47009 * sysdeps/i386/bits/mathdef.h: Removed.
47010 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47011 * sysdeps/x86/bits/mathdef.h: This.
47013 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
47016 * include/sys/socket.h (__connect_internal)
47017 (__libc_sa_len_internal): Remove declaration.
47018 (__connect, __libc_sa_len): Declare hidden_proto.
47019 (SA_LEN): Remove use of INTUSE.
47020 * socket/connect.c: Add libc_hidden_def.
47021 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47022 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47023 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47025 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47026 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47027 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47028 of adding _internal alias.
47030 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47033 * sysdeps/i386/bits/link.h: Removed.
47034 * sysdeps/i386/bits/linkmap.h: Likewise.
47035 * sysdeps/x86_64/bits/link.h: Renamed to ...
47036 * sysdeps/x86/bits/link.h: This.
47037 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47038 * sysdeps/x86/bits/linkmap.h: This.
47040 * sysdeps/i386/bits/endian.h: Removed.
47041 * sysdeps/x86_64/bits/endian.h: Renamed to ...
47042 * sysdeps/x86/bits/endian.h: This.
47044 * sysdeps/i386/bits/byteswap.h: Removed.
47045 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47046 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47047 * sysdeps/x86/bits/byteswap.h: This.
47048 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47049 * sysdeps/x86/bits/byteswap-16.h: This.
47050 * sysdeps/i386/Implies: Add x86.
47051 * sysdeps/x86_64/Implies: Likewise.
47053 2012-05-30 David S. Miller <davem@davemloft.net>
47055 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47056 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47057 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47058 (FP_TRAPPING_EXCEPTIONS): Define.
47059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47060 (FP_TRAPPING_EXCEPTIONS): Define.
47061 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47062 subnormals only when inexact has been signalled or underflow
47063 exceptions are enabled.
47064 (_FP_PACK_CANONICAL): Likewise.
47066 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47070 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47072 2012-05-30 Richard Henderson <rth@twiddle.net>
47074 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47075 with #ifndef NOT_IN_libc.
47077 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
47078 marked to avoid plt entry.
47080 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47083 * Makeconfig (default-abi): New macro.
47084 (abi-includes): Likewise.
47085 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
47086 $(abi-$(default-abi)-lib-soname) for soname if defined.
47087 ($(common-objpfx)gnu/lib-names.stmp): Generate from
47089 * Makefile (installed-stubs): Likewise.
47090 * include/stubs-biarch.h: Removed.
47091 * scripts/lib-names.awk: Only handle one library at a time.
47092 * scripts/soversions.awk: Remove WORDSIZE support.
47093 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47095 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47097 (syscall-list-default-condition): Likewise.
47098 (syscall-list-default-condition): Likewise.
47099 (syscall-list-includes): Likewise.
47100 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47101 syscall-list-* with abi-*. Handle undefined abi-variants.
47102 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47103 * sysdeps/unix/sysv/linux/i386/Implies: New file.
47104 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47105 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47106 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47107 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47109 (syscall-list-32-options): Likewise.
47110 (syscall-list-32-condition): Likewise.
47111 (syscall-list-64-options): Likewise.
47112 (syscall-list-64-condition): Likewise.
47113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47115 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47118 (abi-64-ld-soname): New macro.
47119 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47120 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47123 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47124 * sysdeps/x86_64/x32/shlib-versions: Likewise.
47126 2012-05-30 Joseph Myers <joseph@codesourcery.com>
47128 * sysdeps/unix/sysv/linux/kernel-features.h
47129 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47130 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47131 include <kernel-features.h>.
47132 [!__NR_ftruncate64]: Remove conditional code.
47133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47134 [__NR_ftruncate64]: Make code unconditional.
47135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47136 * sysdeps/unix/sysv/linux/truncate64.c: Do not
47137 include <kernel-features.h>.
47138 [!__NR_ftruncate64]: Remove conditional code.
47139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47140 [__NR_ftruncate64]: Make code unconditional.
47141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47143 include <kernel-features.h>.
47144 [!__NR_ftruncate64]: Remove conditional code.
47145 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47146 [__NR_ftruncate64]: Make code unconditional.
47147 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47149 include <kernel-features.h>.
47150 [!__NR_ftruncate64]: Remove conditional code.
47151 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47152 [__NR_ftruncate64]: Make code unconditional.
47153 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47155 * configure.in (libc_cv_fpie): Weaken to a compile test using
47156 LIBC_TRY_CC_OPTION.
47157 * configure: Regenerated.
47159 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47174 2012-05-27 David S. Miller <davem@davemloft.net>
47176 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47178 (__Q_simulate_exceptions): Return void. Change to simulate
47179 exceptions by writing into the %fsr.
47180 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47181 (__Qp_handle_exceptions): Likewise.
47183 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47184 __Qp_handle_exceptions.
47185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47186 __Qp_handle_exceptions.
47187 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47188 as unused and give dummy FP_RND_NEAREST initializer.
47189 (FP_INHIBIT_RESULTS): Define.
47190 (___Q_simulate_exceptions): Update declaration.
47191 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47194 as unused and give dummy FP_RND_NEAREST initializer.
47195 (__Qp_handle_exceptions): Update declaration.
47196 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47199 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
47201 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47202 the temporary FPU control word.
47203 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47204 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47205 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47206 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47207 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47208 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47209 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47210 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47211 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47212 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47215 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47217 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47220 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
47222 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47223 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47224 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47225 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47227 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47228 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47231 2012-05-27 Ulrich Drepper <drepper@gmail.com>
47233 * po/h.po: Update from translation team.
47235 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
47237 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47239 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47240 handling of denormals.
47241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47242 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47243 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47244 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47250 2012-05-26 Marek Polacek <polacek@redhat.com>
47253 * math/libm-test.inc (fma_test): Don't always expect underflow
47256 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47259 * elf/tst-execstack.c: Include stackinfo.h.
47260 (do_test): Adjust test case to ensure that pthread_getattr_np
47261 behaviour remains the same after marking stack executable.
47263 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47265 * sysdeps/unix/sysv/linux/kernel-features.h
47266 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47267 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47269 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47270 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47271 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47273 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47274 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47276 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
47278 * configure.in: Define the default includes to being none.
47279 * configure: Regenerated.
47281 2012-05-25 Roland McGrath <roland@hack.frob.com>
47283 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47284 * sysdeps/x86_64/setjmp.S: Likewise.
47285 * sysdeps/i386/bsd-setjmp.S: Likewise.
47286 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47287 * sysdeps/i386/setjmp.S: Likewise.
47288 * sysdeps/i386/__longjmp.S: Likewise.
47289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47290 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47292 * include/stap-probe.h: New file.
47293 * configure.in: Handle --enable-systemtap.
47294 * configure: Regenerated.
47295 * config.h.in (USE_STAP_PROBE): New #undef.
47296 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47297 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47298 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47300 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47304 to 2.4.0 where earlier.
47305 * sysdeps/unix/sysv/linux/configure: Regenerated.
47306 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47307 <kernel-features.h>.
47308 [__ASSUME_32BITUIDS]: Make code unconditional.
47309 [!__ASSUME_32BITUIDS]: Remove conditional code.
47310 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47311 <kernel-features.h>.
47312 [__ASSUME_32BITUIDS]: Make code unconditional.
47313 [!__ASSUME_32BITUIDS]: Remove conditional code.
47314 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47315 [__ASSUME_32BITUIDS]: Make code unconditional.
47316 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47317 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47318 <kernel-features.h>.
47319 [__ASSUME_32BITUIDS]: Make code unconditional.
47320 [!__ASSUME_32BITUIDS]: Remove conditional code.
47321 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47322 <kernel-features.h>.
47323 [__ASSUME_32BITUIDS]: Make code unconditional.
47324 [!__ASSUME_32BITUIDS]: Remove conditional code.
47325 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47326 <kernel-features.h>.
47327 [__ASSUME_32BITUIDS]: Make code unconditional.
47328 [!__ASSUME_32BITUIDS]: Remove conditional code.
47329 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47330 <kernel-features.h>.
47331 [__ASSUME_32BITUIDS]: Make code unconditional.
47332 [!__ASSUME_32BITUIDS]: Remove conditional code.
47333 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47334 <kernel-features.h>.
47335 [__ASSUME_32BITUIDS]: Make code unconditional.
47336 [!__ASSUME_32BITUIDS]: Remove conditional code.
47337 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47338 <kernel-features.h>.
47339 [__ASSUME_32BITUIDS]: Make code unconditional.
47340 [!__ASSUME_32BITUIDS]: Remove conditional code.
47341 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47342 <kernel-features.h>.
47343 [__ASSUME_32BITUIDS]: Make code unconditional.
47344 [!__ASSUME_32BITUIDS]: Remove conditional code.
47345 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47346 <kernel-features.h>.
47347 [__ASSUME_32BITUIDS]: Make code unconditional.
47348 [!__ASSUME_32BITUIDS]: Remove conditional code.
47349 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47350 <kernel-features.h>.
47351 [__ASSUME_32BITUIDS]: Make code unconditional.
47352 [!__ASSUME_32BITUIDS]: Remove conditional code.
47353 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47354 <kernel-features.h>.
47355 [__ASSUME_32BITUIDS]: Make code unconditional.
47356 [!__ASSUME_32BITUIDS]: Remove conditional code.
47357 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47358 <kernel-features.h>.
47359 [__NR_setresgid] (__setresgid): Do not declare.
47360 [__ASSUME_32BITUIDS]: Make code unconditional.
47361 [!__ASSUME_32BITUIDS]: Remove conditional code.
47362 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47363 <kernel-features.h>.
47364 [__NR_setresuid] (__setresuid): Do not declare.
47365 [__ASSUME_32BITUIDS]: Make code unconditional.
47366 [!__ASSUME_32BITUIDS]: Remove conditional code.
47367 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47368 <kernel-features.h>.
47369 [__ASSUME_32BITUIDS]: Make code unconditional.
47370 [!__ASSUME_32BITUIDS]: Remove conditional code.
47371 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47372 <kernel-features.h>.
47373 [__ASSUME_32BITUIDS]: Make code unconditional.
47374 [!__ASSUME_32BITUIDS]: Remove conditional code.
47375 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47376 <kernel-features.h>.
47377 [__ASSUME_32BITUIDS]: Make code unconditional.
47378 [!__ASSUME_32BITUIDS]: Remove conditional code.
47379 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47380 <kernel-features.h>.
47381 [__ASSUME_32BITUIDS]: Make code unconditional.
47382 [!__ASSUME_32BITUIDS]: Remove conditional code.
47383 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47384 <kernel-features.h>.
47385 [__ASSUME_32BITUIDS]: Make code unconditional.
47386 [!__ASSUME_32BITUIDS]: Remove conditional code.
47387 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47388 <kernel-features.h>.
47389 [__ASSUME_32BITUIDS]: Make code unconditional.
47390 [!__ASSUME_32BITUIDS]: Remove conditional code.
47391 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47392 <kernel-features.h>.
47393 [__ASSUME_32BITUIDS]: Make code unconditional.
47394 [!__ASSUME_32BITUIDS]: Remove conditional code.
47395 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47396 <kernel-features.h>.
47397 [__ASSUME_32BITUIDS]: Make code unconditional.
47398 [!__ASSUME_32BITUIDS]: Remove conditional code.
47399 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47400 <kernel-features.h>.
47401 [__ASSUME_32BITUIDS]: Make code unconditional.
47402 [!__ASSUME_32BITUIDS]: Remove conditional code.
47403 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47404 <kernel-features.h>.
47405 [__ASSUME_32BITUIDS]: Make code unconditional.
47406 [!__ASSUME_32BITUIDS]: Remove conditional code.
47407 * sysdeps/unix/sysv/linux/kernel-features.h
47408 (__ASSUME_SETRESUID_SYSCALL): Remove.
47409 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47410 (__ASSUME_32BITUIDS): Likewise.
47411 (__ASSUME_LDT_WORKS): Likewise.
47412 (__ASSUME_O_DIRECTORY): Likewise.
47413 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47414 architecture but not kernel version.
47415 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47416 (__ASSUME_MMAP2_SYSCALL): Likewise.
47417 (__ASSUME_STAT64_SYSCALL): Likewise.
47418 (__ASSUME_IPC64): Likewise.
47419 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47420 <kernel-features.h>.
47421 [__ASSUME_32BITUIDS]: Make code unconditional.
47422 [!__ASSUME_32BITUIDS]: Remove conditional code.
47423 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47424 <kernel-features.h>.
47425 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47426 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47427 132096]: Remove conditional code.
47428 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47429 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47430 <kernel-features.h>.
47431 [__ASSUME_32BITUIDS]: Make code unconditional.
47432 [!__ASSUME_32BITUIDS]: Remove conditional code.
47433 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47434 <kernel-features.h>.
47435 [__ASSUME_32BITUIDS]: Make code unconditional.
47436 [!__ASSUME_32BITUIDS]: Remove conditional code.
47437 * sysdeps/unix/sysv/linux/setegid.c: Do not include
47438 <kernel-features.h>.
47439 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47441 (__setresgid): Do not declare.
47442 [__ASSUME_32BITUIDS]: Make code unconditional.
47443 [!__ASSUME_32BITUIDS]: Remove conditional code.
47444 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47445 <kernel-features.h>.
47446 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47448 (__setresuid): Do not declare.
47449 [__ASSUME_32BITUIDS]: Make code unconditional.
47450 [!__ASSUME_32BITUIDS]: Remove conditional code.
47451 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47452 <kernel-features.h>.
47453 [__ASSUME_32BITUIDS]: Make code unconditional.
47454 [!__ASSUME_32BITUIDS]: Remove conditional code.
47455 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47456 <kernel-features.h>.
47457 [__ASSUME_32BITUIDS]: Make code unconditional.
47458 [!__ASSUME_32BITUIDS]: Remove conditional code.
47460 2012-05-25 Richard Henderson <rth@twiddle.net>
47462 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47463 dl_hwcap to ifunc resolver.
47464 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47466 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47467 dl_hwcap to ifunc resolver.
47468 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47470 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47473 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47474 for |x| <= 2**-26, not 2**-57.
47475 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47478 2012-05-24 Jeff Law <law@redhat.com>
47480 * stdio-common/Makefile (tests): Add bug25.
47481 * stdio-common/bug25.c: New test.
47483 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47486 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47487 multiple of MALLOC_ALIGNMENT in size.
47488 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47490 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47492 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47494 (FILENAME_MAX): Use macro-int-constant.
47495 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47496 (_IOFBF): Use macro-int-constant.
47497 (_IOLBF): Likewise.
47498 (_IONBF): Likewise.
47499 (SEEK_CUR): Likewise.
47500 (SEEK_END): Likewise.
47501 (SEEK_SET): Likewise.
47502 (TMP_MAX): Likewise.
47503 (EOF): Use macro-int-constant. Require < 0.
47504 (NULL): Use macro-constant. Require == 0.
47505 (stdin): Require type to be FILE *.
47506 (stdout): Likewise.
47507 (stderr): Likewise.
47508 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47509 macro-int-constant.
47510 (EXIT_SUCCESS): Likewise.
47511 (NULL): Use macro-constant. Require == 0.
47512 (RAND_MAX): Use macro-int-constant.
47513 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47514 [C99-based standards] (strtof): Require function.
47515 [C99-based standards] (strtold): Likewise.
47516 [C99-based standards] (strtoll): Likewise.
47517 [C99-based standards] (strtoull): Likewise.
47518 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47519 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47520 [ISO || ISO99 || ISO11] (math.h): Likewise.
47521 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47522 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47523 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47525 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47528 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47529 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47530 * intl/dgettext.c (DCGETTEXT): Likewise.
47531 * intl/gettext.c (DCGETTEXT): Likewise.
47532 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47533 * posix/regex_internal.h (gettext): Likewise.
47534 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47535 Remove declaration.
47536 * include/argz.h (__argz_count_internal)
47537 (__argz_stringify_internal): Remove declaration.
47538 (__argz_count, __argz_stringify): Declare hidden proto.
47539 * intl/dcgettext.c: Remove use of INTDEF.
47540 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47541 * string/argz-stringify.c: Likewise.
47542 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47543 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47544 Declare hidden proto.
47545 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47546 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47547 Declare hidden proto.
47548 * include/stdio.h (__asprintf_internal): Don't declare.
47549 (__asprintf): Don't define as macro. Declare hidden proto.
47550 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47551 (__fsetlocking): Declare hidden proto.
47552 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47553 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47555 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47556 (_IO_setlinebuf): Remove use of INTUSE.
47557 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47558 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47559 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47560 Remove declaration.
47561 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47562 (_IO_do_flush): Remove use of INTUSE.
47563 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47564 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47565 (_IO_adjust_column, _IO_least_wmarker)
47566 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47567 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47568 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47569 (_IO_default_doallocate, _IO_wdefault_doallocate)
47570 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47571 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47572 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47573 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47574 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47575 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47576 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47577 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47578 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47579 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47580 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47581 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47582 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47584 (_IO_flush_all_internal, _IO_adjust_column_internal)
47585 (_IO_default_uflow_internal, _IO_default_finish_internal)
47586 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47587 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47588 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47589 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47590 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47591 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47592 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47593 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47594 (_IO_file_close_internal, _IO_file_close_it_internal)
47595 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47596 (_IO_file_init_internal, _IO_file_attach_internal)
47597 (_IO_file_fopen_internal, _IO_file_read_internal)
47598 (_IO_file_sync_internal, _IO_file_seek_internal)
47599 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47600 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47601 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47602 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47603 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47604 (_IO_list_all_internal, _IO_link_in_internal)
47605 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47606 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47607 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47608 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47609 (_IO_do_write_internal, _IO_padn_internal)
47610 (_IO_getline_info_internal, _IO_getline_internal)
47611 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47612 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47613 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47614 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47615 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47616 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47617 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47618 with libc_hidden_ver, remove use of INTUSE.
47619 * libio/genops.c: Likewise.
47620 * libio/freopen.c: Likewise.
47621 * libio/freopen64.c: Likewise.
47622 * libio/iofclose.c: Likewise.
47623 * libio/iofdopen.c: Likewise.
47624 * libio/iofflush.c: Likewise.
47625 * libio/iofflush_u.c: Likewise.
47626 * libio/iofgets.c: Likewise.
47627 * libio/iofgets_u.c: Likewise.
47628 * libio/iofopen.c: Likewise.
47629 * libio/iofopncook.c: Likewise.
47630 * libio/iofread.c: Likewise.
47631 * libio/iofread_u.c: Likewise.
47632 * libio/ioftell.c: Likewise.
47633 * libio/iofwrite.c: Likewise.
47634 * libio/iogetline.c: Likewise.
47635 * libio/iogets.c: Likewise.
47636 * libio/iogetwline.c: Likewise.
47637 * libio/iopadn.c: Likewise.
47638 * libio/iopopen.c: Likewise.
47639 * libio/ioseekoff.c: Likewise.
47640 * libio/ioseekpos.c: Likewise.
47641 * libio/iosetbuffer.c: Likewise.
47642 * libio/iosetvbuf.c: Likewise.
47643 * libio/ioungetc.c: Likewise.
47644 * libio/ioungetwc.c: Likewise.
47645 * libio/iovdprintf.c: Likewise.
47646 * libio/iovsprintf.c: Likewise.
47647 * libio/iovsscanf.c: Likewise.
47648 * libio/memstream.c: Likewise.
47649 * libio/obprintf.c: Likewise.
47650 * libio/oldfileops.c: Likewise.
47651 * libio/oldiofclose.c: Likewise.
47652 * libio/oldiofdopen.c: Likewise.
47653 * libio/oldiofopen.c: Likewise.
47654 * libio/oldiopopen.c: Likewise.
47655 * libio/oldstdfiles.c: Likewise.
47656 * libio/putc.c: Likewise.
47657 * libio/setbuf.c: Likewise.
47658 * libio/setlinebuf.c: Likewise.
47659 * libio/stdfiles.c: Likewise.
47660 * libio/strops.c: Likewise.
47661 * libio/vasprintf.c: Likewise.
47662 * libio/vscanf.c: Likewise.
47663 * libio/vsnprintf.c: Likewise.
47664 * libio/vswprintf.c: Likewise.
47665 * libio/wfiledoalloc.c: Likewise.
47666 * libio/wfileops.c: Likewise.
47667 * libio/wgenops.c: Likewise.
47668 * libio/wmemstream.c: Likewise.
47669 * libio/wstrops.c: Likewise.
47670 * libio/__fpurge.c: Likewise.
47671 * libio/__fsetlocking.c: Likewise.
47672 * assert/assert.c: Likewise.
47673 * debug/fgets_chk.c: Likewise.
47674 * debug/fgets_u_chk.c: Likewise.
47675 * debug/fread_chk.c: Likewise.
47676 * debug/fread_u_chk.c: Likewise.
47677 * debug/gets_chk.c: Likewise.
47678 * debug/obprintf_chk.c: Likewise.
47679 * debug/vasprintf_chk.c: Likewise.
47680 * debug/vdprintf_chk.c: Likewise.
47681 * debug/vsnprintf_chk.c: Likewise.
47682 * debug/vsprintf_chk.c: Likewise.
47683 * malloc/mtrace.c: Likewise.
47684 * misc/error.c: Likewise.
47685 * misc/syslog.c: Likewise.
47686 * stdio-common/asprintf.c: Likewise.
47687 * stdio-common/fxprintf.c: Likewise.
47688 * stdio-common/getw.c: Likewise.
47689 * stdio-common/isoc99_fscanf.c: Likewise.
47690 * stdio-common/isoc99_scanf.c: Likewise.
47691 * stdio-common/isoc99_vfscanf.c: Likewise.
47692 * stdio-common/isoc99_vscanf.c: Likewise.
47693 * stdio-common/isoc99_vsscanf.c: Likewise.
47694 * stdio-common/printf-prs.c: Likewise.
47695 * stdio-common/printf_fp.c: Likewise.
47696 * stdio-common/printf_fphex.c: Likewise.
47697 * stdio-common/printf_size.c: Likewise.
47698 * stdio-common/putw.c: Likewise.
47699 * stdio-common/scanf.c: Likewise.
47700 * stdio-common/sprintf.c: Likewise.
47701 * stdio-common/tmpfile.c: Likewise.
47702 * stdio-common/vfprintf.c: Likewise.
47703 * stdio-common/vfscanf.c: Likewise.
47704 * stdlib/strfmon_l.c: Likewise.
47705 * sunrpc/openchild.c: Likewise.
47706 * sunrpc/xdr_stdio.c: Likewise.
47707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47708 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47710 2012-05-24 Roland McGrath <roland@hack.frob.com>
47712 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47714 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47715 in the third column, to generate for the shared library an IFUNC
47716 that uses _dl_vdso_vsym.
47717 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47718 * Makeconfig (object-suffixes-noshared): New variable.
47720 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47721 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47722 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47723 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47726 * include/sys/time.h (__gettimeofday): Remove macro.
47727 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47728 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47730 (__gettimeofday): Add libc_hidden_def.
47731 (gettimeofday): Add libc_hidden_weak.
47732 * sysdeps/mach/gettimeofday.c: Likewise.
47733 * sysdeps/posix/gettimeofday.c: Likewise.
47734 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47735 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47736 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47737 (__gettimeofday_internal): Remove strong_alias.
47738 (__gettimeofday): Add libc_hidden_def.
47739 (gettimeofday): Add libc_hidden_weak.
47740 * sysdeps/unix/syscalls.list (gettimeofday):
47741 Remove __gettimeofday_internal alias.
47743 2012-05-24 Daniel Jacobowitz <drow@false.org>
47744 H.J. Lu <hongjiu.lu@intel.com>
47747 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47748 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47749 (largebin_index_32_big): New.
47750 (largebin_index): Use it for 16-byte alignment.
47751 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47752 correction with front_misalign.
47754 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47782 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47783 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47785 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47789 * math/libm-test.inc (exp_test): Add test from bug 14036.
47790 (pow_test): Add test from bug 10846.
47792 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47794 (special_function): Do not include flags in test name.
47795 (parse_args): Likewise.
47796 * sysdeps/i386/fpu/libm-test-ulps: Update.
47797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47802 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47804 * math/libm-test.inc ("Philosophy"): Update comment about
47806 (UNDERFLOW_EXCEPTION): New macro.
47807 (UNDERFLOW_EXCEPTION_OK): Likewise.
47808 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47809 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47810 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47811 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47812 (INVALID_EXCEPTION_OK): Update value.
47813 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47814 (OVERFLOW_EXCEPTION_OK): Likewise.
47815 (IGNORE_ZERO_INF_SIGN): Likewise.
47816 (test_exceptions): Handle underflow exceptions.
47817 (acos_test): Update for underflow exception expectations.
47818 (cexp_test): Likewise.
47819 (clog_test): Likewise.
47820 (clog10_test): Likewise.
47821 (csqrt_test): Likewise.
47822 (ctan_test): Likewise.
47823 (ctanh_test): Likewise.
47824 (exp_test): Likewise.
47825 (exp10_test): Likewise.
47826 (exp2_test): Likewise.
47827 (expm1_test): Likewise.
47828 (fma_test): Likewise.
47829 (j0_test): Likewise.
47830 (jn_test): Likewise.
47831 (nexttoward_test): Likewise.
47832 (pow_test): Likewise.
47833 (scalbn_test): Likewise.
47834 (scalbln_test): Likewise.
47835 (tan_test): Likewise.
47836 (y1_test): Likewise.
47837 * sysdeps/i386/fpu/libm-test-ulps: Update.
47838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47840 2012-05-23 David S. Miller <davem@davemloft.net>
47842 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47843 (__libc_sigaction): Remove unused local variables.
47845 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47847 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47849 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47851 mktime: avoid signed integer overflow
47852 * time/mktime.c (__mktime_internal): Do not mishandle the case
47853 where diff == INT_MIN.
47855 mktime: simplify computation of average
47856 * time/mktime.c (ranged_convert): Use new time_t_avg function
47857 instead of rolling our own (probably-slower) code.
47859 mktime: do not assume signed right shift propagates sign bit
47860 * time/mktime.c (isdst_differ): New static function.
47861 (__mktime_internal): No need to normalize tm_isdst now.
47862 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47865 mktime: merge another wrapv change from gnulib
47866 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47867 from some compilers.
47869 mktime: remove incorrect attempt at unusual arithmetics
47870 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47871 The code didn't really work on such machines anyway.
47872 (TYPE_MINIMUM): Assume two's complement.
47873 (twos_complement_arithmetic): Verify that long_int and time_t
47874 are two's complement (or unsigned, in the latter case).
47876 mktime: check signed shifts on long_int and time_t, too
47877 * time/mktime.c (SHR): Check that shifts work as desired
47878 on the types long_int and time_t too, as SHR is used on
47881 mktime: do not assume 'long' is wide enough
47882 * time/mktime.c (verify): Move decl up.
47883 (long_int): New type.
47884 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47885 to remove assumption in the code that 'long' is wide enough to
47886 store year values. This assumption is not true on x32 and on
47887 some non-glibc platforms.
47889 mktime: merge wrapv change from gnulib
47890 * time/mktime.c (WRAPV): New macro.
47891 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47892 (guess_time_tm, __mktime_internal): Do not assume that signed
47893 integer overflow wraps around; modern compilers generate code
47894 where this assumption is no longer valid.
47896 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47898 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47899 Replace "jmp L(pseudo_end)" with "ret".
47900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47903 2012-05-23 Andreas Jaeger <aj@suse.de>
47905 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47906 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47908 2012-05-23 Andreas Jaeger <aj@suse.de>
47909 Maximilian Attems <max@stro.at>
47911 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47914 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47917 code so that pseudo_end is just ret and the stack pointer is
47918 correct also for static library in error case.
47920 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47922 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47923 move to syscalls.list.
47924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47929 * manual/install.texi (Running make install): Do not mention Linux
47930 kernel version for which pt_chown is not needed.
47931 (Linux): Do not mention problems with nscd with 2.0 kernels.
47932 * INSTALL: Regenerated.
47934 2012-05-23 Andreas Jaeger <aj@suse.de>
47936 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47937 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47939 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47940 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47941 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47942 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47943 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47946 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47948 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47949 * sysdeps/unix/sysv/linux/bits/in.h
47950 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47952 2012-05-22 Roland McGrath <roland@hack.frob.com>
47954 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47955 (PREPARE_VERSION): Just use assert instead, it will be elided
47956 under [NDEBUG] anyway.
47958 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47960 * sysdeps/unix/sysv/linux/Makefile: Include
47961 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47962 (sysdep_routines): Remove sysctl.
47963 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47964 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47965 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47966 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47967 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47969 2012-05-22 Andreas Jaeger <aj@suse.de>
47971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47972 that pseudo_end is just ret and the stack pointer is correct also
47973 for static library in error case.
47975 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47978 * nss/nsswitch.c (defconfig_entries): New variable.
47979 (__nss_database_lookup): Don't leak defconfig entries.
47980 (nss_parse_service_list): Don't leak on error paths.
47981 (free_database_entries): New function.
47982 (free_defconfig): New function.
47983 (free_mem): Move common code to free_database_entries.
47985 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47987 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47989 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47991 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47992 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47995 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47996 (INTERNAL_SYSCALL_TYPES): Likewise.
47997 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47998 (LOAD_REGS_TYPES_[1-6]): Likewise.
47999 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48000 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48002 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48004 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48005 copysignl for GLIBC_2_0.
48006 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48007 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48009 logbl for GLIBC_2_0.
48010 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48011 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48013 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48018 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48021 * time/mktime.c: Update copyright years.
48023 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
48025 mktime: merge comment-quoting-style change from gnulib
48026 * time/mktime.c: Quote 'like this' in comments.
48027 The GNU coding standards suggest that we no longer quote `like this',
48028 as "`" and "'" are typically rendered asymmetrically nowadays.
48029 The typical gnulib style is to quote 'like this' when quoting
48030 code, and "like this" when quoting English.
48032 * time/mktime.c (compile-command): Add "-I.".
48034 mktime: merge mktime-internal.h change from gnulib
48035 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48037 mktime: merge time_r change from gnulib
48038 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48040 mktime: merge DEBUG change from gnulib
48041 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48042 case system <time.h> has a #define.
48044 mktime: merge <sys/types.h> change from gnulib
48045 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48046 since <time.t> is now guaranteed to define time_t.
48048 mktime: merge HAVE_CONFIG_H change from gnulib
48049 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48051 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48056 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48058 (struct rusage): Use anonymous union to pad each field to
48061 2012-05-21 David S. Miller <davem@davemloft.net>
48063 * Makefules (o-iterator): Remove .s cases.
48064 (compile-command.s): Delete.
48065 (COMPILE.s): Delete.
48066 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48068 2012-05-21 Joseph Myers <joseph@codesourcery.com>
48070 * configure.in (libc_cv_predef_stack_protector): Only consider
48071 "foobar" and "__stack_chk_fail" lines in libc_undefs.
48072 * configure: Regenerated.
48074 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48077 New macro. Use R*LP on int and pointer.
48078 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48079 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48080 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48081 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48083 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48084 [__WORDSIZE_TIME64_COMPAT32] instead of
48085 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48086 (struct utmp): Likewise.
48087 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48088 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48090 (__WORDSIZE_TIME64_COMPAT32): This.
48091 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48092 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48093 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48094 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48095 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48096 (__WORDSIZE_TIME64_COMPAT32): New macro.
48098 2012-05-21 Andreas Jaeger <aj@suse.de>
48100 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48101 only if [SHARED]. Add prototype for __wcschr_ia32.
48103 2012-05-21 Roland McGrath <roland@hack.frob.com>
48105 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48106 of %rbp unmolested in the jmp_buf while mangling the low bits.
48107 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48108 unmolested high bits of %rbp while demangling the low bits.
48109 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48111 2012-05-21 Andreas Jaeger <aj@suse.de>
48113 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48114 * sunrpc/svc_simple.c: Use it for registerrpc.
48115 * sunrpc/xcrypt.c: Use it for passwd2des.
48117 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48119 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48121 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48122 Don't define if [__SYSCALL_WORDSIZE != 32].
48123 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48126 2012-05-21 Bruno Haible <bruno@clisp.org>
48127 Andreas Jaeger <aj@suse.de>
48129 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48130 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48131 inptr and inend for must_buffer_ch.
48132 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48133 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48134 * stdio-common/Makefile (tests): Remove bug15.
48135 (bug15-ENV): Remove macro.
48136 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48139 2012-05-19 Andreas Jaeger <aj@suse.de>
48140 Roland McGrath <roland@hack.frob.com>
48142 * manual/contrib.texi: Completely rewritten. It contains now an
48143 alphabetical list of contributors and their contributions.
48145 2012-05-21 Richard Henderson <rth@twiddle.net>
48147 * misc/getauxval.c (__getauxval): Use unsigned long int.
48148 * misc/sys/auxv.h: Include <sys/cdefs.h>.
48149 (getauxval): Use unsigned long int.
48151 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48153 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48155 2012-05-21 Roland McGrath <roland@hack.frob.com>
48157 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48158 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48159 __alignof__ (long double).
48161 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48165 2012-05-20 Richard Henderson <rth@twiddle.net>
48167 * misc/getauxval.c: New file.
48168 * misc/sys/auxv.h: New file.
48169 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48170 (routines): Add getauxval.
48171 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48172 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48173 * elf/dl-sysdep.c (_dl_auxv): Remove.
48174 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48175 * elf/dl-support.c (_dl_auxv): New variable.
48176 (_dl_aux_init): Initialize it.
48177 * manual/startup.texi (Auxiliary Vector): New node.
48178 * sysdeps/generic/bits/hwcap.h: New file.
48179 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48180 * sysdeps/powerpc/sysdep.h: ... here. Include it.
48181 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48182 * sysdeps/sparc/sysdep.h: ... here. Include it.
48183 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48184 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48196 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48200 2012-05-19 David S. Miller <davem@davemloft.net>
48202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48204 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48207 * math/s_ccosh.c: Include <float.h>
48208 (__ccosh): Avoid internal overflow calculating sinh and cosh
48209 values before multiplying by sin and cos values.
48210 * math/s_ccoshf.c: Likewise.
48211 * math/s_ccoshl.c: Likewise.
48212 * math/s_csin.c: Likewise.
48213 * math/s_csinf.c: Likewise.
48214 * math/s_csinl.c: Likewise.
48215 * math/s_csinh.c: Likewise.
48216 * math/s_csinhf.c: Likewise.
48217 * math/s_csinhl.c: Likewise.
48218 * math/libm-test.inc (ccos_test): Add more tests.
48219 (ccosh_test): Likewise.
48220 (csin_test): Likewise.
48221 (csinh_test): Likewise.
48222 * sysdeps/i386/fpu/libm-test-ulps: Update.
48223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48225 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
48227 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48228 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48230 * sysdeps/x86_64/x32/_itoa.h: Add comment.
48232 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48234 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48235 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48236 * sysdeps/powerpc/soft-fp/Versions: Likewise.
48237 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48238 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48239 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48240 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48241 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48242 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48243 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48244 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48245 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48246 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48247 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48248 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48249 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48250 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48251 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48252 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48253 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48254 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48255 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48256 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48257 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48258 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48259 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48260 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48261 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48262 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48263 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48264 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48266 2012-05-18 Andreas Jaeger <aj@suse.de>
48268 * csu/.gitignore: Delete.
48270 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48272 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48273 (timex): Use __syscall_slong_t.
48275 2012-05-18 Andreas Jaeger <aj@suse.de>
48276 Carlos O'Donell <carlos_odonell@mentor.com>
48278 * manual/install.texi (Configuring and compiling): Update
48279 description about files modified in the source directory.
48280 * INSTALL: Regenerated.
48282 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48284 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48285 value. Use "or" to set return value to -1.
48286 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48287 negate return value.
48289 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48291 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48292 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48293 failure if the compiler has Graphite support disabled.
48294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48296 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48297 (CFLAGS-memmove.c): Likewise.
48298 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48301 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48303 * sysdeps/x86_64/x32/_itoa.h: New file.
48305 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48306 getdents system call only if kernel and user dirents have the
48307 same d_ino and d_off.
48309 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48310 LLONG_MAX != LONG_MAX.
48311 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48312 (_fitoa_word): Likewise.
48314 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48316 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48317 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48318 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48320 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48321 include <bits/wordsize.h>. Check __x86_64__ instead of
48323 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48324 if __x86_64__ is defined. Use anonymous union on fpstate.
48326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48329 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
48331 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48332 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48333 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48334 Refer to _rtld_local_ro instead of _rtld_global_ro.
48335 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48337 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48339 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48341 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48342 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48343 of _rtld_global, and rtld_progname instead of _dl_argv[0].
48345 * sysdeps/powerpc/powerpc32/dl-machine.c
48346 (__elf_machine_runtime_setup) [PROF]: Don't reference
48349 2012-05-18 Andreas Jaeger <aj@suse.de>
48351 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48352 function only available for GCCs before 3.4 since GCC 3.4
48353 introduced a builtin.
48355 (llrintf): Likewise.
48356 (llrint): Likewise.
48363 (nearbyint): Likewise.
48364 (nearbyintf): Likewise.
48368 (floorf): Likewise.
48370 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48372 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48373 on both fields and cast pointer to __syscall_ulong_t.
48375 * bits/types.h (__fsword_t): New type.
48376 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48377 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48379 (__FSWORD_T_TYPE): Likewise.
48380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48381 (__FSWORD_T_TYPE): Likewise.
48382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48383 (__FSWORD_T_TYPE): Likewise.
48384 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48385 (__FSWORD_T_TYPE): Likewise.
48386 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48387 __SWORD_TYPE with __fsword_t.
48388 (statfs64): Likewise.
48390 2012-05-17 David S. Miller <davem@davemloft.net>
48392 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48394 2012-05-17 Andreas Jaeger <aj@suse.de>
48396 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48399 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48401 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48403 2012-05-17 Andreas Jaeger <aj@suse.de>
48405 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48408 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48410 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48412 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48414 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48415 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48417 2012-05-17 Andreas Jaeger <aj@suse.de>
48418 Carlos O'Donell <carlos_odonell@mentor.com>
48421 * sysdeps/x86_64/multiarch/init-arch.h
48422 (bit_YMM_Usable): Rename to...
48423 (bit_AVX_Usable): ... this.
48424 (bit_FMA4_Usable): New macro.
48425 (bit_XMM_state): New macro.
48426 (bit_YMM_state): New macro.
48427 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48428 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48429 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48430 (CPUID_OSXSAVE): New macro.
48431 (CPUID_AVX): New macro.
48432 (CPUID_FMA4): New macro.
48433 (index_YMM_Usable): Rename to...
48434 (index_AVX_Usable): ... this.
48435 (HAS_AVX): Use HAS_ARCH_FEATURE.
48436 (HAS_FMA4): Likewise.
48437 (HAS_YMM_USABLE): Remove.
48438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48439 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48441 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48442 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48443 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48444 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48445 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48447 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48449 * math/libm-test.c: Support platforms without multiple rounding modes.
48450 * math/bug-nextafter.c: Support platforms without FP exceptions.
48451 * math/bug-nexttoward.c: Likewise.
48452 * math/test-fenv.c: Likewise.
48453 * math/test-misc.c: Likewise.
48454 * stdlib/bug-getcontext.c: Likewise.
48456 2012-05-17 Andreas Jaeger <aj@suse.de>
48458 * manual/examples/search.c (critter_cmp): Change signature to
48460 * manual/string.texi (Collation Functions): Likewise.
48462 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48464 * bits/types.h: Fold copyright years.
48465 * bits/typesizes.h: Likewise.
48466 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48468 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48470 * time/time.h: Likewise.
48472 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48475 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48476 in instead of returning them. Return void.
48477 (__libc_mallinfo): Accumulate over all arenas.
48478 (__malloc_stats): Adjust for change in int_mallinfo interface.
48480 2012-05-16 Roland McGrath <roland@hack.frob.com>
48483 * configure.in (NM): Add AC_CHECK_TOOL for it.
48484 (libc_extra_cflags): New substituted variable.
48485 Check for -fstack-protector being used implicitly.
48486 * configure: Regenerated.
48487 * config.make.in (config-extra-cflags): New variable,
48488 gets @libc_extra_cflags@.
48489 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48492 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48493 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48494 * configure: Regenerated.
48495 * config.make.in (CPPUNDEFS): New substituted variable.
48496 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48497 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48498 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48502 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48503 (mq_attr): Use __syscall_slong_t.
48505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48508 Check __x86_64__ instead of __WORDSIZE.
48509 (_STAT_VER_LINUX): Likewise.
48510 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48511 __syscall_ulong_t and __syscall_slong_t.
48512 (stat64): Likewise.
48514 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48516 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48518 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48520 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48522 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48524 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48527 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48528 include <bits/wordsize.h>. Check __x86_64__ instead of
48530 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48532 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48535 include <bits/wordsize.h>. Check __x86_64__ instead of
48537 (user_regs_struct): Use "__extension__ unsigned long long"
48538 instead of "unsigned long" if __x86_64__ is defined.
48539 (user): Likewise. Pad after pointer field if __ILP32__ is
48542 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48544 * configure.in (makeinfo): Require version 4.5 or later. Allow
48546 * configure: Regenerated.
48547 * manual/install.texi (texinfo): Increase version requirement to
48549 * INSTALL: Regenerated.
48551 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48553 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48555 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48557 * sysdeps/x86_64/x32/ffs.c: New file.
48559 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48561 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48562 defined. Use __syscall_ulong_t.
48563 (shminfo): Use __syscall_ulong_t.
48564 (shm_info): Likewise.
48566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48569 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48571 (msgqnum_t): Use __syscall_ulong_t.
48572 (msglen_t): Likewise.
48573 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48576 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48577 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48579 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48581 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48582 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48584 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48587 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48588 include <bits/wordsize.h>. Check __x86_64__ instead of
48591 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48592 "unsigned long long int" if __x86_64__ is defined.
48593 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48595 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48597 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48599 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48601 (GET_PC): Cast to uintptr_t first.
48602 (GET_FRAME): Likewise.
48603 (GET_STACK): Likewise.
48605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48611 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48613 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48632 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48635 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48637 * Makerules (+depfiles): Also collect depfiles from .oS in
48639 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48640 .oS, $(libnldbl-routines)).
48642 * Makerules (native-compile-mkdep-flags): Define.
48643 * sunrpc/Makefile (extra-objs): Add $(addprefix
48644 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48645 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48646 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48647 calling $(make-target-directory).
48649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48651 * bits/types.h (__snseconds_t): Removed.
48652 * time/time.h (struct timespec): Replace __snseconds_t with
48654 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48655 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48658 (__SNSECONDS_T_TYPE): Likewise.
48659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48660 (__SNSECONDS_T_TYPE): Likewise.
48661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48662 (__SNSECONDS_T_TYPE): Likewise.
48664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48666 * sysdeps/mach/hurd/bits/typesizes.h
48667 (__SYSCALL_SLONG_TYPE): New macro.
48668 (__SYSCALL_ULONG_TYPE): Likewise.
48670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48672 * bits/types.h (__syscall_slong_t): New type.
48673 (__syscall_ulong_t): Likewise.
48675 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48676 (__SYSCALL_ULONG_TYPE): Likewise.
48677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48678 (__SYSCALL_SLONG_TYPE): Likewise.
48679 (__SYSCALL_ULONG_TYPE): Likewise.
48680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48681 (__SYSCALL_SLONG_TYPE): Likewise.
48682 (__SYSCALL_ULONG_TYPE): Likewise.
48683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48684 (__SYSCALL_SLONG_TYPE): Likewise.
48685 (__SYSCALL_ULONG_TYPE): Likewise.
48687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48689 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48690 Add sigaltstack-offsets.sym.
48691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48692 <sigaltstack-offsets.h>.
48693 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48694 longjmp_msg pointer.
48695 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48696 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48698 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48700 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48702 * elf/stackguard-macros.h: Remove file.
48703 * sysdeps/generic/stackguard-macros.h: New file.
48704 * sysdeps/i386/stackguard-macros.h: Likewise.
48705 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48706 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48707 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48708 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48709 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48710 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48711 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48712 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48713 <elf/stackguard-macros.h>.
48716 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48717 __aligned__ in attribute.
48718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48719 (gregset_t): Likewise.
48721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48723 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48724 * sysdeps/x86_64/64/Implies-after: Here. New file.
48725 * sysdeps/x86_64/x32/Implies-after: New file.
48727 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48729 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48730 and access return value for _dl_profile_fixup. Use R10_LP to
48733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48735 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48737 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48739 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48740 * sysdeps/x86_64/x32/sysdep.h: New file.
48742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48744 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48745 * sysdeps/x86_64/setjmp.S: Likewise.
48747 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48751 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48752 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48753 remove unused global constant.
48755 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48757 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48758 include of <not-cancel.h>.
48760 2012-05-15 Roland McGrath <roland@hack.frob.com>
48762 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48764 2012-05-15 Jeff Law <law@redhat.com>
48765 Andreas Jaeger <aj@suse.de>
48768 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48770 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48771 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48772 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48773 code changing __hst_map_handle.map.
48775 2012-05-15 Roland McGrath <roland@hack.frob.com>
48777 * configure.in (sysnames): Look for Implies-before and Implies-after
48779 * configure: Regenerated.
48781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48783 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48784 8-byte data alignment with LP_SIZE alignment.
48786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48788 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48793 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48797 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48798 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48799 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48801 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48805 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48806 (stackinfo_sub_sp): Likewise.
48808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48820 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48825 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48829 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48830 into R11_LP and load __x86_64_shared_cache_size_half into
48833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48838 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48847 powerpc32/power7/fpu/s_logb.c via #include.
48848 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48849 powerpc32/power7/fpu/s_logbf.c via #include.
48850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48851 powerpc32/power7/fpu/s_logbl.c via #include.
48853 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48855 * README.libm: Remove file.
48857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48859 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48860 count for x32. Use R*_LP and omit operand-size suffix.
48862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48864 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48865 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48866 * sysdeps/x86_64/x32/shlib-versions: New file.
48868 2012-05-14 Roland McGrath <roland@hack.frob.com>
48870 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48871 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48872 Use _dl_fatal_printf instead.
48874 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48876 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48877 set if not set by the user. Do not allow for being unset.
48878 * sysdeps/unix/sysv/linux/configure: Regenerated.
48880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48882 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48883 the `q' suffix from lea and replace .quad with ASM_ADDR.
48885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48888 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48890 (PTR_DEMANGLE): Likewise.
48892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48894 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48896 (ASM_ADDR): Likewise.
48897 (RAX_LP): Likewise.
48898 (RBP_LP): Likewise.
48899 (RBX_LP): Likewise.
48900 (RCX_LP): Likewise.
48901 (RDI_LP): Likewise.
48902 (RSI_LP): Likewise.
48903 (RSP_LP): Likewise.
48906 (R10_LP): Likewise.
48907 (R10_LP): Likewise.
48908 (R11_LP): Likewise.
48909 (R12_LP): Likewise.
48910 (R13_LP): Likewise.
48911 (R14_LP): Likewise.
48912 (R15_LP): Likewise.
48914 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48916 * sysdeps/x86_64/x32/dl-machine.h: New file.
48918 2012-05-14 Andreas Jaeger <aj@suse.de>
48920 * manual/Makefile (subdir): Remove export of subdir.
48921 (all): Remove target.
48922 (.PHONY): Remove all from list.
48923 (mkinstalldirs): Remove.
48924 (.PHONY): Remove installdirs from list.
48925 ($(inst_infodir)/libc.info): Use make-target-directory.
48926 (installdirs): Remove.
48927 (subdir_%): Remove.
48928 (glibc-targets): Remove.
48931 ($(objpfx)stubs ../po/manual.pot): Remove.
48932 ($(objpfx)stamp%): Remove.
48933 (make-target-directory): Remove.
48934 (subdir_install): Remove.
48935 (routines): Remove.
48942 * manual/.gitignore: Remove, it's not needed anymore.
48943 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48945 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48947 (texis): Renamed to $(objpfx)texis.
48948 (texis-path): New, contains path to generated files.
48949 (chapters.%): Use texis-path for complete path, add extra argument
48951 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48952 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48953 (summary,texi, stamp-summary): Use complete path of
48954 files. Generate files in build dir.
48955 (dir-add.texi): Build in build dir.
48956 (libm-err.texi,stamp-libm-err): Likewise.
48957 (version.texi, stamp-version): Likewise.
48958 (.%c.texi): Likewise.
48959 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48960 (mostlyclean): Remove target.
48961 (realclean): Remove target.
48962 (generated): Add new variable with contents from mostlyclean and
48963 realclean, remove entries duplicated in common-mostlyclean, add
48964 stamp-libm-err and stamp-version.
48965 (generated-dirs): Add libc directory.
48966 ($(inst_infodir)/libc.info): Install files from build dir.
48968 * manual/install.texi (Configuring and compiling): Adjust since
48969 the info files are not part of the tar ball anymore.
48971 2012-05-14 Andreas Jaeger <aj@suse.de>
48973 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48976 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48980 to 2.2.0 where earlier.
48981 * sysdeps/unix/sysv/linux/configure: Regenerated.
48982 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48983 Remove conditional code.
48984 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48985 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48986 Remove conditional code.
48987 [!__NR_lchown]: Likewise.
48988 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48989 [__NR_lchown]: Likewise.
48990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48991 comment referencing __ASSUME_LCHOWN_SYSCALL.
48992 * sysdeps/unix/sysv/linux/i386/sigaction.c
48993 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48994 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48995 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48996 Remove conditional code.
48997 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48998 (__protocol_available): Remove #if 0 code.
48999 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49001 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49002 * sysdeps/unix/sysv/linux/kernel-features.h
49003 (__ASSUME_GETCWD_SYSCALL): Don't define.
49004 (__ASSUME_REALTIME_SIGNALS): Likewise.
49005 (__ASSUME_PREAD_SYSCALL): Likewise.
49006 (__ASSUME_PWRITE_SYSCALL): Likewise.
49007 (__ASSUME_POLL_SYSCALL): Likewise.
49008 (__ASSUME_LCHOWN_SYSCALL): Likewise.
49009 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49011 (__ASSUME_SIOCGIFNAME): Don't define.
49012 (__ASSUME_MSG_NOSIGNAL): Likewise.
49013 (__ASSUME_SENDFILE): Define unconditionally.
49014 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49015 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49017 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49018 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49019 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49020 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49021 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49023 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49037 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49043 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49048 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49049 Remove conditional code.
49050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49051 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49052 Remove conditional code.
49053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49054 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49055 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49056 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49057 Remove conditional code.
49058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49059 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49060 Remove conditional code.
49061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49062 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49063 Remove conditional code.
49064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49065 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49066 Remove conditional code.
49067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49068 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49069 Remove conditional code.
49070 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49071 * sysdeps/unix/sysv/linux/sh/pwrite64.c
49072 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49074 * sysdeps/unix/sysv/linux/sigaction.c
49075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49077 * sysdeps/unix/sysv/linux/sigpending.c
49078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49080 * sysdeps/unix/sysv/linux/sigprocmask.c
49081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49083 * sysdeps/unix/sysv/linux/sigsuspend.c
49084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49087 (__libc_missing_rt_sigs): Remove.
49088 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49089 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49090 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49091 Remove conditional code.
49092 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49093 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49095 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49096 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49097 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49098 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49100 2012-05-14 Andreas Jaeger <aj@suse.de>
49102 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49103 it's not used in glibc.
49104 (__coshm1): Likewise.
49105 (__acosh1p): Likewise.
49108 * manual/string.texi (Copying and Concatenation): Add missing
49109 variable in concat example.
49110 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49116 __builtin_clzl with __builtin_clzll.
49118 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49121 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49124 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49126 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49127 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49128 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49131 2012-05-14 Mike Frysinger <vapier@gentoo.org>
49133 * NEWS: Update ia64 info.
49135 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
49137 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49140 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
49142 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49143 * sysdeps/unix/syscalls.list (dup3): Likewise.
49144 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49145 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49147 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49149 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49150 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49152 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49154 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49156 (TLS_IE): Use mov/add instead of movq/addq to load thread
49158 (TLS_GD_PREFIX): New.
49161 2012-05-11 David S. Miller <davem@davemloft.net>
49163 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49164 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49165 (_FPU_SETCW): Likewise.
49167 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49169 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49170 is 32-byte aligned.
49172 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
49175 * iconvdata/gb18030.c: Update tables.
49176 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
49177 characters specially.
49178 (BODY for TO_LOOP): Add encoding of missing ranges.
49180 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
49183 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49184 * sysdeps/mach/hurd/dup3.c: Likewise.
49185 * sysdeps/mach/hurd/readlinkat.c: Likewise.
49186 * sysdeps/powerpc/memmove.c:: Likewise.
49188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49191 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49195 * elf/elf.h (R_X86_64_RELATIVE64): New.
49196 (R_X86_64_NUM): Updated.
49197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49198 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
49199 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49200 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49201 tst-quad1pie tst-quad2pie
49202 (modules-names): Add tst-quadmod1 tst-quadmod2.
49203 ($(objpfx)tst-quad1): New dependency.
49204 ($(objpfx)tst-quad2): Likewise.
49205 ($(objpfx)tst-quad1pie): Likewise.
49206 ($(objpfx)tst-quad2pie): Likewise.
49207 * sysdeps/x86_64/tst-quad1.c: New file.
49208 * sysdeps/x86_64/tst-quad1pie.c: New file.
49209 * sysdeps/x86_64/tst-quad2.c: Likewise.
49210 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49211 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49212 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49213 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49214 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49218 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49219 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49220 * streams/stropts.h (t_scalar_t): Define type.
49222 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49223 (_PATH_PRESERVE): Set to "/var/lib".
49224 (_PATH_RWHODIR): Set to "/var/spool/rwho".
49226 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49229 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49230 if __dir_mkfile succeeded.
49232 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49233 checking for _hurd_dtablesize. Unlock it right after having
49234 finished _hurd_dtable allocation.
49236 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49238 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49239 * sysdeps/mach/hurd/configure: Regenerated.
49240 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49241 special-casing to...
49242 * sysdeps/gnu/configure.in: ... this new file.
49243 * sysdeps/unix/sysv/linux/configure: Regenerated.
49244 * sysdeps/gnu/configure: New generated file.
49246 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49247 for Linux: use nsec instead of usec, as well as:
49248 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49249 members of type struct timespec.
49250 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49252 (struct stat64): Likewise.
49253 (_STATBUF_ST_NSEC): New macro.
49254 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49256 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49257 __strtoul_internal rather than strtoul.
49259 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49261 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49266 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49267 which preserves existing values.
49268 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49270 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49272 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49273 TIMEOUT values. Return EINVAL for NFDS values either negative or
49274 greater than FD_SETSIZE.
49276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49278 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49279 allocated, call __vm_protect to finish enabling the existing space, and
49280 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49281 allocate the remainder.
49283 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49285 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49286 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
49288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49290 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49291 sysdeps/mach/hurd/readlink.c.
49293 * posix/tst-sysconf.c (posix_options): Only use
49294 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49295 _POSIX_SYNCHRONIZED_IO when they are defined
49296 * sysdeps/mach/hurd/bits/posix_opt.h:
49297 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49298 (_XOPEN_REALTIME): Undefine macro.
49299 (_XOPEN_REALTIME_THREADS): Undefine macro.
49300 (_XOPEN_SHM): Undefine macro.
49301 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49303 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49305 (_POSIX_ASYNC_IO): Undefine macro.
49306 (_POSIX_PRIORITIZED_IO): Undefine macro.
49307 (_POSIX_SPIN_LOCKS): Define macro to -1.
49309 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49310 SA_NODEFER, SA_RESETHAND.
49311 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49312 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49315 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49317 * elf/Makefile (pldd-modules): Define unconditionally.
49319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49321 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49325 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49326 Return ENOENT when name is empty.
49327 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49331 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49333 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49337 Fix mlock in all cases except non-readable pages.
49338 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49339 instead of VM_PROT_ALL as parameter to __vm_wire function.
49341 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49342 (__mkdir): When path is `/', just fail with EEXIST.
49343 * sysdeps/mach/hurd/mkdirat.c: Likewise.
49345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49347 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49348 <sys/uio.h> (for writev).
49349 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49350 and <sys/param.h> (for MIN).
49352 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49354 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49355 REQUESTED_TIME. Properly set the remaining time and return EINTR
49358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49360 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49361 Depend on against $(link-rpcuserlibs).
49363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49365 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49366 (__libc_stack_end): Do not use attribute_relro.
49367 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49368 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49369 to libthread-provided value.
49370 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49373 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49376 * bits/libc-lock.h (__libc_once_get): New macro.
49377 * sysdeps/mach/bits/libc-lock.h: Likewise.
49378 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49379 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49380 instead of using implementation details.
49382 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49383 * libio/freopen.c: Likewise.
49384 * libio/freopen64.c: Likewise.
49385 * misc/syslog.c: Likewise.
49386 * nscd/connections.c: Likewise.
49387 * nscd/netgroupcache.c: Likewise.
49388 * sysdeps/posix/getcwd.c: Likewise.
49390 2012-05-10 Roland McGrath <roland@hack.frob.com>
49392 * math/w_ilogbf.c: Add #include <limits.h>.
49394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49396 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49397 path instead of returning without unlocking.
49399 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49400 immediate-write ioctls.
49401 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49403 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49405 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49406 __builtin_frame_address instead of making assumptions about the
49407 location of the return address relative to DATA. Force early load of
49408 the return address.
49409 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49410 __builtin_frame_address.
49413 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49414 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49415 implement dup3 and do some further code clean-ups.
49416 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49417 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49421 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49423 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49424 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49425 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49426 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49427 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49430 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49431 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49432 when handler == SIG_ERR, not when handler != SIG_ERR.
49434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49436 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49437 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49440 accept4 for GNU Hurd.
49441 * include/sys/socket.h (__libc_accept4): New prototype.
49442 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49443 to implement __libc_accept4.
49444 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49446 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49448 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49449 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49450 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49451 signal-defines.sym.
49453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49455 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49457 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49459 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49460 assertion on O_CLOEXEC flag.
49461 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49462 * hurd/intern-fd.c: Likewise.
49463 * hurd/port2fd.c: Likewise.
49465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49468 * bits/in.h (IPV6_PKTINFO): Define new macro.
49469 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49471 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49476 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49478 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49479 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49481 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49482 * math/libm-test.inc (logb_test) : Additional logb tests.
49484 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49485 Andreas Jaeger <aj@suse.de>
49487 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49488 * configure: Regenerated.
49489 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49490 * config.make.in (link-obsolete-rpc): New substituted variable.
49491 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49492 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49493 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49494 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49495 so that libc.a contains the symbols.
49496 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49497 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49498 * sunrpc/auth_none.c: Likewise.
49499 * sunrpc/auth_unix.c: Likewise.
49500 * sunrpc/authdes_prot.c: Likewise.
49501 * sunrpc/authuxprot.c: Likewise.
49502 * sunrpc/clnt_gen.c: Likewise.
49503 * sunrpc/clnt_perr.c: Likewise.
49504 * sunrpc/clnt_raw.c: Likewise.
49505 * sunrpc/clnt_simp.c: Likewise.
49506 * sunrpc/clnt_tcp.c: Likewise.
49507 * sunrpc/clnt_udp.c: Likewise.
49508 * sunrpc/clnt_unix.c: Likewise.
49509 * sunrpc/des_crypt.c: Likewise.
49510 * sunrpc/des_soft.c: Likewise.
49511 * sunrpc/get_myaddr.c: Likewise.
49512 * sunrpc/key_call.c: Likewise.
49513 * sunrpc/key_prot.c: Likewise.
49514 * sunrpc/netname.c: Likewise.
49515 * sunrpc/pm_getmaps.c: Likewise.
49516 * sunrpc/pm_getport.c: Likewise.
49517 * sunrpc/pmap_clnt.c: Likewise.
49518 * sunrpc/pmap_prot.c: Likewise.
49519 * sunrpc/pmap_prot2.c: Likewise.
49520 * sunrpc/pmap_rmt.c: Likewise.
49521 * sunrpc/publickey.c: Likewise.
49522 * sunrpc/rpc_cmsg.c: Likewise.
49523 * sunrpc/rpc_common.c: Likewise.
49524 * sunrpc/rpc_dtable.c: Likewise.
49525 * sunrpc/rpc_prot.c: Likewise.
49526 * sunrpc/rpc_thread.c: Likewise.
49527 * sunrpc/rtime.c: Likewise.
49528 * sunrpc/svc.c: Likewise.
49529 * sunrpc/svc_auth.c: Likewise.
49530 * sunrpc/svc_raw.c: Likewise.
49531 * sunrpc/svc_run.c: Likewise.
49532 * sunrpc/svc_tcp.c: Likewise.
49533 * sunrpc/svc_udp.c: Likewise.
49534 * sunrpc/svc_unix.c: Likewise.
49535 * sunrpc/svcauth_des.c: Likewise.
49536 * sunrpc/xcrypt.c: Likewise.
49537 * sunrpc/xdr.c: Likewise.
49538 * sunrpc/xdr_array.c: Likewise.
49539 * sunrpc/xdr_float.c: Likewise.
49540 * sunrpc/xdr_intXX_t.c: Likewise.
49541 * sunrpc/xdr_mem.c: Likewise.
49542 * sunrpc/xdr_rec.c: Likewise.
49543 * sunrpc/xdr_ref.c: Likewise.
49544 * sunrpc/xdr_sizeof.c: Likewise.
49545 * sunrpc/xdr_stdio.c: Likewise.
49547 2012-05-10 Roland McGrath <roland@hack.frob.com>
49549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49550 change. Update copyright years.
49552 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49554 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49556 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49557 Joseph Myers <joseph@codesourcery.com>
49558 Paul Pluzhnikov <ppluzhnikov@google.com>
49561 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49563 [cross-compiling] (extra-libs): Likewise.
49564 [cross-compiling] (extra-libs-others): Likewise.
49565 [cross-compiling] (librpcsvc-routines): Likewise.
49566 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49567 [cross-compiling] (omit-deps): Likewise.
49568 (sunrpc-CPPFLAGS): New variable.
49569 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49570 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49571 (cross-rpcgen-objs): New variable.
49572 (extra-objs): Append $(cross-rpcgen-objs).
49573 ($(cross-rpcgen-objs)): New rule.
49574 ($(objpfx)cross-rpcgen): Likewise.
49575 (rpcgen-cmd): Define to use $(built-program-file). Expand
49577 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49578 ($(objpfx)x%.stmp): Likewise.
49579 * sunrpc/proto.h [IS_IN_build] (_): Define.
49580 [IS_IN_build] (_libc_intl_domainname): Likewise.
49582 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49584 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49585 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49586 and R_X86_64_TPOFF64.
49588 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49590 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49591 sysdeps/unix/sysv/syscalls.list.
49594 * sysdeps/unix/sysv/syscalls.list: Remove file.
49596 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49599 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49600 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49601 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49602 (__LC_IDENTIFICATION): Make these macros useful in #if
49603 expressions, as required by C99.
49605 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49607 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49608 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49611 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49613 * stdlib/longlong.h: Updated from GCC.
49615 2012-05-09 Andreas Jaeger <aj@suse.de>
49617 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49618 default is first entry.
49619 (run_mode): Set type.
49620 (main): Remove informal message about syslog.
49621 (options): Fix typo.
49624 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49627 (llrintf): Likewise.
49628 (llrint): Likewise.
49631 (nearbyint): Likewise.
49632 (nearbyintf): Likewise.
49634 2012-05-09 Andreas Jaeger <aj@suse.de>
49635 Pedro Alves <palves@redhat.com>
49637 * nscd/nscd.c (run_mode): Use enum.
49638 (main): Cleanup coding style issue.
49640 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49641 Andreas Jaeger <aj@suse.de>
49643 * nscd/nscd.c (go_background): Replaced with...
49644 (run_mode): ... this.
49645 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49646 (options): Add -F --foreground.
49647 (main): Implement it.
49648 (parse_opt): Parse it.
49650 2012-05-09 Andreas Jaeger <aj@suse.de>
49653 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49654 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49655 -Wconversion warning.
49656 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49659 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49661 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49663 (LC_ALL): Use macro-int-constant.
49664 (LC_COLLATE): Likewise.
49665 (LC_CTYPE): Likewise.
49666 (LC_MESSAGES): Likewise.
49667 (LC_MONETARY): Likewise.
49668 (LC_NUMERIC): Likewise.
49669 (LC_TIME): Likewise.
49670 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49671 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49673 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49675 [C99-based standards] (float_t): Expect type.
49676 [C99-based standards] (double_t): Expect type.
49677 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49679 [C99-based standards] (HUGE_VALL): Likewise.
49680 [C99-based standards] (INFINITY): Likewise.
49681 [C99-based standards] (NAN): Likewise.
49682 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49683 [C99-based standards] (FP_NAN): Likewise.
49684 [C99-based standards] (FP_NORMAL): Likewise.
49685 [C99-based standards] (FP_SUBNORMAL): Likewise.
49686 [C99-based standards] (FP_ZERO): Likewise.
49687 [C99-based standards] (FP_FAST_FMA): Use
49688 optional-macro-int-constant. Specify type. Require == 1.
49689 [C99-based standards] (FP_FAST_FMAF): Likewise.
49690 [C99-based standards] (FP_FAST_FMAL): Likewise.
49691 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49692 [C99-based standards] (FP_ILOGBNAN): Likewise.
49693 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49695 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49696 [C99-based standards] (math_errhandling): Specify type.
49697 [ISO99 || ISO11] (signgam): Do not allow.
49698 [non-C99-based standards] (copysignf): Do not allow.
49699 [non-C99-based standards] (exp2f): Likewise.
49700 [non-C99-based standards] (log2f): Likewise.
49701 [non-C99-based standards] (modff): Allow.
49702 [non-C99-based standards] (erff): Do not allow.
49703 [non-C99-based standards] (erfcf): Likewise.
49704 [non-C99-based standards] (gammaf): Likewise.
49705 [non-C99-based standards] (hypotf): Likewise.
49706 [non-C99-based standards] (j0f): Likewise.
49707 [non-C99-based standards] (j1f): Likewise.
49708 [non-C99-based standards] (jnf): Likewise.
49709 [non-C99-based standards] (lgammaf): Likewise.
49710 [non-C99-based standards] (tgammaf): Likewise.
49711 [non-C99-based standards] (y0f): Likewise.
49712 [non-C99-based standards] (y1f): Likewise.
49713 [non-C99-based standards] (ynf): Likewise.
49714 [non-C99-based standards] (isnanf): Likewise.
49715 [non-C99-based standards] (acoshf): Likewise.
49716 [non-C99-based standards] (asinhf): Likewise.
49717 [non-C99-based standards] (atanhf): Likewise.
49718 [non-C99-based standards] (cbrtf): Likewise.
49719 [non-C99-based standards] (expm1f): Likewise.
49720 [non-C99-based standards] (ilogbf): Likewise.
49721 [non-C99-based standards] (log1pf): Likewise.
49722 [non-C99-based standards] (logbf): Likewise.
49723 [non-C99-based standards] (nextafterf): Likewise.
49724 [non-C99-based standards] (remainderf): Likewise.
49725 [non-C99-based standards] (rintf): Likewise.
49726 [non-C99-based standards] (scalbf): Likewise.
49727 [non-C99-based standards] (copysignl): Likewise.
49728 [non-C99-based standards] (exp2l): Likewise.
49729 [non-C99-based standards] (log2l): Likewise.
49730 [non-C99-based standards] (modfl): Allow.
49731 [non-C99-based standards] (erfl): Do not allow.
49732 [non-C99-based standards] (erfcl): Likewise.
49733 [non-C99-based standards] (gammal): Likewise.
49734 [non-C99-based standards] (hypotl): Likewise.
49735 [non-C99-based standards] (j0l): Likewise.
49736 [non-C99-based standards] (j1l): Likewise.
49737 [non-C99-based standards] (jnl): Likewise.
49738 [non-C99-based standards] (lgammal): Likewise.
49739 [non-C99-based standards] (tgammal): Likewise.
49740 [non-C99-based standards] (y0l): Likewise.
49741 [non-C99-based standards] (y1l): Likewise.
49742 [non-C99-based standards] (ynl): Likewise.
49743 [non-C99-based standards] (isnanl): Likewise.
49744 [non-C99-based standards] (acoshl): Likewise.
49745 [non-C99-based standards] (asinhl): Likewise.
49746 [non-C99-based standards] (atanhl): Likewise.
49747 [non-C99-based standards] (cbrtl): Likewise.
49748 [non-C99-based standards] (expm1l): Likewise.
49749 [non-C99-based standards] (ilogbl): Likewise.
49750 [non-C99-based standards] (log1pl): Likewise.
49751 [non-C99-based standards] (logbl): Likewise.
49752 [non-C99-based standards] (nextafterl): Likewise.
49753 [non-C99-based standards] (remainderl): Likewise.
49754 [non-C99-based standards] (rintl): Likewise.
49755 [non-C99-based standards] (scalbl): Likewise.
49756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49757 [non-C99-based standards] (FP_*): Do not allow.
49758 [C99-based standards] (FP_*): Change to
49759 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49760 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49762 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49763 (SIG_ERR): Likewise.
49764 [X/Open-based standards] (SIG_HOLD): Likewise.
49765 (SIG_IGN): Likewise.
49766 (SIGABRT): Use macro-int-constant. Specify type. Require
49768 (SIGFPE): Likewise.
49769 (SIGILL): Likewise.
49770 (SIGINT): Likewise.
49771 (SIGSEGV): Likewise.
49772 (SIGTER): Likewise.
49773 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49774 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49775 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49776 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49777 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49778 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49779 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49780 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49781 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49782 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49783 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49784 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49785 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49786 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49787 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49788 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49789 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49790 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49791 [X/Open-based standards] (SIGTRAP): Likewise.
49792 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49793 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49794 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49795 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49796 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49799 2012-05-08 Ian Wienand <ianw@vmware.com>
49802 * time/tzset.c (__tzset_parse_tz): Update default rules for
49803 daylight time changes in the Energy Policy Act of 2005.
49805 2012-05-09 Andreas Jaeger <aj@suse.de>
49808 * elf/ldconfig.c (parse_conf): Change string to make clear that
49809 ldconfig only issued a warning if ld.so.conf does not exist.
49811 2012-05-08 David S. Miller <davem@davemloft.net>
49813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49814 movxtod instead of popping the value on the stack.
49816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49818 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49820 * config.h.in: Add HAVE_ARM_PCS_VFP.
49822 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49825 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49826 checking but the checks are disabled for any reason.
49828 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49830 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49831 and ELF64_R_TYPE with ELFW(R_TYPE).
49833 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49835 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49836 (ulimit): Likewise.
49838 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49839 (settimeofday): Likewise.
49841 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49843 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49844 a struct th_u2 inside the union, and move tu_block/tu_code into
49845 a new th_u3 union of tu_block/tu_code inside of that. Move
49846 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49847 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49848 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49849 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49850 (th_stuff): Change to th_u1.tu_stuff.
49852 (th_msg): Change to th_u1.th_u2.tu_data.
49854 2012-05-07 David S. Miller <davem@davemloft.net>
49856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49860 (SETUP_PIC_REG): Use it.
49861 (SETUP_PIC_REG_LEAF): Use it.
49863 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49869 (EXPL_FINITE): Likewise.
49870 (FLDLOG): Likewise.
49871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49872 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49874 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49876 (EXPL_FINITE): Likewise.
49877 (FLDLOG): Likewise.
49878 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49879 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49881 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49882 test of -max_value argument for long double.
49883 * sysdeps/i386/fpu/libm-test-ulps: Update.
49884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49886 2012-05-06 David S. Miller <davem@davemloft.net>
49888 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49889 quad soft-float symbols whose references which are compiler
49891 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49893 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49897 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49899 (EXPL_FINITE): Likewise.
49900 (FLDLOG): Likewise.
49903 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49904 Adjust comments for base varying.
49905 (__expl_finite): Change alias to EXPL_FINITE.
49906 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49908 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49909 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49910 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49911 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49914 (EXPL_FINITE): Likewise.
49915 (FLDLOG): Likewise.
49918 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49919 Adjust comments for base varying.
49920 (__expl_finite): Change alias to EXPL_FINITE.
49921 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49926 * math/libm-test.inc (check_float_internal): Correct ulp
49927 calculation for subnormal expected results.
49929 2012-05-06 Andreas Jaeger <aj@suse.de>
49931 * Makeconfig (+math-flags): New, set to -frounding-math.
49932 (+cflags): Add +math-flags so that all of glibc gets compiled with
49935 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49937 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49939 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49945 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49946 (__ieee754_expl): Allow for and saturate large arguments.
49947 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49948 (u_threshold): Likewise.
49949 (__exp): Call __ieee754_exp before checking for overflow and
49951 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49952 (u_threshold): Likewise.
49953 (__expf): Call __ieee754_expf before checking for overflow and
49955 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49956 (u_threshold): Likewise.
49957 (__expl): Call __ieee754_expl before checking for overflow and
49959 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49960 (__ieee754_expl): Allow for and saturate large arguments.
49961 * math/libm-test.inc (exp_test): Add another test. Do not allow
49962 missing overflow exception on overflow.
49963 (expm1_test): Do not allow missing overflow exception on overflow.
49965 * sysdeps/i386/fpu/e_expl.c: Move to ...
49966 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49967 rather than using inline asm.
49968 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49969 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49970 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49972 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49975 (signal): Likewise.
49979 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49981 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49982 sysdeps/unix/common/syscalls.list.
49983 (fchmod): Likewise.
49984 (fchown): Likewise.
49985 (ftruncate): Likewise.
49986 (getrusage): Likewise.
49987 (gettimeofday): Likewise.
49988 (setpgid): Likewise.
49989 (setregid): Likewise.
49990 (setreuid): Likewise.
49991 (sigaction): Likewise.
49992 (truncate): Likewise.
49993 (vhangup): Likewise.
49994 * sysdeps/unix/common/syscalls.list: Remove file.
49995 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49996 * sysdeps/unix/sysv/linux/Implies: Likewise.
49998 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
50000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50006 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50009 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50012 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50018 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50024 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50032 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50035 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50039 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50043 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50045 * sysdeps/unix/common/bits/dirent.h: Remove file.
50046 * sysdeps/unix/common/bits/fcntl.h: Likewise.
50048 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50049 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50050 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50051 * sysdeps/unix/bsd/isatty.c: Likewise.
50052 * sysdeps/unix/bsd/tcdrain.c: Likewise.
50053 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50054 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50056 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50060 long double comparison inaccuracies.
50061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50064 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
50066 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50069 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50072 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50073 nonzero digits before rounding a hex value.
50074 * stdlib/tst-strtod.c (tests): Add another test.
50076 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50078 * sysdeps/s390/fpu/libm-test-ulps: Update.
50080 2012-05-03 Andreas Jaeger <aj@suse.de>
50082 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50083 does not get optimized out.
50084 (malloc_opt_barrier): New.
50086 2012-05-03 Andreas Jaeger <aj@suse.de>
50087 Roland McGrath <roland@hack.frob.com>
50089 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50090 intermediate file deletion.
50091 (generated): Add .symlist files.
50093 2012-05-03 Joseph Myers <joseph@codesourcery.com>
50096 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50097 Redirect under this condition.
50098 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50099 [__USE_GNU] (__dprintf_chk): Not under this condition.
50100 [__USE_GNU] (__vdprintf_chk): Likewise.
50101 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50102 under this condition.
50103 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50104 [__USE_XOPEN2K8] (dprintf): Define under this condition.
50105 [__USE_XOPEN2K8] (vdprintf): Likewise.
50106 [__USE_GNU] (__dprintf_chk): Not under this condition.
50107 [__USE_GNU] (__vdprintf_chk): Likewise.
50108 [__USE_GNU] (dprintf): Likewise.
50109 [__USE_GNU] (vdprintf): Likewise.
50111 2012-05-03 Roland McGrath <roland@hack.frob.com>
50113 * elf/Makefile (common-generated): Set this instead of generated for
50114 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
50115 $(all-built-dso)-derived lists.
50117 2012-05-03 Andreas Jaeger <aj@suse.de>
50119 * sysdeps/i386/fpu/libm-test-ulps: Update.
50122 * FAQ.in: Likewise.
50123 * scripts/gen-FAQ.pl: Likewise.
50124 * manual/install.texi (Installation): Point to online location of
50126 * Makefile (files-for-dist): Remove FAQ.
50129 2012-05-02 Allan McRae <allan@archlinux.org>
50131 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50132 (LDFLAGS-reldepmod5.so): Likewise.
50133 (LDFLAGS-reldep6mod1.so): Likewise.
50134 (LDFLAGS-reldep6mod4.so): Likewise.
50135 (LDFLAGS-reldep8mod3.so): Likewise.
50136 (LDFLAGS-unload4mod1.so): Likewise.
50137 (LDFLAGS-unload4mod2.so): Likewise.
50138 (LDFLAGS-tst-initorder): Likewise.
50139 (LDFLAGS-tst-initordera2.so): Likewise.
50140 (LDFLAGS-tst-initordera3.so): Likewise.
50141 (LDFLAGS-tst-initordera4.so): Likewise.
50142 (LDFLAGS-tst-initorderb2.so): Likewise.
50143 (LDFLAGS-noload): Likewise.
50144 (LDFLAGS-next): Likewise.
50145 (LDFLAGS-order2mod1.so): Likewise.
50146 (LDFLAGS-order2mod2.so): Likewise.
50147 (LDFLAGS-tst-initorder2): Likewise.
50148 (LDFLAGS-tst-initorder2a.so): Likewise.
50149 (LDFLAGS-tst-initorder2b.so): Likewise.
50150 (LDFLAGS-tst-initorder2c.so): Likewise.
50151 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50153 2012-05-02 David S. Miller <davem@davemloft.net>
50155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50157 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
50160 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50162 2012-05-02 Andreas Jaeger <aj@suse.de>
50164 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50165 since we manipulate rounding mode.
50166 (CPPFLAGS-test-idouble.c): Likewise.
50167 (CPPFLAGS-test-ifloat.c): Likewise.
50168 (CFLAGS-test-ldouble.c): Likewise.
50169 (CFLAGS-test-double.c): Likewise.
50170 (CFLAGS-test-float.c): Likewise.
50171 (CFLAGS-test-misc.c): Likewise.
50172 (CFLAGS-test-test-fenv.c): Likewise.
50174 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50178 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50179 comparisons to determine direction to adjust input.
50181 2012-05-01 Roland McGrath <roland@hack.frob.com>
50183 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50184 output to the target.
50186 * scripts/localplt.awk: New file.
50187 * elf/Makefile ($(objpfx)check-localplt): Target removed.
50188 (check-localplt-CFLAGS): Variable removed.
50189 ($(all-built-dso:=.jmprel)): New static pattern rule.
50190 (generated): Add those targets.
50191 (localplt-built-dso): New variable.
50192 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50194 * elf/check-localplt.c: File removed.
50196 * scripts/check-execstack.awk: New file.
50197 * elf/Makefile ($(objpfx)check-execstack): Target removed.
50198 (check-execstack-CFLAGS): Variable removed.
50199 ($(objpfx)check-execstack.h): Target removed.
50200 ($(objpfx)execstack-default): New target.
50201 (generated): Add that instead of check-execstack.h.
50202 ($(all-built-dso:=.phdr)): New static pattern rule.
50203 (generated): Add those targets.
50204 * elf/check-execstack.c: File removed.
50206 * scripts/check-textrel.awk: New file.
50207 * elf/Makefile ($(objpfx)check-textrel): Target removed.
50208 (check-textrel-CFLAGS): Variable removed.
50209 (all-built-dso): Use := to define.o
50210 ($(all-built-dso:=.dyn)): New static pattern rule.
50211 (generated): Add those targets.
50212 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50213 * config.make.in (READELF): New substituted variable.
50214 * elf/check-textrel.c: File removed.
50216 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50218 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50220 * conform/data/ctype.h-data [C99-based standards] (isblank):
50222 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50223 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50225 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50226 Specify type. Require positive value.
50227 (EILSEQ): Likewise.
50228 (ERANGE): Likewise.
50229 [ISO || POSIX] (EILSEQ): Do not expect.
50230 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50231 Specify type. Require positive value.
50232 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50233 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50234 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50235 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50236 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50237 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50238 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50239 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50240 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50241 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50242 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50243 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50244 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50245 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50246 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50247 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50248 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50249 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50250 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50251 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50252 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50253 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50254 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50255 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50256 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50257 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50258 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50259 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50260 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50261 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50262 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50263 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50264 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50265 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50266 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50267 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50268 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50269 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50270 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50271 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50272 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50273 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50274 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50275 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50276 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50277 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50278 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50279 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50280 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50281 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50282 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50283 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50284 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50285 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50286 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50287 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50288 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50289 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50290 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50291 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50292 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50293 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50294 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50295 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50296 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50297 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50298 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50299 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50300 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50301 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50302 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50303 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50304 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50305 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50306 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50307 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50308 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50310 (FLT_ROUNDS): Expect as macro, not constant.
50311 (FLT_MANT_DIG): Use macro-int-constant.
50312 (DBL_MANT_DIG): Likewise.
50313 (LDBL_MANT_DIG): Likewise.
50314 (FLT_DIG): Likewise.
50315 (DBL_DIG): Likewise.
50316 (LDBL_DIG): Likewise.
50317 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
50318 (DBL_MIN_EXP): Likewise.
50319 (LDBL_MIN_EXP): Likewise.
50320 (FLT_MAX_EXP): Use macro-int-constant.
50321 (DBL_MAX_EXP): Likewise.
50322 (LDBL_MAX_EXP): Likewise.
50323 (FLT_MAX_10_EXP): Likewise.
50324 (DBL_MAX_10_EXP): Likewise.
50325 (LDBL_MAX_10_EXP): Likewise.
50326 (FLT_MAX): Use macro-constant.
50327 (DBL_MAX): Likewise.
50328 (LDBL_MAX): Likewise.
50329 (FLT_EPSILON): Use macro-constant. Give upper bound.
50330 (DBL_EPSILON): Likewise.
50331 (LDBL_EPSILON): Likewise.
50332 (FLT_MIN): Likewise.
50333 (DBL_MIN): Likewise.
50334 (LDBL_MIN): Likewise.
50335 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50336 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50337 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50338 [ISO11] (FLT_HAS_SUBNORM): Likewise.
50339 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50340 [ISO11] (DBL_DECIMAL_DIG): Likewise.
50341 [ISO11] (FLT_DECIMAL_DIG): Likewise.
50342 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50343 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50344 [ISO11] (FLT_TRUE_MIN): Likewise.
50345 [ISO11] (LDBL_TRUE_MIN): Likewise.
50346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50347 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50348 (SCHAR_MIN): Use macro-int-constant. Specify type.
50349 (SCHAR_MAX): Likewise.
50350 (UCHAR_MAX): Likewise.
50351 (CHAR_MIN): Likewise.
50352 (CHAR_MAX): Likewise.
50353 (MB_LEN_MAX): Use macro-int-constant.
50354 (SHRT_MIN): Use macro-int-constant. Specify type.
50355 (SHRT_MAX): Likewise.
50356 (USHRT_MAX): Likewise.
50357 (INT_MAX): Likewise.
50358 (INT_MIN): Use macro-int-constant. Specify type. Make upper
50360 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
50362 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50364 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
50365 bound negative. Suffix upper bound with "L".
50366 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50368 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50370 [C99-based standards] (LLONG_MAX): Likewise.
50371 [C99-based standards] (ULLONG_MAX): Likewise.
50372 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
50374 [ISO11] (max_align_t): Require type.
50375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50377 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50378 from $CFLAGS, without defining away __attribute__ calls.
50379 (checknamespace): Use $CFLAGS_namespace.
50381 * conform/conformtest.pl (@keywords): Only include C99 keywords
50382 for standards based on C99 or C11.
50384 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50386 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50389 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50390 usability of symbols in #if.
50392 * conform/conformtest.pl: If macro or constant types start
50393 "promoted:", expect the symbol to be of the following type
50394 promoted by the integer promotions.
50396 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50397 in one place. Also handle "macro-constant".
50399 * conform/conformtest.pl: Only accept expected macro values with
50400 "==". Parse all "macro" lines in one place.
50401 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50403 * conform/conformtest.pl: Handle braced types on "constant" lines
50404 instead of handling "typed-constant".
50405 * conform/data/signal.h-data: Use "constant" instead of
50408 * conform/conformtest.pl: Handle "optional-" at start of lines in
50409 one place rather than duplicating several cases. Handle each
50410 format of "macro" line with initial "optional-".
50412 * conform/conformtest.pl: Only accept expected constant or
50413 optional-constant values with "==". Parse all "constant" lines in
50414 one place. Parse all "optional-constant" lines in one place.
50415 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50416 * conform/data/fmtmsg.h-data: Likewise.
50417 * conform/data/netinet/in.h-data: Likewise.
50418 * conform/data/tar.h-data: Likewise.
50419 * conform/data/limits.h-data: Use "==" form on "constant" and
50420 "optional-constant" lines.
50422 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50423 Use -std=c99 for XOPEN2K.
50424 (@knownproblems): Remove.
50425 (newtoken): Don't check %isknown.
50427 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50428 Do not expect macro.
50429 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50430 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50431 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50432 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50433 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50434 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50435 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50436 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50437 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50438 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50439 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50440 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50441 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50442 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50443 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50444 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50445 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50446 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50447 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50448 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50449 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50450 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50453 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50454 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50455 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50456 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50457 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50458 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50459 [XPG3] (acosh): Likewise.
50460 [XPG3] (asinh): Likewise.
50461 [XPG3] (atanh): Likewise.
50462 [XPG3] (cbrt): Likewise.
50463 [XPG3] (expm1): Likewise.
50464 [XPG3] (ilogb): Likewise.
50465 [XPG3] (log1p): Likewise.
50466 [XPG3] (logb): Likewise.
50467 [XPG3] (nextafter): Likewise.
50468 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50469 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50470 [XPG3] (remainder): Likewise.
50471 [XPG3] (rint): Likewise.
50472 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50473 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50474 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50475 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50476 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50477 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50478 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50479 [UNIX98 || XOPEN2K] (scalb): Expect.
50480 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50481 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50482 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50483 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50484 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50485 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50486 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50487 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50488 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50489 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50490 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50491 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50492 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50493 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50494 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50495 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50496 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50497 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50498 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50499 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50500 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50501 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50502 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50503 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50504 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50505 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50506 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50507 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50508 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50509 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50510 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50511 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50512 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50513 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50514 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50515 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50516 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50517 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50518 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50519 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50520 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50521 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50522 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50523 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50524 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50525 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50526 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50527 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50528 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50529 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50530 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50531 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50532 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50533 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50534 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50535 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50536 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50537 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50538 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50539 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50540 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50541 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50542 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50543 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50544 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50545 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50546 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50547 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50548 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50549 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50550 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50551 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50552 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50553 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50554 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50555 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50556 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50557 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50558 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50559 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50560 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50561 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50562 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50563 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50564 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50565 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50566 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50567 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50568 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50569 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50570 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50571 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50572 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50573 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50574 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50575 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50576 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50577 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50578 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50579 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50580 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50581 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50582 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50583 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50584 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50585 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50586 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50587 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50588 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50589 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50590 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50591 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50592 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50593 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50594 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50595 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50596 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50597 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50598 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50599 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50600 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50601 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50602 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50603 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50604 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50605 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50606 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50607 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50608 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50609 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50610 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50611 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50612 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50613 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50614 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50615 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50616 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50618 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50619 _XOPEN_SOURCE_EXTENDED for XPG4.
50621 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50623 * Makeconfig (localtime): Remove variable.
50624 (inst_localtime-file): Likewise.
50626 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50647 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50651 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50652 comparisons to determine direction to adjust input.
50653 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50654 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50659 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50661 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50662 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50664 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50666 * math/libm-test.inc (nexttoward_test): Add more tests.
50668 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50672 in version GLIBC_2.1, not GLIBC_2.0.
50673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50676 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50679 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50681 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50682 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50683 * math/libm-test.inc (acos_test): Add more tests.
50684 (asin_test): Likewise.
50685 * sysdeps/i386/fpu/libm-test-ulps: Update.
50686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50689 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50691 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50692 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50693 * math/libm-test.inc (acos_test_tonearest): New function.
50694 (acos_test_towardzero): Likewise.
50695 (acos_test_downward): Likewise.
50696 (acos_test_upward): Likewise.
50697 (asin_test_tonearest): Likewise.
50698 (asin_test_towardzero): Likewise.
50699 (asin_test_downward): Likewise.
50700 (asin_test_upward): Likewise.
50701 (main): Call the new functions.
50702 * sysdeps/i386/fpu/libm-test-ulps: Update.
50703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50707 * math/e_exp10.c: Include <float.h>.
50708 (__ieee754_exp10): Handle underflow here rather than multiplying
50709 large negative argument by M_LN10.
50710 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50712 * math/e_exp10l.c: Include <float.h>.
50713 (__ieee754_exp10l): Handle underflow here rather than multiplying
50714 large negative argument by M_LN10l.
50715 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50716 spurious overflow exception on underflow.
50718 2012-04-29 Marek Polacek <polacek@redhat.com>
50720 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50721 (__fortify_function): New macro.
50722 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50723 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50724 __extern_always_inline.
50725 * libio/bits/stdio2.h: Likewise.
50726 * libio/bits/stdio.h: Likewise.
50727 * string/string.h: Likewise.
50728 * string/bits/string3.h: Likewise.
50729 * include/stdio.h: Likewise.
50730 * stdlib/bits/stdlib.h: Likewise.
50731 * stdlib/stdlib.h: Likewise.
50732 * rt/bits/mqueue2.h: Likewise.
50733 * rt/mqueue.h: Likewise.
50734 * posix/bits/unistd.h: Likewise.
50735 * posix/unistd.h: Likewise.
50736 * io/bits/poll2.h: Likewise.
50737 * io/bits/fcntl2.h: Likewise.
50738 * io/fcntl.h: Likewise.
50739 * io/sys/poll.h: Likewise.
50740 * misc/bits/syslog.h: Likewise.
50741 * misc/bits/syslog-ldbl.h: Likewise.
50742 * misc/sys/syslog.h: Likewise.
50743 * socket/bits/socket2.h: Likewise.
50744 * socket/sys/socket.h: Likewise.
50745 * debug/tst-chk1.c: Likewise.
50746 * wcsmbs/bits/wchar2.h: Likewise.
50747 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50748 * wcsmbs/wchar.h: Likewise.
50750 2012-04-29 Andreas Jaeger <aj@suse.de>
50752 * Makerules (tests): Remove enable-check-abi protection.
50753 (check-abi-warn): Remove.
50754 (check-abi-%): Remove check-abi-warn usage.
50756 * configure.in: Remove check-abi configure option.
50757 * configure: Regenerated.
50758 * config.make.in (enable-check-abi): Remove.
50760 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50763 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50764 double functions to double *_finite functions.
50767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50768 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50770 * stdio-common/Makefile (tests): Add tst-sprintf3.
50771 * stdio-common/tst-sprintf3.c: New file.
50773 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50774 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50776 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50778 * conform/conformtest.pl: Remove duplicate typed-constant
50781 2012-04-28 David S. Miller <davem@davemloft.net>
50783 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50784 (check-abi-%): Remove AWK script prerequisite and explicit
50786 (check-abi): Rewrite to just diff the symlist with the abilist.
50787 (config-tls, config-abi-config): Delete, no longer used.
50788 (update-abi-%): Remove AWK script and explicit abilist directory.
50789 (update-abi): Rewrite to simply compare and conditionally copy the
50790 symlist and the sysdep abilist file. Remove update-abi-config
50792 * abilist/ld.abilist: Remove.
50793 * abilist/libBrokenLocale.abilist: Remove.
50794 * abilist/libanl.abilist: Remove.
50795 * abilist/libcrypt.abilist: Remove.
50796 * abilist/libdl.abilist: Remove.
50797 * abilist/librt.abilist: Remove.
50798 * abilist/libthread_db.abilist: Remove.
50799 * abilist/libutil.abilist: Remove.
50800 * scripts/extract-abilist.awk: Remove.
50801 * scripts/merge-abilist.awk: Remove.
50802 * sysdeps/generic/libcidn.abilist: New file.
50803 * sysdeps/generic/libnss_compat.abilist: New file.
50804 * sysdeps/generic/libnss_db.abilist: New file.
50805 * sysdeps/generic/libnss_dns.abilist: New file.
50806 * sysdeps/generic/libnss_files.abilist: New file.
50807 * sysdeps/generic/libnss_hesiod.abilist: New file.
50808 * sysdeps/generic/libnss_nis.abilist: New file.
50809 * sysdeps/generic/libnss_nisplus.abilist: New file.
50810 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50811 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50812 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50814 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50815 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50816 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50817 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50818 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50819 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50820 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50821 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50822 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50824 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50825 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50826 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50827 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50829 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50830 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50831 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50833 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50834 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50836 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50838 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50943 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50944 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50945 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50948 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50949 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50950 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50951 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50952 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50953 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50954 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50955 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50956 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51008 2012-04-28 Joseph Myers <joseph@codesourcery.com>
51010 * conform/conformtest.pl: Fix typo in handling typed-constant from
51013 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51015 * README: Cut down references to pre-2.6 Linux kernels and
51016 Linuxthreads. Update lists of configurations in libc and ports
51017 and sort alphabetically. Say "or newer" with Linux kernel version
51020 * config.h.in [IS_IN_build]: Allow compiling without optimization.
51022 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51025 * math/libm-test.inc (logb_test_downward): New test to expose
51026 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51029 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51032 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51034 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51035 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51037 2012-04-26 Joseph Myers <joseph@codesourcery.com>
51039 * sysdeps/unix/i386/brk.S: Remove file.
51040 * sysdeps/unix/i386/dl-brk.S: Likewise.
51041 * sysdeps/unix/i386/pipe.S: Likewise.
51042 * sysdeps/unix/i386/sigreturn.S: Likewise.
51043 * sysdeps/unix/i386/syscall.S: Likewise.
51044 * sysdeps/unix/i386/vfork.S: Likewise.
51045 * sysdeps/unix/i386/wait.S: Likewise.
51047 * sysdeps/unix/common/tcsendbrk.c: Move to ...
51048 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51050 * configure.in (arm*-none*): Do not allow without
51051 --enable-hacker-mode.
51052 (netbsd*): Remove case setting base_os.
51053 (386bsd*): Likewise.
51054 (freebsd*): Likewise.
51057 (sunos*): Likewise.
51058 (ultrix*): Likewise.
51059 (newsos*): Likewise.
51060 (dynix*): Likewise.
51066 (minix*): Likewise.
51067 (irix4*): Likewise.
51068 (irix6*): Likewise.
51069 (solaris[2-9]*): Likewise.
51071 * configure: Regenerated.
51073 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51077 overflow or cancellation in calculating denominator.
51078 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51080 down expression to avoid unexpected rounding in newer GCCs.
51081 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51083 2012-04-26 David S. Miller <davem@davemloft.net>
51085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51086 long-double compat symbols.
51087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51101 2012-04-25 David S. Miller <davem@davemloft.net>
51103 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51104 HWCAP_* values only after the memory barriers have been defined.
51105 (atomic_full_barrier): Define.
51106 (atomic_read_barrier): Define.
51107 (atomic_write_barrier): Define.
51109 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51111 * shlib-versions: Add libgcc_s version information.
51112 * sysdeps/generic/libgcc_s.h: Remove.
51113 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51115 * sysdeps/gnu/unwind-resume.c: Likewise.
51116 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51118 2012-04-25 David S. Miller <davem@davemloft.net>
51120 * sysdeps/unix/sparc/brk.S: Delete.
51121 * sysdeps/unix/sparc/dl-brk.S: Delete.
51122 * sysdeps/unix/sparc/pipe.S: Delete.
51123 * sysdeps/unix/sparc/sysdep.S: Delete.
51124 * sysdeps/unix/sparc/sysdep.h: Delete.
51125 * sysdeps/unix/sparc/vfork.S: Delete.
51126 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51127 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51129 (ret_ERRVAL, r0, r1, MOVE): Define.
51130 (JUMPTARGET): Remove.
51131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51132 sysdeps/unix/sparc/sysdep.h
51133 (ENTRY, END): Remove.
51134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51136 2012-04-25 Joseph Myers <joseph@codesourcery.com>
51138 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51139 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51142 * timezone/README: Update upstream location and email address for
51144 * timezone/zdump.c: Update from tzcode 2012b.
51145 * timezone/zic.c: Likewise.
51147 * configure.in (libc_cv_as_needed): Remove test.
51148 * configure: Regenerated.
51149 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51150 conditional definition.
51151 [$(have-as-needed) != yes] (no-as-needed): Likewise.
51152 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51153 * config.make.in (have-as-needed): Remove variable.
51155 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51156 Paul Pluzhnikov <ppluzhnikov@google.com>
51158 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51161 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
51163 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51164 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51165 * sysdeps/sh/strlen.S: Likewise.
51167 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51169 * sysdeps/unix/fork.S: Remove file.
51170 * sysdeps/unix/i386/fork.S: Likewise.
51171 * sysdeps/unix/sparc/fork.S: Likewise.
51173 * sysdeps/unix/system.c: Remove file.
51174 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51176 * sysdeps/unix/getegid.S: Remove file.
51177 * sysdeps/unix/geteuid.S: Likewise.
51179 2012-04-24 Roland McGrath <roland@hack.frob.com>
51181 * scripts/check-localplt.awk: New file.
51182 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51184 * scripts/data/localplt-generic.data: Add a comment.
51186 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51187 NODE when __dir_mkfile failed.
51188 * sysdeps/mach/hurd/symlinkat.c: Likewise.
51189 Reported by Ludovic Courtès <ludo@gnu.org>.
51191 2012-04-24 Andreas Jaeger <aj@suse.de>
51193 * Makerules (common-clean): Also remove gen-as-const-headers
51196 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51198 * Makerules (native-compile): Do not change working directory for
51199 build. Use $(OUTPUT_OPTION) in command.
51200 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51202 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51205 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51206 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51207 * math/libm-test.inc (floor_test): Add more tests.
51208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51212 * sysdeps/unix/getdents.c: Remove file.
51213 * sysdeps/unix/sysv/getdents.c: Likewise.
51214 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51216 * sysdeps/unix/syscalls.list (madvise): Add syscall from
51217 sysdeps/unix/mman/syscalls.list.
51219 (mprotect): Likewise.
51221 (munmap): Likewise.
51222 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51223 * sysdeps/unix/mman/syscalls.list: Remove.
51224 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51226 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51227 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51228 * configure: Regenerated.
51229 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51230 $(libgcc_s_suffix).
51231 * config.make.in (libgcc_s_suffix): Remove variable.
51233 2012-04-23 Joseph Myers <joseph@codesourcery.com>
51235 * sysdeps/unix/sysv/gethostname.c: Move to ...
51236 * sysdeps/posix/gethostname.c: ... here.
51238 * sysdeps/unix/execve.S: Remove file.
51240 * sysdeps/unix/_exit.S: Remove file.
51242 2012-04-23 Andreas Jaeger <aj@suse.de>
51245 * manual/Makefile: Remove make dist support, there's no
51246 need for a stand-alone documentation tar ball.
51247 (TEXI2DVI): Define always, it's not in Makeconfig.
51250 (edition): Removed.
51251 (glibc-doc-$(edition).tar): Removed
51255 (ETAGS): Remove, it's in Makeconfig.
51256 (move-if-change): Remove, it's in Makeconfig.
51258 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
51261 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51262 (strtod, strtof, strtold, strtol, strtoul, strtoq)
51263 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51264 (strtod_l, strtof_l, strtold_l): Remove __wur.
51265 It is not necessarily an error to ignore strtol's return value.
51266 One can reliably look at the stored endptr to decide whether
51267 the number had valid syntax.
51269 2012-04-21 Andreas Jaeger <aj@suse.de>
51272 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51274 2012-04-21 Joseph Myers <joseph@codesourcery.com>
51276 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51277 * sysdeps/unix/sysv/Versions: Remove file.
51279 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
51282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51284 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
51287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51288 version from __vm86.
51290 2012-04-20 Joseph Myers <joseph@codesourcery.com>
51292 * sysdeps/unix/common/lxstat.c: Remove file.
51293 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51295 * sysdeps/unix/sysv/Makefile: Remove file.
51297 * sysdeps/unix/sysv/direct.h: Remove file.
51299 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51300 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51301 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51302 * sysdeps/unix/sysv/bits/signum.h: Likewise.
51303 * sysdeps/unix/sysv/bits/stat.h: Likewise.
51304 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51305 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51307 * sysdeps/unix/sysv/setrlimit.c: Remove file.
51309 * sysdeps/unix/xmknod.c: Remove file.
51310 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51312 * sysdeps/unix/sysv/settimeofday.c: Remove file.
51314 * sysdeps/unix/sysv/i386/time.S: Remove file.
51316 * sysdeps/unix/fxstat.c: Remove file.
51317 * sysdeps/unix/xstat.c: Likewise.
51318 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51320 * sysdeps/unix/sysv/sigaction.c: Remove file.
51322 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51323 (sysdep_headers): Remove variable.
51324 [termio.h not in sysdep_headers] (generated): Likewise.
51325 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51326 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51327 * sysdeps/unix/sysv/tcdrain.c: Likewise.
51328 * sysdeps/unix/sysv/tcflow.c: Likewise.
51329 * sysdeps/unix/sysv/tcflush.c: Likewise.
51330 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51331 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51332 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51333 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51334 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51336 * sysdeps/unix/siglist.c: Remove file.
51338 * sysdeps/unix/getppid.S: Remove file.
51340 * sysdeps/unix/mkdir.c: Remove file.
51341 * sysdeps/unix/rmdir.c: Likewise.
51343 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
51345 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51347 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51348 errlist-compat value.
51350 2012-04-18 David S. Miller <davem@davemloft.net>
51352 * sysdeps/generic/memcopy.h (reg_char): Delete.
51353 * debug/strcat_chk.c: Use char, not reg_char.
51354 * debug/strcpy_chk.c: Likewise.
51355 * debug/strncat_chk.c: Likewise.
51356 * debug/strncpy_chk.c: Likewise.
51357 * string/memchr.c: Likewise.
51358 * string/memrchr.c: Likewise.
51359 * string/rawmemchr.c: Likewise.
51360 * string/strcat.c: Likewise.
51361 * string/strchr.c: Likewise.
51362 * string/strchrnul.c: Likewise.
51363 * string/strcmp.c: Likewise.
51364 * string/strcpy.c: Likewise.
51365 * string/strncat.c: Likewise.
51366 * string/strncmp.c: Likewise.
51367 * string/strncpy.c: Likewise.
51369 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51371 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51372 __builtin_memcopy is called when src and dest ranges are known to not
51375 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51377 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51378 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51379 fwd_align_merge macro call.
51380 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51381 bwd_align_merge macro call.
51382 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51384 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51386 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51387 bwd_align_merge macros.
51388 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51389 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51390 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51392 2012-04-18 David S. Miller <davem@davemloft.net>
51394 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51396 2012-04-18 Andreas Jaeger <aj@suse.de>
51399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51400 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51403 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51404 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51405 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51407 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51408 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51409 Adjust for changed ldbl-128 files.
51411 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51412 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51413 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51415 2012-04-17 David S. Miller <davem@davemloft.net>
51417 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51419 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51421 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51422 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51423 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51424 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51425 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51426 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51428 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51431 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51432 * math/libm-test.inc: Add ilogb errno and exception tests.
51433 * math/w_ilogb.c: New file: ilogb wrapper.
51434 * math/w_ilogbf.c: New file: ilogbf wrapper.
51435 * math/w_ilogbl.c: New file: ilogbl wrapper.
51436 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51437 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51438 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51439 exception being thrown with 0.0 as argument.
51440 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51441 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51442 exception being thrown with 0.0 as argument.
51443 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51444 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51445 exception being thrown with 0.0 as argument.
51446 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51447 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51448 exception being thrown with 0.0 as argument.
51449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51450 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51451 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51452 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51453 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51454 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51455 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51456 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51457 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51459 2012-04-17 Petr Baudis <pasky@ucw.cz>
51461 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51464 2012-04-16 Marek Polacek <polacek@redhat.com>
51466 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51468 2012-04-16 Marek Polacek <polacek@redhat.com>
51470 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51471 operands of fdivp instruction.
51473 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51475 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51476 * elf/tst-auditmod3b.c: Likewise.
51477 * elf/tst-auditmod4b.c: Likewise.
51478 * elf/tst-auditmod5b.c: Likewise.
51479 * elf/tst-auditmod6b.c: Likewise.
51480 * elf/tst-auditmod6c.c: Likewise.
51481 * elf/tst-auditmod7b.c: Likewise.
51482 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51483 * sysdeps/x86_64/preconfigure.in: Likewise.
51484 * sysdeps/x86_64/preconfigure: Regenerated.
51486 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51488 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51491 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51494 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51496 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51499 * locale/iso-639.def: Fix gl language name. Spotted by
51502 2012-04-12 Roland McGrath <roland@hack.frob.com>
51505 * libio/libio.h (__io_write_fn): Update comment.
51507 2012-04-12 Petr Baudis <pasky@ucw.cz>
51510 * stdio.texi (Hook Functions): The user provided writer function
51511 is not allowed to return -1.
51513 2012-04-11 David S. Miller <davem@davemloft.net>
51515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51517 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51519 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51520 Add a leading slash to rtkaio.
51522 2012-04-11 Jim Meyering <meyering@redhat.com>
51525 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51526 It is not necessarily an error to ignore fwrite's return
51527 value. One can reliably use ferror to test for errors after
51530 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51532 * bits/types.h (__snseconds_t): New type.
51533 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51535 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51536 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51537 (__SNSECONDS_T_TYPE): Likewise.
51538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51539 (__SNSECONDS_T_TYPE): Likewise.
51540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51541 (__SNSECONDS_T_TYPE): Likewise.
51543 2012-04-10 Andreas Jaeger <aj@suse.de>
51546 * manual/time.texi (Processor Time): Return type of times is
51547 elapsed real time since an arbitrary point in the past.
51548 (CPU Time): Move CLK_TCK from here...
51549 (Processor Time): ...to here. Correct description.
51550 * manual/conf.texi (Constants for Sysconf): Correct description of
51553 2012-04-10 David S. Miller <davem@davemloft.net>
51556 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51557 where the is a gap between DT_REL(A) and DT_JMPREL.
51559 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51561 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51562 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51563 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51565 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51567 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51568 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51569 (dl_main): Handle --inhibit-cache.
51570 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51572 * elf/dl-load.c (_dl_map_object): Use it.
51573 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51575 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51578 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51579 (__ieee754_powl): Saturate large exponents rather than testing for
51580 overflow of y*log2(x).
51581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51582 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51586 * math/s_ctan.c: Include <float.h>.
51587 (__ctan): Avoid internal overflow or cancellation in calculating
51589 * math/s_ctanf.c: Likewise.
51590 * math/s_ctanl.c: Likewise.
51591 * math/s_ctanh.c: Likewise.
51592 * math/s_ctanhf.c: Likewise.
51593 * math/s_ctanhl.c: Likewise.
51594 * math/libm-test.inc (ctan_test): Add more tests.
51595 (ctanh_test): Likewise.
51596 * sysdeps/i386/fpu/libm-test-ulps: Update.
51597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51599 2012-04-09 Andreas Jaeger <aj@suse.de>
51602 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51603 is an optional BSD extension.
51606 * manual/stdio.texi (Opening Streams): Document additional fopen
51609 2012-04-09 Roland McGrath <roland@hack.frob.com>
51611 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51612 %eax without telling the compiler.
51614 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51617 * manual/install.texi: Use sourceware.org.
51619 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51622 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51623 (__ieee754_pow): Generate overflow and underflow using huge*huge
51624 and tiny*tiny rather than just returning constant infinity or zero
51625 for large exponents.
51626 * math/libm-test.inc (pow_test): Require overflow exceptions for
51627 applicable cases of large exponents.
51630 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51631 (__ieee754_pow): Use iterative multiplication algorithm only for
51632 integer exponents with absolute value below 1024. Check for odd
51633 integer exponents when using algorithm for real exponents.
51634 * math/libm-test.inc (pow_test): Add more tests.
51635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51637 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51640 * math/libm-test.inc (exp_test): Do not allow overflow exception
51643 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51646 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51647 instead of __kernel_standard_f.
51649 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51651 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51652 * sysdeps/x86_64/memset_chk.S: Likewise.
51654 2012-04-08 Andreas Jaeger <aj@suse.de>
51657 * manual/startup.texi (Environment Access): Describe return value
51658 for putenv and setenv.
51661 * manual/filesys.texi (Directory Entries): Add description for
51665 * manual/filesys.texi (Directory Entries): Clarify that it's file
51666 system not operating system in the description of DT_UNKNOWN.
51669 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51671 2012-04-08 Stephen Compall <s11@member.fsf.org>
51674 * manual/llio.texi (Opening and Closing Files): Add cross
51675 reference to explain mode argument.
51677 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51679 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51680 * sysdeps/x86_64/memset_chk.S: Likewise.
51682 2012-04-07 David S. Miller <davem@davemloft.net>
51684 * elf/elf.h (R_SPARC_WDISP10): Define.
51685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51687 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51688 R_SPARC_SIZE64 and R_SPARC_H34.
51690 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51693 conditions and remove no longer applicable assertion.
51695 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51697 * bits/byteswap.h: Include <features.h>.
51698 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51699 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51701 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51703 * bits/byteswap.h (__bswap_16): Removed.
51704 Include <bits/byteswap-16.h> to get __bswap_16.
51705 * sysdeps/i386/bits/byteswap.h: Likewise.
51706 * sysdeps/s390/bits/byteswap.h: Likewise.
51707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51708 * bits/byteswap-16.h: New file.
51709 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51710 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51711 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51712 * string/Makefile (headers): Add bits/byteswap-16.h.
51714 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51717 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51719 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51720 * nss/tst-nss-static.c: New.
51722 2012-04-06 Robert Millan <rmh@gnu.org>
51725 * manual/llio.texi (File Position Primitive): lseek
51726 refers to WHENCE when it really means OFFSET.
51728 2012-04-06 Andreas Jaeger <aj@suse.de>
51730 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51731 strncmp declarations.
51733 * abilist/libc.abilist: Add __poll and __ppoll.
51735 2012-04-05 David S. Miller <davem@davemloft.net>
51737 * scripts/check-local-headers.sh: Accept a host triplet in the
51738 path matched by the exclude regexp.
51740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51742 * sysdeps/powerpc/powerpc32/dl-machine.h
51743 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51744 * sysdeps/s390/s390-32/dl-machine.h
51745 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51746 * sysdeps/sparc/sparc32/dl-machine.h
51747 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51748 * sysdeps/sparc/sparc64/dl-machine.h
51749 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51751 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51753 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51754 undefined symbol errors.
51756 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51759 2012-04-05 Michael Matz <matz@suse.de>
51762 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51764 2012-04-05 Andreas Jaeger <aj@suse.de>
51767 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51770 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51773 which ROUND is no valid rounding mode.
51775 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51779 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51781 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51783 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51784 an exception using FPU order intentionally.
51786 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51788 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51789 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51790 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51791 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51793 2012-04-05 Simon Josefsson <simon@josefsson.org>
51796 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51797 EINVAL when BUFLEN is too smal.
51799 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51802 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51803 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51805 2012-04-03 Andreas Jaeger <aj@suse.de>
51808 * manual/setjmp.texi (System V contexts): Fix sentence.
51811 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51812 New macro for this case.
51813 [!__GNUC__] (__bswap_64): New inline function for this case.
51814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51815 * bits/byteswap.h: Likewise.
51816 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51817 ull, guard with __GLIBC_HAVE_LONG_LONG.
51819 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51820 __GLIBC_HAVE_LONG_LONG.
51822 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51823 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51825 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51828 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51829 inptr and inend, rather than using last_ch.
51831 2012-04-02 David S. Miller <davem@davemloft.net>
51833 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51834 * stdio-common/printf-parse.h (read_int): Change return type to
51835 'int', return -1 on INT_MAX overflow.
51836 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51837 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51838 overflows INT_MAX. Check for overflow of in-format-string precision
51839 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51840 SIZE_MAX not INT_MAX for integer overflow test.
51841 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51842 skip the construct in the format string but do not record anything.
51843 * stdio-common/bug22.c: Adjust to test both width/prevision
51844 INT_MAX overflow as well as total length INT_MAX overflow. Check
51845 explicitly for proper errno values.
51847 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51849 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51851 * string/test-strcmp.c [! WIDE]: Likewise.
51852 * time/tst-mktime2.c: Likewise for INT_MAX.
51853 * string/test-string.h: #include <sys/param.h> for MIN.
51855 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51856 * sysdeps/i386/init-first.c (init): Likewise.
51857 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51858 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51859 * sysdeps/sh/init-first.c (init): Likewise.
51861 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51863 * po/ru.po: Update from translation team.
51864 * po/vi.po: Likewise.
51866 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51868 * resolv/nss_dns/dns-host.c: Merge copyright years.
51870 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51873 Optimize memcpy with prefetch if
51874 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51875 src, dst pointers have unequal 16 byte alignments.
51877 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51880 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51881 from a CNAME entry and return the minimum ttl for the query.
51882 (gaih_getanswer_slice): Likewise.
51884 2012-03-30 Jeff Law <law@redhat.com>
51886 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51888 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51889 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51891 * resolv/nss_dns/dns-host.c: Update copyright year.
51893 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51895 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51896 requests to save a system call. Fix check that all bytes are sent.
51898 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51899 comments for sendmmsg.
51901 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51905 with only 1 character between 0x0041 and 0x01b0.
51906 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51907 * wcsmbs/tst-mbsnrtowcs.c: New file.
51909 2012-03-29 David S. Miller <davem@davemloft.net>
51911 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51912 small copies by hand.
51914 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51917 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51918 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51921 2012-03-28 David S. Miller <davem@davemloft.net>
51923 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51924 that branches into memcpy.
51925 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51928 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51931 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51932 implementation too.
51933 * sysdeps/sparc/mempcpy.S: New file.
51935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51936 the IFUNC routine in the libc case.
51937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51939 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51941 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51942 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51943 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51944 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51945 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51946 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51948 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51949 loop to 256 bytes instead of 64 bytes and fix test signedness.
51951 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51952 * sysdeps/sparc/sparc32/Makefile: rather than here...
51953 * sysdeps/sparc/sparc64/Makefile: and here.
51955 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51957 * malloc/mallocbug.c: Avoid warnings about unused variables.
51959 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51962 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51963 in the right place. Discard and retry query if response is
51964 larger than input buffer size.
51966 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51971 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51972 x for large integer exponent.
51973 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51974 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51975 sign of result as needed afterwards.
51976 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51978 result for underflowing pow the same as for overflow.
51979 (__kernel_standard_l): Handle powl overflow and underflow here
51980 rather than calling __kernel_standard.
51981 * math/libm-test.inc (pow_test): Add more tests.
51996 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51997 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51998 (__kernel_standard_l): New function.
51999 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52001 * math/w_acosl.c (__acosl): Likewise.
52002 * math/w_asinl.c (__asinl): Likewise.
52003 * math/w_atan2l.c (__atan2l): Likewise.
52004 * math/w_atanhl.c (__atanhl): Likewise.
52005 * math/w_coshl.c (__coshl): Likewise.
52006 * math/w_exp10l.c (__exp10l): Likewise.
52007 * math/w_exp2l.c (__exp2l): Likewise.
52008 * math/w_fmodl.c (__fmodl): Likewise.
52009 * math/w_hypotl.c (__hypotl): Likewise.
52010 * math/w_j0l.c (__j0l, __y0l): Likewise.
52011 * math/w_j1l.c (__j1l, __y1l): Likewise.
52012 * math/w_jnl.c (__jnl, __ynl): Likewise.
52013 * math/w_lgammal.c (__lgammal): Likewise.
52014 * math/w_log10l.c (__log10l): Likewise.
52015 * math/w_log2l.c (__log2l): Likewise.
52016 * math/w_logl.c (__logl): Likewise.
52017 * math/w_powl.c (__powl): Likewise.
52018 * math/w_remainderl.c (__remainderl): Likewise.
52019 * math/w_scalbl.c (sysv_scalbl): Likewise.
52020 * math/w_sinhl.c (__sinhl): Likewise.
52021 * math/w_sqrtl.c (__sqrtl): Likewise.
52022 * math/w_tgammal.c (__tgammal): Likewise.
52023 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52024 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52025 * math/libm-test.inc (acos_test): Add more tests.
52026 (acosh_test): Likewise.
52027 (asin_test): Likewise.
52028 (atanh_test): Likewise.
52029 (exp_test): Likewise.
52030 (exp10_test): Likewise.
52031 (exp2_test): Likewise.
52032 (expm1_test): Likewise.
52033 (lgamma_test): Likewise.
52034 (log_test): Likewise.
52035 (log10_test): Likewise.
52036 (log1p_test): Likewise.
52037 (log2_test): Likewise.
52038 (pow_test): Do not allow some spurious overflow exceptions.
52039 (sqrt_test): Add more tests.
52040 (tgamma_test): Likewise.
52041 (y0_test): Likewise.
52042 (y1_test): Likewise.
52043 (yn_test): Likewise.
52045 2012-03-27 Anton Blanchard <anton@samba.org>
52047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52049 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52050 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52053 2012-03-27 David S. Miller <davem@davemloft.net>
52055 * conform/Makefile: Run run-conformtest.sh using $(BASH).
52057 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52058 have-as-vis3 check.
52060 2012-03-27 Andreas Jaeger <aj@suse.de>
52062 * sysdeps/x86_64/elf/configure.in: Moved to ...
52063 * sysdeps/x86_64/configure.in: ... here.
52064 * sysdeps/x86_64/elf/start.S: Moved to ...
52065 * sysdeps/x86_64/start.S: ... here.
52066 * sysdeps/x86_64/elf/configure: Delete.
52068 * sysdeps/x86_64/configure.in: Merge contents from
52069 sysdeps/i386/configure.in (without i686 check).
52071 * sysdeps/i386/elf/Versions: Merge into ...
52072 * sysdeps/i386/Versions: ... this.
52073 * sysdeps/i386/elf/Versions: Delete file.
52074 * sysdeps/i386/elf/start.S: Moved to ...
52075 * sysdeps/i386/start.S: ...here.
52076 * sysdeps/i386/elf/configure.in: Merge into...
52077 * sysdeps/i386/configure.in: ...here.
52078 * sysdeps/i386/elf/configure.in: Delete file.
52079 * sysdeps/i386/elf/configure: Delete file.
52081 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52082 * debug/backtracesyms.c: ... here.
52083 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52084 * debug/backtracesymsfd.c: ... here.
52085 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52086 * sysdeps/generic/ifunc-sel.h: ... here.
52088 * sysdeps/unix/i386/start.c: Delete file.
52089 * sysdeps/unix/sparc/start.c: Delete file.
52090 * sysdeps/unix/start.c: Delete file.
52092 * sysdeps/sh/elf/configure.in: Moved to ...
52093 * sysdeps/sh/configure.in: ... here.
52094 * sysdeps/sh/elf/start.S: Moved to ...
52095 * sysdeps/sh/start.S: ... here.
52096 * sysdeps/sh/elf/configure: Delete file.
52098 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52099 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52100 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52101 * sysdeps/powerpc/powerpc64/entry.h: ... here.
52102 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52103 * sysdeps/powerpc/powerpc64/start.S: here.
52104 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52105 * sysdeps/powerpc/powerpc64/Makefile: ... this.
52106 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52107 * sysdeps/powerpc/powerpc64/configure.in: ... this.
52108 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52110 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52111 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52112 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52113 * sysdeps/powerpc/powerpc32/start.S: ... here.
52114 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52115 * sysdeps/powerpc/powerpc32/configure.in: ... this.
52116 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52118 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52119 * sysdeps/powerpc/ifunc-sel.h: ... here.
52120 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52121 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52123 * sysdeps/sparc/elf/configure.in: Moved to ...
52124 * sysdeps/sparc/configure.in: ... here.
52125 * sysdeps/sparc/elf/configure: Delete file.
52126 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52127 * sysdeps/sparc/sparc32/start.S: ... here.
52128 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52129 * sysdeps/sparc/sparc64/start.S: ... here.
52130 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52131 * sysdeps/sparc/sparc32/Makefile: ... this.
52132 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52133 * sysdeps/sparc/sparc64/Makefile: ... this.
52135 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52136 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52137 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52138 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52139 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52140 * sysdeps/s390/s390-32/setjmp.S: ... here.
52141 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52142 * sysdeps/s390/s390-32/configure.in: ... here.
52143 * sysdeps/s390/s390-32/elf/configure: Delete file.
52144 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52145 * sysdeps/s390/s390-32/start.S: ... here.
52147 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52148 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52149 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52150 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52151 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52152 * sysdeps/s390/s390-64/setjmp.S: ... here.
52153 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52154 * sysdeps/s390/s390-64/configure.in: ... here
52155 * sysdeps/s390/s390-64/elf/configure: Delete file.
52156 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52157 * sysdeps/s390/s390-64/start.S: ... here.
52158 * sysdeps/s390/s390-64/elf/configure: Delete.
52160 * configure.in: Remove support for elf directories in sysdeps.
52162 * configure: Regenerated.
52163 * sysdeps/i386/configure: Regenerated.
52164 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52165 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52166 * sysdeps/s390/s390-32/configure: Regenerated.
52167 * sysdeps/s390/s390-64/configure: Regenerated.
52168 * sysdeps/sh/configure: Regenerated.
52169 * sysdeps/sparc/configure: Regenerated.
52170 * sysdeps/x86_64/configure: Regenerated.
52172 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
52174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52177 denormal result into account.
52179 2012-03-25 Roland McGrath <roland@hack.frob.com>
52181 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52182 Reported by Allan McRae <allan@archlinux.org>.
52184 2012-03-23 Jeff Law <law@redhat.com>
52186 * nss/getnssent.c (__nss_getent): Fix typo.
52188 2012-03-23 David S. Miller <davem@davemloft.net>
52190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52192 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
52194 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52195 to pad to uint64_t for each field.
52196 (dl_tls_index): Replace unsigned long with uint64_t.
52198 2012-03-23 Daniel Jacobowitz <dmj@google.com>
52199 Paul Pluzhnikov <ppluzhnikov@google.com>
52202 * grp/Makefile (otherlibs): Don't set it.
52203 * inet/Makefile (otherlibs): Likewise.
52204 * login/Makefile (otherlibs): Likewise.
52205 * nscd/Makefile (otherlibs): Likewise.
52206 * posix/Makefile (otherlibs): Likewise.
52207 * pwd/Makefile (otherlibs): Likewise.
52208 * rt/Makefile (otherlibs): Likewise.
52209 * sunrpc/Makefile (otherlibs): Likewise.
52210 * nss/Makefile (otherlibs): Likewise.
52211 Add libnss_files to routines and static-only-routines.
52212 ($(objpfx)getent): Remove rule.
52213 * resolv/Makefile: Add libnss_dns and libresolv to routines and
52214 static-only-routines.
52216 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52219 * math/s_cexp.c: Include <float.h>.
52220 (__cexp): Handle exp result overflowing not necessarily
52221 overflowing both real and imaginary parts of result.
52222 * math/s_cexpf.c: Likewise.
52223 * math/s_cexpl.c: Likewise.
52224 * math/libm-test.inc (cexp_test): Add more tests.
52225 * sysdeps/i386/fpu/libm-test-ulps: Update.
52226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52228 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52230 * include/link.h (ELFW): New macro.
52231 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52232 Replace ELF64_R_TYPE with ELFW(R_TYPE).
52234 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52236 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52239 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52241 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52243 (struct La_x32_retval): Likewise.
52245 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52247 * sysdeps/x86_64/preconfigure.in: New file.
52248 * sysdeps/x86_64/preconfigure: New generated file.
52250 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52253 * math/e_exp2l.c: Include <float.h>.
52254 (__ieee754_exp2l): Handle overflow and underflow cases
52255 separately. Only pass fractional part of argument to
52257 * math/libm-test.inc (exp2_test): Add more tests.
52259 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52260 negating x to take absolute value.
52261 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52263 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52264 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52266 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52267 computing low part if x was negated.
52268 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52270 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52272 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52273 la_x32_gnu_pltexit.
52274 (pltexit): Cast int_retval to ptrdiff_t.
52275 * elf/tst-auditmod3b.c: Likewise.
52276 * elf/tst-auditmod4b.c: Likewise.
52277 * elf/tst-auditmod5b.c: Likewise.
52278 * elf/tst-auditmod6b.c: Likewise.
52279 * elf/tst-auditmod6c.c: Likewise.
52280 * elf/tst-auditmod7b.c: Likewise.
52282 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52283 and x32_gnu_pltexit.
52285 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52286 __ELF_NATIVE_CLASS.
52287 (La_x32_regs): New macro.
52288 (La_x32_retval): Likewise.
52289 (la_x32_gnu_pltenter): New function prototype.
52290 (la_x32_gnu_pltexit): Likewise.
52292 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
52294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52299 * configure.in (libc_cv_cc_nofma): Check for option to disable
52300 generation of FMA instructions.
52301 * configure: Regenerate.
52302 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52303 * sysdeps/ieee754/dbl-64/Makefile: New file.
52304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52305 Remove brandred-fma4.
52306 (CFLAGS-brandred-fma4.c): Remove.
52307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52315 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52316 LLONG_MAX != LONG_MAX.
52317 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52318 (_fitoa_word): Likewise.
52319 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52320 LLONG_MAX != LONG_MAX.
52321 * stdio-common/_itowa.h: Include <_itoa.h>.
52322 (_itowa_word): Use _ITOA_WORD_TYPE on value.
52323 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
52324 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
52325 only if not defined.
52326 (_ITOA_WORD_TYPE): Likewise.
52327 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52328 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52330 2012-03-21 David S. Miller <davem@davemloft.net>
52332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52334 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52336 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52337 of x86_64 when setting libc_cv_slibdir, libdir and
52339 * sysdeps/unix/sysv/linux/configure: Regenerated.
52341 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52343 * manual/lang.texi (Old Varargs): Remove section.
52344 (How Variadic): Update menu.
52345 (va_start): Do not mention varargs.h.
52347 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52348 Joseph Myers <joseph@codesourcery.com>
52350 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52352 * configure: Regenerated.
52354 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52356 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52357 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52363 * Makefile (files-for-dist): Remove NOTES.
52364 (NOTES): Remove rule.
52365 * README: Don't refer to NOTES.
52366 * manual/creature.texi: Don't include macros.texi.
52367 * manual/intro.texi (creature.texi): Remove comment referring to
52370 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52371 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52372 * configure: Regenerated.
52373 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52374 LIBC_TRY_CC_OPTION.
52375 (libc_cv_as_i686): Likewise.
52376 (libc_cv_cc_avx): Likewise.
52377 (libc_cv_cc_sse2avx): Likewise.
52378 (libc_cv_cc_fma4): Likewise.
52379 (libc_cv_cc_novzeroupper): Likewise.
52380 * sysdeps/i386/configure: Regenerated.
52383 * sysdeps/i386/fpu/s_cexp.S: Remove.
52384 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52385 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52386 * math/libm-test.inc (cexp_test): Add more tests.
52387 * sysdeps/i386/fpu/libm-test-ulps: Update.
52388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52390 2012-03-21 Allan McRae <allan@archlinux.org>
52392 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52394 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52397 * math/w_exp2.c: Do not include <float.h>.
52398 (o_threshold, u_threshold): Remove.
52399 (__exp2): Calculate result before checking finiteness and calling
52401 * math/w_exp2f.c: Likewise.
52402 * math/w_exp2l.c: Likewise.
52403 * math/libm-test.inc (exp2_test): Require overflow exception for
52407 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52408 range of signed 64-bit integers before using fistpll. Remove
52409 checks for whether integers fit in mantissa bits.
52410 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52411 the range of signed 32-bit integers before using fistpl. Remove
52412 checks for whether integers fit in mantissa bits.
52413 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52414 (__ieee754_powl): Test for y outside the range of signed 64-bit
52415 integers before using fistpll. Reduce 64-bit values to 63-bit
52417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52418 divide-by-zero is raised for zero to large negative powers.
52419 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52420 (__ieee754_powl): Test for y outside the range of signed 64-bit
52421 integers before using fistpll. Reduce 64-bit values to 63-bit
52423 * math/libm-test.inc (pow_test): Add more tests.
52425 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52427 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52428 <stdio-common/_itoa.h>.
52429 * debug/segfault.c: Likewise.
52430 * elf/dl-cache.c: Likewise.
52431 * elf/dl-minimal.c: Likewise.
52432 * elf/dl-misc.c: Likewise.
52433 * elf/dl-sysdep.c: Likewise.
52434 * elf/dl-version.c: Likewise.
52435 * elf/rtld.c: Likewise.
52436 * hurd/hurdsock.c: Likewise.
52437 * hurd/lookup-retry.c: Likewise.
52438 * malloc/malloc.c: Likewise.
52439 * malloc/mtrace.c: Likewise.
52440 * nscd/nscd_getgr_r.c: Likewise.
52441 * nscd/nscd_getpw_r.c: Likewise.
52442 * nscd/nscd_getserv_r.c: Likewise.
52443 * posix/getopt_init.c: Likewise.
52444 * posix/wordexp.c: Likewise.
52445 * stdio-common/_itoa.c: Likewise.
52446 * stdio-common/printf_fphex.c: Likewise.
52447 * stdio-common/vfprintf.c: Likewise.
52448 * string/_strerror.c: Likewise.
52449 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52450 * sysdeps/i386/i686/hp-timing.h: Likewise.
52451 * sysdeps/mach/_strerror.c: Likewise.
52452 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52453 * sysdeps/mach/hurd/sethostid.c: Likewise.
52454 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52455 * sysdeps/mach/xpg-strerror.c: Likewise.
52456 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52457 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52458 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52459 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52460 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52461 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52462 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52463 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52464 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52465 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52466 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52467 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52468 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52469 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52470 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52471 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52472 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52473 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52474 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52475 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52476 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52478 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52480 * stdio-common/_itoa.h: Moved to ...
52481 * sysdeps/generic/_itoa.h: Here.
52483 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52485 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52486 instead of "_itoa.h" and "_itowa.h".
52487 * stdio-common/vfprintf.: Likewise.
52489 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52491 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52493 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52494 (__signbit): Likwise.
52495 (llrintf): Likwise.
52498 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52500 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52503 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52505 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52506 OVERFLOW_EXCEPTION_OK.
52507 * math/libm-test.inc ("Philosophy"): Update comment about
52509 (OVERFLOW_EXCEPTION): Define.
52510 (OVERFLOW_EXCEPTION_OK): Likewise.
52511 (INVALID_EXCEPTION_OK): Renumber.
52512 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52513 (IGNORE_ZERO_INF_SIGN): Likewise.
52514 (test_exceptions): Handle FE_OVERFLOW.
52515 (exp10_test): Expect overflow exceptions.
52516 (exp2_test): Likewise.
52517 (expm1_test): Likewise.
52518 (nextafter_test): Likewise.
52519 (pow_test): Likewise.
52520 (scalbn_test): Likewise.
52521 (scalbln_test): Likewise.
52523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52525 * sysdeps/x86_64/bits/atomic.h
52526 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52528 (atomic_exchange_acq): Likewise.
52529 (__arch_exchange_and_add_body): Likewise.
52530 (__arch_add_body): Likewise.
52531 (atomic_add_negative): Likewise.
52532 (atomic_add_zero): Likewise.
52534 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52536 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52537 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52539 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52541 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52542 Check __x86_64__ instead of __WORDSIZE.
52544 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52546 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52548 2012-03-19 David S. Miller <davem@davemloft.net>
52550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52552 * sysdeps/sparc/fpu/fenv_private.h: New file.
52553 * sysdeps/sparc/fpu/math_private.h: Use it.
52554 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52556 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52557 (libc_feholdexcept_setroundl): Remove.
52558 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52560 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52561 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52565 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52566 int64_t instead of long int.
52567 (INSERT_WORDS64): Likwise.
52569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52571 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52572 _Unwind_GetCFA return to _Unwind_Ptr first.
52574 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52577 * math/s_clog.c: Include <float.h>.
52578 (__clog): Scale large or subnormal inputs.
52579 * math/s_clogf.c: Likewise.
52580 * math/s_clogl.c: Likewise.
52581 * math/s_clog10.c: Include <float.h>.
52582 (M_LOG10_2): Define.
52583 (__clog10): Scale large or subnormal inputs.
52584 * math/s_clog10f.c: Likewise.
52585 * math/s_clog10l.c: Likewise.
52586 * math/libm-test.inc (clog_test): Add more tests.
52587 (clog10_test): Likewise.
52588 * sysdeps/i386/fpu/libm-test-ulps: Update.
52589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52592 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52594 * math/libm-test.inc (atan2_test): Add another test.
52596 * Makerules (common-objdir-compile): Remove.
52597 * sysdeps/unix/Makefile (config-generated): Do not add
52598 $(unix-generated) to variable.
52599 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52600 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52602 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52604 [generic bits/local_lim.h] (before-compile): Do not append to
52606 [generic bits/local_lim.h] (common-generated): Likewise.
52607 [generic sys/param.h] (before-compile): Do not append to variable.
52608 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52609 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52610 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52613 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52614 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52615 [generic sys/param.h] ($(addprefix
52616 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52617 [generic sys/param.h] (common-generated): Do not append to
52619 [generic sys/param.h] (sysdep_headers): Likewise.
52620 [generic bits/errno.h] (before-compile): Do not append to
52622 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52624 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52625 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52626 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52627 [generic bits/errno.h] (common-generated): Do not append to
52629 [generic bits/ioctls.h] (before-compile): Do not append to
52631 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52633 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52634 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52635 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52637 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52638 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52639 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52640 [generic bits/ioctls.h] (common-generated): Do not append to
52642 [generic sys/syscall.h] (syscall.h): Remove variable.
52643 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52645 [generic sys/syscall.h] (before-compile): Do not append to
52647 [generic sys/syscall.h] (common-generated): Likewise.
52648 * sysdeps/unix/errnos-tmpl.c: Remove file.
52649 * sysdeps/unix/errnos.awk: Likewise.
52650 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52651 * sysdeps/unix/ioctls.awk: Likewise.
52652 * sysdeps/unix/mk-local_lim.c: Likewise.
52653 * sysdeps/unix/snarf-ioctls: Likewise.
52655 2012-03-19 Richard Henderson <rth@twiddle.net>
52657 * sysdeps/i386/fpu/fenv_private.h: New file.
52658 * sysdeps/i386/fpu/math_private.h: Use it.
52659 (math_opt_barrier, math_force_eval): Remove.
52660 (libc_feholdexcept_setround_53bit): Remove.
52661 (libc_feupdateenv_53bit): Remove.
52662 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52663 (math_opt_barrier, math_force_eval): Remove.
52664 (libc_feholdexcept): Remove.
52665 (libc_feholdexcept_setround): Remove.
52666 (libc_fetestexcept, libc_fesetenv): Remove.
52667 (libc_feupdateenv_test): Remove.
52668 (libc_feupdateenv, libc_feholdsetround): Remove.
52669 (libc_feresetround): Remove.
52671 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52672 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52674 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52675 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52676 (libc_feupdateenv_testl): New.
52677 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52678 (libc_feupdateenv_testf): New.
52679 (libc_feupdateenv): Use libc_feupdateenv_test.
52680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52683 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52684 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52685 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52686 (libc_feresetround_noex): New.
52687 (libc_feresetround_noexf): New.
52688 (libc_feresetround_noexl): New.
52689 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52690 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52691 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52692 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52695 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52697 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52698 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52699 SET_RESTORE_ROUND_NOEX.
52700 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52701 SET_RESTORE_ROUND_NOEXF.
52702 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52703 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52704 (libc_feholdsetroundf): New.
52705 (libc_feresetround, libc_feresetroundf): New.
52707 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52708 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52709 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52711 * sysdeps/generic/math_private.h: Include <fenv.h>.
52712 (default_libc_feholdexcept): New.
52713 (default_libc_feholdexcept_setround): New.
52714 (default_libc_fesetenv, default_libc_feupdateenv): New.
52715 (libc_feholdexcept): Only define if undefined.
52716 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52717 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52718 (libc_feholdexcept_setroundl): Likewise.
52719 (libc_feholdexcept_setround_53bit): Likewise.
52720 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52721 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52722 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52723 (libc_feupdateenv_53bit): Likewise.
52724 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52725 (libc_feholdexcept): Convert from macro to inline function.
52726 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52727 (libc_fesetenv, libc_feupdateenv): Likewise.
52729 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52730 not previously defined.
52731 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52732 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52733 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52734 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52735 * sysdeps/ieee754/flt-32/math_private.h: New file.
52736 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52737 math_private.h below SET_FLOAT_WORD.
52738 (__isnan, __isinf_ns, __finite): Remove.
52739 (__isnanf, __isinf_nsf, __finitef): Remove.
52741 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52745 2012-03-17 David S. Miller <davem@davemloft.net>
52748 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52751 2012-03-16 David S. Miller <davem@davemloft.net>
52753 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52757 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52759 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52760 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52761 sysdep_routines when subdir is sysvipc.
52762 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52763 __getshmlba helper.
52765 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52767 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52769 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52772 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52774 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52775 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52776 (__lround): Renamed to ...
52777 (__llround): This. Replace long int with long long int.
52778 Define lround functions as aliases of llround functions.
52779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52783 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52784 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52785 adresses to uintptr_t. Replace "long int" and "unsigned long
52786 int" with "greg_t" on va_arg.
52788 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52790 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52791 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52793 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52794 Move e_machine check before EI_CLASS check. Handle x32
52795 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52796 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52797 SKIP_EM_IA_64 and include
52798 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52800 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52801 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52802 (add_system_dir): New macro.
52804 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52805 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52807 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52818 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52820 * math/w_j0f.c (j0f): Likewise.
52822 * math/w_j0l.c (__j0l): Likewise.
52824 * math/w_j1.c (j1): Likewise.
52826 * math/w_j1f.c (j1f): Likewise.
52828 * math/w_j1l.c (__j1l): Likewise.
52830 * math/w_jn.c (jn): Likewise.
52832 * math/w_jnf.c (jnf): Likewise.
52834 * math/w_jnl.c (__jnl): Likewise.
52836 * math/libm-test.inc (j0_test): Add more tests.
52837 (j1_test): Likewise.
52838 (jn_test): Likewise. Add trailing semicolon to existing test.
52839 (y0_test): Likewise.
52840 (y1_test): Likewise.
52841 * sysdeps/i386/fpu/libm-test-ulps: Update.
52842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52847 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52848 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52850 (__tanl): Set errno for infinite argument.
52851 * sysdeps/i386/fpu/mptan.c: Remove.
52852 * sysdeps/i386/fpu/s_tan.S: Likewise.
52853 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52854 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52855 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52856 * math/libm-test.inc (tan_test): Add more tests and enable more
52857 tests for double and long double.
52858 * sysdeps/i386/fpu/libm-test-ulps: Update.
52859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52861 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52863 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52864 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52866 2012-03-16 Roland McGrath <roland@hack.frob.com>
52868 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52869 * configure.in: Use it for both main tree and add-ons.
52870 * configure: Regenerated.
52872 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52874 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52876 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52882 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52883 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52884 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52885 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52886 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52888 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52890 != 0 for prec == 2.
52891 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52892 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52893 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52894 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52895 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52896 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52897 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52898 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52899 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52900 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52901 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52902 * math/libm-test.inc (cos_test): Add more tests and enable more
52903 tests for long double.
52904 (sin_test): Likewise.
52905 (sincos_test): Likewise.
52906 * sysdeps/i386/fpu/libm-test-ulps: Update.
52907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52909 2012-03-16 David S. Miller <davem@davemloft.net>
52911 * sysdeps/sparc/fpu/math_private.h: New file.
52913 2012-03-15 David S. Miller <davem@davemloft.net>
52915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52925 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52929 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52930 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52932 * sysdeps/sparc/sparc-ifunc.h: New file.
52933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52978 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52980 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52984 2012-03-15 Andreas Jaeger <aj@suse.de>
52987 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52988 ieee754/flt-32 implementation for sin, cos and sincos.
52989 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52990 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52991 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52992 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52993 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52994 ieee754/flt-32 implementation for tan.
52996 * math/libm-test.inc (cos_test): Enable some large input tests for
52998 (sin_test): Likewise.
52999 (sincos_test): Likewise.
53000 (tan_test): Add tests for large input.
53002 * sysdeps/i386/fpu/libm-test-ulps: Update.
53004 2012-03-15 Andreas Jaeger <aj@suse.de>
53007 * math/libm-test.inc (cos_test): Add more test cases.
53008 (sin_test): Likewise.
53009 (sincos_test): Likewise.
53011 2012-03-15 Andreas Jaeger <aj@suse.de>
53014 * math/libm-test.inc (cos_test): Add a test case for large input
53016 (sin_test): Likewise.
53017 (sincos_test): Likewise.
53019 2012-03-15 Andreas Jaeger <aj@suse.de>
53020 Joseph Myers <joseph@codesourcery.com>
53023 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53024 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53025 * sysdeps/i386/fpu/branred.c: Likewise.
53026 * sysdeps/i386/fpu/dosincos.c: Likewise.
53027 * sysdeps/i386/fpu/mpa.c: Likewise.
53028 * sysdeps/i386/fpu/s_cos.S: Likewise.
53029 * sysdeps/i386/fpu/s_sin.S: Likewise.
53030 * sysdeps/i386/fpu/s_sincos.S: Likewise.
53031 * sysdeps/i386/fpu/sincos32.c: Likewise.
53033 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53035 (libc_feupdateenv_53bit): Define.
53036 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53038 (libc_feupdateenv_53bit): Define.
53040 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53041 53 bit (without extend i386 double precision).
53043 * math/libm-test.inc (sincos_test): Add tests for large input.
53047 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53049 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53053 2012-03-15 David S. Miller <davem@davemloft.net>
53055 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53056 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53057 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53058 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53083 fmin/fmax sysdep routines.
53084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53086 2012-03-14 David S. Miller <davem@davemloft.net>
53088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53160 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53165 * sysdeps/sparc/configure.in: New file.
53166 * sysdeps/sparc/configure: Generate.
53167 * configure.in (libc_cv_sparc_as_vis3): Substitute.
53168 * configure: Regenerate.
53169 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53170 * config.make.in (have-as-vis3): New.
53171 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53172 available use -Av9d instead of -Av9a.
53173 * sysdeps/sparc/sparc64/Makefile: Likewise.
53174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53189 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53190 fzeros/fnegs to load 0x80000000 into a float register instead of
53192 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53194 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53198 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53199 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53200 ($(inst_includedir)/bits/syscall.h): Remove rule.
53201 ($(objpfx)bits/syscall.d): Include instead of
53202 $(objpfx)syscall-list.d.
53203 (generated): Change syscall-list.h and syscall-list.d to
53204 bits/syscall.h and bits/syscall.d.
53206 2012-03-14 Roland McGrath <roland@hack.frob.com>
53209 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53211 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53214 * math/s_csqrt.c: Include <float.h>.
53215 (__csqrt): Scale large or subnormal inputs.
53216 * math/s_csqrtf.c: Likewise.
53217 * math/s_csqrtl.c: Likewise.
53218 * math/libm-test.inc (csqrt_test): Add more tests.
53219 * sysdeps/i386/fpu/libm-test-ulps: Update.
53220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53223 * math/libm-test.inc (hypot_test): Add more tests.
53225 2012-03-13 David S. Miller <davem@davemloft.net>
53228 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53229 double-precision for the calculation instead of scaling.
53231 2012-03-13 Joseph Myers <joseph@codesourcery.com>
53233 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53234 manipulate bits before adding and subtracting TWO52[sx].
53235 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53236 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53238 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53240 2012-03-13 David S. Miller <davem@davemloft.net>
53242 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53243 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53244 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53245 rtld-global-offsets.h
53246 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53248 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53251 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53253 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53254 'err' in the ifdef scope in which it is actually used.
53256 * nss/nss_db/db-init.c: Include string.h
53258 2012-03-12 David S. Miller <davem@davemloft.net>
53260 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53261 masking out of the most significant byte of random value used.
53262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53263 Fix coding style in previous change.
53265 * sysdeps/unix/sysv/linux/kernel-features.h
53266 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53267 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53269 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53272 2012-03-11 David S. Miller <davem@davemloft.net>
53274 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53275 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53276 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53277 for 'resultvar' otherwise things get truncated on 64-bit.
53279 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53280 Fix masking out of the most significant byte of random value used.
53282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53284 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
53286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53288 2012-03-09 David S. Miller <davem@davemloft.net>
53290 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53291 variables with appropriate CPP guards.
53292 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53293 from the frame pointer, not the stack pointer. Correct layout
53294 comments. Fix test on resulting framesize and the management of
53295 the outregs buffer for pltexit. Preserve floating point return
53296 values across _dl_call_pltexit call.
53297 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53298 framesize and the management of the outregs buffer for pltexit.
53299 Preserve floating point return values across _dl_call_pltexit
53301 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53302 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53303 (la_sparc64_gnu_pltexit): New functions.
53304 (print_exit): Fix format string for return register value.
53306 2012-03-10 Joseph Myers <joseph@codesourcery.com>
53308 * sunrpc/Makefile (others): Add rpcgen.
53309 ($(objpfx)rpcgen): Remove special build rule and dependency on
53311 * sunrpc/rpcgen.c: New file.
53313 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
53316 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53317 * stdio-common/bug-vfprintf-nargs.c: Likewise.
53318 * sysdeps/i386/crti.S: Likewise.
53319 * sysdeps/i386/crtn.S: Likewise.
53320 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53321 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53322 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53323 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53324 * sysdeps/sh/crti.S: Likewise.
53325 * sysdeps/sh/crtn.S: Likewise.
53326 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53329 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53331 * locale/programs/locfile-kw.gperf: Likewise.
53332 * locale/programs/charmap-kw.h: Regenerated.
53333 * locale/programs/locfile-kw.h: Likewise.
53336 * intl/plural.y: Replace FSF snail mail address with URL.
53337 * intl/plural.c: Regenerated.
53339 2012-03-09 Richard Henderson <rth@twiddle.net>
53341 * include/math_private.h: Remove file.
53342 * math/math_private.h: Move file ...
53343 * sysdeps/generic/math_private.h: ... here.
53345 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53346 * sysdeps/powerpc/fpu/math_private.h: Likewise.
53347 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53349 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53350 and <math_private.h>.
53351 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53352 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53353 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53354 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53355 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53356 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53357 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53366 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53370 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53372 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53373 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53381 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53383 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53384 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53388 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53389 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53390 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53391 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53392 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53393 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53397 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53398 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53399 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53400 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53401 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53402 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53410 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53411 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53412 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53415 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53416 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53417 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53418 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53419 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53420 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53425 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53432 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53433 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53434 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53435 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53438 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53439 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53440 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53441 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53442 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53443 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53445 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53455 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53456 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53457 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53458 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53459 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53460 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53461 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53462 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53463 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53465 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53466 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53468 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53469 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53470 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53471 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53472 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53474 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53475 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53478 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53479 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53480 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53481 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53482 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53483 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53484 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53485 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53486 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53488 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53489 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53492 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53493 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53494 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53495 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53496 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53497 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53498 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53499 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53500 * sysdeps/ieee754/k_standard.c: Likewise.
53501 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53502 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53504 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53505 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53506 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53507 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53518 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53519 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53520 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53521 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53522 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53525 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53526 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53531 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53532 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53533 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53534 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53535 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53536 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53538 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53539 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53541 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53542 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53543 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53544 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53547 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53549 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53550 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53551 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53552 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53553 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53554 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53557 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53558 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53559 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53560 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53561 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53562 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53564 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53565 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53566 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53567 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53569 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53573 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53574 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53578 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53579 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53583 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53585 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53586 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53587 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53588 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53590 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53591 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53593 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53594 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53597 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53598 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53599 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53600 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53605 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53608 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53609 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53615 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53616 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53617 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53618 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53619 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53620 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53622 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53623 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53624 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53625 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53626 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53627 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53628 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53629 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53631 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53632 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53633 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53634 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53635 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53636 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53637 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53638 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53640 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53641 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53642 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53643 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53644 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53645 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53650 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53651 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53652 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53653 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53654 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53655 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53656 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53657 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53658 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53659 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53661 * sysdeps/ieee754/s_lib_version.c: Likewise.
53662 * sysdeps/ieee754/s_matherr.c: Likewise.
53663 * sysdeps/ieee754/s_signgam.c: Likewise.
53664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53667 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53668 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53669 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53670 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53671 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53672 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53673 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53674 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53675 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53676 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53677 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53678 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53681 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53682 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53686 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53688 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53689 * sunrpc/rpc_main.c: Likewise.
53690 * sunrpc/rpc_svcout.c: Likewise.
53692 2012-03-09 David S. Miller <davem@davemloft.net>
53694 * include/math_private.h: New file.
53696 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53698 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53699 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53700 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53701 from <bits/socket_type.h>.
53702 (enum __socket_type): Don't define here.
53703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53705 bits/socket_type.h.
53708 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53709 checking __USE_GNU.
53711 * Makerules ($(inst_includedir)/%.h): New rule.
53712 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53713 (install-others): Remove variable setting.
53714 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53716 2012-03-08 Richard Henderson <rth@twiddle.net>
53718 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53719 from macro to inline function; merge with the
53720 !__LIBC_INTERNAL_MATH_INLINES version.
53721 (__ieee754_sqrtf): Likewise.
53723 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53724 to inline function.
53725 (__rintf, __floor, __floorf): Likewise.
53727 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53728 macro to inline function.
53729 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53731 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53732 not <math/math_private.h>.
53734 2012-03-08 David S. Miller <davem@davemloft.net>
53736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53738 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53740 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53742 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53744 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53745 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53747 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53749 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53750 be defined individually, they must be defined as a block. Define
53751 S for printing a string instead of hidint the different by using a
53752 macro for adding the 'l'.
53753 * stdio-common/tst-fphex-wide.c: Adjust.
53755 2012-03-07 Marek Polacek <polacek@redhat.com>
53757 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53759 2012-03-08 Marek Polacek <polacek@redhat.com>
53762 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53763 * stdio-common/tst-fphex.c: Define a few macros to make the
53764 test reusable. Use them.
53765 * stdio-common/tst-fphex-wide.c: New file.
53767 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53770 * manual/macros.texi (gnusystems): New macro.
53771 (nongnusystems): Likewise.
53772 (gnulinuxhurdsystems): Likewise.
53773 (gnuhurdsystems): Likewise..
53774 (gnulinuxsystems): Likewise.
53775 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53776 variants of the GNU system, not "GNU system".
53777 * manual/conf.texi: Likewise.
53778 * manual/errno.texi: Likewise. Update example of errno macro
53780 * manual/filesys.texi: Likewise.
53781 (getumask): Document as specific to GNU/Hurd.
53782 * manual/install.texi: Likewise. Reword some references to
53784 * manual/intro.texi: Likewise.
53785 * manual/io.texi: Likewise.
53786 (File Name Portability): Detail which constraints are inapplicable
53787 to all GNU systems and which are only inapplicable to GNU/Hurd.
53788 * manual/job.texi: Likewise.
53789 * manual/llio.texi: Likewise.
53790 (O_NOCTTY): Document as present on GNU/Linux.
53791 * manual/maint.texi: Likewise.
53792 * manual/memory.texi: Likewise.
53793 * manual/pattern.texi: Likewise.
53794 * manual/pipe.texi: Likewise.
53795 * manual/process.texi: Likewise.
53796 * manual/resource.texi: Likewise.
53797 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53799 * manual/setjmp.texi: Likewise.
53800 * manual/signal.texi: Likewise.
53801 * manual/startup.texi: Likewise.
53802 * manual/stdio.texi: Likewise.
53803 * manual/terminal.texi: Likewise.
53804 (ONLCR): Document as POSIX.
53805 (OXTABS): Document availability on GNU/Linux as XTABS.
53806 (ONOEOT): Document availability separately from other bits.
53807 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53808 * manual/time.texi: Likewise.
53809 * manual/users.texi: Likewise.
53810 * INSTALL: Regenerated.
53811 * sysdeps/gnu/errlist.c: Regenerated.
53813 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53814 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53815 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53817 * configure: Regenerated.
53819 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53821 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53822 default includes instead of AC_HEADER_CHECK.
53823 * sysdeps/i386/configure: Regenerated.
53826 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53827 * math/s_cacoshf.c (__cacoshf): Likewise.
53828 * math/s_cacoshl.c (__cacoshl): Likewise.
53829 * math/s_casinh.c (__casinh): Set signs of result from argument.
53830 * math/s_casinhf.c (__casinhf): Likewise.
53831 * math/s_casinhl.c (__casinhl): Likewise.
53832 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53833 (casinh_test): Add more tests.
53834 * sysdeps/i386/fpu/libm-test-ulps: Update.
53835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53837 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53839 * po/zh_TW.po: Update from translation team.
53841 * login/Makefile (distribute): Remove variable.
53842 * catgets/Makefile: Likewise.
53843 * mach/Makefile: Likewise.
53844 * malloc/Makefile: Likewise.
53845 * misc/Makefile: Likewise.
53846 * iconv/Makefile: Likewise.
53847 * nscd/Makefile: Likewise.
53848 * hurd/Makefile: Likewise.
53849 * manual/Makefile: Likewise.
53850 * locale/Makefile: Likewise.
53851 * intl/Makefile: Likewise.
53852 * conform/Makefile: Likewise.
53853 * nss/Makefile: Likewise.
53854 * time/Makefile: Likewise.
53855 * soft-fp/Makefile: Likewise.
53856 * dirent/Makefile: Likewise.
53857 * gmon/Makefile: Likewise.
53858 * po/Makefile: Likewise.
53859 * rt/Makefile: Likewise.
53860 * socket/Makefile: Likewise.
53861 * math/Makefile: Likewise.
53862 * signal/Makefile: Likewise.
53863 * debug/Makefile: Likewise.
53864 * elf/Makefile: Likewise.
53865 * timezone/Makefile: Likewise.
53866 * stdlib/Makefile: Likewise.
53867 * iconvdata/Makefile: Likewise.
53868 * sunrpc/Makefile: Likewise.
53869 * io/Makefile: Likewise.
53870 * argp/Makefile: Likewise.
53871 * inet/Makefile: Likewise.
53872 * hesiod/Makefile: Likewise.
53873 * grp/Makefile: Likewise.
53874 * csu/Makefile: Likewise.
53875 * wctype/Makefile: Likewise.
53876 * crypt/Makefile: Likewise.
53877 * libio/Makefile: Likewise.
53878 * string/Makefile: Likewise.
53879 * nis/Makefile: Likewise.
53880 * resolv/Makefile: Likewise.
53881 * stdio-common/Makefile: Likewise.
53882 * wcsmbs/Makefile: Likewise.
53883 * dlfcn/Makefile: Likewise.
53884 * posix/Makefile: Likewise.
53887 * timezone/Makefile: Don't install timezone files, just the programs
53890 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53892 * nss/databases.def: Add missing gshadow entry.
53894 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53896 2012-03-06 Marek Polacek <polacek@redhat.com>
53899 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53900 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53901 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53902 * stdio-common/tst-long-dbl-fphex.c: New file.
53904 2012-03-06 David S. Miller <davem@davemloft.net>
53906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53907 (set_obp_int): New function.
53908 (get_obp_int): New function.
53909 (__get_clockfreq_via_dev_openprom): Likewise.
53910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53911 Avoid unused variable warnings on 'val' and use builtin_expect.
53912 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53914 (INLINE_CLONE_SYSCALL): Likewise.
53916 2012-03-05 David S. Miller <davem@davemloft.net>
53918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53920 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53925 only for |x| >= 40.
53926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53928 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53930 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53931 Replace gettimeofday with __vdso_gettimeofday.
53933 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53934 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53935 __vdso_clock_gettime and __vdso_getcpu.
53937 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53938 time with __vdso_time.
53940 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53942 * manual/lang.texi (size_t): Note types to which size_t may be
53943 equivalent with the GNU C Library, but do not describe when
53944 differences between them are significant.
53946 2012-03-05 Andreas Jaeger <aj@suse.de>
53948 * sysdeps/i386/fpu/libm-test-ulps: Update.
53950 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53953 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53954 (__ieee754_pow): Save and restore rounding mode and use
53955 round-to-nearest for main computations.
53956 * math/libm-test.inc (pow_test_tonearest): New function.
53957 (pow_test_towardzero): Likewise.
53958 (pow_test_downward): Likewise.
53959 (pow_test_upward): Likewise.
53960 (main): Call the new functions.
53961 * sysdeps/i386/fpu/libm-test-ulps: Update.
53962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53965 * math/libm-test.inc (cosh_test_tonearest): New function.
53966 (cosh_test_towardzero): Likewise.
53967 (cosh_test_downward): Likewise.
53968 (cosh_test_upward): Likewise.
53969 (sinh_test_tonearest): Likewise.
53970 (sinh_test_towardzero): Likewise.
53971 (sinh_test_downward): Likewise.
53972 (sinh_test_upward): Likewise.
53973 (main): Call the new functions.
53974 * sysdeps/i386/fpu/libm-test-ulps: Update.
53975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53977 2012-03-05 Tom de Vries <tom@codesourcery.com>
53979 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53980 default stack guard is set in last bytes.
53981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53983 2012-03-05 Kees Cook <keescook@chromium.org>
53985 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53988 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53989 possibly allocate from heap instead of stack.
53990 * stdio-common/bug-vfprintf-nargs.c: New file.
53991 * stdio-common/Makefile (tests): Add nargs overflow test.
53993 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53997 2012-03-03 Marek Polacek <polacek@redhat.com>
53999 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54000 * math/math_private.h: Likewise.
54001 * stdlib/tst-strtod.c: Likewise.
54002 * sysdeps/i386/i486/bits/atomic.h: Likewise.
54003 * sysdeps/x86_64/bits/atomic.h: Likewise.
54005 2012-03-02 David S. Miller <davem@davemloft.net>
54007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54011 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54012 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54013 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54014 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54016 2012-03-02 Roland McGrath <roland@hack.frob.com>
54019 * manual/examples/README: New file, says the example source files
54020 can be used under GPL>=2.
54021 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54022 line containing just "*/".
54023 * manual/examples/add.c: Add copyright header (GPL>=2).
54024 * manual/examples/argp-ex1.c: Likewise.
54025 * manual/examples/argp-ex2.c: Likewise.
54026 * manual/examples/argp-ex3.c: Likewise.
54027 * manual/examples/argp-ex4.c: Likewise.
54028 * manual/examples/atexit.c: Likewise.
54029 * manual/examples/db.c: Likewise.
54030 * manual/examples/dir.c: Likewise.
54031 * manual/examples/dir2.c: Likewise.
54032 * manual/examples/execinfo.c: Likewise.
54033 * manual/examples/filecli.c: Likewise.
54034 * manual/examples/filesrv.c: Likewise.
54035 * manual/examples/fmtmsgexpl.c: Likewise.
54036 * manual/examples/genpass.c: Likewise.
54037 * manual/examples/inetcli.c: Likewise.
54038 * manual/examples/inetsrv.c: Likewise.
54039 * manual/examples/isockad.c: Likewise.
54040 * manual/examples/longopt.c: Likewise.
54041 * manual/examples/memopen.c: Likewise.
54042 * manual/examples/memstrm.c: Likewise.
54043 * manual/examples/mkfsock.c: Likewise.
54044 * manual/examples/mkisock.c: Likewise.
54045 * manual/examples/mygetpass.c: Likewise.
54046 * manual/examples/pipe.c: Likewise.
54047 * manual/examples/popen.c: Likewise.
54048 * manual/examples/rprintf.c: Likewise.
54049 * manual/examples/search.c: Likewise.
54050 * manual/examples/select.c: Likewise.
54051 * manual/examples/setjmp.c: Likewise.
54052 * manual/examples/sigh1.c: Likewise.
54053 * manual/examples/sigusr.c: Likewise.
54054 * manual/examples/stpcpy.c: Likewise.
54055 * manual/examples/strdupa.c: Likewise.
54056 * manual/examples/strftim.c: Likewise.
54057 * manual/examples/strncat.c: Likewise.
54058 * manual/examples/subopt.c: Likewise.
54059 * manual/examples/swapcontext.c: Likewise.
54060 * manual/examples/termios.c: Likewise.
54061 * manual/examples/testopt.c: Likewise.
54062 * manual/examples/testpass.c: Likewise.
54063 * manual/examples/timeval_subtract.c: Likewise.
54066 * manual/time.texi (Elapsed Time): Move timeval_subtract example
54068 * manual/timeval_subtract.c.texi: ... here, new file.
54070 2012-03-02 David S. Miller <davem@davemloft.net>
54072 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54074 2012-03-02 Joseph Myers <joseph@codesourcery.com>
54077 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54078 (__sin): Save and restore rounding mode and use round-to-nearest
54079 for all computations.
54080 (__cos): Save and restore rounding mode and use round-to-nearest
54081 for all computations.
54082 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54084 (tan): Save and restore rounding mode and use round-to-nearest for
54086 * math/libm-test.inc (cos_test_tonearest): New function.
54087 (cos_test_towardzero): Likewise.
54088 (cos_test_downward): Likewise.
54089 (cos_test_upward): Likewise.
54090 (sin_test_tonearest): Likewise.
54091 (sin_test_towardzero): Likewise.
54092 (sin_test_downward): Likewise.
54093 (sin_test_upward): Likewise.
54094 (tan_test_tonearest): Likewise.
54095 (tan_test_towardzero): Likewise.
54096 (tan_test_downward): Likewise.
54097 (tan_test_upward): Likewise.
54098 (main): Call the new functions.
54099 * sysdeps/i386/fpu/libm-test-ulps: Update.
54100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54103 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54104 small n, then large n, before computing and testing k+n.
54105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54108 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54110 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54111 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54117 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54118 * math/libm-test.inc (scalbn_test): Add more tests.
54119 (scalbln_test): Likewise.
54121 * manual/filesys.texi (mode_t): Describe constraints on size and
54122 signedness, not exact equivalence to a particular type.
54124 (ino64_t): Likewise.
54126 (nlink_t): Likewise.
54127 (blkcnt_t): Likewise.
54128 (blkcnt64_t): Likewise.
54129 * manual/llio.texi (off_t): Likewise.
54132 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54133 (__ieee754_exp): Save and restore rounding mode and use
54134 round-to-nearest for all computations.
54135 * math/libm-test.inc (exp_test_tonearest): New function.
54136 (exp_test_towardzero): Likewise.
54137 (exp_test_downward): Likewise.
54138 (exp_test_upward): Likewise.
54139 (main): Call the new functions.
54140 * sysdeps/i386/fpu/libm-test-ulps: Update.
54141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54143 2012-03-01 Chris Demetriou <cgd@google.com>
54145 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54146 have predictable order.
54148 2012-03-01 David S. Miller <davem@davemloft.net>
54150 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54152 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54153 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54154 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54155 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54157 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54158 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54159 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54161 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54162 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54163 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54164 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54165 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54170 * sysdeps/sparc/fpu/libm-test-ulps: to here.
54171 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54173 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54175 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54176 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54177 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54180 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54181 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54182 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54183 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54185 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54187 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54188 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54189 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54190 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54191 * sysdeps/sparc/elf/configure: Regenerated.
54193 2012-03-01 Joseph Myers <joseph@codesourcery.com>
54195 * configure.in (AS, LD): Require binutils 2.20 or later.
54196 * configure: Regenerated.
54197 * manual/install.texi (Tools for Compilation): Give binutils 2.20
54198 as required minimum version.
54199 * INSTALL: Regenerated.
54203 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54204 before squaring exponent.
54205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54206 bottom long double and 27 bits of top long double before squaring
54208 * math/libm-test.inc (erfc_test): Add more tests.
54209 * sysdeps/i386/fpu/libm-test-ulps: Update.
54210 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54213 2012-03-01 Kai Tietz <ktietz@redhat.com>
54215 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54216 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54217 containing bit-fields.
54218 * soft-fp/extended.h (_FP_UNION_E): Likewise.
54219 * soft-fp/single.h (_FP_UNION_S): Likewise.
54220 * soft-fp/double.h (_FP_UNION_D): Likewise.
54222 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54225 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54226 not include ../strcmp.S.
54227 [USE_AS_STRNCASECMP_L]: Likewise.
54228 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54229 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54230 * sysdeps/i386/i686/multiarch/strncase_l-c.c
54231 (__strncasecmp_l_ia32): Define as alias to
54232 __strncasecmp_l_nonascii.
54235 * math/libm-test.inc (expm1_test): Add test for bug 5794.
54236 * sysdeps/i386/fpu/libm-test-ulps: Update.
54237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54239 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54242 2012-02-29 Jeff Law <law@redhat.com>
54244 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54245 out of bounds read.
54247 2012-02-29 Marek Polacek <polacek@redhat.com>
54250 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54251 * elf/Makefile: Add rules to run tst-unused-dep.out.
54253 2012-02-28 David S. Miller <davem@davemloft.net>
54255 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54256 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54259 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54260 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54262 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54264 * math/libm-test.inc (llround_test): Move one test from
54265 lround_test. Use TEST_f_L in moved test.
54266 (lround_test): Move misplaced test to llround_test. Add testcase
54269 2012-02-28 Ulrich Drepper <drepper@gmail.com>
54271 * sysdeps/x86_64/fpu/e_expf.S: New file.
54272 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54274 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
54277 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54278 of remain_len that may cause incomplete multi-byte character and
54280 * posix/bug-regex33.c: New file.
54281 * posix/Makefile (tests): Add bug-regex33.
54283 2012-02-28 Joseph Myers <joseph@codesourcery.com>
54285 * manual/macros.texi: New file.
54286 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54287 * manual/libc.texinfo: Include macros.texi.
54288 * manual/creatute.texi: Likewise.
54289 * manual/install.texi: Likewise.
54290 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54291 @glibcadj{} in references to the GNU C Library.
54292 * manual/charset.texi: Likewise.
54293 * manual/conf.texi: Likewise.
54294 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54295 when not using those macros.
54296 * manual/creature.texi: Likewise.
54297 * manual/crypt.texi: Likewise.
54298 * manual/errno.texi: Likewise.
54299 * manual/filesys.texi: Likewise.
54300 * manual/header.texi: Likewise.
54301 * manual/install.texi: Likewise.
54302 * manual/intro.texi: Likewise.
54303 * manual/io.texi: Likewise.
54304 * manual/job.texi: Likewise.
54305 * manual/lang.texi: Likewise.
54306 * manual/libc.texiinfo: Likewise.
54307 * manual/llio.texi: Likewise.
54308 * manual/locale.texi: Likewise.
54309 * manual/maint.texi: Likewise.
54310 * manual/math.texi: Likewise.
54311 * manual/memory.texi: Likewise.
54312 * manual/message.texi: Likewise.
54313 * manual/nss.texi: Likewise.
54314 * manual/pattern.texi: Likewise.
54315 * manual/process.texi: Likewise.
54316 * manual/resource.texi: Likewise.
54317 * manual/search.texi: Likewise.
54318 * manual/setjmp.texi: Likewise.
54319 * manual/signal.texi: Likewise.
54320 * manual/socket.texi: Likewise.
54321 * manual/startup.texi: Likewise.
54322 * manual/stdio.texi: Likewise.
54323 * manual/string.texi: Likewise.
54324 * manual/sysinfo.texi: Likewise.
54325 * manual/syslog.texi: Likewise.
54326 * manual/terminal.texi: Likewise.
54327 * manual/time.texi: Likewise.
54328 * manual/users.texi: Likewise.
54329 * INSTALL: Regenerated.
54330 * NOTES: Regenerated.
54331 * sysdeps/gnu/errlist.c: Regenerated.
54333 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
54335 * include/dirent.h: Include <dirstream.h> before
54338 2012-02-28 David S. Miller <davem@davemloft.net>
54340 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54341 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54342 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54343 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54345 2012-02-27 David S. Miller <davem@davemloft.net>
54347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54349 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54350 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54353 frame pointer instead of stack pointer relative arg slot.
54354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54358 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
54361 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54363 2012-02-27 David S. Miller <davem@davemloft.net>
54365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54369 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54370 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54371 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54372 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54374 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54376 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54377 later. Allow versions 5-9.
54378 * configure: Regenerated.
54379 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54380 required minimum version and 4.6 as recommended version. Do not
54381 mention bugs in GCC 2.7 and 2.8.
54382 * INSTALL: Regenerated.
54384 2012-02-27 David S. Miller <davem@davemloft.net>
54386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54390 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54391 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54392 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54393 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54396 manipulate bits before adding and subtracting TWO112[sx].
54397 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54399 2012-02-27 Roland McGrath <roland@hack.frob.com>
54402 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54403 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54404 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54405 being in POSIX, because they are in 1003.1-2008.
54407 * rt/tst-aio.c: Include <fcntl.h>.
54408 * rt/tst-aio7.c: Likewise.
54409 * rt/tst-aio64.c: Likewise.
54411 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54413 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54415 * manual/install.texi (--with-headers): Describe headers as
54416 interface headers, not private headers.
54417 (Specific advice for GNU/Linux systems): Describe use of headers
54418 from "make headers_install", not private headers from older
54420 * INSTALL: Regenerated.
54421 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54423 * sysdeps/unix/sysv/linux/configure: Regenerated.
54425 * manual/llio.texi (fclean): Remove documentation.
54427 * manual/Makefile (libc-texi-generated): New variable. Include
54429 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54430 $(libc-texi-generated), not duplicated list of files.
54431 (version.texi, stamp-version): New rules.
54432 (realclean): Remove $(libc-texi-generated), not individual files
54433 from that list. Do not remove dir-add.texinfo.
54434 * manual/libc.texinfo: Comment out uses of edition numbers and
54435 references to printed manual. Remove last-updated dates.
54436 (EDITION): Comment out.
54438 (VERSION, UPDATED): Remove.
54439 (version.texi): Include.
54441 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54443 * sysdeps/posix/spawni.c: Include <signal.h>.
54444 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54445 * sysdeps/pthread/aio_fsync.c: Likewise.
54447 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54449 * conform/Makefile (tests): Run only when not cross-compiling and
54450 when fast-check is not defined.
54452 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54453 * conform/data/limits.h-data: Fixes for POSIX2008.
54454 * conform/run-conformtest.sh: Run all tests.
54455 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54457 * include/bits/dlfcn.h: Likewise.
54458 * include/langinfo.h: Likewise.
54459 * include/monetary.h: Likewise.
54460 * include/sys/poll.h: Likewise.
54462 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54464 * posix/spawn.h: Define __need_sigset_t.
54465 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54466 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54467 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54468 to get sigevent_t only.
54469 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54470 only for __USE_GNU.
54471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54473 process_vm_writev only for __USE_GNU.
54474 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54476 * conform/Makefile: For now ignore errors from run-conformtest.
54477 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54478 POSIX to avoid namespace pollution. Don't prepend headers.
54479 * conform/data/aio.h-data: Fixes for POSIX testing.
54480 * conform/data/fcntl.h-data: Likewise.
54481 * conform/data/glob.h-data: Likewise.
54482 * conform/data/grp.h-data: Likewise.
54483 * conform/data/pthread.h-data: Likewise.
54484 * conform/data/pwd.h-data: Likewise.
54485 * conform/data/signal.h-data: Likewise.
54486 * conform/data/spawn.h-data: Likewise.
54487 * conform/data/stdio.h-data: Likewise.
54488 * conform/data/stdlib.h-data: Likewise.
54489 * conform/data/stropts.h-data: Likewise.
54490 * conform/data/sys/mman.h-data: Likewise.
54491 * conform/data/sys/stat.h-data: Likewise.
54492 * conform/data/sys/types.h-data: Likewise.
54493 * conform/data/sys/wait.h-data: Likewise.
54494 * conform/data/time.h-data: Likewise.
54495 * conform/data/unistd.h-data: Likewise.
54496 * conform/data/utime.h-data: Likewise.
54498 * io/sys/stat.h: fchmod was always in POSIX.
54499 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54500 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54501 * rt/aio.h: Define __need_timespec before including <time.h>.
54502 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54503 struct. Add forward declaration of pthread_attr_t and use it in
54505 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54507 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54508 always remove CLK_TCK definition.
54510 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54512 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54514 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54516 * conform/run-conformtest.sh: New file.
54517 * conform/Makefile: Run run-conformtest for tests.
54518 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54521 * conform/data/uchar.h-data: New file.
54522 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54523 * conform/data/arpa/inet.h-data: Likewise.
54524 * conform/data/assert.h-data: Likewise.
54525 * conform/data/complex.h-data: Likewise.
54526 * conform/data/cpio.h-data: Likewise.
54527 * conform/data/ctype.h-data: Likewise.
54528 * conform/data/dirent.h-data: Likewise.
54529 * conform/data/dlfcn.h-data: Likewise.
54530 * conform/data/errno.h-data: Likewise.
54531 * conform/data/fcntl.h-data: Likewise.
54532 * conform/data/float.h-data: Likewise.
54533 * conform/data/fmtmsg.h-data: Likewise.
54534 * conform/data/fnmatch.h-data: Likewise.
54535 * conform/data/ftw.h-data: Likewise.
54536 * conform/data/glob.h-data: Likewise.
54537 * conform/data/grp.h-data: Likewise.
54538 * conform/data/iconv.h-data: Likewise.
54539 * conform/data/inttypes.h-data: Likewise.
54540 * conform/data/langinfo.h-data: Likewise.
54541 * conform/data/libgen.h-data: Likewise.
54542 * conform/data/limits.h-data: Likewise.
54543 * conform/data/locale.h-data: Likewise.
54544 * conform/data/math.h-data: Likewise.
54545 * conform/data/monetary.h-data: Likewise.
54546 * conform/data/mqueue.h-data: Likewise.
54547 * conform/data/ndbm.h-data: Likewise.
54548 * conform/data/net/if.h-data: Likewise.
54549 * conform/data/netdb.h-data: Likewise.
54550 * conform/data/netinet/in.h-data: Likewise.
54551 * conform/data/nl_types.h-data: Likewise.
54552 * conform/data/poll.h-data: Likewise.
54553 * conform/data/pthread.h-data: Likewise.
54554 * conform/data/pwd.h-data: Likewise.
54555 * conform/data/regex.h-data: Likewise.
54556 * conform/data/sched.h-data: Likewise.
54557 * conform/data/search.h-data: Likewise.
54558 * conform/data/semaphore.h-data: Likewise.
54559 * conform/data/setjmp.h-data: Likewise.
54560 * conform/data/signal.h-data: Likewise.
54561 * conform/data/spawn.h-data: Likewise.
54562 * conform/data/stdarg.h-data: Likewise.
54563 * conform/data/stdio.h-data: Likewise.
54564 * conform/data/stdlib.h-data: Likewise.
54565 * conform/data/string.h-data: Likewise.
54566 * conform/data/strings.h-data: Likewise.
54567 * conform/data/stropts.h-data: Likewise.
54568 * conform/data/sys/ipc.h-data: Likewise.
54569 * conform/data/sys/mman.h-data: Likewise.
54570 * conform/data/sys/msg.h-data: Likewise.
54571 * conform/data/sys/resource.h-data: Likewise.
54572 * conform/data/sys/select.h-data: Likewise.
54573 * conform/data/sys/sem.h-data: Likewise.
54574 * conform/data/sys/shm.h-data: Likewise.
54575 * conform/data/sys/socket.h-data: Likewise.
54576 * conform/data/sys/stat.h-data: Likewise.
54577 * conform/data/sys/statvfs.h-data: Likewise.
54578 * conform/data/sys/time.h-data: Likewise.
54579 * conform/data/sys/timeb.h-data: Likewise.
54580 * conform/data/sys/times.h-data: Likewise.
54581 * conform/data/sys/types.h-data: Likewise.
54582 * conform/data/sys/uio.h-data: Likewise.
54583 * conform/data/sys/un.h-data: Likewise.
54584 * conform/data/sys/utsname.h-data: Likewise.
54585 * conform/data/sys/wait.h-data: Likewise.
54586 * conform/data/syslog.h-data: Likewise.
54587 * conform/data/tar.h-data: Likewise.
54588 * conform/data/termios.h-data: Likewise.
54589 * conform/data/utime.h-data: Likewise.
54590 * conform/data/utmpx.h-data: Likewise.
54591 * conform/data/varargs.h-data: Likewise.
54592 * conform/data/wchar.h-data: Likewise.
54593 * conform/data/wctype.h-data: Likewise.
54594 * conform/data/wordexp.h-data: Likewise.
54596 * include/stropts.h: New file.
54597 * include/uchar.h: New file.
54598 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54599 * include/assert.h: Likewise.
54600 * include/ctype.h: Likewise.
54601 * include/dirent.h: Likewise.
54602 * include/dlfcn.h: Likewise.
54603 * include/fcntl.h: Likewise.
54604 * include/fnmatch.h: Likewise.
54605 * include/glob.h: Likewise.
54606 * include/grp.h: Likewise.
54607 * include/libio.h: Likewise.
54608 * include/locale.h: Likewise.
54609 * include/math.h: Likewise.
54610 * include/net/if.h: Likewise.
54611 * include/netdb.h: Likewise.
54612 * include/netinet/in.h: Likewise.
54613 * include/pthread.h: Likewise.
54614 * include/pwd.h: Likewise.
54615 * include/regex.h: Likewise.
54616 * include/sched.h: Likewise.
54617 * include/search.h: Likewise.
54618 * include/setjmp.h: Likewise.
54619 * include/signal.h: Likewise.
54620 * include/stdio.h: Likewise.
54621 * include/stdlib.h: Likewise.
54622 * include/string.h: Likewise.
54623 * include/sys/cdefs.h: Likewise.
54624 * include/sys/mman.h: Likewise.
54625 * include/sys/msg.h: Likewise.
54626 * include/sys/resource.h: Likewise.
54627 * include/sys/select.h: Likewise.
54628 * include/sys/socket.h: Likewise.
54629 * include/sys/stat.h: Likewise.
54630 * include/sys/statvfs.h: Likewise.
54631 * include/sys/time.h: Likewise.
54632 * include/sys/times.h: Likewise.
54633 * include/sys/uio.h: Likewise.
54634 * include/sys/utsname.h: Likewise.
54635 * include/sys/wait.h: Likewise.
54636 * include/termios.h: Likewise.
54637 * include/time.h: Likewise.
54638 * include/ulimit.h: Likewise.
54639 * include/unistd.h: Likewise.
54640 * include/utime.h: Likewise.
54641 * include/wchar.h: Likewise.
54642 * include/wctype.h: Likewise.
54643 * include/wordexp.h: Likewise.
54645 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54647 * time/time.h: TIME_UTC must be a macro.
54648 Make timespec_get available for ISO C11 only as well.
54650 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54652 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54653 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54655 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54657 * configure.in: Use -o not -a in test for unsupported multi-arch.
54659 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54661 * manual/texinfo.tex: Update to version 2012-01-19.16.
54663 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54665 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54667 2012-02-24 Roland McGrath <roland@hack.frob.com>
54670 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54671 * manual/fdl-1.3.texi: New file.
54672 * manual/fdl-1.1.texi: File removed.
54675 * manual/libc.texinfo (FDL_VERSION): New @set.
54676 Use it for mention of FDL in cover text.
54677 (Documentation License): Use it in @include file name.
54679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54680 Roland McGrath <roland@hack.frob.com>
54683 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54684 (not LONG_LONG_MAX and LONG_LONG_MIN.
54685 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54686 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54688 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54690 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54694 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54695 manipulate bits before adding and subtracting TWO23[sx].
54696 * math/libm-test.inc (nearbyint_test): Add more tests.
54698 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54701 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54702 bits before adding and subtracting TWO23[sx].
54703 * math/libm-test.inc (rint_test): Add more tests.
54704 (rint_test_tonearest): Likewise.
54705 (rint_test_towardzero): Likewise.
54706 (rint_test_downward): Likewise.
54707 (rint_test_upward: Likewise.
54709 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54712 * include/stdc-predef.h: New file. Extracted from features.h.
54713 * include/features.h: Include stdc-predef.h.
54714 * Makefile (headers): Add stdc-predef.h.
54715 * CONFORMANCE (Compiler limitations): Update.
54717 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54719 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54721 2012-02-21 David S. Miller <davem@davemloft.net>
54723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54724 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54726 2012-02-20 David S. Miller <davem@davemloft.net>
54728 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54729 using a normal save/restore sequence, rather than allocating a
54730 dummy stack frame just to store a frame pointer and restore.
54731 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54733 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54735 * manual/install.texi: Fix stray word in line-wrapped comment.
54737 2012-02-20 David S. Miller <davem@davemloft.net>
54739 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54740 both binutils and gcc support GOTDATA.
54742 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54743 "rd %pc" in the PIC register setup sequences.
54745 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54746 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54748 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54749 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54754 (SYSCALL_ERROR_HANDLER): Likewise.
54755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54758 (SYSCALL_ERROR_HANDLER): Likewise.
54760 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54761 (HAVE_GCC_GOTDATA): New.
54762 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54763 relocation support in both binutils and gcc.
54764 * sysdeps/sparc/elf/configure: Regenerate.
54766 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54767 * sysdeps/sparc/sparc32/elf/configure: Delete.
54768 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54769 * sysdeps/sparc/sparc64/elf/configure: Delete.
54770 * sysdeps/sparc/elf/configure.in: New file.
54771 * sysdeps/sparc/elf/configure: Generate.
54773 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54774 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54775 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54776 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54777 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54779 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54781 * manual/install.texi: Do not mention specific glibc version
54783 * manual/libc.texinfo (VERSION, UPDATED): Update.
54784 (@copying): Use @copyright{} and range of years.
54786 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54789 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54790 [crti.S not in sysdirs] (generated): Do not append.
54791 [crti.S not in sysdirs] (omit-deps): Likewise.
54792 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54793 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54794 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54795 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54796 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54798 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54799 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54800 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54801 * csu/defs.awk: Remove file.
54802 * sysdeps/generic/initfini.c: Likewise.
54803 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54805 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54808 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54810 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54811 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54812 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54815 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54817 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54818 (__EPOLL_PACKED): Define to empty if not defined by
54820 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54824 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54826 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54827 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54828 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54829 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54831 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54835 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54837 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54840 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54844 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54846 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54849 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54851 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54852 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54854 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54856 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54859 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54861 * math/w_acos.c: Use non-signaling floating-point comparisons.
54862 * math/w_acosf.c: Likewise.
54863 * math/w_acosh.c: Likewise.
54864 * math/w_acoshf.c: Likewise.
54865 * math/w_acoshl.c: Likewise.
54866 * math/w_acosl.c: Likewise.
54867 * math/w_asin.c: Likewise.
54868 * math/w_asinf.c: Likewise.
54869 * math/w_asinl.c: Likewise.
54870 * math/w_atanh.c: Likewise.
54871 * math/w_atanhf.c: Likewise.
54872 * math/w_atanhl.c: Likewise.
54873 * math/w_exp2.c: Likewise.
54874 * math/w_exp2f.c: Likewise.
54875 * math/w_exp2l.c: Likewise.
54876 * math/w_j0.c: Likewise.
54877 * math/w_j0f.c: Likewise.
54878 * math/w_j0l.c: Likewise.
54879 * math/w_j1.c: Likewise.
54880 * math/w_j1f.c: Likewise.
54881 * math/w_j1l.c: Likewise.
54882 * math/w_jn.c: Likewise.
54883 * math/w_jnf.c: Likewise.
54884 * math/w_log.c: Likewise.
54885 * math/w_log10.c: Likewise.
54886 * math/w_log10f.c: Likewise.
54887 * math/w_log10l.c: Likewise.
54888 * math/w_log2.c: Likewise.
54889 * math/w_log2f.c: Likewise.
54890 * math/w_log2l.c: Likewise.
54891 * math/w_logf.c: Likewise.
54892 * math/w_logl.c: Likewise.
54893 * math/w_sqrt.c: Likewise.
54894 * math/w_sqrtf.c: Likewise.
54895 * math/w_sqrtl.c: Likewise.
54896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54897 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54902 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54905 * manual/string.texi (strnlen): Use correct parameter name in
54906 equivalent expression.
54908 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54911 * manual/users.texi (seteuid): Consistently use neweuid for
54914 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54917 * manual/nss.texi (Services in the NSS configuration): Correct
54918 list of services in example configuration file.
54920 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54923 * manual/arith.texi: Remove statements about negative zero
54924 behaving identically to zero.
54926 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54929 * manual/install.texi: Do not document upgrading from libc5.
54931 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54934 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54936 2012-02-18 David S. Miller <davem@davemloft.net>
54938 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54939 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54940 %o7 across the call.
54941 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54944 SETUP_PIC_REG_LEAF.
54945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54946 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54947 * sysdeps/sparc/crtn.S: Likewise.
54949 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54951 * aout/Makefile: Remove.
54953 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54956 * manual/examples/argp-ex1.c (main): Format definition in GNU
54958 * manual/examples/argp-ex2.c (main): Likewise.
54959 * manual/examples/argp-ex3.c (main): Likewise.
54960 * manual/examples/argp-ex4.c (main): Likewise.
54961 * manual/examples/longopt.c (main): Use new-style prototype
54963 * manual/examples/strncat.c (main): Specify return type and use
54964 (void) for arguments.
54965 * manual/examples/subopt.c (main): Use char **argv argument.
54967 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54970 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54973 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54976 * manual/string.texi (strchr): Change when strchrnul is
54979 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54982 * manual/locale.texi (setlocale): Document LOCPATH.
54984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54987 * manual/process.texi (execle): Move @dots{} before last argument.
54989 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54992 * manual/charset.texi (Generic Charset Conversion): Fix typo
54993 (LC_TYPE -> LC_CTYPE).
54995 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54998 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54999 (scalbnf): Likewise.
55000 (scalbnl): Likewise.
55001 (scalbln): Likewise.
55002 (scalblnf): Likewise.
55003 (scalblnl): Likewise.
55004 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55005 (vwarnx): Likewise.
55008 * manual/filesys.texi (telldir): Use braces around return type.
55009 * manual/llio.texi (mmap): Add space after comma.
55010 (mmap64): Likewise.
55011 * manual/math.texi (jn): Use @var{} on parameter names.
55017 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55019 * manual/resource.texi (ulimit): Use @dots{} instead of literal
55021 (sched_get_priority_min): Remove semicolon on @deftypefun line.
55022 (sched_get_priority_max): Likewise.
55023 * manual/signal.texi (sigvec): Add space after comma.
55024 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55026 (if_indextoname): Likewise.
55027 (if_freenameindex): Likewise.
55028 (sendto): Use ',' instead of '.' in prototype.
55029 * manual/startup.texi (syscall): Use @dots{} instead of literal
55031 * manual/stdio.texi (__fpending): Separate initial words of
55032 paragraph from @deftypefun line.
55033 * manual/syslog.texi (syslog): Use @dots{} instead of literal
55035 (vsyslog): Use @var{} on parameter names.
55036 * manual/terminal.texi (stty): Use @var{} on parameter names.
55037 * manual/users.texi (getutmp): Use @var{} on parameter names.
55038 (getutmpx): Likewise.
55040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55043 * manual/stdio.texi (fopen): Fix typos in description of
55046 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
55049 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55050 get clock_id definition.
55052 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
55055 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55056 (madvise): Cast every argument to void on its own.
55058 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55061 * manual/startup.texi (Exit Status): Fix typo.
55063 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55066 * manual/examples/argp-ex1.c: Include <stdlib.h>.
55067 * manual/examples/argp-ex2.c: Likewise.
55068 * manual/examples/argp-ex3.c: Likewise.
55070 2012-02-16 Richard Henderson <rth@redhat.com>
55072 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55073 * sysdeps/s390/s390-32/initfini.c: Remove.
55074 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55075 * sysdeps/s390/s390-64/initfini.c: Remove.
55077 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55079 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55080 compiler output for sysdeps/generic/initfini.c.
55081 * sysdeps/sh/elf/initfini.c: Remove file.
55083 2012-02-16 David S. Miller <davem@davemloft.net>
55086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55088 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55089 * sysdeps/sparc/crti.S: New file.
55090 * sysdeps/sparc/crtn.S: New file.
55091 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55092 * sysdeps/sparc/sparc64/Makefile: Likewise.
55094 2012-02-15 Mike Frysinger <vapier@gentoo.org>
55097 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55099 2012-02-15 Roland McGrath <roland@hack.frob.com>
55102 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55104 * mach/devstream.c (cookie_io_functions_t): Macro removed.
55105 (write, read, close): Likewise.
55106 Patch by Aurelien Jarno <aurelien@aurel32.net>.
55108 2012-02-15 Joseph Myers <joseph@codesourcery.com>
55110 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55111 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55112 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55113 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55115 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55119 2012-02-14 Marek Polacek <polacek@redhat.com>
55121 * sysdeps/x86_64/crti.S: New file.
55122 * sysdeps/x86_64/crtn.S: New file.
55123 * sysdeps/x86_64/elf/initfini.c: Remove file.
55125 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55127 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55128 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55129 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55130 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55132 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55136 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55138 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55139 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55140 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55141 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55143 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55147 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
55149 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55150 __feraiseexcept instead of feraiseexcept.
55152 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55153 nanosleep invocations.
55154 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55155 strings, and add error checking for a nanosleep invocations.
55157 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
55159 Replace FSF snail mail address with URLs, as per GNU coding standards.
55160 Most of the snail mail addresses were wrong anyway, and omitting
55161 them makes the source code easier to maintain. Almost all of the
55162 changes are to license notices and to locale LC_IDENTIFICATION
55163 addresses, except for this one:
55164 * manual/libc.texinfo: In "Published by", give the FSF's URL,
55165 not its snail mail address.
55167 2012-02-09 Richard Henderson <rth@twiddle.net>
55169 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55170 of kernel-features.h.
55172 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55174 2012-02-08 Marek Polacek <polacek@redhat.com>
55176 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55177 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55178 * sysdeps/gnu/_G_config.h: Likewise.
55179 * sysdeps/generic/_G_config.h: Likewise.
55181 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
55183 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55187 * sysdeps/powerpc/powerpc32/crti.S: New file.
55188 * sysdeps/powerpc/powerpc32/crtn.S: New file.
55189 * sysdeps/powerpc/powerpc64/crti.S: New file.
55190 * sysdeps/powerpc/powerpc64/crtn.S: New file.
55192 * Makeconfig (have-initfini): Don't set.
55193 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55194 * configure.in (nopic_initfini): Don't substitute.
55195 * config.h.in (HAVE_INITFINI): Don't #undef.
55196 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55197 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55199 2012-02-08 Joseph Myers <joseph@codesourcery.com>
55201 Support crti.S and crtn.S provided directly by architectures.
55202 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55203 [crti.S in sysdirs] (omit-deps): Likewise.
55204 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55205 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55206 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55207 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55208 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55209 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55210 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55211 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55212 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55213 compiler output for sysdeps/generic/initfini.c.
55214 * sysdeps/i386/elf/Makefile: Remove file.
55215 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55217 2012-02-07 Marek Polacek <polacek@redhat.com>
55219 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55220 * sysdeps/gnu/_G_config.h: Likewise.
55221 * sysdeps/mach/hurd/_G_config.h: Likewise.
55223 2012-02-07 Marek Polacek <polacek@redhat.com>
55225 * math/Makefile (tests): Add tst-CMPLX2.
55226 * math/tst-CMPLX2.c: New file.
55228 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
55230 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55232 * math/libm-test.inc (jn_test): Add missing L suffix.
55234 2012-02-06 Marek Polacek <polacek@redhat.com>
55236 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55237 * sysdeps/i386/fpu/e_powf.S: Likewise.
55238 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55239 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55240 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55241 * sysdeps/i386/fpu/e_pow.S: Likewise.
55242 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55243 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55244 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55245 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55246 * sysdeps/i386/fpu/e_log2.S: Likewise.
55247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55248 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55249 * sysdeps/i386/fpu/e_powl.S: Likewise.
55250 * sysdeps/i386/fpu/s_log1p.S: Likewise.
55251 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55252 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55253 * sysdeps/i386/fpu/e_logl.S: Likewise.
55254 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55255 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55256 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55257 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55258 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55260 * sysdeps/i386/fpu/e_log.S: Likewise.
55261 * sysdeps/i386/fpu/s_cexp.S: Likewise.
55262 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55263 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55264 * sysdeps/i386/fpu/e_logf.S: Likewise.
55265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55266 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55267 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55268 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55269 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55270 * sysdeps/i386/fpu/e_log10.S: Likewise.
55271 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55273 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55274 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55276 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55277 * sysdeps/i386/asm-syntax.h: Likewise.
55278 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55281 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55282 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55284 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55285 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55286 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55287 * sysdeps/powerpc/sysdep.h: Likewise.
55288 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55291 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55294 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55296 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55298 * sysdeps/i386/sysdep.h: Include <features.h>.
55299 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55302 2012-02-05 Joseph Myers <joseph@codesourcery.com>
55304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55306 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55309 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55311 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55312 (SETUP_PIC_REG): Use GET_PC_THUNK.
55313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55316 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55318 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55319 for non-PIC compilation.
55320 (SETUP_PIC_REG): Add .p2align directive.
55321 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55322 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55323 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55324 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55326 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55327 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55329 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55330 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55331 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55332 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55333 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55334 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55335 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55338 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55339 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55340 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55342 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55343 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55344 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55345 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55346 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55347 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55348 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55349 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55350 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55351 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55354 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55355 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55356 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55357 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55358 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55359 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55360 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55361 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55363 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55365 * math/tst-CMPLX.c: Include <stdio.h>.
55367 2012-01-31 Joseph Myers <joseph@codesourcery.com>
55369 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55372 * sysdeps/sparc/bits/mathdef.h: Likewise.
55374 2012-01-31 Marek Polacek <polacek@redhat.com>
55376 * libio/libio.h: Don't define _PARAMS.
55377 * locale/programs/config.h: Don't define PARAMS.
55378 * stdlib/strtol_l.c: Likewise.
55379 (__strtol_l): Remove PARAMS from the prototype.
55381 2012-01-31 Ulrich Drepper <drepper@gmail.com>
55383 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
55384 names. Just use the correct names. Remove unnecessary wrapper
55386 * malloc/arena.c: Likewise.
55387 * malloc/hooks.c: Likewise.
55389 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55390 ARENA_TEST says not to. Simplify test for creation of a new arena.
55391 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55393 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55395 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55397 (update_get_addr): New function.
55398 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55399 GET_ADDR_MODULE parameter.
55401 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55403 * crypt/cert.c: Remove __STDC__ conditionals.
55404 * crypt/crypt-entry.c: Likewise.
55405 * crypt/crypt_util.c: Likewise.
55406 * libio/filedoalloc.c: Likewise.
55407 * libio/fileops.c: Likewise.
55408 * libio/genops.c: Likewise.
55409 * libio/iofclose.c: Likewise.
55410 * libio/iofdopen.c: Likewise.
55411 * libio/iofopen.c: Likewise.
55412 * libio/iofopen64.c: Likewise.
55413 * libio/iogetdelim.c: Likewise.
55414 * libio/iopopen.c: Likewise.
55415 * libio/obprintf.c: Likewise.
55416 * libio/oldfileops.c: Likewise.
55417 * libio/oldiofclose.c: Likewise.
55418 * libio/oldiofdopen.c: Likewise.
55419 * libio/oldiofopen.c: Likewise.
55420 * libio/oldiopopen.c: Likewise.
55421 * libio/wfiledoalloc.c: Likewise.
55422 * libio/wgenops.c: Likewise.
55423 * locale/programs/xmalloc.c: Likewise.
55424 * misc/syslog.c: Likewise.
55425 * stdio-common/xbug.c: Likewise.
55426 * string/memchr.c: Likewise.
55427 * string/memcmp.c: Likewise.
55428 * string/memrchr.c: Likewise.
55429 * string/rawmemchr.c: Likewise.
55430 * sysdeps/posix/getcwd.c: Likewise.
55431 * time/strftime_l.c: Likewise.
55433 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55435 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55436 * config.make.in (config-cflags-sse2avx): Define.
55437 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55440 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55442 * scripts/config.guess: Update from upstream config git repository.
55443 * scripts/config.sub: Likewise.
55445 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55447 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55449 (R_TILEPRO_*, R_TILEGX_*): New macros.
55451 * scripts/firstversions.awk: Fix bug in version range handling.
55453 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55455 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55457 * include/sys/epoll.h: New file.
55458 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55461 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55463 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55464 Avoid unnecessary __WORDSIZE == 64 test.
55465 (fmaxf): Use VEX format if possible.
55470 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55471 * math/math_private.h: Remove libc_fegetround* and
55473 * sysdeps/i386/configure.in: Check for -msse2avx.
55474 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55475 also if SSE2AVX is defined.
55476 Remove libc_fegetround* and libc_fesetround*.
55477 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55478 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55487 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55489 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55491 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55493 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55495 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55498 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55500 * Makeconfig (libm): Define.
55501 * elf/Makefile: Add rules to build and run tst-relsort1.
55502 * elf/tst-relsort1.c: New file.
55503 * elf/tst-relsort1mod1.c: New file.
55504 * elf/tst-relsort1mod2.c: New file.
55506 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55508 * math/s_ldexp.c: Remove __STDC__ conditionals.
55509 * math/s_ldexpf.c: Likewise.
55510 * math/s_ldexpl.c: Likewise.
55511 * math/s_nextafter.c: Likewise.
55512 * math/s_nexttowardf.c: Likewise.
55513 * math/s_significand.c: Likewise.
55514 * math/s_significandf.c: Likewise.
55515 * math/s_significandl.c: Likewise.
55516 * math/w_jnl.c: Likewise.
55517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55523 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55533 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55534 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55543 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55544 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55545 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55546 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55547 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55548 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55549 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55551 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55554 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55555 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55556 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55557 * sysdeps/ieee754/k_standard.c: Likewise.
55558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55559 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55560 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55561 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55562 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55563 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55565 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55566 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55567 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55568 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55569 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55570 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55571 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55577 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55578 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55579 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55580 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55582 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55587 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55588 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55589 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55590 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55591 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55594 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55595 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55631 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55632 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55637 * sysdeps/ieee754/s_matherr.c: Likewise.
55638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55643 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55645 * crypt/md5.h: Remove __STDC__ conditionals.
55646 * libio/libioP.h: Likewise.
55647 * locale/programs/config.h: Likewise.
55648 * sysdeps/generic/sysdep.h: Likewise.
55649 * sysdeps/i386/asm-syntax.h: Likewise.
55650 * sysdeps/s390/asm-syntax.h: Likewise.
55651 * sysdeps/unix/sysdep.h: Likewise.
55652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55655 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55657 * libio/libio.h: Remove __STDC__ conditionals.
55658 * malloc/obstack.h: Likewise.
55659 * math/complex.h: Likewise.
55660 * math/math.h: Likewise.
55661 * sysdeps/generic/_G_config.h: Likewise.
55662 * sysdeps/gnu/_G_config.h: Likewise.
55663 * sysdeps/mach/hurd/_G_config.h: Likewise.
55664 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55666 * sysdeps/sparc/bits/mathdef.h: Likewise.
55668 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55671 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55672 Clean up HAS_* macros.
55673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55674 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55684 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55686 * elf/tst-unique3.cc (gets): Remove declaration.
55687 * elf/tst-unique3lib.cc (gets): Likewise.
55688 * elf/tst-unique3lib2.cc (gets): Likewise.
55689 * elf/tst-unique4.cc (gets): Likewise.
55691 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55693 * include/stdio.h: Add C++ protection. Add gets declarations and
55695 * debug/tst-chk1.c: Don't declare gets here.
55696 * stdio-common/tst-gets.c: Likewise.
55698 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55700 * posix/glob: Remove directory.
55702 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55704 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55706 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55708 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55709 of the non-standard EPFNOSUPPORT.
55711 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55713 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55714 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55715 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55717 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55719 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55721 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55723 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55725 * nscd/grpcache.c (cache_addgr): Likewise.
55726 * nscd/hstcache.c (cache_addhst): Likewise.
55727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55728 * nscd/pwdcache.c (cache_addpw): Likewise.
55729 * nscd/servicescache.c (cache_addserv): Likewise.
55731 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55733 * malloc/malloc.c: Various cleanups.
55734 * malloc/hooks.c: Likewise.
55736 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55737 * stdlib/bug-fmtmsg1.c: New file.
55739 * stdlib/fmtmsg.c (init): Add missing unlock.
55740 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55742 2012-01-12 Marek Polacek <polacek@redhat.com>
55744 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55747 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55749 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55750 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55751 macro to ensure uniqueness of label name.
55752 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55753 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55755 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55757 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55760 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55761 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55764 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55766 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55768 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55769 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55770 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55772 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55774 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55775 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55779 * math/bits/math-finite.h: Add ldexp support.
55781 2012-01-10 Marek Polacek <polacek@redhat.com>
55783 * locale/programs/localedef.h (show_archive_content): Add noreturn
55786 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55790 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55792 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55794 * io/Makefile (headers): Add bits/poll2.h.
55796 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55799 typo #include statement.
55801 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55803 * include/sys/cdefs.h: Define __attribute_alloc_size.
55804 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55805 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55806 * elf/pldd.c: Likewise.
55807 * iconv/iconv_charmap.c: Likewise.
55808 * iconv/iconvconfig.c: Likewise.
55809 * iconv/strtab.c: Likewise.
55810 * locale/programs/locale.c: Likewise.
55811 * locale/programs/localedef.h: Likewise.
55812 * locale/programs/simple-hash.c: Likewise.
55813 * nscd/nscd.h: Likewise.
55814 * nss/makedb.c: Likewise.
55815 * sysdeps/generic/ldconfig.h: Likewise.
55816 * locale/programs/localedef.c: Remove xmalloc prototype.
55817 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55819 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55821 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55824 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55826 * math/Makefile (tests): Add tst-CMPLX.
55827 * math/tst-CMPLX.c: New file.
55829 * math/complex.h (CMPLXL): Fix typo.
55831 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55832 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55834 * debug/tst-chk1.c: Add poll and ppoll tests.
55835 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55836 * include/sys/poll.h: Add hidden proto for ppoll.
55837 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55838 * sysdeps/mach/hurd/ppoll.c: Likewise.
55839 * io/ppoll.c: Likewise.
55840 * debug/poll_chk.c: New file.
55841 * debug/ppoll_chk.c: New file.
55842 * include/bits/poll2.h: New file.
55843 * io/bits/poll2.h: New file.
55846 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55848 * configure.in: static is always set to yes. Remove.
55849 * config.make.in: Don't set build-static.
55850 * Makeconfig: Remove use of build-static.
55851 * dlfcn/Makefile: Likewise.
55852 * elf/Makefile: Likewise.
55853 * math/Makefile: Likewise.
55854 * misc/Makefile: Likewise.
55855 * nptl/Makefile: Likewise.
55856 * sysdeps/mach/hurd/Makefile: Likewise.
55858 * configure.in: PWD_P is not used anymore.
55859 * config.make.in: Remove PWD_P entry.
55861 * configure.in: Remove last remnants of RANLIB.
55862 No need to check for signed size_t anymore.
55863 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55865 Remove __builtin_expect test because we require at least gcc 3.4.
55866 * aclocal.m4: Likewise.
55868 * wcsmbs/mbrtoc16.c: Implement using towc function.
55869 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55870 * wcsmbs/wcsmbsload.c: Likewise.
55871 * iconv/gconv_simple.c: Likewise.
55872 * iconv/gconv_int.h: Likewise.
55873 * iconv/gconv_builtin.h: Likewise.
55874 * iconv/iconv_prog.c: Remove CHAR16 handling.
55876 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55878 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55880 * configure.in: Remove --with-elf and --enable-bounded options.
55881 Dont set base_machine for ia64. More non-ELF conditions removed.
55882 Remove testing and setting of leading underscore information.
55883 * config.make.in (build-bounded): Set to no.
55884 * config.h.in: Remove NO_UNDERSCORES entry.
55885 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55887 * csu/start.c: Remove !NO_UNDERSCORE code.
55888 * locale/localeinfo.h: Likewise.
55889 * sysdeps/generic/machine-gmon.h: Likewise.
55890 * sysdeps/generic/sysdep.h: Likewise.
55891 * sysdeps/i386/sysdep.h: Likewise.
55892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55893 * sysdeps/mach/sysdep.h: Likewise.
55894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55895 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55896 * sysdeps/sh/sysdep.h: Likewise.
55897 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55898 * sysdeps/unix/i386/sysdep.S: Likewise.
55899 * sysdeps/unix/sparc/start.c: Likewise.
55900 * sysdeps/unix/sparc/sysdep.S: Likewise.
55901 * sysdeps/unix/sparc/sysdep.h: Likewise.
55902 * sysdeps/unix/start.c: Likewise.
55903 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55904 * sysdeps/x86_64/sysdep.h: Likewise.
55906 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55909 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55911 * argp/argp-fmtstream.h: Use const instead __const.
55912 * argp/argp.h: Likewise.
55913 * assert/assert.h: Likewise.
55914 * bits/fenv.h: Likewise.
55915 * bits/sched.h: Likewise.
55916 * bits/sigset.h: Likewise.
55917 * bits/sigthread.h: Likewise.
55918 * catgets/nl_types.h: Likewise.
55919 * conform/data/pthread.h-data: Likewise.
55920 * crypt/crypt-private.h: Likewise.
55921 * crypt/crypt.h: Likewise.
55922 * crypt/crypt_util.c: Likewise.
55923 * ctype/ctype.h: Likewise.
55924 * debug/execinfo.h: Likewise.
55925 * debug/mbsnrtowcs_chk.c: Likewise.
55926 * debug/mbsrtowcs_chk.c: Likewise.
55927 * debug/wcsnrtombs_chk.c: Likewise.
55928 * debug/wcsrtombs_chk.c: Likewise.
55929 * debug/wcstombs_chk.c: Likewise.
55930 * dirent/dirent.h: Likewise.
55931 * dlfcn/dlfcn.h: Likewise.
55932 * elf/neededtest4.c: Likewise.
55933 * grp/grp.h: Likewise.
55934 * gshadow/gshadow.h: Likewise.
55935 * iconv/gconv.h: Likewise.
55936 * iconv/gconv_int.h: Likewise.
55937 * iconv/gconv_simple.c: Likewise.
55938 * iconv/iconv.h: Likewise.
55939 * iconv/loop.c: Likewise.
55940 * iconv/skeleton.c: Likewise.
55941 * include/aio.h: Likewise.
55942 * include/aliases.h: Likewise.
55943 * include/argz.h: Likewise.
55944 * include/arpa/inet.h: Likewise.
55945 * include/assert.h: Likewise.
55946 * include/dirent.h: Likewise.
55947 * include/dlfcn.h: Likewise.
55948 * include/execinfo.h: Likewise.
55949 * include/fcntl.h: Likewise.
55950 * include/fenv.h: Likewise.
55951 * include/glob.h: Likewise.
55952 * include/grp.h: Likewise.
55953 * include/libintl.h: Likewise.
55954 * include/mntent.h: Likewise.
55955 * include/netdb.h: Likewise.
55956 * include/pwd.h: Likewise.
55957 * include/rpc/netdb.h: Likewise.
55958 * include/sched.h: Likewise.
55959 * include/search.h: Likewise.
55960 * include/shadow.h: Likewise.
55961 * include/signal.h: Likewise.
55962 * include/stdio.h: Likewise.
55963 * include/stdlib.h: Likewise.
55964 * include/string.h: Likewise.
55965 * include/sys/socket.h: Likewise.
55966 * include/sys/stat.h: Likewise.
55967 * include/sys/statfs.h: Likewise.
55968 * include/sys/statvfs.h: Likewise.
55969 * include/sys/syslog.h: Likewise.
55970 * include/sys/time.h: Likewise.
55971 * include/sys/uio.h: Likewise.
55972 * include/time.h: Likewise.
55973 * include/unistd.h: Likewise.
55974 * include/utmp.h: Likewise.
55975 * include/wchar.h: Likewise.
55976 * include/wctype.h: Likewise.
55977 * inet/aliases.h: Likewise.
55978 * inet/arpa/inet.h: Likewise.
55979 * inet/netinet/ether.h: Likewise.
55980 * inet/netinet/in.h: Likewise.
55981 * intl/libintl.h: Likewise.
55982 * io/bits/fcntl2.h: Likewise.
55983 * io/fcntl.h: Likewise.
55984 * io/ftw.h: Likewise.
55985 * io/sys/poll.h: Likewise.
55986 * io/sys/stat.h: Likewise.
55987 * io/sys/statfs.h: Likewise.
55988 * io/sys/statvfs.h: Likewise.
55989 * io/utime.h: Likewise.
55990 * libio/bits/stdio.h: Likewise.
55991 * libio/bits/stdio2.h: Likewise.
55992 * libio/libio.h: Likewise.
55993 * libio/libioP.h: Likewise.
55994 * libio/stdio.h: Likewise.
55995 * locale/lc-ctype.c: Likewise.
55996 * locale/locale.h: Likewise.
55997 * login/utmp.h: Likewise.
55998 * malloc/arena.c: Likewise.
55999 * malloc/malloc.c: Likewise.
56000 * malloc/malloc.h: Likewise.
56001 * malloc/mcheck.c: Likewise.
56002 * malloc/mtrace.c: Likewise.
56003 * math/bits/mathcalls.h: Likewise.
56004 * math/fenv.h: Likewise.
56005 * math/math_private.h: Likewise.
56006 * misc/bits/error.h: Likewise.
56007 * misc/bits/syslog.h: Likewise.
56008 * misc/err.h: Likewise.
56009 * misc/error.h: Likewise.
56010 * misc/fstab.h: Likewise.
56011 * misc/mntent.h: Likewise.
56012 * misc/regexp.h: Likewise.
56013 * misc/search.h: Likewise.
56014 * misc/sgtty.h: Likewise.
56015 * misc/sys/mman.h: Likewise.
56016 * misc/sys/syslog.h: Likewise.
56017 * misc/sys/uio.h: Likewise.
56018 * misc/sys/xattr.h: Likewise.
56019 * misc/ttyent.h: Likewise.
56020 * nis/rpcsvc/ypclnt.h: Likewise.
56021 * nss/nss.h: Likewise.
56022 * posix/bits/unistd.h: Likewise.
56023 * posix/fnmatch.h: Likewise.
56024 * posix/glob.h: Likewise.
56025 * posix/sched.h: Likewise.
56026 * posix/spawn.h: Likewise.
56027 * posix/sys/wait.h: Likewise.
56028 * posix/unistd.h: Likewise.
56029 * posix/wordexp.h: Likewise.
56030 * pwd/pwd.h: Likewise.
56031 * resolv/netdb.h: Likewise.
56032 * resource/sys/resource.h: Likewise.
56033 * rt/aio.h: Likewise.
56034 * rt/bits/mqueue2.h: Likewise.
56035 * rt/mqueue.h: Likewise.
56036 * shadow/shadow.h: Likewise.
56037 * signal/signal.h: Likewise.
56038 * socket/send.c: Likewise.
56039 * socket/sendto.c: Likewise.
56040 * socket/sys/socket.h: Likewise.
56041 * stdio-common/printf.h: Likewise.
56042 * stdlib/bits/stdlib.h: Likewise.
56043 * stdlib/fmtmsg.h: Likewise.
56044 * stdlib/monetary.h: Likewise.
56045 * stdlib/stdlib.h: Likewise.
56046 * stdlib/ucontext.h: Likewise.
56047 * streams/stropts.h: Likewise.
56048 * string/argz.h: Likewise.
56049 * string/bits/string2.h: Likewise.
56050 * string/string.h: Likewise.
56051 * string/strings.h: Likewise.
56052 * sunrpc/rpc/auth.h: Likewise.
56053 * sunrpc/rpc/auth_des.h: Likewise.
56054 * sunrpc/rpc/clnt.h: Likewise.
56055 * sunrpc/rpc/netdb.h: Likewise.
56056 * sunrpc/rpc/pmap_clnt.h: Likewise.
56057 * sunrpc/rpc/xdr.h: Likewise.
56058 * sysdeps/generic/inttypes.h: Likewise.
56059 * sysdeps/generic/net/if.h: Likewise.
56060 * sysdeps/generic/sys/swap.h: Likewise.
56061 * sysdeps/gnu/net/if.h: Likewise.
56062 * sysdeps/gnu/utmpx.h: Likewise.
56063 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56064 * sysdeps/i386/i486/bits/string.h: Likewise.
56065 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56066 * sysdeps/s390/bits/string.h: Likewise.
56067 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56068 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56069 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56070 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56071 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56072 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56073 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56074 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56075 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56076 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56077 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56078 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56079 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56080 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56081 * sysdeps/unix/sysv/linux/readv.c: Likewise.
56082 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56083 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56084 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56088 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56089 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56090 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56091 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56092 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56093 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56095 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56096 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56097 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56098 * sysvipc/sys/ipc.h: Likewise.
56099 * sysvipc/sys/msg.h: Likewise.
56100 * sysvipc/sys/sem.h: Likewise.
56101 * sysvipc/sys/shm.h: Likewise.
56102 * termios/termios.h: Likewise.
56103 * time/sys/time.h: Likewise.
56104 * time/time.h: Likewise.
56105 * wcsmbs/bits/wchar2.h: Likewise.
56106 * wcsmbs/uchar.h: Likewise.
56107 * wcsmbs/wchar.h: Likewise.
56108 * wctype/wctype.h: Likewise.
56111 * Makeconfig: Remove all but ELF support including AIX support.
56112 * Makerules: Likewise.
56113 * config.h.in: Likewise.
56114 * config.make.in: Likewise.
56115 * configure: Likewise.
56116 * configure.in: Likewise.
56117 * csu/Makefile: Likewise.
56118 * csu/version.c: Likewise.
56119 * debug/Makefile: Likewise.
56120 * dlfcn/Makefile: Likewise.
56121 * elf/Makefile: Likewise.
56122 * extra-lib.mk: Likewise.
56123 * iconv/Makefile: Likewise.
56124 * include/libc-symbols.h: Likewise.
56125 * include/shlib-compat.h: Likewise.
56126 * resolv/Makefile: Likewise.
56127 * resolv/res_libc.c: Likewise.
56128 * rt/Makefile: Likewise.
56129 * sysdeps/i386/asm-syntax.h: Likewise.
56130 * sysdeps/i386/sysdep.h: Likewise.
56131 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56132 * sysdeps/mach/sysdep.h: Likewise.
56133 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56134 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56135 * sysdeps/s390/asm-syntax.h: Likewise.
56136 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56138 * sysdeps/sh/sysdep.h: Likewise.
56139 * sysdeps/unix/sparc/sysdep.h: Likewise.
56140 * sysdeps/wordsize-32/divdi3.c: Likewise.
56141 * sysdeps/x86_64/sysdep.h: Likewise.
56143 * argp/Versions: Remove _argp_unlock_xxx.
56146 * abilist/ld.abilist: Update. Adjust for removal of tls option.
56147 * abilist/libBrokenLocale.abilist: Likewise.
56148 * abilist/libanl.abilist: Likewise.
56149 * abilist/libc.abilist: Likewise.
56150 * abilist/libcrypt.abilist: Likewise.
56151 * abilist/libdl.abilist: Likewise.
56152 * abilist/libm.abilist: Likewise.
56153 * abilist/libnsl.abilist: Likewise.
56154 * abilist/libpthread.abilist: Likewise.
56155 * abilist/libresolv.abilist: Likewise.
56156 * abilist/librt.abilist: Likewise.
56157 * abilist/libthread_db.abilist: Likewise.
56158 * abilist/libutil.abilist: Likewise.
56159 * abilist/libnss_db.abilist: New file.
56161 * scripts/abilist.awk: Add support for indirect functions.
56163 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56165 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56167 * shlib-versions: Remove entries for ports architectures.
56169 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
56171 * elf/stackguard-macros.h: Remove support for IA-64.
56172 * elf/tst-auditmod1.c: Likewise.
56173 * sysdeps/generic/ldsodefs.h: Likewise.
56175 * sysdeps/unix/sysv/linux/configure.in: Ports should define
56176 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56180 * configure.in: Remove --enable-omitfp support.
56182 * config.make.in: Likewise.
56183 * Makeconfig: Likewise.
56184 * manual/install.texi: Likewise.
56186 In case anyone cares, the IA-64 architecture could move to ports.
56187 * sysdeps/ia64/*: Removed.
56188 * sysdeps/unix/sysv/linux/ia64/*: Removed.
56189 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56192 * configure.in: Remove entries for unsupported architectures.
56195 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56196 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
56198 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56199 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56200 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
56201 fall back to using wcrtomb.
56202 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56203 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
56205 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56206 * wcsmbs/tst-c16c32-1.c: New file.
56208 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56211 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56213 * elf/tst-unique3.cc: Add explicit declaration of gets.
56214 * elf/tst-unique3lib.cc: Likewise.
56215 * elf/tst-unique3lib2.cc: Likewise.
56216 * elf/tst-unique4.cc: Likewise.
56218 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56220 2012-01-06 Joseph Myers <joseph@codesourcery.com>
56223 * assert/assert.h (static_assert): Don't define for C++.
56224 * libio/stdio.h (gets): Do declare for C++ <= C++11.
56225 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56227 2012-01-03 Ulrich Drepper <drepper@gmail.com>
56229 * iconv/loop.c (single loop): Fix assertion in storing of
56232 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56234 2012-01-01 Ulrich Drepper <drepper@gmail.com>
56236 * posix/getconf.c: Update copyright year.
56237 * nss/getent.c: Likewise.
56238 * nss/makedb.c: Likewise.
56239 * iconv/iconvconfig.c: Likewise.
56240 * iconv/iconv_prog.c: Likewise.
56241 * elf/ldconfig.c: Likewise.
56242 * elf/pldd.c: Likewise.
56243 * elf/sotruss.ksh: Likewise.
56244 * catgets/gencat.c: Likewise.
56245 * csu/version.c: Likewise.
56246 * elf/ldd.bash.in: Likewise.
56247 * elf/sprof.c (print_version): Likewise.
56248 * locale/programs/locale.c: Likewise.
56249 * locale/programs/localedef.c: Likewise.
56250 * login/programs/pt_chown.c: Likewise.
56251 * nscd/nscd.c (print_version): Likewise.
56252 * debug/xtrace.sh: Likewise.
56253 * malloc/memusage.sh: Likewise.
56254 * malloc/mtrace.pl: Likewise.
56255 * debug/catchsegv.sh: Likewise.
56257 2011-12-30 Jakub Jelinek <jakub@redhat.com>
56259 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56262 2011-12-24 Ulrich Drepper <drepper@gmail.com>
56265 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56266 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56268 * iconv/gconv_int.h: Likewise.
56269 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56270 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56271 from libc for GLIBC_2.16.
56272 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56273 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56274 * wcsmbs/uchar.h: Really define mbstate_t.
56275 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56276 * wcsmbs/c16rtomb.c: New file.
56277 * wcsmbs/mbrtoc16.c: New file.
56278 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56279 for C/POSIX locale.
56280 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56281 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56283 * wcsmbs/wchar.h: Add missing __restrict.
56285 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56288 * time/Makefile (routines): Add timespec_get.
56289 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56290 * time/time.h: Define TIME_UTC and declare timespec_get. Define
56291 timespec for ISO C11.
56292 * time/timespec_get.c: New file.
56293 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56294 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56297 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56298 * stdlib/stdlib.h: Declare aligned_alloc.
56299 * Versions.def: Add GLIBC_2.16 for libc.
56300 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56303 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56306 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56310 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56313 * assert/assert.h (static_assert): Define.
56315 * version.h: Update for 2.16 development version.
56318 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56321 * version.h (RELEASE): Bump for 2.15 release.
56322 * include/features.h (__GLIBC_MINOR__): Bump to 15.
56324 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56325 Patch by Marek Polacek <mpolacek@redhat.com>.
56327 * bits/byteswap.h: Protect long long constants with __extension__.
56328 * sysdeps/i386/bits/byteswap.h: Likewise.
56329 * sysdeps/ia64/bits/byteswap.h: Likewise.
56330 * sysdeps/s390/bits/byteswap.h: Likewise.
56331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56337 destination buffer.
56338 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56340 2011-12-23 Marek Polacek <polacek@redhat.com>
56342 * elf/dl-addr.c (determine_info): Add inline keyword.
56343 * elf/tst-auditmod4b.c (check_avx): Likewise.
56344 * elf/tst-auditmod6b.c (check_avx): Likewise.
56345 * elf/tst-auditmod6c.c (check_avx): Likewise.
56346 * elf/tst-auditmod7b.c (check_avx): Likewise.
56348 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56353 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56356 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56357 processing for last bytes.
56359 2011-08-06 Bruno Haible <bruno@clisp.org>
56362 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56363 U+0385, not to U+1FEE.
56366 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56367 entry for U+00A5 U+0301.
56369 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56372 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56373 buffer for the output is too small.
56375 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56379 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56380 SSE flags if possible.
56382 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56386 processing for last bytes.
56388 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56391 (syscall-list-default-options, syscall-list-default-condition)
56392 (syscall-list-includes): Define.
56393 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56394 list of ABIs and options and #if conditions for each ABI. Do not
56395 handle common syscalls between ABIs specially.
56396 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56398 (syscall-list-variants, syscall-list-32bit-options)
56399 (syscall-list-32bit-condition, syscall-list-64bit-options)
56400 (syscall-list-64bit-condition): Define.
56401 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56402 (syscall-list-variants, syscall-list-32bit-options)
56403 (syscall-list-32bit-condition, syscall-list-64bit-options)
56404 (syscall-list-64bit-condition): Define.
56405 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56407 (syscall-list-variants, syscall-list-32bit-options)
56408 (syscall-list-32bit-condition, syscall-list-64bit-options)
56409 (syscall-list-64bit-condition): Define.
56410 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56412 (syscall-list-variants, syscall-list-32bit-options)
56413 (syscall-list-32bit-condition, syscall-list-64bit-options)
56414 (syscall-list-64bit-condition): Define.
56416 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56418 * locale/iso-639.def: Add brx entry.
56421 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56422 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56424 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56425 __feraiseexcept_renamed.
56427 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56430 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56431 EPOLLET with unsigned values.
56432 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56435 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56436 to large cancellation.
56437 * math/s_cacoshf.c: Likewise.
56438 * math/s_cacoshl.c: Likewise.
56440 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56444 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56445 * math/s_cacoshf.c: Likewise.
56446 * math/s_cacoshl.c: Likewise.
56448 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56451 * iconv/gconv.h: Define __GCONV_SWAP.
56452 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56453 * iconvdata/utf-16.c: Likewise.
56454 * iconvdata/utf-32.c: Likewise.
56456 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56459 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56460 numerator after shifting it by one limb.
56462 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56464 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56465 under [__USE_EXTERN_INLINES].
56467 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56470 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56472 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56474 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56475 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56477 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56479 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56480 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56481 for strncasecmp/strncasecmp_l compilation.
56482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56483 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56485 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56488 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56491 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56494 * time/tzfile.c (__tzfile_read): Check values from file header.
56496 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56498 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56499 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56500 * powerpc/powerpc32/dl-start.S: Likewise.
56501 * powerpc/powerpc32/elf/start.S: Likewise.
56502 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56503 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56504 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56505 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56506 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56507 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56508 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56509 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56510 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56511 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56512 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56513 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56514 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56515 * powerpc/powerpc32/memset.S: Likewise.
56516 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56517 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56518 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56519 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56520 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56521 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56522 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56523 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56524 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56525 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56526 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56527 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56528 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56530 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56532 * math/libm-test.inc: Added more nearbyint tests.
56533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56538 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56540 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56543 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56545 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56546 Add wcscpy-ssse3 wcscpy-c.
56547 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56548 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56549 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56550 * sysdeps/x86_64/wcschr.S: New file.
56551 * sysdeps/x86_64/wcsrchr.S: New file.
56552 * string/test-strcmp.c: Remove checking of wcscmp function for
56554 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56555 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56556 wcsrchr-sse2 wcsrchr-c.
56557 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56558 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56559 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56560 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56561 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56562 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56563 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56564 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56565 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56566 * wcsmbc/wcschr.c (WCSCHR): New macro.
56568 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56570 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56571 * wcsmbs/test-wcsrchr.c: New file.
56572 * string/test-strrchr.c: Add wcsrchr support.
56574 * wcsmbs/test-wcscpy.c: New file.
56575 * string/test-strcpy.c: Add wcscpy support.
56578 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56580 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56583 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56586 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56588 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56591 Minor optimizations.
56593 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56594 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56595 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56597 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56599 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56600 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56601 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56602 for gcc to avoid warnings.
56603 * inet/Makefile (tests): Add tst-checks.
56604 * inet/tst-checks.c: New file.
56606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56609 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56612 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56613 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56615 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56617 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56619 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56622 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56624 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56626 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56627 conditional on GCC version.
56628 (__arch_compare_and_exchange_val_8_acq)
56629 (__arch_compare_and_exchange_val_16_acq)
56630 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56631 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56632 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56634 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56636 * sysdeps/sh/backtrace.c: New file.
56638 2011-12-02 Andreas Schwab <schwab@redhat.com>
56640 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56643 2011-12-01 Andreas Schwab <schwab@redhat.com>
56645 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56646 falling back to utime.
56648 2011-11-30 Andreas Schwab <schwab@redhat.com>
56650 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56651 expectations for float.
56653 2011-11-29 Andreas Schwab <schwab@redhat.com>
56655 * locale/weight.h (findidx): Add parameter len.
56656 * locale/weightwc.h (findidx): Likewise.
56657 * posix/fnmatch_loop.c (FCT): Adjust caller.
56658 * posix/regcomp.c (build_equiv_class): Likewise.
56659 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56660 * posix/regexec.c (check_node_accept_bytes): Likewise.
56661 * string/strcoll_l.c (STRCOLL): Likewise.
56662 * string/strxfrm_l.c (STRXFRM): Likewise.
56664 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56666 * Makefile.in: Remove CVSOPT handling.
56667 * configure.in: Remove use of AC_REVISION.
56668 * iconvdata/Makefile (distribute): No need to filter out CVS.
56669 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56672 2011-11-16 Andreas Schwab <schwab@redhat.com>
56674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56675 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56676 [USE_AS_STRNCASECMP_L]: Likewise.
56677 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56678 NO_TLS_DIRECT_SEG_REFS.
56679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56680 Fix argument offsets for non-PIC.
56681 [USE_AS_STRNCASECMP_L]: Likewise.
56682 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56683 NO_TLS_DIRECT_SEG_REFS.
56685 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56687 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56689 * locale/loadlocale.c (_nl_load_locale): Likewise.
56691 2011-11-15 Andreas Schwab <schwab@redhat.com>
56693 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56694 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56696 (SYSCALL_GETTIME): Set errno on error.
56698 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56699 count references to noai6ai_cached.
56701 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56703 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56705 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56706 FD_CLOEXEC for /proc/self/maps.
56708 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56709 FD_CLOEXEC for /proc/meminfo.
56711 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56714 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56715 FD_CLOEXEC for given file.
56717 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56719 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56720 FD_CLOEXEC for /etc/hosts.
56721 (_gethtent): Likewise.
56723 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56726 cancellation and set FD_CLOEXEC for /etc/netgroup.
56728 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56729 reading /etc/publickey.
56731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56732 allow cancellation when reading /etc/group.
56734 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56736 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56738 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56739 when using data file.
56741 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56743 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56744 (write_nis_obj): Use "c" and "e" in fopen.
56746 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56748 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56750 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56752 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56754 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56757 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56759 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56761 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56763 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56764 file parsing and set FD_CLOEXEC.
56766 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56768 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56770 2011-11-14 Andreas Schwab <schwab@redhat.com>
56772 * malloc/arena.c (arena_get2): Don't call reused_arena when
56773 _int_new_arena failed.
56775 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56778 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56779 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56781 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56783 to compile strcasecmp and strncasecmp.
56784 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56785 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56789 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56791 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56792 locale-defines.sym to gen-as-const-headers.
56793 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56794 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56796 to compile strcasecmp and strncasecmp.
56797 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56798 strcasecmp_l and strncasecmp_l.
56799 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56800 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56801 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56802 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56803 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56804 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56805 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56806 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56807 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56808 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56809 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56811 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56813 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56814 result of SYSDEP_GETTIME_CPU to retval.
56815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56816 parameter list to macro. Remove trailing semicolon. Adjust users.
56818 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56821 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56823 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56825 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56826 from unused variable.
56828 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56830 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56833 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56836 * sunrpc/rpc_prot.c (rejected): Fix case value.
56838 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56839 unsigned long long int to avoid warnings in shift.
56841 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56843 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56846 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56847 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56848 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56850 * nis/nis_table.c (nis_list): Use variable of correct type for
56851 result of __follow_path call.
56853 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56855 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56856 of math functions ceil, trunc, floor, round, and sqrt, when
56857 avaliable on the platform.
56858 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56864 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56866 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56867 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56869 2011-11-11 Roland McGrath <roland@hack.frob.com>
56871 * include/unistd.h: Fix __readlink return type.
56872 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56874 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56876 * stdlib/ucontext.h: Undo last change for makecontext.
56878 2011-11-11 Andreas Schwab <schwab@redhat.com>
56880 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56882 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56883 * setjmp/setjmp.h: Mark functions as non-leaf.
56884 * setjmp/bits/setjmp2.h: Likewise.
56885 * stdlib/ucontext.h: Likewise.
56887 2011-11-10 Andreas Schwab <schwab@redhat.com>
56889 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56890 (reused_arena): Don't check arena limit.
56891 (arena_get2): Atomically check arena limit.
56893 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56895 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56896 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56901 2011-11-07 Andreas Schwab <schwab@redhat.com>
56903 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56904 handler when locking.
56906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56907 Fix size of allocated buffer.
56909 2011-11-04 Andreas Schwab <schwab@redhat.com>
56912 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56913 declarations for long double functions.
56914 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56916 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56918 2011-11-03 Andreas Schwab <schwab@redhat.com>
56920 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56923 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56926 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56928 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56930 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56932 * include/alloca.h (stackinfo_alloca_round): Define.
56933 (extend_alloca): Use it.
56934 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56935 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56938 * scripts/check-local-headers.sh: Ignore libaudit.h.
56940 * nscd/Makefile (extra-objs): Make recursively expanded.
56942 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56944 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56947 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56948 * posix/tst-rfc3484-2.c: Likewise.
56949 * posix/tst-rfc3484-3.c: Likewise.
56951 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56953 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56955 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56956 process_vm_writev from libc using GLIBC_2.15 version.
56958 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56960 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56962 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56965 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56968 * nss/getent.c (initgroups_keys): Show error message in case no group
56971 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56972 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56973 __bump_nl_timestamp.
56974 * nscd/connections (nscd_init): When host database is served open
56975 netlink socket and request notification about configuration changes.
56976 (main_loop_poll): Track netlink file descriptor and bump timestamp
56977 in case data becomes available.
56978 (main_loop_epoll): Likewise.
56979 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56980 (database_pers_head): Add extra_data fileds.
56981 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56982 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56983 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56986 in6ai data, call __free_in6ai.
56987 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56988 Add -DHAVE_NETLINK.
56989 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56990 interface information. Reuse previous data if netlink timestamp
56992 (__bump_nl_timestamp): New function.
56993 (__free_in6ai): New function.
56995 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56998 close_not_cancel_no_status here.
56999 (__check_pf): Reorganize code a bit to not call close twice if OOM.
57001 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57004 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57007 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57008 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57009 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57011 2011-07-03 Andreas Jaeger <aj@suse.de>
57014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57015 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57016 * math/libm-test.inc (sin_test): Add test case.
57018 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57021 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57022 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57024 * elf/chroot_canon.c (chroot_canon): Cleanups.
57026 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57029 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57030 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57032 * string/test-strchr.c: Make usable for strchrnul testing.
57033 * string/test-strchrnul.c: New file.
57034 * string/Makefile (strop-tests): Add strchrnul.
57036 * po/it.po: Update from translation team.
57037 * po/es.po: Likewise.
57039 2011-10-28 Ulrich Drepper <drepper@gmail.com>
57041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57042 the three constants needed as parameters. Drop the others.
57043 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57044 __m128i_strloadu_tolower.
57045 Create and initialize variable zero and use it in all the places
57046 where _mm_setzero_si128 was used.
57048 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57049 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57050 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57053 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57054 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57055 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57056 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57058 __mpranred, __mptan.
57059 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57060 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57061 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57062 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57063 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57064 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57065 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57066 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57067 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57069 2011-10-28 Andreas Schwab <schwab@redhat.com>
57071 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57072 redefine if SHARED.
57073 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57076 wide char related routines to wcsmbs subdir.
57078 2011-10-27 Andreas Schwab <schwab@redhat.com>
57081 * misc/sys/cdefs.h (__THROWNL): Define.
57082 * posix/unistd.h: Use __THREADNL instead of __THREAD
57083 for memory synchronization functions.
57085 2011-10-26 Roland McGrath <roland@hack.frob.com>
57088 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57090 * manual/stdio.texi (Obstack Streams): Node removed.
57092 2011-10-26 Andreas Schwab <schwab@redhat.com>
57094 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57098 * math/math_private.h (math_force_eval): Allow non-addressable
57100 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57102 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57105 file is not needed.
57107 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57109 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57110 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57111 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57114 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57116 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57117 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57118 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57119 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57120 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57121 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57122 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57123 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57126 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57127 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57129 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57130 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57131 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57132 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57133 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57134 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57136 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57137 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
57139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57140 place. Use VEX encoding when compiling for AVX.
57142 2011-10-25 Andreas Schwab <schwab@redhat.com>
57144 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57145 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57147 * string/test-strchr.c (do_test): Don't generate NUL bytes.
57149 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57151 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57152 useless if() expression.
57153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57154 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57155 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57158 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57159 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57160 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57164 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57165 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57168 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57169 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57171 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57173 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57175 2011-10-25 Andreas Schwab <schwab@redhat.com>
57177 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57179 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57181 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57183 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57184 .text section. Avoid duplicate constants.
57185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57192 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57193 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57194 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57195 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57197 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57198 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57199 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57201 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57204 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57208 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57209 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57210 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57211 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57212 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57213 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57214 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57215 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57216 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57217 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57218 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57219 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57220 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57221 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57222 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57223 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57224 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57225 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57226 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57227 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57228 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57229 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57231 2011-10-24 Ulrich Drepper <drepper@gmail.com>
57233 * sysdeps/x86_64/dla.h: Move to ...
57234 * sysdeps/x86_64/fpu/dla.h: ...here.
57235 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57236 situations. Use __builtin_fma only for gcc 4.6 and up.
57238 * config.make.in: Add have-mfma4 entry.
57239 * configure.in: Substitute libc_cv_cc_fma4.
57240 * math/Makefile (dbl-only-routines): Add sincostab.
57241 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57242 Use __sincostab not sincos.
57243 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57245 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
57250 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
57251 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
57252 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57253 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57256 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57258 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
57259 define aliases when function name is a macro.
57260 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57261 sysdeps/ieee754/dbl-64/sincos.tbl.
57262 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57263 fma4-enabled routines.
57264 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57265 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57266 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57267 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57269 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57271 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57272 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57274 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57276 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57287 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57289 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57291 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57292 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57293 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57295 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57306 2011-10-24 Andreas Schwab <schwab@redhat.com>
57308 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57310 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57314 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57316 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57318 * string/strnlen.c: Don't define STRNLEN, reverse logic.
57319 Remove unused variable magic_bits.
57320 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57322 * string/strnlen.c: Define and use STRNLEN macro.
57323 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57324 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57326 * wcsmbs/wcslen.c: Define and use WCSLEN.
57327 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57328 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57329 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57330 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57331 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57332 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57333 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57335 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57338 strnlen-sse2-no-bsf.
57339 Rename strlen-no-bsf to strlen-sse2-no-bsf.
57340 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57341 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57342 Add strnlen support.
57343 (USE_AS_STRNLEN): New macro.
57344 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57345 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57346 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57347 * sysdeps/x86_64/wcslen.S: New file.
57349 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
57351 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57352 XMM-moves are used for copying on small sizes.
57354 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57356 * wcsmbs/Makefile (strop-tests): Add wcschr.
57357 * wcsmbs/test-wcschr.c: New file.
57358 * string/test-strchr.c: Update.
57359 Add wcschr support.
57362 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57364 * wcsmbs/Makefile (strop-tests): Add wcslen.
57365 * wcsmbs/test-wcslen.c: New file.
57366 * string/test-strlen.c: Update.
57367 Add wcslen support.
57370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57372 * po/it.po: Update from translation team.
57374 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57376 * sysdeps/x86_64/wcscmp.S: Update.
57377 Fix wrong comparison semantics.
57378 wcscmp shall use signed comparison not unsigned.
57379 Don't use substraction to avoid overflow bug.
57380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57381 * wcsmbc/wcscmp.c: Likewise.
57382 * string/test-strcmp.c: Likewise.
57383 Add new tests to check cases with negative values.
57385 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57387 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57388 * sysdeps/x86_64/dla.h: ...here. New file.
57389 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57399 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57402 __ynl_finite aliases.
57404 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57408 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57410 [DLA_FMA] (EMULV): Use DLA_FMA.
57411 [DLA_FMA] (MUL12): Use EMULV.
57412 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57413 that are not needed.
57414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57419 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57420 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57422 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57424 * math/s_nan.c: Undef __nan.
57425 * math/s_nanf.c: Undef __nanf.
57426 * math/s_nanl.c: Undef __nanl.
57427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57430 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57432 * math/s_catan.c: Add branch predictions.
57433 * math/s_catanf.c: Likewise.
57434 * math/s_catanh.c: Likewise.
57435 * math/s_catanhf.c: Likewise.
57436 * math/s_catanhl.c: Likewise.
57437 * math/s_catanl.c: Likewise.
57438 * math/s_cexp.c: Likewise.
57439 * math/s_cexpf.c: Likewise.
57440 * math/s_cexpl.c: Likewise.
57441 * math/s_clog.c: Likewise.
57442 * math/s_clog10.c: Likewise.
57443 * math/s_clog10f.c: Likewise.
57444 * math/s_clog10l.c: Likewise.
57445 * math/s_clogf.c: Likewise.
57446 * math/s_clogl.c: Likewise.
57447 * math/s_csqrt.c: Likewise.
57448 * math/s_csqrtf.c: Likewise.
57449 * math/s_csqrtl.c: Likewise.
57450 * math/s_ctanf.c: Likewise.
57451 * math/s_ctanh.c: Likewise.
57452 * math/s_ctanhf.c: Likewise.
57453 * math/s_ctanhl.c: Likewise.
57454 * math/s_ctanl.c: Likewise.
57456 * math/math_private.h: Define __nan, __nanf, __nanl.
57457 * math/s_cacosh.c: Include <math_private.h>.
57458 * math/s_cacoshl.c: Likewise.
57459 * math/s_casinh.c: Likewise.
57460 * math/s_casinhf.c: Likewise.
57461 * math/s_casinhl.c: Likewise.
57462 * math/s_ccos.c: Rely entire on ccosh.
57463 * math/s_ccosf.c: Rely entire on ccoshf.
57464 * math/s_ccosl.c: Rely entirely on ccoshl.
57465 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57466 Remove tests for FE_INVALID.
57467 * math/s_ccoshf.c: Likewise.
57468 * math/s_ccoshl.c: Likewise.
57469 * math/s_csin.c: Likewise.
57470 * math/s_csinf.c: Likewise.
57471 * math/s_csinh.c Likewise.
57472 * math/s_csinhf.c: Likewise.
57473 * math/s_csinhl.c: Likewise.
57474 * math/s_csinl.c: Likewise.
57475 * math/s_ctan.c: Likewise.
57476 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57477 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57480 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57483 compilation problems.
57485 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57488 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57490 * sysdeps/i386/configure.in: Test for -mfma4 option.
57491 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57492 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57493 COMMON_CPUID_INDEX_80000001.
57494 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57495 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57496 use it if FMA3 is not supported.
57497 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57499 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57502 2011-10-20 Andreas Schwab <schwab@redhat.com>
57505 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57506 it would create a cycle with a link time dependency.
57508 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57510 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57512 * string/Makefile (strop-tests): Add rawmemchr.
57513 * string/test-rawmemchr.c: New file.
57515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57517 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57518 when compiling str{,n}casecmp and when AVX is available. Hook up
57519 new optimized code in initializers.
57521 2011-10-19 Andreas Schwab <schwab@redhat.com>
57523 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57524 __feraiseexcept instead of feraiseexcept.
57526 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57528 * math/math_private.h: Define defaults for libc_fetestexcept and
57530 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57531 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57532 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57533 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57534 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57535 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57536 libc_fetestexcept and libc_feupdateenv.
57538 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57539 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57540 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57541 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57542 libc_feholdexcept_setround.
57544 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57545 Add s_nearbyint-c and s_nearbyintf-c.
57546 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57547 nearbyintf inlines.
57548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57553 * math/math_private.h: Define defaults for libc_fegetround,
57554 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57555 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57556 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57558 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57559 standard functions.
57560 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57561 Remove comments and hacks for old compiler versions.
57562 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57563 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57564 libc_feholdexceptl.
57566 2011-10-18 Andreas Schwab <schwab@redhat.com>
57568 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57569 (__feraiseexcept_renamed): Add __NTH.
57570 (feraiseexcept): Add __NTH. Rename local variables to fix
57571 namespace violations.
57573 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57575 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57579 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57580 recently added interfaces.
57581 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57583 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57584 about macro parameter expansion.
57586 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57587 __NO_MATH_INLINES is defined. Cleanups.
57589 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57590 and __floorf is target has SSE4.1.
57591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57592 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57594 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57596 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57598 (floorf): Likewise.
57600 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57602 2011-10-17 Andreas Schwab <schwab@redhat.com>
57604 * misc/sys/cdefs.h: Fix last change.
57606 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57609 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57611 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57613 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57615 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57616 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57621 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57622 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57623 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57624 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57625 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57626 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57627 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57628 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57629 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57630 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57631 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57632 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57633 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57634 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57636 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57637 ceil, ceilf, floor, floorf.
57639 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57640 Perform IRELATIVE relocations last.
57642 * elf/do-rel.h: Add another parameter nrelative, replacing the
57643 local variable with the same name. Change name of the function
57644 to end in Rel or Rela (uppercase).
57645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57646 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57647 elf_dynamic_do_##reloc function.
57649 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57651 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57652 is sufficient, at least on modern CPUs.
57654 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57656 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57657 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57659 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57661 * math/bits/math-finite.h: Add entries for exp.
57662 * math/e_expl.c: Add __*_finite alias.
57663 * sysdeps/i386/fpu/e_exp.S: Likewise.
57664 * sysdeps/i386/fpu/e_expf.S: Likewise.
57665 * sysdeps/i386/fpu/e_expl.c: Likewise.
57666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57668 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57669 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57670 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57671 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57672 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57674 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57675 is sufficient, at least on modern CPUs.
57677 * ctype/ctype-info.c (__ctype_init): Define.
57678 * include/ctype.h (__ctype_init): Declare.
57679 (__ctype_b_loc): The variable is always initialized.
57680 (__ctype_toupper_loc): Likewise.
57681 (__ctype_tolower_loc): Likewise.
57682 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57683 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57685 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57687 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57689 * configure.in: Also look in $cxxmachine/include for C++ system
57692 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57694 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57695 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57696 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57697 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57698 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57699 (USE_AS_WMEMCMP): New macro.
57701 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57702 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57703 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57704 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57706 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57707 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57709 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57710 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57711 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57712 (USE_AS_WMEMCMP): New macro.
57713 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57714 * sysdeps/string/test-memcmp.c: Update.
57715 Fix simple_wmemcmp.
57717 * wcsmbs/wmemcmp.c: Update.
57718 (WMEMCMP): New macro.
57721 2011-10-12 Andreas Jaeger <aj@suse.de>
57724 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57726 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57728 * libio/iofwide.c (do_length): Avoid warning.
57730 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57732 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57734 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57736 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57737 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57738 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57739 * sysdeps/i386/i686/fpu/e_log.S: New file.
57740 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57741 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57743 * ctype/ctype.h: Add support for inlined isXXX functions when
57744 compiling C++ code.
57746 2011-10-14 Andreas Schwab <schwab@redhat.com>
57748 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57752 2011-10-13 Roland McGrath <roland@hack.frob.com>
57755 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57757 2011-10-13 Andreas Schwab <schwab@redhat.com>
57759 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57760 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57763 * sysdeps/x86_64/memrchr.S: Check for zero size.
57765 * string/stratcliff.c: Add memrchr tests.
57767 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57770 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57771 rawmemchr-sse2 rawmemchr-sse2-bsf.
57772 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57773 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57774 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57775 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57776 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57777 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57778 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57779 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57782 * string/memrchr.c (MEMRCHR): New macro.
57784 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57786 Add integration with gcc's -ffinite-math-only and optimize wrapper
57788 * Versions.def: Define GLIBC_2.15 version for libm.
57789 * math/Makefile (headers): Add bits/math-finite.h.
57790 * math/bits/math-finite.h: New file.
57791 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57792 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57793 * math/e_acoshl.c: Add __*_finite alias.
57794 * math/e_acosl.c: Likewise.
57795 * math/e_asinl.c: Likewise.
57796 * math/e_atan2l.c: Likewise.
57797 * math/e_atanhl.c: Likewise.
57798 * math/e_coshl.c: Likewise.
57799 * math/e_exp10.c: Likewise.
57800 * math/e_exp10f.c: Likewise.
57801 * math/e_exp10l.c: Likewise.
57802 * math/e_exp2l.c: Likewise.
57803 * math/e_fmodl.c: Likewise.
57804 * math/e_gammal_r.c: Likewise.
57805 * math/e_hypotl.c: Likewise.
57806 * math/e_j0l.c: Likewise.
57807 * math/e_j1l.c: Likewise.
57808 * math/e_jnl.c: Likewise.
57809 * math/e_lgammal_r.c: Likewise.
57810 * math/e_log10l.c: Likewise.
57811 * math/e_log2l.c: Likewise.
57812 * math/e_logl.c: Likewise.
57813 * math/e_powl.c: Likewise.
57814 * math/e_sinhl.c: Likewise.
57815 * math/e_sqrtl.c: Likewise.
57816 * math/e_scalb.c: Completely rewritten and optimized.
57817 * math/e_scalbf.c: Likewise.
57818 * math/e_scalbl.c: Likewise.
57819 * math/w_acos.c: Likewise.
57820 * math/w_acosf.c: Likewise.
57821 * math/w_acosl.c: Likewise.
57822 * math/w_acosh.c: Likewise.
57823 * math/w_acoshf.c: Likewise.
57824 * math/w_acoshl.c: Likewise.
57825 * math/w_asin.c: Likewise.
57826 * math/w_asinf.c: Likewise.
57827 * math/w_asinl.c: Likewise.
57828 * math/w_atan2.c: Likewise.
57829 * math/w_atan2f.c: Likewise.
57830 * math/w_atan2l.c: Likewise.
57831 * math/w_atanh.c: Likewise.
57832 * math/w_atanhf.c: Likewise.
57833 * math/w_atanhl.c: Likewise.
57834 * math/w_exp10.c: Likewise.
57835 * math/w_exp10f.c: Likewise.
57836 * math/w_exp10l.c: Likewise.
57837 * math/w_fmod.c: Likewise.
57838 * math/w_fmodf.c: Likewise.
57839 * math/w_fmodl.c: Likewise.
57840 * math/w_j0.c: Likewise.
57841 * math/w_j0f.c: Likewise.
57842 * math/w_j0l.c: Likewise.
57843 * math/w_j1.c: Likewise.
57844 * math/w_j1f.c: Likewise.
57845 * math/w_j1l.c: Likewise.
57846 * math/w_jn.c: Likewise.
57847 * math/w_jnf.c: Likewise.
57848 * math/w_log.c: Likewise.
57849 * math/w_logf.c: Likewise.
57850 * math/w_logl.c: Likewise.
57851 * math/w_log10.c: Likewise.
57852 * math/w_log10f.c: Likewise.
57853 * math/w_log10l.c: Likewise.
57854 * math/w_log2.c: Likewise.
57855 * math/w_log2f.c: Likewise.
57856 * math/w_log2l.c: Likewise.
57857 * math/w_pow.c: Likewise.
57858 * math/w_powf.c: Likewise.
57859 * math/w_powl.c: Likewise.
57860 * math/w_remainder.c: Likewise.
57861 * math/w_remainderf.c: Likewise.
57862 * math/w_remainderl.c: Likewise.
57863 * math/w_scalb.c: Likewise.
57864 * math/w_scalbf.c: Likewise.
57865 * math/w_scalbl.c: Likewise.
57866 * math/w_sqrt.c: Likewise.
57867 * math/w_sqrtf.c: Likewise.
57868 * math/w_sqrtl.c: Likewise.
57869 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57870 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57872 * math/math_private.h: Declare __kernel_standard_f.
57873 * math/w_cosh.c: Remove cruft and optimize a bit.
57874 * math/w_coshf.c: Likewise.
57875 * math/w_coshl.c: Likewise.
57876 * math/w_exp2.c: Likewise.
57877 * math/w_exp2f.c: Likewise.
57878 * math/w_exp2l.c: Likewise.
57879 * math/w_hypot.c: Likewise.
57880 * math/w_hypotf.c: Likewise.
57881 * math/w_hypotl.c: Likewise.
57882 * math/w_lgamma.c: Likewise.
57883 * math/w_lgamma_r.c: Likewise.
57884 * math/w_lgammaf.c: Likewise.
57885 * math/w_lgammaf_r.c: Likewise.
57886 * math/w_lgammal.c: Likewise.
57887 * math/w_lgammal_r.c: Likewise.
57888 * math/w_sinh.c: Likewise.
57889 * math/w_sinhf.c: Likewise.
57890 * math/w_sinhl.c: Likewise.
57891 * math/w_tgamma.c: Likewise.
57892 * math/w_tgammaf.c: Likewise.
57893 * math/w_tgammal.c: Likewise.
57894 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57896 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57897 Minor optimizations. Pretty printing. Remove cruft.
57898 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57900 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57901 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57902 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57903 * sysdeps/i386/fpu/e_asin.S: Likewise.
57904 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57905 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57906 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57907 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57908 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57910 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57911 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57912 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57913 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57914 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57915 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57916 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57917 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57918 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57919 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57920 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57921 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57922 * sysdeps/i386/fpu/e_log.S: Likewise.
57923 * sysdeps/i386/fpu/e_log10.S: Likewise.
57924 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57925 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57926 * sysdeps/i386/fpu/e_log2.S: Likewise.
57927 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57928 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57929 * sysdeps/i386/fpu/e_logf.S: Likewise.
57930 * sysdeps/i386/fpu/e_logl.S: Likewise.
57931 * sysdeps/i386/fpu/e_pow.S: Likewise.
57932 * sysdeps/i386/fpu/e_powf.S: Likewise.
57933 * sysdeps/i386/fpu/e_powl.S: Likewise.
57934 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57935 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57936 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57937 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57940 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57941 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57942 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57943 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57944 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57946 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57947 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57948 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57949 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57950 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57951 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57952 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57953 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57954 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57957 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57959 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57960 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57961 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57962 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57964 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57965 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57966 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57967 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57970 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57971 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57981 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57982 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57983 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57984 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57985 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57986 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57987 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57988 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57989 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57990 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57991 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57992 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57993 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57994 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57995 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57997 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57998 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57999 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58000 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58001 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58002 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58003 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58011 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58012 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58017 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58018 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58020 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58022 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58023 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58024 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58026 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58027 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58028 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58030 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58031 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58032 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58033 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58036 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58037 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58038 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58039 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58040 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58041 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58042 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58043 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58044 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58045 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58046 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58050 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58051 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58053 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
58054 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58055 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58056 (__isnanf): Likewise.
58057 (__isinf_ns): Likewise.
58058 (__isinf_nsf): Likewise.
58059 (__finite): Likewise.
58060 (__finitef): Likewise.
58061 (__ieee754_sqrt): Define as macro.
58062 (__ieee754_sqrtf): Define as macro.
58063 (__ieee754_sqrtl): Define as macro.
58064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58066 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58067 __FINITE_MATH_ONLY__ consistent.
58068 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58070 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
58072 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58075 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58077 2011-10-09 Ulrich Drepper <drepper@gmail.com>
58079 * po/ja.po: Update from translation team.
58081 2011-10-08 Roland McGrath <roland@hack.frob.com>
58083 * locale/programs/locarchive.c (prepare_address_space): New function.
58084 (create_archive, enlarge_archive, open_archive): Use it.
58086 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58087 inside [SHARED], where it is used.
58089 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58091 * nss/getent.c (netgroup_keys): Remove unused variable.
58092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58094 2011-10-08 Ulrich Drepper <drepper@gmail.com>
58096 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58099 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58100 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58102 * math/Makefile (libm-calls): Add s_isinf_ns.
58103 * math/divtc3.c: Use __isinf_nsl instead of isinf.
58104 * math/multc3.c: Likewise.
58105 * math/s_casin.c: Likewise.
58106 * math/s_casinf.c: Likewise.
58107 * math/s_casinl.c: Likewise.
58108 * math/s_ccos.c: Likewise.
58109 * math/s_ccosf.c: Likewise.
58110 * math/s_ccosl.c: Likewise.
58111 * math/s_ctan.c: Likewise.
58112 * math/s_ctanf.c: Likewise.
58113 * math/s_ctanh.c: Likewise.
58114 * math/s_ctanhf.c: Likewise.
58115 * math/s_ctanhl.c: Likewise.
58116 * math/s_ctanl.c: Likewise.
58117 * math/w_fmod.c: Likewise.
58118 * math/w_fmodf.c: Likewise.
58119 * math/w_fmodl.c: Likewise.
58120 * math/w_remainder.c: Likewise.
58121 * math/w_remainderf.c: Likewise.
58122 * math/w_remainderl.c: Likewise.
58123 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58124 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58126 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58127 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58128 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58129 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58130 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58132 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58134 * stdio-common/printf_fphex.c: Likewise.
58135 * stdio-common/printf_size.c: Likewise.
58137 * math/e_exp10.c: Include math_private.h using <...> not "...".
58138 * math/e_exp10f.c: Likewise.
58139 * math/e_exp10l.c: Likewise.
58140 * math/e_exp2l.c: Likewise.
58141 * math/e_j0l.c: Likewise.
58142 * math/e_j1l.c: Likewise.
58143 * math/e_jnl.c: Likewise.
58144 * math/e_lgammal_r.c: Likewise.
58145 * math/e_rem_pio2l.c: Likewise.
58146 * math/e_scalb.c: Likewise.
58147 * math/e_scalbf.c: Likewise.
58148 * math/e_scalbl.c: Likewise.
58149 * math/k_cosl.c: Likewise.
58150 * math/k_sinl.c: Likewise.
58151 * math/k_tanl.c: Likewise.
58152 * math/s_cacoshf.c: Likewise.
58153 * math/s_catan.c: Likewise.
58154 * math/s_catanf.c: Likewise.
58155 * math/s_catanh.c: Likewise.
58156 * math/s_catanhf.c: Likewise.
58157 * math/s_catanhl.c: Likewise.
58158 * math/s_catanl.c: Likewise.
58159 * math/s_ccosh.c: Likewise.
58160 * math/s_ccoshf.c: Likewise.
58161 * math/s_ccoshl.c: Likewise.
58162 * math/s_cexp.c: Likewise.
58163 * math/s_cexpf.c: Likewise.
58164 * math/s_cexpl.c: Likewise.
58165 * math/s_clog.c: Likewise.
58166 * math/s_clog10.c: Likewise.
58167 * math/s_clog10f.c: Likewise.
58168 * math/s_clog10l.c: Likewise.
58169 * math/s_clogf.c: Likewise.
58170 * math/s_clogl.c: Likewise.
58171 * math/s_csin.c: Likewise.
58172 * math/s_csinf.c: Likewise.
58173 * math/s_csinh.c: Likewise.
58174 * math/s_csinhf.c: Likewise.
58175 * math/s_csinhl.c: Likewise.
58176 * math/s_csinl.c: Likewise.
58177 * math/s_csqrt.c: Likewise.
58178 * math/s_csqrtf.c: Likewise.
58179 * math/s_csqrtl.c: Likewise.
58180 * math/s_ctan.c: Likewise.
58181 * math/s_ctanf.c: Likewise.
58182 * math/s_ctanh.c: Likewise.
58183 * math/s_ctanhf.c: Likewise.
58184 * math/s_ctanhl.c: Likewise.
58185 * math/s_ctanl.c: Likewise.
58186 * math/s_ldexp.c: Likewise.
58187 * math/s_ldexpf.c: Likewise.
58188 * math/s_ldexpl.c: Likewise.
58189 * math/s_significand.c: Likewise.
58190 * math/s_significandf.c: Likewise.
58191 * math/s_significandl.c: Likewise.
58192 * math/w_acos.c: Likewise.
58193 * math/w_acosf.c: Likewise.
58194 * math/w_acosh.c: Likewise.
58195 * math/w_acoshf.c: Likewise.
58196 * math/w_acoshl.c: Likewise.
58197 * math/w_acosl.c: Likewise.
58198 * math/w_asin.c: Likewise.
58199 * math/w_asinf.c: Likewise.
58200 * math/w_asinl.c: Likewise.
58201 * math/w_atan2.c: Likewise.
58202 * math/w_atan2f.c: Likewise.
58203 * math/w_atan2l.c: Likewise.
58204 * math/w_atanh.c: Likewise.
58205 * math/w_atanhf.c: Likewise.
58206 * math/w_atanhl.c: Likewise.
58207 * math/w_cosh.c: Likewise.
58208 * math/w_coshf.c: Likewise.
58209 * math/w_coshl.c: Likewise.
58210 * math/w_dremf.c: Likewise.
58211 * math/w_exp10.c: Likewise.
58212 * math/w_exp10f.c: Likewise.
58213 * math/w_exp10l.c: Likewise.
58214 * math/w_exp2.c: Likewise.
58215 * math/w_exp2f.c: Likewise.
58216 * math/w_fmod.c: Likewise.
58217 * math/w_fmodf.c: Likewise.
58218 * math/w_fmodl.c: Likewise.
58219 * math/w_hypot.c: Likewise.
58220 * math/w_hypotf.c: Likewise.
58221 * math/w_hypotl.c: Likewise.
58222 * math/w_j0.c: Likewise.
58223 * math/w_j0f.c: Likewise.
58224 * math/w_j0l.c: Likewise.
58225 * math/w_j1.c: Likewise.
58226 * math/w_j1f.c: Likewise.
58227 * math/w_j1l.c: Likewise.
58228 * math/w_jn.c: Likewise.
58229 * math/w_jnf.c: Likewise.
58230 * math/w_jnl.c: Likewise.
58231 * math/w_lgamma.c: Likewise.
58232 * math/w_lgamma_r.c: Likewise.
58233 * math/w_lgammaf.c: Likewise.
58234 * math/w_lgammaf_r.c: Likewise.
58235 * math/w_lgammal.c: Likewise.
58236 * math/w_lgammal_r.c: Likewise.
58237 * math/w_log.c: Likewise.
58238 * math/w_log10.c: Likewise.
58239 * math/w_log10f.c: Likewise.
58240 * math/w_log10l.c: Likewise.
58241 * math/w_log2.c: Likewise.
58242 * math/w_log2f.c: Likewise.
58243 * math/w_log2l.c: Likewise.
58244 * math/w_logf.c: Likewise.
58245 * math/w_logl.c: Likewise.
58246 * math/w_pow.c: Likewise.
58247 * math/w_powf.c: Likewise.
58248 * math/w_powl.c: Likewise.
58249 * math/w_remainder.c: Likewise.
58250 * math/w_remainderf.c: Likewise.
58251 * math/w_remainderl.c: Likewise.
58252 * math/w_scalb.c: Likewise.
58253 * math/w_scalbf.c: Likewise.
58254 * math/w_scalbl.c: Likewise.
58255 * math/w_sinh.c: Likewise.
58256 * math/w_sinhf.c: Likewise.
58257 * math/w_sinhl.c: Likewise.
58258 * math/w_sqrt.c: Likewise.
58259 * math/w_sqrtf.c: Likewise.
58260 * math/w_sqrtl.c: Likewise.
58261 * math/w_tgamma.c: Likewise.
58262 * math/w_tgammaf.c: Likewise.
58263 * math/w_tgammal.c: Likewise.
58265 * po/ja.po: Update from translation team.
58267 2011-09-29 Andreas Jaeger <aj@suse.de>
58270 * sunrpc/netname.c (netname2host): Fix logic.
58274 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58276 * math/w_remainder.c (__remainder): Likewise.
58277 * math/w_remainderf.c (__remainderf): Likewise.
58278 * math/libm-test.inc (remainder_test): Add test cases.
58280 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58282 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
58285 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58287 * string/test-memcmp.c: Avoid unncessary #defines.
58288 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58290 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58292 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58293 Use new sse2 version for core i3 - i7 as it's faster
58294 than sse42 version.
58295 (bit_Prefer_PMINUB_for_stringop): New.
58296 * sysdeps/x86_64/rawmemchr.S: Update.
58297 Replace with faster SSE2 version.
58298 * sysdeps/x86_64/memrchr.S: New file.
58299 * sysdeps/x86_64/memchr.S: Update.
58300 Replace with faster SSE2 version.
58302 2011-09-12 Marek Polacek <mpolacek@redhat.com>
58304 * elf/dl-load.c (lose): Add cast to avoid warning.
58306 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58308 * po/ca.po: Update from translation team.
58310 * inet/getnetgrent_r.c: Hook up nscd.
58311 * nscd/Makefile (routines): Add nscd_netgroup.
58312 (nscd-modules): Add netgroupcache.
58313 (CFLAGS-netgroupcache.c): Define.
58314 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58315 (cache_search): Add const to second parameter.
58316 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58318 (dbs): Add netgrdb entry.
58319 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58320 (verify_persistent_db): Handle netgrdb.
58321 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58322 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58324 (netgroup_response_header): Define.
58325 (innetgroup_response_header): Define.
58326 (datahead): Add netgroup_response_header and innetgroup_response_header
58328 * nscd/nscd.conf: Add entries for netgroup cache.
58329 * nscd/nscd.h (dbtype): Add netgrdb.
58330 (_PATH_NSCD_NETGROUP_DB): Define.
58331 (netgroup_iov_disabled): Declare.
58332 (xmalloc, xcalloc, xrealloc): Move declarations here.
58333 (cache_search): Adjust prototype.
58334 Add netgroup-related prototypes.
58335 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58336 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58337 (__nscd_innetgr): Declare.
58338 * nscd/selinux.c (perms): Use access_vector_t as element type and
58339 add netgroup-related initializers.
58340 * nscd/netgroupcache.c: New file.
58341 * nscd/nscd_netgroup.c: New file.
58342 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58343 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58344 For four parameters use innetgr.
58345 * nss/nss_files/files-init.c: Add definition and callback for netgr.
58346 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58347 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58348 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58350 * nscd/connections.c (register_traced_file): Don't register file
58351 for disabled databases.
58353 2011-10-06 Ulrich Drepper <drepper@gmail.com>
58355 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58357 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58358 from tree and freeing node.
58360 2011-09-25 Jiri Olsa <jolsa@redhat.com>
58362 * nss/nsswitch.c (__nss_database_lookup): Handle
58363 nss_parse_service_list out of memory case.
58365 2011-09-15 Jiri Olsa <jolsa@redhat.com>
58367 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58368 out of memory case.
58370 2011-10-04 Andreas Schwab <schwab@redhat.com>
58372 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58373 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58375 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58376 elf_machine_rela, elf_machine_lazy_rel.
58377 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58378 (ELF_DYNAMIC_DO_REL): Likewise.
58379 (ELF_DYNAMIC_DO_RELA): Likewise.
58380 (ELF_DYNAMIC_RELOCATE): Likewise.
58381 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58382 to ELF_DYNAMIC_DO_REL.
58383 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58384 (dl_main): In trace mode always set __RTLD_NOIFUNC.
58385 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58388 skip_ifunc, don't call ifunc function if non-zero.
58389 (elf_machine_rela): Likewise.
58390 (elf_machine_lazy_rel): Likewise.
58391 (elf_machine_lazy_rela): Likewise.
58392 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58393 (elf_machine_lazy_rel): Likewise.
58394 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58396 (elf_machine_lazy_rel): Likewise.
58397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58399 (elf_machine_lazy_rel): Likewise.
58400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58401 (elf_machine_lazy_rel): Likewise.
58402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58403 (elf_machine_lazy_rel): Likewise.
58404 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58405 (elf_machine_lazy_rel): Likewise.
58406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58407 (elf_machine_lazy_rel): Likewise.
58408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58409 (elf_machine_lazy_rel): Likewise.
58410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58411 (elf_machine_lazy_rel): Likewise.
58413 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58415 * nss/nss_files/files-init.c (_nss_files_init): Use static
58416 initialization for all the *_traced_file variables.
58418 2011-09-28 Andreas Schwab <schwab@redhat.com>
58420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58422 2011-09-27 Roland McGrath <roland@hack.frob.com>
58425 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58427 2011-09-27 Andreas Schwab <schwab@redhat.com>
58429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58430 Reread the line before reparsing it.
58432 2011-09-26 Andreas Schwab <schwab@redhat.com>
58434 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58436 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58437 Maxim Kuvyrkov <maxim@codesourcery.com>
58438 Joseph Myers <joseph@codesourcery.com>
58440 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58441 if needed for __stack_chk_guard.
58443 2011-09-19 Roland McGrath <roland@hack.frob.com>
58445 * sysdeps/posix/spawni.c (script_execute): Always define it.
58446 It will be optimized away if unused.
58447 (maybe_script_execute): New function.
58448 (__spawni): Call it.
58450 * Makerules: Don't include tls.make.
58451 (config-tls): Always set to thread.
58452 * tls.make.c: File removed.
58454 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58456 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58457 * config.make.in (CPPFLAGS-config): New substituted variable.
58459 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58464 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58465 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58467 2011-09-15 Roland McGrath <roland@hack.frob.com>
58469 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58470 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58472 (CALL_FAIL): Likewise.
58473 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58474 (CALL_FAIL): Macro removed.
58475 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58477 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58479 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58480 for __FINITE_MATH_ONLY__ == 1.
58482 2011-09-15 Andreas Schwab <schwab@redhat.com>
58484 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58485 __ieee754_sqrt instead of sqrt.
58486 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58487 __ieee754_sqrtf instead of sqrtf.
58488 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58489 __floorf instead of floorf.
58490 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58491 __floorf, __truncf instead of floorf, truncf.
58493 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58495 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58497 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58498 __extern_always_inline.
58499 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58502 2011-09-14 Andreas Schwab <schwab@redhat.com>
58504 * elf/rtld.c (dl_main): Also relocate in dependency order when
58505 doing symbol dependency testing.
58507 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58510 Always define `refsym'.
58512 2011-09-13 Andreas Schwab <schwab@redhat.com>
58514 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58515 (__FD_ELT): Renamed from __FDELT.
58516 * misc/bits/select2.h (__FD_ELT): Likewise.
58517 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58518 __FD_MASK instead of __FDELT, __FDMASK.
58519 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58521 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58524 * elf/Makefile (gen-ldd): Fix pattern.
58526 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58527 (init_tls): Likewise.
58529 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58531 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58533 2011-09-12 Andreas Schwab <schwab@redhat.com>
58535 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58536 `struct cmsghdr *' instead of `void *'.
58537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58540 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58542 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58544 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58545 ldd_rewrite_script.
58547 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58549 * configure.in: Remove --with-tls option.
58550 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58551 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58552 out in case it is missing.
58553 * sysdeps/ia64/elf/configure.in: Likewise.
58554 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58555 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58556 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58557 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58558 * sysdeps/sh/elf/configure.in: Likewise.
58559 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58560 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58561 * sysdeps/x86_64/elf/configure.in: Likewise.
58562 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58563 * sysdeps/mach/hurd/tls.h: Likewise.
58566 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58569 * configure.in: Fix use of AC_INIT.
58571 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58573 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58575 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58577 * malloc/hooks.c: Likewise.
58580 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58581 variables statically.
58582 (narenas): Initialize.
58583 (list_lock): Initialize.
58584 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58585 initializtion of main_arena and list_lock. Small cleanups.
58586 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58587 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58588 Add initializers to main_arena and mp_.
58589 (malloc_state): Remove pagesize member. Change all users to use
58592 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58593 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58594 is always initialized.
58596 * malloc/malloc.c: Removed unused configurations and dead code.
58597 * malloc/arena.c: Likewise.
58598 * malloc/hooks.c: Likewise.
58599 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58601 * include/tls.h: Removed. USE___THREAD must always be defined.
58602 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58603 * elf/dl-libc.c: Likewise.
58604 * elf/dl-tsd.c: Likewise.
58605 * include/errno.h: Likewise.
58606 * include/netdb.h: Likewise.
58607 * include/resolv.h: Likewise.
58608 * inet/herrno-loc.c: Likewise.
58609 * inet/herrno.c: Likewise.
58610 * malloc/arena.c: Likewise.
58611 * malloc/hooks.c: Likewise.
58612 * malloc/malloc.c: Likewise.
58613 * resolv/res-state.c: Likewise.
58614 * resolv/res_libc.c: Likewise.
58615 * sysdeps/i386/dl-machine.h: Likewise.
58616 * sysdeps/ia64/dl-machine.h: Likewise.
58617 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58618 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58619 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58620 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58621 * sysdeps/sh/dl-machine.h: Likewise.
58622 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58624 * sysdeps/unix/i386/sysdep.S: Likewise.
58625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58626 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58631 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58635 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58636 * sysdeps/x86_64/dl-machine.h: Likewise.
58637 * tls.make.c: Likewise.
58639 * configure.in: Remove --with-__thread option. Make tests for
58640 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58641 tls_model attribute fail if no support is available. Remove
58643 * Makeconfig: Adjust for dropped configure option. All features are
58645 * Makerules: Likewise.
58646 * Versions.def: Likewise.
58647 * argp/argp-fmtstream.c: Likewise.
58648 * argp/argp-fmtstream.h: Likewise.
58649 * argp/argp-help.c: Likewise.
58650 * assert/assert.c: Likewise.
58651 * config.h.in: Likewise.
58652 * config.make.in: Likewise.
58653 * configure: Likewise.
58654 * configure.in: Likewise.
58655 * csu/Versions: Likewise.
58656 * csu/init.c: Likewise.
58657 * elf/tst-audit2.c: Likewise.
58658 * elf/tst-tls10.c: Likewise.
58659 * elf/tst-tls10.h: Likewise.
58660 * elf/tst-tls11.c: Likewise.
58661 * elf/tst-tls12.c: Likewise.
58662 * elf/tst-tls14.c: Likewise.
58663 * elf/tst-tlsmod11.c: Likewise.
58664 * elf/tst-tlsmod12.c: Likewise.
58665 * elf/tst-tlsmod13.c: Likewise.
58666 * elf/tst-tlsmod13a.c: Likewise.
58667 * elf/tst-tlsmod14a.c: Likewise.
58668 * elf/tst-tlsmod15b.c: Likewise.
58669 * elf/tst-tlsmod16a.c: Likewise.
58670 * elf/tst-tlsmod16b.c: Likewise.
58671 * elf/tst-tlsmod7.c: Likewise.
58672 * elf/tst-tlsmod8.c: Likewise.
58673 * elf/tst-tlsmod9.c: Likewise.
58674 * gmon/gmon.c: Likewise.
58675 * grp/fgetgrent_r.c: Likewise.
58676 * grp/putgrent.c: Likewise.
58677 * hurd/fopenport.c: Likewise.
58678 * include/libc-symbols.h: Likewise.
58679 * include/tls.h: Likewise.
58680 * intl/gettextP.h: Likewise.
58681 * intl/loadinfo.h: Likewise.
58682 * locale/global-locale.c: Likewise.
58683 * locale/localeinfo.h: Likewise.
58684 * mach/devstream.c: Likewise.
58685 * malloc/arena.c: Likewise.
58686 * malloc/set-freeres.c: Likewise.
58687 * misc/err.c: Likewise.
58688 * misc/getttyent.c: Likewise.
58689 * misc/mntent_r.c: Likewise.
58690 * posix/getopt.c: Likewise.
58691 * posix/wordexp.c: Likewise.
58692 * pwd/fgetpwent_r.c: Likewise.
58693 * resolv/Versions: Likewise.
58694 * resolv/res_hconf.c: Likewise.
58695 * shadow/fgetspent_r.c: Likewise.
58696 * shadow/putspent.c: Likewise.
58697 * stdio-common/printf_fphex.c: Likewise.
58698 * stdio-common/tmpfile.c: Likewise.
58699 * stdlib/abort.c: Likewise.
58700 * stdlib/fmtmsg.c: Likewise.
58701 * sunrpc/auth_unix.c: Likewise.
58702 * sunrpc/clnt_perr.c: Likewise.
58703 * sunrpc/clnt_tcp.c: Likewise.
58704 * sunrpc/clnt_udp.c: Likewise.
58705 * sunrpc/clnt_unix.c: Likewise.
58706 * sunrpc/openchild.c: Likewise.
58707 * sunrpc/svc_simple.c: Likewise.
58708 * sunrpc/svc_tcp.c: Likewise.
58709 * sunrpc/svc_udp.c: Likewise.
58710 * sunrpc/svc_unix.c: Likewise.
58711 * sunrpc/xdr.c: Likewise.
58712 * sunrpc/xdr_array.c: Likewise.
58713 * sunrpc/xdr_rec.c: Likewise.
58714 * sunrpc/xdr_ref.c: Likewise.
58715 * sunrpc/xdr_stdio.c: Likewise.
58717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58719 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58721 2011-07-03 Andreas Jaeger <aj@suse.de>
58723 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58724 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58725 regenerate with gen-libm-tests.pl.
58727 2010-05-12 Petr Baudis <pasky@suse.cz>
58730 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58731 around j0() zero points by switching to j1().
58732 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58733 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58739 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58741 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58744 Patch in part by Pavel Roskin <proski@gnu.org>.
58747 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58749 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58750 Free memory block if necessary.
58753 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58754 be NULL. Don't lock in this case.
58756 2011-09-09 Roland McGrath <roland@hack.frob.com>
58758 * elf/elf.h (ELFOSABI_GNU): New macro.
58759 (ELFOSABI_LINUX): Define to that.
58761 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58763 * string/strncat.c (strncat): Undef the symbol in case it has been
58764 defined in bits/string.h.
58766 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58768 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58773 2011-08-17 Andreas Jaeger <aj@suse.de>
58775 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58777 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58778 Ian Lance Taylor <iant@google.com>
58780 * math/libm-test.inc (lround_test): New testcase.
58781 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58783 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58785 * Makefile: Remove support for automatic cvs check-ins.
58786 * Makerules: Likewise.
58787 * config.make.in: Likewise.
58788 * configure.in: Likewise.
58789 * intl/Makefile: Likewise.
58790 * locale/Makefile: Likewise.
58791 * po/Makefile: Likewise.
58792 * posix/Makefile: Likewise.
58793 * sysdeps/gnu/Makefile: Likewise.
58794 * sysdeps/mach/hurd/Makefile: Likewise.
58795 * sysdeps/sparc/sparc32/Makefile: Likewise.
58798 * posix/Makefile (bug-regex32-ENV): Define.
58799 Patch by John Stanley <jpsinthemix@verizon.net>.
58801 * misc/Makefile (headers): Add bits/select2.h.
58802 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58803 * misc/bits/select2.h: New file.
58804 * include/bits/select2.h: New file.
58805 * debug/Makefile (routines): Add fdelt_chk.
58806 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58807 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58809 * debug/fdelt_chk.c: New file.
58811 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58812 * wcsmbs/test-wmemcmp.c: Likewise.
58813 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58814 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58816 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58818 * string/Makefile (strop-tests): Add memcmp.
58819 * string/test-wmemcmp.c: New file.
58820 * string/test-memcmp.c: Add wmemcmp support.
58822 2011-09-08 Roland McGrath <roland@hack.frob.com>
58825 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58828 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58829 garbage value in a __mach_port_mod_refs call in the cases of the
58830 task-self and thread-self ports.
58832 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58834 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58836 2011-09-08 Andreas Schwab <schwab@redhat.com>
58838 * elf/dl-load.c (lose): Check for non-null L.
58840 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58842 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58844 * elf/dl-libc.c (dlerror_run): Pass back error code from
58848 * elf/dl-load.c (lose): Free l_origin if it is valid.
58850 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58852 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58853 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58854 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58857 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58859 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58861 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58862 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58863 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58865 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58866 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58867 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58868 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58869 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58870 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58872 2011-08-15 Alan Modra <amodra@gmail.com>
58875 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58876 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58877 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58878 ppc_mcount to static-only-routines.
58879 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58881 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58882 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58884 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58887 for finite and infinity parameters.
58889 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58892 and add nop instructions for throughput optimization.
58893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58895 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58898 aligned copy for power7 with vector-scalar instructions.
58899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58901 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58906 2011-09-07 Andreas Schwab <schwab@redhat.com>
58909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58912 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58914 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58915 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58916 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58917 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58920 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58923 Forgot to demangle the pointer.
58925 * sysdeps/i386/sysdep.h: Define atom_text_section.
58926 * sysdeps/x86_64/sysdep.h: Likewise.
58927 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58928 section with atom_text_section.
58929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58930 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58931 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58932 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58933 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58935 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58936 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58937 already be defined. Change to take two parameters and don't assign
58938 result to variable. Adjust all users.
58939 Define INTERNAL_GETTIME if not already defined.
58940 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58943 HAVE_CLOCK_GETTIME_VSYSCALL.
58944 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58947 gettimeofday vsyscall, just use time.
58949 2011-09-06 Andreas Schwab <schwab@redhat.com>
58951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58954 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58956 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58960 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58962 syscall if possible.
58964 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58966 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58967 e_ident. Don't pass to find_mapsXX.
58968 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58970 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58973 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58974 * sysdeps/x86_64/multiarch/strchr.S: Update.
58975 Check bit_slow_BSF bit.
58976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58977 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58978 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58983 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58985 (tryshell): Define.
58986 (__spawni): Change last parameter to be flag. Test
58987 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58988 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58989 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58990 * posix/spawni.c: Likewise.
58991 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58992 * posix/spawnp.c: Likewise. Change normal version to use
58993 SPAWN_XFLAGS_USE_PATH.
58994 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58995 SPAWN_XFLAGS_TRY_SHELL.
58998 * posix/glob.h: Remove gcc 1.x support.
59001 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59003 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59006 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59008 * sysdeps/i386/i686/multiarch/strchr.S: New file.
59009 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59012 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59015 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59017 * sysdeps/x86_64/wcscmp.S: New file.
59019 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59020 wcscmp-c wcscmp-sse2
59021 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59022 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59023 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59024 * wcsmbs/wcscmp.c: Allow renaming.
59026 2011-09-05 David S. Miller <davem@davemloft.net>
59028 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59029 stack slot, rather than the struct return pointer slot.
59030 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59031 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59033 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59035 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59037 * po/ja.po: Update from translation team.
59040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59041 kernel in 64-bit binaries.
59043 2011-09-01 David S. Miller <davem@davemloft.net>
59045 * elf/elf.h (HWCAP_SPARC_*): Move to..
59046 * sysdeps/sparc/sysdep.h: this new file and add new values.
59047 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59048 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59049 _DL_HWCAP_COUNT to 24.
59050 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59052 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59053 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59054 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59056 instead of magic constants.
59057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59059 2011-08-31 David S. Miller <davem@davemloft.net>
59061 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59063 Reimplement to do errno handling inline.
59064 (SYSCALL_ERROR_HANDLER): New macro.
59065 (__SYSCALL_STRING): Do not do errno handling in asm.
59066 (__CLONE_SYSCALL_STRING): Delete.
59067 (__INTERNAL_SYSCALL_STRING): Delete.
59068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59069 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59070 (PSEUDO): Reimplement to do errno handling inline.
59071 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59072 (SYSCALL_ERROR_HANDLER): New macro.
59073 (__SYSCALL_STRING): Do not do errno handling in asm.
59074 (__CLONE_SYSCALL_STRING): Delete.
59075 (__INTERNAL_SYSCALL_STRING): Delete.
59076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59077 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59079 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59080 (inline_syscall*): Add 'err' argument.
59081 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59082 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59083 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59084 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59086 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59087 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59089 2011-08-30 Andreas Schwab <schwab@redhat.com>
59091 * elf/rtld.c (dl_main): Relocate objects in dependency order.
59093 2011-08-29 Jiri Olsa <jolsa@redhat.com>
59095 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59098 2011-08-24 David S. Miller <davem@davemloft.net>
59100 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59102 2011-08-24 Andreas Schwab <schwab@redhat.com>
59104 * elf/Makefile: Add rules to build and run unload8 test.
59105 * elf/unload8.c: New file.
59106 * elf/unload8mod1.c: New file.
59107 * elf/unload8mod1x.c: New file.
59108 * elf/unload8mod2.c: New file.
59109 * elf/unload8mod3.c: New file.
59111 * elf/dl-close.c (_dl_close_worker): Reset private search list if
59114 2011-08-23 David S. Miller <davem@davemloft.net>
59116 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59117 subtract stack bias.
59118 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59119 %sp not %fp in calculations.
59120 (_JMPBUF_UNWINDS_ADJ): Likewise.
59122 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59123 (aio_suspend): Call it to force an exception region around the
59124 AIO_MISC_WAIT() invocation.
59126 2011-08-23 Andreas Schwab <schwab@redhat.com>
59128 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59131 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
59133 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59135 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59136 and <dl-machine.h>.
59137 (Elf64_FuncDesc): Remove.
59139 2011-08-22 David S. Miller <davem@davemloft.net>
59141 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59142 sigaltstack check, add missing cfi directives.
59143 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59144 missing cfi directives, and sigaltstack handling.
59146 2011-08-16 Andreas Schwab <schwab@redhat.com>
59149 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59150 object is seen twice.
59151 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59153 * elf/Makefile (distribute): Add tst-initorder2.c.
59154 (tests): Add tst-initorder2.
59155 (modules-names): Add tst-initorder2a tst-initorder2b
59156 tst-initorder2c tst-initorder2d. Add rules to build them.
59157 ($(objpfx)tst-initorder2.out): New rule.
59158 * elf/tst-initorder2.c: New file.
59159 * elf/tst-initorder2.exp: New file.
59161 2011-08-22 Andreas Schwab <schwab@redhat.com>
59163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59165 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59166 dependencies back to end of function.
59168 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59169 $(elfobjdir)/ld.so.
59171 2011-08-21 Ulrich Drepper <drepper@gmail.com>
59173 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59174 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59176 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59177 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59178 of __vdso_gettimeofday.
59179 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59180 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
59182 (_libc_vdso_platform_setup): Remove initialization of
59183 __vdso_gettimeofday and __vdso_time.
59185 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59187 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59188 and fgetc_unlocked.
59189 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59192 * elf/dl-open.c (add_to_global): Report additions to the global scope
59193 for LD_DEBUG=scopes.
59194 (dl_open_worker): Also print scope of newly loaded dependencies.
59195 (_dl_show_scope): Indicate if there is no scope.
59198 * stdio-common/Makefile (tests): Add bug24.
59199 * stdio-common/bug24.c: New file.
59201 2011-08-19 Andreas Jaeger <aj@suse.de>
59204 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59205 non-existant file when using close-on-exec mode.
59207 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59210 the very first instruction.
59212 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59213 the CFI state in the end.
59214 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59215 inclusion of dl-trampoline.h.
59216 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59218 2011-08-19 Andreas Schwab <schwab@redhat.com>
59220 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59221 expectations for long double.
59223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59224 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59226 2011-08-14 David S. Miller <davem@davemloft.net>
59228 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59229 artificual limit depends upon the system page size.
59231 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59233 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59234 * resolv/Makefile: Define CFLAGS-libresolv.
59236 2011-08-17 Andreas Schwab <schwab@redhat.com>
59238 * nss/makedb.c (compute_tables): Make variables used in nested
59241 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59243 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59244 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59245 if buffer was too small.
59247 * elf/pldd.c (main): Attach to all threads in the process.
59248 Rewrite /proc handling to use *at functions.
59250 2011-08-16 Ulrich Drepper <drepper@gmail.com>
59252 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59253 specifies first scope to show.
59254 (dl_open_worker): Update callers. Move printing scope of new
59255 object to before the relocation.
59256 * elf/rtld.c (dl_main): Update _dl_show_scope call.
59257 * sysdeps/generic/ldsodefs.h: Update declaration.
59259 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59260 string for the scope number.
59262 2011-08-14 Ulrich Drepper <drepper@gmail.com>
59264 * nscd/servicescache.c (cache_addserv): Make sure written is always
59267 2011-08-14 Roland McGrath <roland@hack.frob.com>
59269 * sysdeps/i386/i486/bits/atomic.h
59270 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59271 statement expression, so as to suppress "set but not used" warning.
59272 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59274 * string/strncat.c (STRNCAT): Use prototype definition.
59276 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59277 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59279 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59280 (localedef-modules): Add localedef.
59281 (locale-modules): Add locale.
59283 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59284 * elf/rtld.c (dl_main): Invert order of assignment in last change,
59285 to avoid a warning.
59287 2011-08-14 David S. Miller <davem@davemloft.net>
59289 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59290 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59292 2011-08-13 Ulrich Drepper <drepper@gmail.com>
59294 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59295 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59296 * elf/rtld.c (dl_main): Set l_name of vDSO.
59297 Call _dl_show_scope when DL_DEBUG_SCOPES.
59298 (process_dl_debug): Recognize scopes flag and also set it for all.
59299 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59300 Declare _dl_show_scope.
59302 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59303 (do_dlopen): Pass caller_dlopen to dl_open.
59304 (__libc_dlopen_mode): Initialize caller_dlopen.
59306 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59307 of libc. Make tolower call locale-independent. Optimize a bit by
59308 using isdigit instead of isalnum.
59309 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59311 2011-08-12 Ulrich Drepper <drepper@gmail.com>
59313 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59314 was a dependency or dynamically loaded.
59316 2011-08-11 Ulrich Drepper <drepper@gmail.com>
59318 * intl/l10nflist.c: Allow architecture-specific pop function.
59319 * sysdeps/x86_64/l10nflist.c: New file.
59321 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59324 2011-08-10 Andreas Schwab <schwab@redhat.com>
59326 * include/dirent.h: Add libc_hidden_proto for scandirat and
59327 scandirat64. Don't declare __scandirat64.
59328 * dirent/scandirat.c: Add libc_hidden_def.
59329 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59330 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59332 2011-08-10 David S. Miller <davem@davemloft.net>
59334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59336 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59337 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59340 2011-08-09 Ulrich Drepper <drepper@gmail.com>
59342 * Versions.def [libc]: Add GLIBC_2.15.
59343 * dirent/Makefile (routines): Add scandirat and scandirat64.
59344 * dirent/Versions [libc]: Export scandirat and scandirat64 for
59346 * dirent/dirent.h: Declare scandirat and scandirat64.
59347 * dirent/scandirat.c: New file.
59348 * dirent/scandirat64.c: New file.
59349 * sysdeps/wordsize-64/scandirat.c: New file.
59350 * sysdeps/wordsize-64/scandirat64.c: New file.
59351 * dirent/opendir.c: Define opendirat.
59352 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
59354 * dirent/scandir64.c: Adjust for scandir.c change.
59355 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
59356 __scandirat64, and __scandir_cancel_handler.
59357 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
59358 additional parameter and use openat instead of open (outside of ld.so).
59359 Add new __opendir as wrapper around __opendirat.
59360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59361 here without requiring old scandirat implementation.
59363 2011-08-08 Ulrich Drepper <drepper@gmail.com>
59365 * dirent/scandir.c (cancel_handler): Renamed to
59366 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
59367 defined. Adjust users.
59368 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59369 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59371 2011-08-04 Ulrich Drepper <drepper@gmail.com>
59373 * string/test-string.h (IMPL): Use __STRING to expand name and then
59376 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
59379 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59381 * string/Makefile: Update.
59382 (strop-tests): Append strncat.
59383 * string/test-wcscmp.c: New file.
59384 New comprehensive test for wcscmp.
59385 * string/test-strcmp.c: Update.
59386 (WIDE): New define.
59388 2011-07-22 Andreas Schwab <schwab@redhat.com>
59390 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59393 2011-07-26 Andreas Schwab <schwab@redhat.com>
59395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59396 encoding to ACE if AI_IDN.
59398 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59401 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59403 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59405 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59406 Fix overflow bug in strncat.
59407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59409 * string/test-strncat.c: Update.
59410 Add new tests for checking overflow bugs.
59412 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59415 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59416 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59417 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59418 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59419 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59420 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59421 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59422 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59425 (USE_AS_STRCAT): Define.
59426 Add strcat and strncat support.
59427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59429 2011-07-25 Andreas Schwab <schwab@redhat.com>
59431 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59432 __n bigger than INT_MAX+1.
59433 (__strncmp_g): Likewise.
59435 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59437 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59438 * libio/stido.h: Likewise.
59440 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59445 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59446 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59452 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59457 (_dl_x86_64_save_sse): Likewise.
59459 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59463 (_dl_x86_64_save_sse): Likewise.
59465 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59467 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59469 2011-07-21 Andreas Schwab <schwab@redhat.com>
59471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59473 (_dl_x86_64_save_sse): Use correct AVX check.
59475 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59478 bug in strncpy/strncat.
59479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59481 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59483 * string/tester.c (test_strcat): Add tests for different alignments
59484 of source and destination.
59485 (test_strncat): Likewise.
59487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59490 * posix/glob.c (glob): Check passed in values before using them in
59491 expressions to avoid some overflows.
59492 (glob_in_dir): Likewise.
59495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59496 check for AVX enablement so that we don't crash with old kernels and
59498 * elf/tst-audit4.c: Add same checks here.
59499 * elf/tst-audit6.c: Likewise.
59501 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59503 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59505 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59507 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59509 * po/cs.po: Update from translation team.
59510 * po/bg.po: Likewise.
59512 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59514 * misc/sys/cdefs.h: Add support for const attribute.
59515 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59516 to gnu_dev_{major,minor,makedev} functions.
59518 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59520 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59522 2011-07-20 Andreas Schwab <schwab@redhat.com>
59524 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59527 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59529 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59530 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59531 register in order to avoid conflicts with the soft frame pointer
59532 being held in r11 when necessary.
59533 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59534 (INTERNAL_VSYSCALL_NCS): Likewise.
59536 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59538 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59539 * elf/dl-fini.c (_dl_fini): Adjust caller.
59540 * elf/dl-close.c (_dl_close_worker): Likewise.
59541 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59543 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59545 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59546 "aux_cache->nlibs < 0".
59548 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59549 in the reload-count case.
59551 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59554 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59555 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59557 * sysdeps/x86_64/multiarch/strcat.S: New file.
59558 * sysdeps/x86_64/multiarch/strncat.S: New file.
59559 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59560 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59561 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59562 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59564 (USE_AS_STRCAT): Define.
59565 Add strcat and strncat support.
59566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59568 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59569 * string/strncat.c: Update.
59570 (USE_AS_STRNCAT): Define.
59571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59572 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59574 * sysdeps/x86_64/multiarch/init-arch.h
59575 (bit_Prefer_PMINUB_for_stringop): New.
59576 (index_Prefer_PMINUB_for_stringop): Likewise.
59577 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59578 bit_Prefer_PMINUB_for_stringop.
59580 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59582 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59584 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59585 of casting of buffer.
59586 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59587 buffer32 and buffer64.
59588 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59589 writes instead of casting of buffer.
59590 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59592 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59595 2011-07-19 Andreas Schwab <schwab@redhat.com>
59597 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59599 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59601 * nscd/nscd.c (termination_handler): Don't do anything for a database
59602 if it has not yet been initialized.
59604 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59606 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59608 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59610 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59612 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59614 * po/nl.po: Update from translation team.
59615 * po/sv.po: Likewise.
59617 2011-07-16 Roland McGrath <roland@hack.frob.com>
59619 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59620 now disallowed by GCC.
59622 * configure.in (use-default-link): Default to yes if a test -shared
59623 link meets our qualifications.
59624 * configure: Regenerated.
59626 * config.make.in (output-format): New variable.
59627 * configure.in: Check for ld --print-output-format support.
59628 * configure: Regenerated.
59629 * Makerules ($(common-objpfx)format.lds)
59630 [$(output-format) != unknown]: Just use $(output-format),
59631 instead of the linker-script munging.
59633 2011-07-14 Roland McGrath <roland@hack.frob.com>
59635 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59636 of $(common-objpfx)shlib.lds.
59637 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59639 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59640 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59642 * configure.in (-z relro check): Adjust test code to add a large
59643 writable data section after it.
59644 * configure: Regenerated.
59646 2011-07-11 Roland McGrath <roland@hack.frob.com>
59648 * configure.in (-z relro check): Fix test code to make the variable
59650 * configure: Regenerated.
59652 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59654 * nscd/nscd.h (struct traced_file): Define.
59655 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59656 elements. Add traced_files.
59657 (inotify_fd): Declare.
59658 (register_traced_file): Declare.
59659 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59660 (inotify_fd): Export.
59661 (resolv_conf_descr): Remove.
59662 (nscd_init): Move inotify descriptor creation to main.
59663 Don't register files for notification here.
59664 (register_traced_file): New function.
59665 (invalidate_cache): Don't use reset_res to determine whether to call
59666 res_init, go through the list of registered files.
59667 (main_loop_poll): The inotify descriptors are now stored in the
59668 structures for the traced files.
59669 (main_loop_epoll): Likewise
59670 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59671 to __nss_disable_nscd.
59672 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59673 for a database anymore. Check the records for all the registered
59675 * nss/Makefile (libnss_files-routines): Add files-init.
59676 (libnss_db-routines): Add db-init.
59677 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59678 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59679 * nss/nss_db/db-init.c: New file.
59680 * nss/nss_files/files-init.c: New file.
59681 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59682 __nss_lookup_function.
59683 (__nss_lookup_function): Call nss_load_library.
59684 (nss_load_all_libraries): New function.
59685 (__nss_disable_nscd): Take parameter with callback function for files
59686 to register. Set is_nscd. Load all the DSOs for the NSS modules
59687 used for the cached services.
59688 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59689 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59690 options for features to all the files in nscd.
59692 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59694 2011-07-10 Roland McGrath <roland@hack.frob.com>
59696 * csu/elf-init.c (__libc_csu_init): Comment typo.
59698 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59700 * po/pl.po: Update from translation team.
59701 * po/ja.po: Likewise.
59702 * po/ru.po: Likewise.
59703 * po/ko.po: Likewise.
59704 * po/fr.po: Likewise.
59706 2011-07-09 Roland McGrath <roland@hack.frob.com>
59708 * configure.in (.ctors/.dtors header and trailer check):
59709 Use an empirical test on a built program.
59710 * configure: Regenerated.
59712 * configure.in (-z relro check): Use an empirical test on a built DSO.
59713 Detect, but do not require, on ia64.
59714 * configure: Regenerated.
59716 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59717 Update tests that use readelf to use $READELF instead.
59718 * configure: Regenerated.
59720 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59722 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59723 if the result is not used.
59725 2011-07-05 Andreas Jaeger <aj@suse.de>
59728 * stdlib/tst-strtod.c: Add testcase.
59730 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59732 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59733 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59734 The latter has a higher limit. Take additional parameter to pass to
59736 (__pathconf): Pass file to __statfs_link_max.
59737 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59739 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59743 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59744 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59746 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59747 (__statfs_filesize_max): Likewise.
59748 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59750 2011-07-05 Andreas Jaeger <aj@suse.de>
59752 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59754 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59756 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59758 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59761 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59763 * Makefile (strop-tests): Add strncat.
59764 * string/test-strncat.c: New file.
59766 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59768 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59770 2011-06-21 Andreas Jaeger <aj@suse.de>
59772 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59773 Copy rule from iconvdata/Makefile.
59775 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59778 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59779 but no long options are defined, just return 'W'.
59781 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59784 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59786 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59788 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59790 (innetgr): Likewise.
59792 2011-07-05 Roland McGrath <roland@hack.frob.com>
59794 * config.make.in (install_root): Default to $(DESTDIR).
59796 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59798 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59800 2011-07-02 Roland McGrath <roland@hack.frob.com>
59802 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59804 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59805 containing directory rather than embedding absolute directory names.
59807 * scripts/check-local-headers.sh: Rewritten using awk.
59808 Match by word, not by line. Print error messages for matches.
59809 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59811 * Makerules [shlib-lds-flags empty]:
59812 ($(common-objpfx)libc_pic.opts): New target.
59813 ($(common-objpfx)libc_pic.os.clean): New target.
59814 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59816 * config.make.in (OBJCOPY): New variable.
59817 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59818 * configure: Regenerated.
59820 * config.make.in (use-default-link): New variable.
59821 * configure.in (use_default_link): Grok --with-default-link to set it.
59822 * configure: Regenerated.
59823 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59824 (shlib-lds, shlib-lds-flags): Define to empty.
59826 * Makerules (shlib-lds): New variable.
59827 (shlib-lds-flags): New variable.
59828 (build-shlib, build-moduile, build-module-asneeded): Use it.
59829 ($(common-objpfx)libc.so): Use $(shlib-lds).
59830 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59831 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59833 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59834 DT_FLAGS/DT_FLAGS_1 with zero flags.
59836 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59837 linker script munging.
59839 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59841 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59843 * crypt/sha512.c (sha512_process_block): Perform total addition using
59844 128-bit if possible.
59845 (__sha512_finish_ctx): Likewise.
59846 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59848 * crypt/sha256.c (SWAP64): Define.
59849 (sha256_process_block): Perform total addition using 64-bit if
59851 (__sha256_finish_ctx): Likewise.
59853 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59855 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59857 * nscd/hstcache.c (cache_addhst): Likewise.
59858 * nscd/grpcache.c (cache_addgr): Likewise.
59859 * nscd/aicache.c (addhstaiX): Likewise
59860 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59862 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59864 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59866 * nscd/hstcache.c (cache_addhst): Likewise.
59867 * nscd/grpcache.c (cache_addgr): Likewise.
59868 * nscd/aicache.c (addhstaiX): Likewise
59870 2011-07-01 Andreas Schwab <schwab@redhat.com>
59872 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59873 domain only when needed.
59875 2011-06-30 Andreas Schwab <schwab@redhat.com>
59877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59878 is always restored.
59880 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59882 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59883 are re-adding the entry.
59884 * nscd/servicescache.c (cache_addserv): Likewise.
59886 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59888 * sysdeps/generic/dl-irel.h: fix protection against multiple
59890 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59892 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59895 * malloc/memusage.sh: Fix quoting in message.
59896 * debug/xtrace.sh: Likewise.
59898 * configure.in: Remove support for --experimental-malloc option, make
59900 * config.make.in: Likewise.
59901 * malloc/Makefile: Likewise.
59903 2011-06-27 Andreas Schwab <schwab@redhat.com>
59905 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59906 two-byte characters.
59908 2011-06-27 Roland McGrath <roland@hack.frob.com>
59910 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59911 AC_CACHE_CHECK invocation.
59912 * configure: Regenerated.
59914 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59916 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59919 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59920 bit from old_res_options.
59922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59924 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59925 value type for setfct.
59927 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59929 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59930 __gettimeofday instead of gettimeofday.
59932 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59934 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59936 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59938 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59943 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59946 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59947 strcpy-sse2-unaligned strncpy-sse2-unaligned
59948 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59949 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59950 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59951 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59952 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59954 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59955 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59956 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59957 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59958 (STRCPY): Support SSE2 and SSSE3 versions.
59960 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59964 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59965 kernels which artificially limit size of requests.
59967 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59970 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59971 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59972 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59973 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59974 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59975 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59976 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59979 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59980 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59981 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59982 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59983 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59985 Enable unaligned load optimization for Intel Core i3, i5 and i7
59987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59989 (index_Fast_Unaligned_Load): Define.
59990 (HAS_FAST_UNALIGNED_LOAD): Define.
59992 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59994 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59996 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59999 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60000 until it is clear that the information is realy needed.
60001 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60003 2011-06-22 Andreas Schwab <schwab@redhat.com>
60005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60007 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60010 /sys/devices/system/cpu/online if it is usable.
60012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60013 reading the information from the /proc filesystem to once a second.
60015 2011-06-21 Andreas Jaeger <aj@suse.de>
60017 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60018 NULL after inclusion of kernel headers.
60020 2011-06-21 Ulrich Drepper <drepper@gmail.com>
60022 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60023 calls to internal_setent.
60026 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60027 addresses using gethostbyname4_r ignore IPv4 addresses.
60029 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60030 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
60032 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60034 2011-06-20 David S. Miller <davem@davemloft.net>
60036 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60038 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60040 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60041 (elf_irel): Use it.
60042 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60043 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60044 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60045 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60046 * sysdeps/x86_64/dl-irel.h: Likewise.
60048 * elf/dl-runtime.c: Use elf_ifunc_invoke.
60049 * elf/dl-sym.c: Likewise.
60051 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60053 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
60054 need to dereference resplen2.
60056 2011-06-14 Andreas Schwab <schwab@redhat.com>
60058 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60060 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60062 * Makeconfig: Define vardbdir and inst_vardbdir.
60063 * nss/Makefile: Add rules to install db-Makefile.
60065 * nss/nss_db/db-XXX.c: Cleanup.
60067 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60068 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60070 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60071 * nss/makedb.c: Implement -g option to specify that value strings
60072 are generated and should not be added to table iterated over for
60074 * nss/nss_db/db-initgroups.c: New file.
60076 * nss/getent.c: Add support for initgroups lookups through getgrouplist
60079 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60080 (internal_getgrouplist): Adjust to name change.
60081 Update use_initgroups_entry if this is not the first call.
60082 * nss/databases.def: Add initgroups entry.
60084 * nss/makedb.c (compute_tables): Check result of multiple hash table
60085 sizes to minimize maximum chain length.
60087 2011-06-14 Ulrich Drepper <drepper@gmail.com>
60089 * Versions.def: Add entry for libnss_db.
60090 * shlib-versions: Likewise.
60091 * nss/Makefile: Add rules to build libnss_db.
60092 * nss/Versions: Add libnss_db information. Organize libnss_files
60094 * nss/db-Makefile: Add gshadow support. Change rules for the new
60095 makedb progra. Some minor improvements to generate smaller files.
60096 * nss/nss_db/nss_db.h: Move NSS database header data structures to
60098 * nss/makedb.c: ...here.
60099 Improve database format to be smaller and require less memory at
60101 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
60103 * nss/nss_db/db-netgrp.c: Likewise.
60104 * nss/nss_db/db-open.c: Likewise.
60105 * nss/nss_files/flies-XXX.x: Adjust comments.
60106 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60107 * nss/nss_files/files-grp.c: Likewise.
60108 * nss/nss_files/files-hosts.c: Likewise.
60109 * nss/nss_files/files-network.c: Likewise.
60110 * nss/nss_files/files-proto.c: Likewise.
60111 * nss/nss_files/files-pwd.c: Likewise.
60112 * nss/nss_files/files-rpc.c: Likewise.
60113 * nss/nss_files/files-service.c: Likewise.
60114 * nss/nss_files/files-sgrp.c: Likewise.
60115 * nss/nss_files/files-spwd.c: Likewise.
60116 * nss/nss_db/db-alias.c: Removed.
60117 * nss/nss_db/dummy-db.h: Removed.
60119 2011-06-02 Ulrich Drepper <drepper@gmail.com>
60121 * nss/makedb.c: Rewritten to not use database library.
60122 * nss/Makefile: Update to build new makedb program.
60124 2011-06-14 Andreas Jaeger <aj@suse.de>
60126 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60127 memset declaration.
60129 2011-06-10 Andreas Schwab <schwab@redhat.com>
60131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60134 2011-06-10 Roland McGrath <roland@hack.frob.com>
60136 * Makerules (shlib.lds): Fail if the linker script comes out empty.
60137 * elf/Makefile ($(objpfx)ld.so): Likewise.
60139 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60140 Don't list ld.so twice in dependencies.
60142 * posix/bug-regex31.c: Include <stdlib.h>.
60144 * nscd/hstcache.c (cache_addhst): Remove unused variable.
60146 * nis/nss_compat/compat-spwd.c
60147 (getspent_next_nss_netgr): Remove unused variable.
60148 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60150 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60151 nonmembers" output to use the right array.
60153 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60155 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60157 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60158 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60159 * catgets/gencat.c (read_input_file): Likewise.
60160 * locale/programs/locarchive.c (enlarge_archive): Likewise.
60162 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60163 variable definition inside #if's controlling its use.
60165 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60167 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60169 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60171 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60174 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60176 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60177 * configure: Regenerated.
60179 * Makerules: Revert last change.
60180 * elf/Makefile: Likewise.
60182 2011-06-09 Roland McGrath <roland@hack.frob.com>
60184 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60185 * elf/Makefile ($(objpfx)librtld.os): Likewise.
60186 (reloc-link): Likewise.
60188 2011-06-09 Ulrich Drepper <drepper@gmail.com>
60190 * elf/Makefile: Add rules to build pldd.
60191 * elf/pldd.c: New file.
60192 * elf/pldd-xx.c: New file.
60194 2011-06-07 Ulrich Drepper <drepper@gmail.com>
60196 * version.h: Update for 2.15 development version.
60198 2011-06-07 David S. Miller <davem@davemloft.net>
60200 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60203 elf_machine_lazy_rel): Likewise.
60204 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60206 elf_machine_lazy_rel): Likewise.
60207 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60208 dl_hwcap via passed in argument.
60209 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60212 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60214 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
60216 2011-06-06 Roland McGrath <roland@hack.frob.com>
60219 * manual/fdl-1.1.texi: New file, verbatim from:
60220 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60221 * manual/lgpl-2.1.texi: New file, verbatim from:
60222 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60223 * manual/Makefile (licenses): New variable, list those new file names.
60225 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60227 * manual/fdl.texi: File removed.
60228 * manual/lesser.texi: File removed.
60229 * manual/libc.texinfo (Copying, Documentation License):
60230 Use new @include file names, put @appendix directive before @include.
60232 2011-06-04 Jakub Jelinek <jakub@redhat.com>
60235 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60236 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60237 (mq_open): Add __NTH.
60239 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
60241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60242 Assume Intel Core i3/i5/i7 processor if AVX is available.
60244 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60249 2011-05-31 Andreas Schwab <schwab@redhat.com>
60251 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60252 memory. Use alloca_account. Fix memory leak when retrying.
60254 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60256 * version.h (RELEASE): Bump for 2.14 release.
60257 * include/features.h (__GLIBC_MINOR__): Bump to 14.
60259 * config.make.in (RANLIB): Remove entry.
60261 2011-05-30 Ulrich Drepper <drepper@gmail.com>
60263 * po/Makefile (po-sed-cmd): Add ksh to extensions.
60264 (libc.pot): Work around missing support for .ksh extension in xgettext.
60267 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60268 if both request failed.
60269 (send_dg): In case of server errors clear resplen or *resplen2.
60272 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60273 when there are multiple maps.
60274 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60275 (_dl_fini): Remove test here.
60277 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60279 2011-05-29 Ulrich Drepper <drepper@gmail.com>
60282 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60283 bit from old_res_options.
60284 (gaih_inet): Likewise.
60287 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60290 * resolv/res_init.c (res_setoptions): Make the code more compact.
60293 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60297 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60299 * malloc/malloc.h: Mark malloc hook variables as deprecated.
60302 * malloc/malloc.h: Declare malloc hook variables as volatile.
60304 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60308 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60309 raise in the comment.
60310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60312 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60314 2011-05-28 Ulrich Drepper <drepper@gmail.com>
60317 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60318 grow the buffers more if it already has to be sufficient.
60319 (build_wcs_upper_buffer): Likewise.
60320 * posix/regexec.c (check_matching): Likewise.
60321 (clean_state_log_if_needed): Likewise.
60322 (extend_buffers): Don't enlarge buffers beyond size of the input
60324 Patches mostly by Emil Wojak <emil@wojak.eu>.
60325 * posix/bug-regex32.c: New file.
60326 * posix/Makefile (tests): Add bug-regex32.
60328 * locale/findlocale.c (_nl_find_locale): Return right away if
60329 _nl_explode_name failed.
60330 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60334 * debug/xtrace.sh: Unify messages.
60335 * malloc/memusage.sh: Likewise.
60338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60339 time symbol from vDSO. Substitute with vsyscall if not available.
60340 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60344 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60345 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60346 Add sendmmsg and internal_sendmmsg.
60347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60351 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60352 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60355 2011-05-27 Ulrich Drepper <drepper@gmail.com>
60358 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60359 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
60361 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60365 * iconvdata/Makefile (tests): Add bug-iconv9.
60366 * iconvdata/bug-iconv9.c: New file.
60368 2011-05-27 Andreas Schwab <schwab@redhat.com>
60371 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60373 2011-05-25 Jakub Jelinek <jakub@redhat.com>
60375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60376 (struct user_regs_struct): Change intcs field back to cs.
60378 2011-05-25 Ulrich Drepper <drepper@gmail.com>
60380 * po/ja.po: Update from translation team.
60382 2011-05-23 Ulrich Drepper <drepper@gmail.com>
60385 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60386 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60388 2011-05-20 Andreas Schwab <schwab@redhat.com>
60390 * stdlib/longlong.h: Update from GCC.
60392 2011-05-23 Andreas Schwab <schwab@redhat.com>
60394 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60396 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60397 Add parameter name.
60398 (__sysconf): Pass it down.
60400 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60403 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60405 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60406 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60407 add in in __libc_use_alloca calls. Adjust callers.
60408 (glob): Use malloc in some situations.
60410 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60411 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60414 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60416 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60417 and CLOCK_BOOTTIME_ALARM.
60420 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60423 * string/_strerror.c (__strerror_r): Print negative errors as signed
60427 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60428 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60429 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60431 * configure.in: Fix typo in redirection and correct removal of test
60432 files in two cases.
60435 * locale/setlocale.c (new_composite_name): Fix test to check for
60436 identical name of all categories.
60439 * libio/filedoalloc.c (local_isatty): New function.
60440 (_IO_file_doallocate): Use local_isatty.
60441 * stdio-common/perror.c (perror): In case a new stream is used
60442 forward the stream error.
60443 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60446 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60451 * include/alloca.h (extend_alloca_account): Define.
60454 * posix/regex.h: Fix comments with documentation of user-accessible
60455 fields after compilation and describe correct free'ing of pattern
60456 after re_compile_pattern.
60457 Patch by Reuben Thomas <rrt@sc3d.org>.
60459 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60461 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60462 and -mno-altivec to prevent the compiler from using Altivec and/or
60463 VSX instructions when the corresponding registers are not available.
60465 2011-05-19 Andreas Schwab <schwab@redhat.com>
60467 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60469 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60471 * libio/freopen.c (freopen): Use __dup2, not dup2.
60472 * libio/freopen64.c (freopen64): Likewise.
60474 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60477 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60478 * math/Makefile (tests): Add test-powl.
60479 (CFLAGS-test-powl.c): Define.
60480 * math/test-powl.c: New file.
60482 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60484 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60486 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60489 * iconvdata/gb18030.c: Update to GB18020-2005.
60491 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60493 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60494 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60495 Patch by Aharon Robbins <arnold@skeeve.com>.
60498 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60502 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60503 through underflows.
60506 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60507 point to strings before performing equality test for error_one_per_line
60511 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60515 (struct user_fpregs_struct): Avoid __uint*_t types.
60518 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60519 symbol info. Use it instead of calling _dl_addr locally.
60520 (lock_and_info): New function.
60521 (tr_freehook): Call lock_and_info and pass symbol info as additional
60522 parameter to tr_where.
60523 (tr_mallochook): Likewise.
60524 (tr_reallochook): Likewise.
60525 (tr_memalignhook): Likewise.
60527 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60528 used and couldn't be at all thread-safe.
60530 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60532 * libio/freopen.c (freopen): Don't close old file descriptor
60533 before the new one is opened. Instead dup the new file descriptor
60534 to the old one after the new stream is created.
60535 * libio/freopen64.c (freopen64): Likewise.
60536 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60537 * libio/fileops.c (_IO_new_file_close_it): Handle new
60538 _IO_FLAGS2_NOCLOSE flag.
60539 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60540 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60541 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60542 _IO_FLAGS2_NOCLOSE flag.
60543 * include/unistd.h: Add hidden_proto for dup3.
60544 Define __have_dup3.
60545 * io/dup3.c: Define hidden symbol.
60546 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60549 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60550 when an incomplete long option is used.
60551 * posix/tst-getopt_long1.c: New file.
60552 * posix/Makefile (tests): Add tst-getopt_long1.
60555 * scripts/config.guess: Update from autoconf-2.68.
60556 * scripts/config.sub: Likewise.
60559 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60561 (has_cpuclock): ...this. New function.
60562 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60563 macro here based on has_cpuclock code.
60566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60567 First byte (not low byte) is now always NUL.
60568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60571 Use non-cancelable interfaces.
60574 * locale/iso-639.def: Add entry for Sorani.
60577 * include/stdlib.h: Move include protection to the right place.
60578 Define abort_msg_s. Declare __abort_msg with it.
60579 * stdlib/abort.c (__abort_msg): Adjust type.
60580 * assert/assert.c (__assert_fail_base): New function. Majority
60581 of code from __assert_fail. Allocate memory for __abort_msg with
60583 (__assert_fail): Now call __assert_fail_base.
60584 * assert/assert-perr.c: Remove bulk of implementation. Use
60585 __assert_fail_base.
60586 * include/assert.hL Declare __assert_fail_base.
60587 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60589 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60591 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60595 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60596 until all modules are registered in the DTV.
60597 * elf/Makefile: Add rules to build and run tst-tls19.
60598 * elf/tst-tls19.c: New file.
60599 * elf/tst-tls19mod1.c: New file.
60600 * elf/tst-tls19mod2.c: New file.
60601 * elf/tst-tls19mod3.c: New file.
60602 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60605 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60609 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60610 two-byte sequence errors.
60611 * iconvdata/Makefile (tests): Add bug-iconv8.
60612 * iconvdata/bug-iconv8.c: New file.
60615 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60618 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60621 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60622 (dummy_getcfa): New function.
60623 (init): Get _Unwind_GetCFA address, use dummy if not found.
60624 (backtrace_helper): In recursion check, also check whether CFA changes.
60625 (__backtrace): Completely initialize arg.
60627 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60628 storing incomplete byte sequence in state object. Avoid testing for
60629 guaranteed too small input if we know there is enough data available.
60631 2011-05-11 Andreas Schwab <schwab@redhat.com>
60633 * Makeconfig (+link-pie): Indent.
60634 * Rules (binaries-pie): Define if $(have-fpie) and
60636 (binaries-shared): Also filter out $(binaries-pie).
60637 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60638 * nscd/Makefile (others-pie): Add nscd.
60639 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60640 ($(objpfx)nscd): Remove command override.
60641 * login/Makefile (others-pie): Add pt_chown.
60642 ($(objpfx)pt_chown): Remove command override.
60643 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60644 remove command overrides.
60646 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60648 * libio/tst_putwc.c: Fix error messages.
60651 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60652 currently writing and seek to current position when not.
60653 * libio/Makefile (tests): Add bug-fclose1.
60654 * libio/bug-fclose1.c: New file.
60656 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60659 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60660 don't set DF_1_NODELETE here.
60661 (do_lookup_x): When entering new entry test for copy relocation
60662 and if necessary set DF_1_NODELETE flag.
60663 * elf/tst-unique4.cc: New file.
60664 * elf/tst-unique4.h: New file.
60665 * elf/tst-unique4lib.cc: New file.
60666 * elf/Makefile: Add rules to build and run tst-unique4.
60667 Patch by Piotr Bury <pbury@goahead.com>.
60669 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60672 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60675 * misc/mntent_r.c (addmntent): Flush the stream after the output
60678 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60679 (is_trusted_path_normalize): Skip initial colon. Append slash
60680 to empty buffer. Duplicate is_trusted_path code but allow
60681 constructed patch to be prefix.
60682 (is_dst): Allow $ORIGIN followed by /.
60683 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60684 Correct testing of result of is_trusted_path_normalize
60685 (decompose_rpath): Fix warning.
60687 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60690 * grp/initgroups.c (internal_getgrouplist): When we found the service
60691 list through the initgroups entry in nsswitch.conf do not always
60692 continue on a successful lookup. Don't always use the
60693 __nss_group_database value if it is set.
60694 * nss/nsswitch.conf (initgroups): Change action for successful db
60695 lookup to continue for compatibility.
60697 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60700 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60702 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60704 * iconvdata/tst-tables.sh: Likewise.
60705 * iconvdata/cp770.c: New file.
60706 * iconvdata/cp771.c: New file.
60707 * iconvdata/cp772.c: New file.
60708 * iconvdata/cp773.c: New file.
60709 * iconvdata/cp774.c: New file.
60710 * iconvdata/testdata/CP770: New file.
60711 * iconvdata/testdata/CP770..UTF8: New file.
60712 * iconvdata/testdata/CP771: New file.
60713 * iconvdata/testdata/CP771..UTF8: New file.
60714 * iconvdata/testdata/CP772: New file.
60715 * iconvdata/testdata/CP772..UTF8: New file.
60716 * iconvdata/testdata/CP773: New file.
60717 * iconvdata/testdata/CP773..UTF8: New file.
60718 * iconvdata/testdata/CP774: New file.
60719 * iconvdata/testdata/CP774..UTF8: New file.
60721 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60723 * iconvdata/gen-8bit-gap.sh: Likewise.
60724 * iconvdata/gen-8bit.sh: Likewise.
60726 * locale/iso-639.def: Add ary entry.
60729 * locale/C-translit.h.in: Add U20A1 transliteration.
60732 * locale/iso-639.def: Add wae entry.
60733 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60736 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60740 * locale/C-translit.h.in: Add entry for U20B9.
60741 Patch by pravin.d.s@gmail.com.
60743 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60746 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60747 ENAMETOOLONG use generic getcwd.
60748 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60749 in rtld. Use *stat64.
60750 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60751 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60752 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60753 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60754 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60755 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60756 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60757 __fstatat64 macros.
60758 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60759 * dirent/rewinddir.c: Add libc_hidden_def.
60760 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60761 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60763 * include/dirent.h (__alloc_dir): Add flags parameter.
60764 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60765 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60767 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60768 from fdopendir if O_CLOEXEC is already set.
60770 2011-03-15 Alan Modra <amodra@gmail.com>
60772 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60773 l_tls_firstbyte_offset non-zero. Save padding offset in
60774 l_tls_firstbyte_offset for later use.
60775 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60776 freeing static tls block.
60778 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60780 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60781 where #ifdef was intended. The intent is to prevent ARG_MAX from
60782 being defined by the kernel headers.
60784 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60787 * resolv/resolv.h: Define RES_NOTLDQUERY.
60788 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60789 no-tld-query and set RES_NOTLDQUERY.
60790 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60791 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60792 modern BIND to search name as TLD unless forbidden.
60794 2011-05-07 Petr Baudis <pasky@suse.cz>
60795 Ulrich Drepper <drepper@gmail.com>
60798 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60799 (is_trusted_path): ...to here.
60800 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60801 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60802 using is_trusted_path_normalize() in setuid scripts.
60804 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60806 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60807 __BEGIN/__END_DECLS.
60809 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60812 NSS_STATUS_NOTFOUND if no record was found.
60814 2011-05-05 Andreas Schwab <schwab@redhat.com>
60816 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60817 (headers-not-in-tirpc): Remove rpc/netdb.h
60818 * resolv/netdb.h: Revert last change.
60820 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60822 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60823 circular dependency between libgcc.a and libc.a.
60825 2011-05-05 Andreas Schwab <schwab@redhat.com>
60827 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60828 * nis/Makefile: Don't install rpcsvc/*.
60829 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60830 instead of <rpc/types.h>.
60831 (MAXHOSTNAMELEN): Define.
60833 2011-05-03 Andreas Schwab <schwab@redhat.com>
60835 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60837 2011-04-28 Maciej Babinski <mbabinski@google.com>
60840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60841 gethostbyname4_r when IPv6 results are possible.
60843 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60846 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60847 _PC_PIPE_BUF handling.
60849 2011-04-30 Bruno Haible <bruno@clisp.org>
60852 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60853 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60855 * inet/getnameinfo.c (getnameinfo): Likewise.
60857 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60859 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60860 to groups setting in database lookup.
60861 * nss/nsswitch.conf: Add initgroups entry.
60863 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60866 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60868 Patch by Eric Blake <eblake@redhat.com>.
60870 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60872 * sunrpc/Makefile (need-export-routines): Add svc_run.
60873 (routines): Remove svc_run.
60874 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60875 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60876 * sunrpc/svc_run.c (svc_run): Likewise.
60877 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60879 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60882 problem in reallocation in last patch.
60884 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60886 * sunrpc/Makefile: Move inclusion of Rules.
60888 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60890 * nss/nss_files/files-initgroups.c: New file.
60891 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60892 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60893 _nss_files_initgroups_dyn.
60895 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60897 * elf/elf.h (R_ARM_IRELATIVE): Define.
60899 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60901 * po/ru.po: Update from translation team.
60903 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60905 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60908 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60911 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60912 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60917 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60919 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60925 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60928 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60930 * stdlib/bug-getcontext.c: New file.
60931 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60933 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60935 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60936 instructions into .machine "z9-109".
60937 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60938 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60940 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60942 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60943 between environment variables and auxiliary vector.
60945 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60947 * Makefile: Add rules to build linkobj/libc.so.
60948 * include/libc-symbols.h: Define libc_hidden_nolink.
60949 * include/rpc/auth.h: Mark functions which are to be hidden.
60950 * include/rpc/auth_des.h: Likewise.
60951 * include/rpc/auth_unix.h: Likewise.
60952 * include/rpc/clnt.h: Likewise.
60953 * include/rpc/des_crypt.h: Likewise.
60954 * include/rpc/key_prot.h: Likewise.
60955 * include/rpc/pmap_clnt.h: Likewise.
60956 * include/rpc/pmap_prot.h: Likewise.
60957 * include/rpc/pmap_rmt.h: Likewise.
60958 * include/rpc/rpc_msg.h: Likewise.
60959 * include/rpc/svc.h: Likewise.
60960 * include/rpc/svc_auth.h: Likewise.
60961 * include/rpc/xdr.h: Likewise.
60962 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60963 * nss/Makefile: Likewise.
60964 * sunrpc/Makefile: Don't install headers. Build library with normal
60965 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60966 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60967 for the compat linking library. Remove use of INTDEF/INTUSE.
60968 * sunrpc/auth_none.c: Likewise.
60969 * sunrpc/auth_unix.c: Likewise.
60970 * sunrpc/authdes_prot.c: Likewise.
60971 * sunrpc/authuxprot.c: Likewise.
60972 * sunrpc/clnt_gen.c: Likewise.
60973 * sunrpc/clnt_perr.c: Likewise.
60974 * sunrpc/clnt_raw.c: Likewise.
60975 * sunrpc/clnt_simp.c: Likewise.
60976 * sunrpc/clnt_tcp.c: Likewise.
60977 * sunrpc/clnt_udp.c: Likewise.
60978 * sunrpc/clnt_unix.c: Likewise.
60979 * sunrpc/des_crypt.c: Likewise.
60980 * sunrpc/des_soft.c: Likewise.
60981 * sunrpc/get_myaddr.c: Likewise.
60982 * sunrpc/key_call.c: Likewise.
60983 * sunrpc/key_prot.c: Likewise.
60984 * sunrpc/netname.c: Likewise.
60985 * sunrpc/pm_getmaps.c: Likewise.
60986 * sunrpc/pm_getport.c: Likewise.
60987 * sunrpc/pmap_clnt.c: Likewise.
60988 * sunrpc/pmap_prot.c: Likewise.
60989 * sunrpc/pmap_prot2.c: Likewise.
60990 * sunrpc/pmap_rmt.c: Likewise.
60991 * sunrpc/publickey.c: Likewise.
60992 * sunrpc/rpc_cmsg.c: Likewise.
60993 * sunrpc/rpc_common.c: Likewise.
60994 * sunrpc/rpc_dtable.c: Likewise.
60995 * sunrpc/rpc_prot.c: Likewise.
60996 * sunrpc/rpc_thread.c: Likewise.
60997 * sunrpc/rtime.c: Likewise.
60998 * sunrpc/svc.c: Likewise.
60999 * sunrpc/svc_auth.c: Likewise.
61000 * sunrpc/svc_authux.c: Likewise.
61001 * sunrpc/svc_raw.c: Likewise.
61002 * sunrpc/svc_run.c: Likewise.
61003 * sunrpc/svc_simple.c: Likewise.
61004 * sunrpc/svc_tcp.c: Likewise.
61005 * sunrpc/svc_udp.c: Likewise.
61006 * sunrpc/svc_unix.c: Likewise.
61007 * sunrpc/svcauth_des.c: Likewise.
61008 * sunrpc/xcrypt.c: Likewise.
61009 * sunrpc/xdr.c: Likewise.
61010 * sunrpc/xdr_array.c: Likewise.
61011 * sunrpc/xdr_float.c: Likewise.
61012 * sunrpc/xdr_intXX_t.c: Likewise.
61013 * sunrpc/xdr_mem.c: Likewise.
61014 * sunrpc/xdr_rec.c: Likewise.
61015 * sunrpc/xdr_ref.c: Likewise.
61016 * sunrpc/xdr_sizeof.c: Likewise.
61017 * sunrpc/xdr_stdio.c: Likewise.
61019 2011-04-10 Ulrich Drepper <drepper@gmail.com>
61022 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61023 * sysdeps/ia64/dl-tls.h: Likewise.
61024 * sysdeps/powerpc/dl-tls.h: Likewise.
61025 * sysdeps/s390/dl-tls.h: Likewise.
61026 * sysdeps/sh/dl-tls.h: Likewise.
61027 * sysdeps/sparc/dl-tls.h: Likewise.
61028 * sysdeps/x86_64/dl-tls.h: Likewise.
61029 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61031 2011-03-14 Andreas Schwab <schwab@redhat.com>
61033 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61034 rpath element also skip the following colon.
61035 (expand_dynamic_string_token): Add is_path parameter and pass
61036 down to DL_DST_REQUIRED and _dl_dst_substitute.
61037 (decompose_rpath): Call expand_dynamic_string_token with
61038 non-zero is_path. Ignore empty rpaths.
61039 (_dl_map_object_from_fd): Call expand_dynamic_string_token
61042 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
61044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61047 2011-04-09 Ulrich Drepper <drepper@gmail.com>
61050 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61051 Patch by Filipe David Manana <fdmanana@apache.org>.
61053 2011-04-07 Andreas Schwab <schwab@redhat.com>
61055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61056 Maintain aligned stack.
61057 (CHECK_RSP): Remove unused macro.
61059 2011-04-03 Ulrich Drepper <drepper@gmail.com>
61061 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61062 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61064 2011-04-02 Ulrich Drepper <drepper@gmail.com>
61066 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61068 * include/features.h: Mention __USE_XOPEN2K8 in comment.
61070 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
61073 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61074 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61075 * sysdeps/x86_64/memmove.c: New file.
61076 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61077 (memcpy): Renamed to ...
61078 (__new_memcpy): This.
61079 (memcpy): Provide GLIBC_2_14 memcpy.
61080 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61081 (memcpy): Provide GLIBC_2_2_5 memcpy.
61083 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61086 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61088 2011-03-30 Andreas Schwab <schwab@redhat.com>
61090 * misc/syncfs.c: New file.
61091 * misc/Makefile (routines): Add syncfs.
61092 * posix/unistd.h: Declare syncfs.
61093 * sysdeps/unix/syscalls.list: Add syncfs.
61095 2011-04-01 Andreas Schwab <schwab@redhat.com>
61097 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61102 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61104 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61107 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61110 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61111 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61117 * io/Makefile: Compile fallocate.c, fallocate64.c, and
61118 sync_file_range.c with -fexceptions.
61119 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61120 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61121 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61122 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61123 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61124 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61126 sync_file_range as cancellation point
61127 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
61128 now a wrapper around __call_sync_file_range with cancellation handling.
61129 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
61131 function name to __call_sync_file_range.
61132 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61133 Add call_sync_file_range.
61135 2011-04-01 Andreas Schwab <schwab@redhat.com>
61137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61140 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61142 * iconv/iconv.h: Fix typo in comment.
61143 * io/fcntl.h: Likewise.
61144 * libio/stdio.h: Likewise.
61145 * posix/spawn.h: Likewise.
61146 * posix/unistd.h: Likewise.
61147 * stdlib/stdlib.h: Likewise.
61148 * time/time.h: Likewise.
61149 * wcsmbs/wchar.h: Likewise.
61151 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61152 open_by_handle): Add.
61153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61154 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
61155 Augment a few comments.
61156 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61158 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61161 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61164 * io/fcntl.h (AT_EMPTY_PATH): Define.
61166 2011-03-30 Ulrich Drepper <drepper@gmail.com>
61168 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61169 * sysdeps/unix/sysv/linux/bits/time.h: New file.
61170 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61172 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
61173 * Versions.def: Add GLIBC_2.14.
61174 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61177 2011-03-22 Ulrich Drepper <drepper@gmail.com>
61179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61181 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61183 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
61186 * string/test-strncmp.c (do_page_test): New function.
61187 (check2): Likewise.
61188 (test_main): Call check2.
61189 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61191 2011-03-20 Ulrich Drepper <drepper@gmail.com>
61194 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61195 Handle cache information in CPU leaf 4.
61196 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61198 2011-03-18 Ulrich Drepper <drepper@gmail.com>
61201 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61202 character representation.
61203 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61205 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
61207 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61208 END(__isnan) to END(__isnanf) to match function entry point/label
61209 EALIGN(__isnanf,...).
61211 2011-03-10 Jakub Jelinek <jakub@redhat.com>
61213 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61215 2011-03-10 Ulrich Drepper <drepper@gmail.com>
61218 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61219 copy from the symbol referenced in the relocation to initialize the
61221 Patch by Piotr Bury <pbury@goahead.com>.
61222 * elf/Makefile: Add rules to build and tst-unique3.
61223 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61224 * elf/tst-unique3.cc: New file.
61225 * elf/tst-unique3.h: New file.
61226 * elf/tst-unique3lib.cc: New file.
61227 * elf/tst-unique3lib2.cc: New file.
61229 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61231 2011-03-10 Mike Frysinger <vapier@gentoo.org>
61233 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61234 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
61237 2011-03-06 Ulrich Drepper <drepper@gmail.com>
61239 * elf/dl-load.c (_dl_map_object): If we are looking for the first
61240 to-be-loaded object along a path to loader is ld.so.
61242 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61243 Ulrich Drepper <drepper@gmail.com>
61245 * sysdeps/x86_64/memset.S: After aligning destination, code
61246 branches to different locations depending on the value of
61247 misalignment, when multiarch is enabled. Fix this.
61249 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61251 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61252 Set _x86_64_preferred_memory_instruction for AMD processsors.
61253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61254 Set bit_Prefer_SSE_for_memop for AMD processors.
61256 2011-03-04 Ulrich Drepper <drepper@gmail.com>
61258 * libio/fmemopen.c (fmemopen): Optimize a bit.
61260 2011-03-03 Andreas Schwab <schwab@redhat.com>
61262 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61264 2011-03-03 Roland McGrath <roland@redhat.com>
61266 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61268 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
61270 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61271 __bzero_ultra1 instead of __memset_ultra1.
61273 2011-02-23 Andreas Schwab <schwab@redhat.com>
61274 Ulrich Drepper <drepper@gmail.com>
61277 * include/link.h (struct link_map): Add l_orig_initfini.
61278 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61279 returning unsuccessfully.
61280 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61281 close of a file loaded at startup, restore the original l_initfini
61283 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61284 list, store the pointer.
61285 * elf/Makefile ($(objpfx)noload-mem): New rule.
61286 (noload-ENV): Define.
61287 (tests): Add $(objpfx)noload-mem.
61288 * elf/noload.c: Include <memcheck.h>.
61289 (main): Call mtrace. Close all opened handles.
61291 2011-02-17 Andreas Schwab <schwab@redhat.com>
61294 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61295 dependencies are missing.
61297 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
61299 Fix __if_freereq crash: Unlike the generic version which uses free,
61301 * sysdeps/mach/hurd/ifreq.h: New file.
61303 2011-01-27 Petr Baudis <pasky@suse.cz>
61304 Ulrich Drepper <drepper@gmail.com>
61307 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61308 to extend_alloca().
61309 * stdio-common/bug23.c: New file.
61310 * stdio-common/Makefile (tests): Add bug23.
61312 2010-09-28 Andreas Schwab <schwab@redhat.com>
61313 Ulrich Drepper <drepper@gmail.com>
61316 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61317 before performing relro protection. At old place add assertion
61318 to make sure nothing changed.
61320 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
61321 Glauber de Oliveira Costa <glommer@gmail.com>
61323 * elf/elf.h: Add new ARM TLS relocs.
61325 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
61327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61328 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61330 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
61332 * sysdeps/wordsize-64/tst-writev.c: New file.
61334 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
61336 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61337 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61338 insns in _dl_start to prevent a TOC reference before relocs are
61341 2011-02-15 Ulrich Drepper <drepper@gmail.com>
61344 * Makeconfig: Remove RANLIB definition.
61345 * Makerules: Don't use RANLIB.
61346 * aclocal.m4: Remove ranlib test.
61347 * configure.in: No need to check for ranlib.
61348 * elf/rtld-Rules: Don't use RANLIB.
61350 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
61352 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61354 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61355 inclusion protection macro.
61357 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61358 SIGRTMIN and SIGRTMAX and print information in that case only when
61359 SIGRTMIN is defined.
61361 2011-02-11 Jakub Jelinek <jakub@redhat.com>
61363 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61364 arginfo fn returning -1.
61366 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61367 and thousands string is zero terminated.
61369 2011-02-03 Andreas Schwab <schwab@redhat.com>
61371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61372 sysdeps/unix/sysv/linux/bits/socket.h.
61374 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
61376 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61377 (__CPU_COUNT): Remove old macros.
61378 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61379 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61380 (__CPU_ALLOC, __CPU_FREE): Add macros.
61381 (__sched_cpualloc, __sched_cpufree): Add declarations.
61383 2011-02-05 Ulrich Drepper <drepper@gmail.com>
61385 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61386 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61387 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61388 (readdhstai): Return value of addhstaiX call.
61389 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61390 (addgrbyX): Return value returned by cache_addgr.
61391 (readdgrbyname): Return value returned by addgrbyX.
61392 (readdgrbygid): Likewise.
61393 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61394 (addpwbyX): Return value returned by cache_addpw.
61395 (readdpwbyname): Return value returned by addhstbyX.
61396 (readdpwbyuid): Likewise.
61397 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61398 (addservbyX): Return value returned by cache_addserv.
61399 (readdservbyname): Return value returned by addservbyX:
61400 (readdservbyport): Likewise.
61401 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61402 (addhstbyX): Return value returned by cache_addhst.
61403 (readdhstbyname): Return value returned by addhstbyX.
61404 (readdhstbyaddr): Likewise.
61405 (readdhstbynamev6): Likewise.
61406 (readdhstbyaddrv6): Likewise.
61407 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61408 (readdinitgroups): Return value returned by addinitgroupsX.
61409 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61410 (prune_cache): Keep track of timeout value of re-added entries.
61411 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61412 * nscd/nscd.h: Adjust prototypes of readd* functions.
61414 2011-02-04 Roland McGrath <roland@redhat.com>
61416 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61417 (nis_stats): Likewise.
61418 * nis/nis_modify.c (nis_modify): Likewise.
61419 * nis/nis_remove.c (nis_remove): Likewise.
61420 * nis/nis_add.c (nis_add): Likewise.
61422 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61424 * posix/fnmatch_loop.c: Add some consts.
61426 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61428 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61431 * config.make.in (config-cflags-novzeroupper): Define.
61432 * configure.in: Substitute libc_cv_cc_novzeroupper.
61433 * elf/Makefile (AVX-CFLAGS): Define.
61434 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61435 (CFLAGS-tst-auditmod4a.c): Likewise.
61436 (CFLAGS-tst-auditmod4b.c): Likewise.
61437 (CFLAGS-tst-auditmod6b.c): Likewise.
61438 (CFLAGS-tst-auditmod6c.c): Likewise.
61439 (CFLAGS-tst-auditmod7b.c): Likewise.
61440 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61442 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61444 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61445 function to the callback.
61446 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61448 2011-02-02 Andreas Schwab <schwab@redhat.com>
61450 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61453 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61456 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61458 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61460 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61463 * elf/Makefile: Add rules to build and run new test.
61464 * elf/tst-initorder.c: New file.
61465 * elf/tst-initorder.exp: New file.
61466 * elf/tst-initordera1.c: New file.
61467 * elf/tst-initordera2.c: New file.
61468 * elf/tst-initordera3.c: New file.
61469 * elf/tst-initordera4.c: New file.
61470 * elf/tst-initorderb1.c: New file.
61471 * elf/tst-initorderb2.c: New file.
61472 * elf/tst-order-a1.c: New file.
61473 * elf/tst-order-a2.c: New file.
61474 * elf/tst-order-a3.c: New file.
61475 * elf/tst-order-a4.c: New file.
61476 * elf/tst-order-b1.c: New file.
61477 * elf/tst-order-b2.c: New file.
61478 * elf/tst-order-main.c: New file.
61479 New test case by George Gensure <werkt0@gmail.com>.
61481 2010-10-01 Andreas Schwab <schwab@redhat.com>
61483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61484 decoding ACE if AI_CANONIDN.
61486 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61488 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61490 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61492 * version.h (RELEASE): Bump for 2.13 release.
61493 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61495 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61497 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61499 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61500 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61501 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61502 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61504 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61506 * posix/getconf.c: Update copyright year.
61507 * catgets/gencat.c: Likewise.
61508 * csu/version.c: Likewise.
61509 * debug/catchsegv.sh: Likewise.
61510 * debug/xtrace.sh: Likewise.
61511 * elf/ldconfig.c: Likewise.
61512 * elf/ldd.bash.in: Likewise.
61513 * elf/sprof.c (print_version): Likewise.
61514 * iconv/iconv_prog.c: Likewise.
61515 * iconv/iconvconfig.c: Likewise.
61516 * locale/programs/locale.c: Likewise.
61517 * locale/programs/localedef.c: Likewise.
61518 * malloc/memusage.sh: Likewise.
61519 * malloc/mtrace.pl: Likewise.
61520 * nscd/nscd.c (print_version): Likewise.
61521 * nss/getent.c: Likewise.
61523 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61524 PF_CAIF, and PF_ALG.
61525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61527 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61529 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61530 (modules-names): Use them.
61531 (ifunc-test-modules, ifunc-pie-tests): Define.
61532 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61533 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61534 (test-extras): Likewise.
61535 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61536 $(compile-command.c).
61537 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61538 (all-built-dso): Define.
61539 (check-textrel.out, check-execstack.out): Depend on it.
61541 * configure.in: Don't override --enable-multi-arch.
61543 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61546 * nscd/hstcache.c (tryagain): Define.
61547 (cache_addhst): Return tryagain not notfound for temporary errors.
61548 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61551 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61555 to make the syscall.
61556 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61559 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61560 and fall back to matching as normal character if the string ends before
61561 the matching ']' is found. This is what POSIX requires.
61562 * posix/testfnm.c: Adjust test result.
61563 * posix/globtest.sh: Adjust test result. Add new test.
61564 * posix/tst-fnmatch.input: Likewise.
61565 * posix/tst-fnmatch2.c: Add new test.
61567 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61569 * elf/Makefile (check-execstack): Revert last change. Depend on
61571 (check-execstack.h): New target.
61572 (generated): Add check-execstack.h.
61573 * elf/check-execstack.c: Include "check-execstack.h".
61574 (main): Revert last change.
61575 (handle_file): Return zero if GNU_STACK is absent and
61576 DEFAULT_STACK_PERMS doesn't include PF_X.
61578 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61580 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61581 in child fails because the descriptor is already closed.
61582 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61583 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61587 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61591 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61592 temporary buffer used to handle multi lookups locally.
61593 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61595 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61597 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61600 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61602 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61603 alignment for SSE2.
61605 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61608 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61609 characters. When rounding increased number of integer digits recompute
61611 * stdio-common/tst-grouping.c: New file.
61612 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61614 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61616 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61617 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61619 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61621 * bits/select.h: Likewise.
61623 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61625 * po/ja.po: Update from translation team.
61627 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61630 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61631 implementation just like for lxstat, fxstatat, et al.
61633 2010-12-27 Jim Meyering <meyering@redhat.com>
61636 * posix/regexec.c (build_trtable): Return failure indication upon
61637 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61639 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61642 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61643 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61644 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61648 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61651 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61652 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61654 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61656 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61657 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61658 script has SORT_BY_INIT_PRIORITY.
61659 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61660 NO_CTORS_DTORS_SECTIONS is defined.
61661 * elf/soinit.c: Likewise.
61662 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61663 NO_CTORS_DTORS_SECTIONS is defined.
61664 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61665 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61666 * sysdeps/sh/init-first.c: Likewise.
61667 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61669 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61671 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61672 always use the slow path.
61674 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61676 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61677 similar rule which adds the sysdep directories to the header search in
61678 order to pick up the correct platform stackinfo.h.
61679 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61680 perform test if it is, otherwise return successfully without testing.
61681 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61682 DEFAULT_STACK_PERMS define in stackinfo.h.
61683 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61684 defined in stackinfo.h.
61685 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61686 DEFAULT_STACK_PERMS defined in stackinfo.h.
61687 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61688 * sysdeps/ia64/stackinfo.h: Likewise.
61689 * sysdeps/s390/stackinfo.h: Likewise.
61690 * sysdeps/sh/stackinfo.h: Likewise.
61691 * sysdeps/sparc/stackinfo.h: Likewise.
61692 * sysdeps/x86_64/stackinfo.h: Likewise.
61693 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61694 PF_X for powerpc64. Retain PF_X for powerpc32.
61696 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61698 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61700 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61701 GETDENTS_64BIT_ALIGNED.
61703 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61705 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61707 2010-12-10 Andreas Schwab <schwab@redhat.com>
61709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61713 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61715 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61716 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61718 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61721 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61724 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61726 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61728 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61730 * po/it.po: Update from translation team.
61732 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61737 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61739 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61741 2010-11-24 Andreas Schwab <schwab@redhat.com>
61743 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61745 (gaih_getanswer_slice): Likewise.
61747 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61751 2010-05-31 Petr Baudis <pasky@suse.cz>
61754 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61755 silently even in the chroot mode.
61757 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61759 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61760 last patch a bit. Pretty printing
61762 2010-05-31 Petr Baudis <pasky@suse.cz>
61765 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61766 initialization of skip_initgroups_dyn.
61768 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61773 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61775 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61777 2010-11-11 Andreas Schwab <schwab@redhat.com>
61779 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61780 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61781 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61782 ($(objpfx)tst-fnmatch-mem): New rule.
61783 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61784 * posix/tst-fnmatch.c (main): Call mtrace.
61786 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61789 Support Intel processor model 6 and model 0x2c.
61791 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61793 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61796 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61799 * string/test-strncasecmp.c (check_result): New function.
61800 (do_one_test): Use it.
61801 (check1): New function.
61802 (test_main): Use it.
61803 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61804 Support strcasecmp and strncasecmp.
61806 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61809 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61812 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61814 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61818 * sysdeps/x86_64/multiarch/bzero.S: New file.
61819 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61820 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61821 * sysdeps/x86_64/multiarch/memset.S: New file.
61822 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61824 Set bit_Prefer_SSE_for_memop for Intel processors.
61825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61827 (index_Prefer_SSE_for_memop): Define.
61828 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61830 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61835 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61839 (__x86_64_raw_data_cache_size_half): Likewise.
61840 (__x86_64_raw_shared_cache_size): Likewise.
61841 (__x86_64_raw_shared_cache_size_half): Likewise.
61843 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61844 (__x86_64_raw_data_cache_size_half): Likewise.
61845 (__x86_64_raw_shared_cache_size): Likewise.
61846 (__x86_64_raw_shared_cache_size_half): Likewise.
61847 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61848 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61849 and __x86_64_raw_shared_cache_size_half. Round
61850 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61851 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61852 to multiple of 256 bytes.
61854 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61858 of inacessible symlinks. Verify result of symlink before returning it.
61859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61860 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61862 2010-10-28 Erich Ritz <erichritz@gmail.com>
61864 * math/math.h (isinf): Fix typo in comment.
61866 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61868 * po/da.po: Update from translation team.
61870 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61872 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61873 is added to the list.
61875 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61876 Ulrich Drepper <drepper@gmail.com>
61878 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61879 the global list here. Move code to...
61880 (_dl_add_to_namespace_list): ...here. New function.
61881 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61882 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61883 * elf/dl-load.c (lose): Don't remove the element from the list.
61884 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61885 (_dl_map_object): Likewise.
61887 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61890 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61891 into all bytes of SSE register.
61892 Patch by Richard Li <richardpku@gmail.com>.
61894 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61897 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61900 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61902 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61903 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61904 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61905 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61910 2010-10-22 Andreas Schwab <schwab@redhat.com>
61912 * include/dlfcn.h (__RTLD_SECURE): Define.
61913 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61914 mode & __RTLD_SECURE instead.
61915 (open_path): Rename preloaded parameter to secure.
61916 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61917 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61918 * elf/dl-deps.c (openaux): Likewise.
61919 * elf/rtld.c (struct map_args): Remove is_preloaded.
61920 (map_doit): Don't use it.
61921 (dl_main): Likewise.
61922 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61923 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61925 2010-09-09 Andreas Schwab <schwab@redhat.com>
61927 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61928 (sysd-rules-targets): Remove duplicates.
61929 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61930 rtld-%.$o dependency.
61932 2010-10-18 Andreas Schwab <schwab@redhat.com>
61934 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61935 _dl_map_object do it.
61937 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61939 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61940 fast fma builtins, define the macros in the C99 standard.
61941 (FP_FAST_FMAF): Likewise.
61942 (FP_FAST_FMAL): Likewise.
61943 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61945 * bits/mathdef.h: Update copyright year.
61946 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61948 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61950 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61951 builtins, define the macros in the C99 standard.
61952 (FP_FAST_FMAF): Likewise.
61953 (FP_FAST_FMAL): Likewise.
61954 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61956 (FP_FAST_FMAF): Likewise.
61958 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61961 * math/libm-test.inc (fma_test): Some new testcases.
61962 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61964 y and infinite z. Do multiplication by C already in long double.
61965 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61967 y and infinite z. Do bitwise or of inexact bit into u.d.
61968 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61969 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61970 * sysdeps/i386/fpu/s_fma.S: Removed.
61971 * sysdeps/i386/fpu/s_fmal.S: Removed.
61973 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61976 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61978 computation is not scheduled after fetestexcept. Fix value
61979 of minimum denormal long double.
61981 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61984 * math/libm-test.inc (fma_test): Add some more tests.
61985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61988 2010-10-15 Andreas Schwab <schwab@redhat.com>
61990 * scripts/data/localplt-s390-linux-gnu.data: New file.
61991 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61993 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61996 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61997 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61999 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62001 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62003 if one of x and y is very large and the other is subnormal.
62004 * sysdeps/s390/fpu/s_fmaf.c: New file.
62005 * sysdeps/s390/fpu/s_fma.c: New file.
62006 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62007 * sysdeps/powerpc/fpu/s_fma.S: New file.
62008 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62009 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62010 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62012 2010-10-12 Jakub Jelinek <jakub@redhat.com>
62015 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62017 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62018 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62019 * sysdeps/i386/i686/multiarch/s_fma.c: Include
62020 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62021 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62022 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62023 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62025 2010-10-12 Ulrich Drepper <drepper@redhat.com>
62028 * posix/regcomp.c (parse_branch): One more memory leak plugged.
62029 * posix/bug-regex31.input: Add test case.
62031 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62033 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62034 * posix/bug-regex31.input: New file.
62037 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62038 (parse_sub_exp): Fix last change, use postorder.
62040 * posix/bug-regex31.c: New file.
62041 * posix/Makefile: Add rules to build and run bug-regex31.
62043 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62046 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62049 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62050 to have entries in sys_siglist.
62053 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62056 2010-10-07 Jakub Jelinek <jakub@redhat.com>
62059 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62060 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62061 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62062 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62063 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62064 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62065 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62066 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62067 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62068 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62069 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62070 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62071 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62072 * math/ftestexcept.c (fetestexcept): Likewise.
62073 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62074 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62075 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62077 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62078 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62081 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62084 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62087 2010-10-06 Ulrich Drepper <drepper@gmail.com>
62089 * string/bug-strstr1.c: New file.
62090 * string/Makefile: Add rules to build and run bug-strstr1.
62092 2010-10-05 Eric Blake <eblake@redhat.com>
62095 * string/str-two-way.h (two_way_long_needle): Always clear memory
62096 when skipping input due to the shift table.
62098 2010-10-03 Ulrich Drepper <drepper@gmail.com>
62101 * malloc/mcheck.c: Handle large requests.
62104 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62105 for strncmp and strncasecmp.
62106 * string/stratcliff.c: Add tests for strcmp and strncmp.
62107 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62109 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62111 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62114 2010-09-30 Andreas Jaeger <aj@suse.de>
62116 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62117 (CGROUP_SUPER_MAGIC): Define.
62118 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62119 Handle btrfs and cgroup file systems.
62120 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62123 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
62125 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62126 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62128 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62131 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62132 trying to locate the ELF header.
62134 2010-09-27 Andreas Schwab <schwab@redhat.com>
62137 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62138 Mask out sign-bit copies when constructing f_fsid.
62140 2010-09-24 Petr Baudis <pasky@suse.cz>
62142 * debug/stack_chk_fail_local.c: Add missing licence exception.
62143 * debug/warning-nop.c: Likewise.
62145 2010-09-15 Joseph Myers <joseph@codesourcery.com>
62147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62148 implementing getdents64 using getdents syscall, set d_type if
62149 __ASSUME_GETDENTS32_D_TYPE.
62151 2010-09-16 Andreas Schwab <schwab@redhat.com>
62153 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62154 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62156 2010-09-21 Ulrich Drepper <drepper@redhat.com>
62159 * posix/unistd.h: Undo change of feature selection for ftruncate from
62162 2010-09-20 Ulrich Drepper <drepper@redhat.com>
62164 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62167 2010-09-20 Andreas Schwab <schwab@redhat.com>
62169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62173 2010-09-14 Andreas Schwab <schwab@redhat.com>
62175 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62176 variables after CHECK_SP call.
62177 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62179 2010-09-13 Andreas Schwab <schwab@redhat.com>
62180 Ulrich Drepper <drepper@redhat.com>
62182 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62183 re-relocationg ld.so.
62184 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62185 _dl_init_paths call.
62186 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
62189 2010-09-14 Ulrich Drepper <drepper@redhat.com>
62191 * resolv/res_init.c (__res_vinit): Count the default server we added.
62193 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
62194 Ulrich Drepper <drepper@redhat.com>
62197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62198 (____longjmp_chk): Use %ebx for saving value across system call.
62201 2010-09-06 Andreas Schwab <schwab@redhat.com>
62203 * manual/Makefile: Don't mix pattern rules with normal rules.
62205 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
62207 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62209 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62210 * libio/iofopncook.c (_IO_cookie_init): Likewise.
62211 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62212 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62216 2010-09-04 Ulrich Drepper <drepper@redhat.com>
62219 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62220 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62222 2010-09-02 Ulrich Drepper <drepper@redhat.com>
62224 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62225 * sysdeps/x86_64/addmul_1.S: Likewise.
62226 * sysdeps/x86_64/lshift.S: Likewise.
62227 * sysdeps/x86_64/mul_1.S: Likewise.
62228 * sysdeps/x86_64/rshift.S: Likewise.
62229 * sysdeps/x86_64/sub_n.S: Likewise.
62230 * sysdeps/x86_64/submul_1.S: Likewise.
62232 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
62234 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62235 Define __sched_param instead of SCHED_* and sched_param when
62236 <bits/sched.h> is included with __need_schedparam defined.
62237 * bits/sched.h [__need_schedparam]
62238 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62239 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62240 (__defined_schedparam): Define to 1.
62241 (__sched_param): New structure, identical to sched_param.
62242 (__need_schedparam): Undefine.
62244 2010-08-31 Mike Frysinger <vapier@gentoo.org>
62246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62247 (epoll_create1): Declare.
62249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62251 2010-08-31 Andreas Schwab <schwab@redhat.com>
62254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62255 shifting retval into place.
62257 2010-09-01 Ulrich Drepper <drepper@redhat.com>
62259 * nis/rpcsvc/nis.h: Update copyright notice.
62260 * nis/rpcsvc/nis.x: Likewise.
62261 * nis/rpcsvc/nis_callback.h: Likewise.
62262 * nis/rpcsvc/nis_callback.x: Likewise.
62263 * nis/rpcsvc/nis_object.x: Likewise.
62264 * nis/rpcsvc/nis_tags.h: Likewise.
62265 * nis/rpcsvc/yp.h: Likewise.
62266 * nis/rpcsvc/yp.x: Likewise.
62267 * nis/rpcsvc/ypupd.h: Likewise.
62268 * nis/yp_xdr.c: Likewise.
62269 * nis/ypupdate_xdr.c: Likewise.
62271 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
62272 mainly the body of pmap_getport. Add parameters to specify timeouts.
62273 (pmap_getport): Use __libc_rpc_getport.
62274 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62275 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62276 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62278 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
62280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62283 2010-08-27 Roland McGrath <roland@redhat.com>
62285 * sysdeps/i386/i686/multiarch/Makefile
62286 (CFLAGS-varshift.c): New variable.
62288 2010-08-27 Ulrich Drepper <drepper@redhat.com>
62290 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62291 * sysdeps/i386/i686/multiarch/varshift.c: New file.
62293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62295 * sysdeps/x86_64/strlen.S: Minimal code improvement.
62297 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
62299 * sysdeps/x86_64/strlen.S: Unroll the loop.
62300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62301 strlen-sse2 strlen-sse2-bsf.
62302 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62303 __strlen_no_bsf if bit_Slow_BSF is set.
62304 (__strlen_sse42): Removed.
62305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62306 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62308 2010-08-25 Roland McGrath <roland@redhat.com>
62310 * sysdeps/x86_64/multiarch/varshift.S: File removed.
62311 * sysdeps/x86_64/multiarch/varshift.c: New file.
62312 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62313 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62314 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62317 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
62319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62320 strlen-sse2 strlen-sse2-bsf.
62321 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62322 __strlen_sse2_bsf if bit_Slow_BSF is unset.
62323 (__strlen_sse2): Removed.
62324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62327 bit_Slow_BSF for Atom.
62328 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62329 (index_Slow_BSF): Define.
62330 (HAS_SLOW_BSF): Define.
62332 2010-08-25 Ulrich Drepper <drepper@redhat.com>
62335 * resolv/res_init.c (__res_vinit): When no server address at all
62336 is given default to loopback.
62338 2010-08-24 Roland McGrath <roland@redhat.com>
62340 * configure.in: Remove config-name.h generation.
62341 * configure: Regenerated.
62342 * config-name.in: File removed.
62343 * scripts/config-uname.sh: New file.
62344 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62345 ($(objdir)config-name.h): New target.
62347 * sunrpc/rpc_parse.h: Avoid nested comment.
62349 2010-08-24 Richard Henderson <rth@redhat.com>
62350 Ulrich Drepper <drepper@redhat.com>
62351 H.J. Lu <hongjiu.lu@intel.com>
62353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62355 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62356 Replace _mm_srli_si128 with __m128i_shift_right. Replace
62357 _mm_alignr_epi8 with _mm_loadu_si128.
62358 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62359 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62360 (__m128i_shift_right): Removed.
62361 * sysdeps/i386/i686/multiarch/varshift.h: New file.
62362 * sysdeps/i386/i686/multiarch/varshift.S: New file.
62363 * sysdeps/x86_64/multiarch/varshift.h: New file.
62364 * sysdeps/x86_64/multiarch/varshift.S: New file.
62366 2010-08-21 Mike Frysinger <vapier@gentoo.org>
62368 * configure.in: Move assembler checks to before sysdep dir checking.
62370 2010-08-20 Petr Baudis <pasky@suse.cz>
62372 * LICENSES: Sync the sunrpc license.
62374 2010-08-19 Ulrich Drepper <drepper@redhat.com>
62376 * sunrpc/auth_des.c: Update copyright notice once again.
62377 * sunrpc/auth_none.c: Likewise.
62378 * sunrpc/auth_unix.c: Likewise.
62379 * sunrpc/authdes_prot.c: Likewise.
62380 * sunrpc/authuxprot.c: Likewise.
62381 * sunrpc/bindrsvprt.c: Likewise.
62382 * sunrpc/clnt_gen.c: Likewise.
62383 * sunrpc/clnt_perr.c: Likewise.
62384 * sunrpc/clnt_raw.c: Likewise.
62385 * sunrpc/clnt_simp.c: Likewise.
62386 * sunrpc/clnt_tcp.c: Likewise.
62387 * sunrpc/clnt_udp.c: Likewise.
62388 * sunrpc/clnt_unix.c: Likewise.
62389 * sunrpc/des_crypt.c: Likewise.
62390 * sunrpc/des_soft.c: Likewise.
62391 * sunrpc/get_myaddr.c: Likewise.
62392 * sunrpc/getrpcport.c: Likewise.
62393 * sunrpc/key_call.c: Likewise.
62394 * sunrpc/key_prot.c: Likewise.
62395 * sunrpc/openchild.c: Likewise.
62396 * sunrpc/pm_getmaps.c: Likewise.
62397 * sunrpc/pm_getport.c: Likewise.
62398 * sunrpc/pmap_clnt.c: Likewise.
62399 * sunrpc/pmap_prot.c: Likewise.
62400 * sunrpc/pmap_prot2.c: Likewise.
62401 * sunrpc/pmap_rmt.c: Likewise.
62402 * sunrpc/rpc/auth.h: Likewise.
62403 * sunrpc/rpc/auth_unix.h: Likewise.
62404 * sunrpc/rpc/clnt.h: Likewise.
62405 * sunrpc/rpc/des_crypt.h: Likewise.
62406 * sunrpc/rpc/key_prot.h: Likewise.
62407 * sunrpc/rpc/netdb.h: Likewise.
62408 * sunrpc/rpc/pmap_clnt.h: Likewise.
62409 * sunrpc/rpc/pmap_prot.h: Likewise.
62410 * sunrpc/rpc/pmap_rmt.h: Likewise.
62411 * sunrpc/rpc/rpc.h: Likewise.
62412 * sunrpc/rpc/rpc_des.h: Likewise.
62413 * sunrpc/rpc/rpc_msg.h: Likewise.
62414 * sunrpc/rpc/svc.h: Likewise.
62415 * sunrpc/rpc/svc_auth.h: Likewise.
62416 * sunrpc/rpc/types.h: Likewise.
62417 * sunrpc/rpc/xdr.h: Likewise.
62418 * sunrpc/rpc_clntout.c: Likewise.
62419 * sunrpc/rpc_cmsg.c: Likewise.
62420 * sunrpc/rpc_common.c: Likewise.
62421 * sunrpc/rpc_cout.c: Likewise.
62422 * sunrpc/rpc_dtable.c: Likewise.
62423 * sunrpc/rpc_hout.c: Likewise.
62424 * sunrpc/rpc_main.c: Likewise.
62425 * sunrpc/rpc_parse.c: Likewise.
62426 * sunrpc/rpc_parse.h: Likewise.
62427 * sunrpc/rpc_prot.c: Likewise.
62428 * sunrpc/rpc_sample.c: Likewise.
62429 * sunrpc/rpc_scan.c: Likewise.
62430 * sunrpc/rpc_scan.h: Likewise.
62431 * sunrpc/rpc_svcout.c: Likewise.
62432 * sunrpc/rpc_tblout.c: Likewise.
62433 * sunrpc/rpc_util.c: Likewise.
62434 * sunrpc/rpc_util.h: Likewise.
62435 * sunrpc/rpcinfo.c: Likewise.
62436 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62437 * sunrpc/rpcsvc/key_prot.x: Likewise.
62438 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62439 * sunrpc/rpcsvc/mount.x: Likewise.
62440 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62441 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62442 * sunrpc/rpcsvc/rex.x: Likewise.
62443 * sunrpc/rpcsvc/rstat.x: Likewise.
62444 * sunrpc/rpcsvc/rusers.x: Likewise.
62445 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62446 * sunrpc/rpcsvc/spray.x: Likewise.
62447 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62448 * sunrpc/rtime.c: Likewise.
62449 * sunrpc/svc.c: Likewise.
62450 * sunrpc/svc_auth.c: Likewise.
62451 * sunrpc/svc_authux.c: Likewise.
62452 * sunrpc/svc_raw.c: Likewise.
62453 * sunrpc/svc_run.c: Likewise.
62454 * sunrpc/svc_simple.c: Likewise.
62455 * sunrpc/svc_tcp.c: Likewise.
62456 * sunrpc/svc_udp.c: Likewise.
62457 * sunrpc/svc_unix.c: Likewise.
62458 * sunrpc/svcauth_des.c: Likewise.
62459 * sunrpc/xcrypt.c: Likewise.
62460 * sunrpc/xdr.c: Likewise.
62461 * sunrpc/xdr_array.c: Likewise.
62462 * sunrpc/xdr_float.c: Likewise.
62463 * sunrpc/xdr_mem.c: Likewise.
62464 * sunrpc/xdr_rec.c: Likewise.
62465 * sunrpc/xdr_ref.c: Likewise.
62466 * sunrpc/xdr_sizeof.c: Likewise.
62467 * sunrpc/xdr_stdio.c: Likewise.
62469 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62472 2010-08-19 Andreas Schwab <schwab@redhat.com>
62474 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62476 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62478 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62479 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62480 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62481 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62483 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62484 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62485 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62487 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62488 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62490 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62491 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62493 2010-07-26 Anton Blanchard <anton@samba.org>
62495 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62496 * malloc/arena.c (heap_trim): Likewise.
62498 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62500 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62502 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62503 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62505 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62507 * sysdeps/i386/elf/Makefile: New file.
62509 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62511 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62512 from fanotify_init.
62513 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62516 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62518 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62520 * sysdeps/multiarch/strcmp.S: Likewise.
62522 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62524 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62525 strncase_l-nonascii.
62526 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62527 Add strncase_l-ssse3.
62528 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62529 * sysdeps/x86_64/strcmp.S: Likewise.
62530 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62531 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62532 * sysdeps/x86_64/strncase.S: New file.
62533 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62534 * sysdeps/x86_64/strncase_l.S: New file.
62535 * string/Makefile (strop-tests): Add strncasecmp.
62536 * string/test-strncasecmp.c: New file.
62538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62541 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62542 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62544 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62546 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62548 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62550 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62552 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62554 2010-05-01 Alan Modra <amodra@gmail.com>
62556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62557 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62558 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62559 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62560 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62561 tidying. Don't tail-call __sigjmp_save for static lib.
62562 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62564 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62565 (CALL_MCOUNT): Add eh info, and nop after bl.
62566 (TAIL_CALL_SYSCALL_ERROR): New macro.
62567 (PSEUDO_RET): Use it.
62568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62569 Correct save location of integer regs and cr.
62570 (_dl_profile_resolve): Correct cr save location. Delete nops
62571 after bl when SHARED. Reduce cfi size a little by better
62572 placement of cfi directives.
62573 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62574 make a stack frame. Instead use parm save area as a temp.
62575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62576 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62578 Don't make a stack frame for parent, use parm save area.
62579 Increase child stack frame to 112 bytes. Don't save unused reg,
62580 and adjust reg usage. Set up cfi on error recovery and
62581 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62583 (__makecontext): Add dummy nop after jump to exit.
62584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62585 Use correct parm save area and cr save, reduce stack frame.
62586 Correct cfi for possible PSEUDO_RET frame setup.
62587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62588 Branch to local label emitted by PSEUDO_RET rather than
62591 2010-08-12 Andreas Schwab <schwab@redhat.com>
62594 * locale/programs/locale.c (print_assignment): New function.
62595 (show_locale_vars): Use it.
62597 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62599 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62601 (struct statfs64): Likewise.
62602 (_STATFS_F_FLAGS): Define.
62603 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62605 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62606 (ST_VALID): Define locally.
62607 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62608 __statvfs_getflags, use the provided value.
62609 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62610 __ASSUME_STATFS_F_FLAGS.
62612 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62615 Add sys/fanotify.h.
62616 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62617 fanotify_mask for GLIBC_2.13.
62618 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62619 fanotify_init and fanotify_mark.
62620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62621 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62623 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62625 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62626 prlimit64 for GLIBC_2.13.
62627 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62632 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62633 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62635 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62637 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62640 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62641 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62643 * nss/Makefile: Add rules to build and run tst-nss-test1.
62644 * shlib-versions: Add entry for libnss_test1.
62645 * nss/nss_test1.c: New file.
62646 * nss/tst-nss-test1.c: New file.
62648 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62649 (__nss_configure_lookup): Set appropriate entry in
62650 __nss_configure_lookup to true.
62651 * nss/nsswitch.h: Define enum with indeces of databases in
62652 databases and __nss_database_custom arrays. Declare
62653 __nss_database_custom.
62654 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62655 to avoid using nscd when custom rules are installed.
62656 * nss/getXXbyYY_r.c: Likewise.
62657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62659 * nss/nss_files/files-parse.c: Whitespace fixes.
62661 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62664 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62665 * posix/fnmatch_loop.c: Likewise.
62667 2010-07-17 Andi Kleen <ak@linux.intel.com>
62669 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62670 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62671 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62672 * Versions.def [GLIBC_2.13]: Add.
62674 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62676 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62677 Also fail if tpwd after pwuid call is NULL.
62679 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62681 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62682 when converting to ms.
62684 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62686 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62687 EOPNOTSUPP errors with ENOTTY.
62688 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62689 EOPNOTSUPP errors with ENOTTY.
62691 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62694 Add strcasecmp_l-ssse3.
62695 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62697 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62698 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62699 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62701 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62703 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62705 * string/Makefile (strop-tests): Add strcasecmp.
62706 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62707 strcasecmp_l-nonascii.
62708 (gen-as-const-headers): Add locale-defines.sym.
62709 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62710 * sysdeps/x86_64/strcasecmp.S: New file.
62711 * sysdeps/x86_64/strcasecmp_l.S: New file.
62712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62713 * sysdeps/x86_64/locale-defines.sym: New file.
62714 * string/test-strcasecmp.c: New file.
62716 * string/test-strcasestr.c: Test both ends of the range of characters.
62717 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62719 2010-07-29 Roland McGrath <roland@redhat.com>
62722 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62724 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62726 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62729 2010-07-27 Andreas Schwab <schwab@redhat.com>
62731 * manual/memory.texi (Malloc Tunable Parameters): Document
62734 2010-07-26 Roland McGrath <roland@redhat.com>
62737 * configure.in (-fgnu89-inline check): Set and substitute
62738 gnu89_inline, not libc_cv_gnu89_inline.
62739 * configure: Regenerated.
62740 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62742 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62744 * string/test-strnlen.c: New file.
62745 * string/Makefile (strop-tests): Add strnlen.
62746 * string/tester.c (test_strnlen): Add a few more test cases.
62747 * string/tst-strlen.c: Better error reporting.
62749 * sysdeps/x86_64/strnlen.S: New file.
62751 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62753 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62754 lower-latency instructions.
62756 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62758 * string/test-strcasestr.c: New file.
62759 * string/test-strstr.c: New file.
62760 * string/Makefile (strop-tests): Add strstr and strcasestr.
62761 * string/str-two-way.h: Don't undefine MAX.
62762 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62764 2010-07-21 Andreas Schwab <schwab@redhat.com>
62766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62767 strcasestr-nonascii.
62768 (CFLAGS-strcasestr-nonascii.c): Define.
62769 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62770 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62771 Remove unused attribute.
62773 2010-07-20 Roland McGrath <roland@redhat.com>
62775 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62776 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62777 ld.so.cache was broken. With it, there is no way to disable dsocaps
62778 like LD_HWCAP_MASK can disable hwcaps.
62780 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62782 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62784 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62786 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62787 call in strcasestr.
62788 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62789 __strcasestr_sse42_nonascii.
62790 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62791 strcasestr-nonascii.c.
62792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62794 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62801 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62803 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62806 2010-07-06 Andreas Schwab <schwab@redhat.com>
62809 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62812 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62814 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62815 _PC_PIPE_BUF using F_GETPIPE_SZ.
62817 2010-07-05 Roland McGrath <roland@redhat.com>
62819 * manual/arith.texi (Rounding Functions): Fix rint description
62820 implicit in round description.
62822 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62824 * elf/Makefile: Fix linking for a few tests to make recent linker
62827 2010-06-30 Andreas Schwab <schwab@redhat.com>
62829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62830 $(common-objpfx)libc_nonshared.a.
62832 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62834 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62835 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62836 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62838 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62839 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62841 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62856 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62857 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62858 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62859 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62860 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62861 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62862 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62863 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62864 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62865 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62866 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62867 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62883 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62885 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62886 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62887 * string/memmove.c (memmove): Renamed to ...
62888 (MEMMOVE): ...this. Default to memmove.
62889 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62890 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62893 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62894 mempcpy-ssse3-back memmove-ssse3-back.
62895 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62898 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62899 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62900 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62901 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62902 * sysdeps/x86_64/multiarch/memmove.c: New file.
62903 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62904 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62905 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62906 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62910 (index_Fast_Copy_Backward): Define.
62911 (HAS_ARCH_FEATURE): Define.
62912 (HAS_FAST_REP_STRING): Define.
62913 (HAS_FAST_COPY_BACKWARD): Define.
62915 2010-06-21 Andreas Schwab <schwab@redhat.com>
62917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62918 Restore proper fallback handling.
62920 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62923 * posix/group_member.c (__group_member): Correct checking loop.
62925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62926 OOM in getpwuid_r correctly. Return error number when the caller
62927 should return, otherwise -1.
62928 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62929 call returning > 0 value.
62930 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62932 2010-06-07 Andreas Schwab <schwab@redhat.com>
62934 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62935 libc_nonshared.a from targets in modules-names.
62937 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62939 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62942 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62946 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62947 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62949 2010-06-02 Andreas Schwab <schwab@redhat.com>
62951 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62953 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62960 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62964 2010-06-14 Roland McGrath <roland@redhat.com>
62966 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62968 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62970 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62971 __REDIRECT followed by __THROW.
62972 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62973 * posix/getopt.h (getopt): Likewise.
62975 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62977 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62978 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62979 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62981 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62982 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62984 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62988 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62992 Properly check family and model.
62994 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62998 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
63000 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63002 2010-05-21 Ulrich Drepper <drepper@redhat.com>
63004 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63007 2010-05-19 Andreas Schwab <schwab@redhat.com>
63009 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63012 2010-05-21 Andreas Schwab <schwab@redhat.com>
63014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63015 and internal_recvmmsg.
63016 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63017 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63019 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63021 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63022 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63023 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63025 2010-05-20 Andreas Schwab <schwab@redhat.com>
63027 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63029 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
63031 POWER7 optimizations.
63032 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63033 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63035 2010-05-19 Ulrich Drepper <drepper@redhat.com>
63037 * version.h: Update for 2.13 development version.
63039 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
63041 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63042 exceptions. Return 0.
63044 2010-05-07 Roland McGrath <roland@redhat.com>
63046 * elf/ldconfig.c (main): Add a const.
63048 2010-05-06 Ulrich Drepper <drepper@redhat.com>
63050 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63051 (args_options): Add no-idn option.
63052 (ahosts_keys_int): Add idn_flags to ai_flags.
63053 (parse_option): Handle 'i' option to clear idn_flags.
63055 * malloc/malloc.c (_int_free): Possible race in the most recently
63056 added check. Only act on the data if no current modification
63059 See ChangeLog.17 for earlier changes.