1 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
4 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
5 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8 LOAD_REGS_5, LOAD_REGS_6): Update.
9 (INTERNAL_SYSCALL): Update using new LOAD defines.
10 (INTERNAL_SYSCALL_NCS): Likewise.
11 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21 * catgets/Makefile (tst-catgets-mem): New test.
22 * catgets/catgets.c (catopen): Don't use unbounded alloca.
23 * catgets/open_catalog.c (__open_catalog): Likewise.
24 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
29 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31 (atomic_compare_and_exchange_val_acq): Use register asms to assign
32 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
33 Cast return to __typeof (oldval).
35 2015-08-08 Mike Frysinger <vapier@gentoo.org>
37 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
38 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
39 and delete sys/syscall.h include.
41 2015-08-07 Joseph Myers <joseph@codesourcery.com>
44 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
45 (tan): Force underflow exception for arguments with small absolute
47 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
48 (__kernel_tanf): Force underflow exception for arguments with
50 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
51 (__kernel_tanl): Force underflow exception for arguments with
53 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
54 (__kernel_tanl): Force underflow exception for arguments with
56 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
57 (__kernel_tanl): Force underflow exception for arguments with
59 * math/auto-libm-test-in: Add more tests of tan.
60 * math/auto-libm-test-out: Regenerated.
62 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
64 Fix sysdeps/i386/fpu/s_scalbn.S build
66 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
68 2015-08-07 Mike Frysinger <vapier@gentoo.org>
70 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
72 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
74 Fix gcrt0.o compilation
76 When static-start-installed-name is different from
77 start-installed-name, we must not use the shared objects.
80 (extra-objs): Add gmon-start.o when building shared library and
81 $(static-start-installed-name) is different from
82 $(start-installed-name).
83 $(objpfx)g$(static-start-installed-name): When building shared
84 library and $(static-start-installed-name) is different from
85 $(static-start-installed-name), revert to non-shared rule,
86 i.e. using $(objpfx)% and gmon-start.o.
88 2015-08-06 Joseph Myers <joseph@codesourcery.com>
91 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
92 (__ieee754_sinh): Force underflow exception for arguments with
94 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
95 (__ieee754_sinhf): Force underflow exception for arguments with
97 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
98 (__ieee754_sinhl): Force underflow exception for arguments with
100 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
101 (__ieee754_sinhl): Force underflow exception for arguments with
102 small absolute value.
103 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
104 (__ieee754_sinhl): Force underflow exception for arguments with
105 small absolute value.
106 * math/auto-libm-test-in: Add more tests of sinh.
107 * math/auto-libm-test-out: Regenerated.
108 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
112 * libio/oldfileops.c: Include unistd.h.
114 2015-08-06 Mike Frysinger <vapier@gentoo.org>
116 * stdlib/isomac.c: Include ctype.h.
118 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
120 * dirent/tst-seekdir.c (main): Converted to ...
122 (TEST_FUNCTION): New macro.
123 Include test-skeleton.c.
124 * elf/tst-dlmodcount.c (main): Converted to ...
126 (TEST_FUNCTION): New macro.
127 Include test-skeleton.c.
128 * elf/tst-order-main.c (main): Converted to ...
130 (TEST_FUNCTION): New macro.
131 Include test-skeleton.c.
132 * elf/tst-pie2.c (main): Converted to ...
134 (TEST_FUNCTION): New macro.
135 Include test-skeleton.c.
136 * inet/tst-ether_aton.c (main): Converted to ...
138 (TEST_FUNCTION): New macro.
139 Include test-skeleton.c.
140 * misc/tst-mntent.c (main): Converted to ...
142 (TEST_FUNCTION): New macro.
143 Include test-skeleton.c.
144 * misc/tst-tsearch.c (main): Converted to ...
146 (TEST_FUNCTION): New macro.
147 Include test-skeleton.c.
148 * posix/tst-regexloc.c (main): Converted to ...
150 (TEST_FUNCTION): New macro.
151 Include test-skeleton.c.
152 * resolv/tst-aton.c (main): Converted to ...
154 (TEST_FUNCTION): New macro.
155 Include test-skeleton.c.
156 * stdio-common/test-fwrite.c (main): Converted to ...
158 (TEST_FUNCTION): New macro.
159 Include test-skeleton.c.
160 * stdio-common/tst-ferror.c (main): Converted to ...
162 (TEST_FUNCTION): New macro.
163 Include test-skeleton.c.
164 * stdio-common/tst-printf.c (main): Converted to ...
166 (TEST_FUNCTION): New macro.
167 Include test-skeleton.c.
168 * stdio-common/tst-printfsz.c (main): Converted to ...
170 (TEST_FUNCTION): New macro.
171 Include test-skeleton.c.
172 * stdlib/tst-strtod.c (main): Converted to ...
174 (TEST_FUNCTION): New macro.
175 Include test-skeleton.c.
176 * string/tst-strlen.c (main): Converted to ...
178 (TEST_FUNCTION): New macro.
179 Include test-skeleton.c.
180 * string/tst-svc.c (main): Converted to ...
182 (TEST_FUNCTION): New macro.
183 Include test-skeleton.c.
184 * time/tst-strptime.c (main): Converted to ...
186 (TEST_FUNCTION): New macro.
187 Include test-skeleton.c.
188 * timezone/tst-timezone.c (main): Converted to ...
190 (TEST_FUNCTION): New macro.
191 Include test-skeleton.c.
193 2015-08-05 Zack Weinberg <zackw@panix.com>
195 * misc/regexp.h: Update comments.
197 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
200 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
203 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
206 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
207 when calling __errno_location.
208 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
209 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
211 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
214 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
215 (__lll_timedwait_tid): Align stack to 16 bytes when calling
218 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
221 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
222 (__start_context): Don't use pop to restore %rdi so that stack
223 is aligned to 16 bytes when calling __setcontext.
225 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
227 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
229 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
231 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
233 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
234 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
235 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
237 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
239 * string/memccpy.c (memccpy):
240 Improve performance by using memchr/memcpy/__mempcpy.
242 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
244 * string/strncpy.c (strncpy):
245 Improve performance by using __strnlen/memcpy.
247 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
249 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
250 Optimize to avoid an unnecessary FPCR read.
252 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
254 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
255 Optimize to reduce FPCR/FPSR accesses.
257 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
259 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
260 dead->data[category] != NULL.
262 2015-08-05 Joseph Myers <joseph@codesourcery.com>
265 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
266 and |x| close to 1, use absolute value of x when computing log.
267 * math/auto-libm-test-in: Add more tests of pow.
268 * math/auto-libm-test-out: Regenerated.
270 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
272 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
273 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
274 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
276 2015-08-05 Marko Myllynen <myllynen@redhat.com>
279 * locales/km_KH: Remove timezone definition.
280 * locales/lo_LA: Likewise.
281 * locales/my_MM: Likewise.
282 * locales/nan_TW@latin: Likewise.
283 * locales/th_TH: Likewise.
284 * locales/uk_UA: Likewise.
286 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
289 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
294 2015-08-05 Mike Frysinger <vapier@gentoo.org>
296 * test-skeleton.c (usage): New function.
297 (main): Call usage when opt is '?'.
299 2015-08-05 Mike Frysinger <vapier@gentoo.org>
301 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
304 2015-08-05 Mike Frysinger <vapier@gentoo.org>
306 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
307 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
310 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
312 * version.h (RELEASE): Set to "development".
313 (VERSION): Set to "2.22.90"
315 * version.h (RELEASE): Set to "stable".
316 (VERSION): Set to "2.22"
317 * include/features.h (__GLIBC_MINOR__): Set to 22.
319 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
321 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
322 Restructure macro to avoid "value computed is not used" warning.
323 (atomic_compare_and_exchange_val_acq): Likewise.
325 2015-08-04 Andreas Schwab <schwab@suse.de>
328 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
330 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
332 2015-08-01 Carlos O'Donell <carlos@redhat.com>
334 * po/pl.po: Updated translation.
335 * po/uk.po: Likewise.
336 * po/fi.po: Likewise.
337 * po/ko.po: Likewise.
338 * po/ru.po: Likewise.
339 * po/vi.po: Likewise.
341 2015-07-31 Zack Weinberg <zackw@panix.com>
344 * regexp.h: Add unconditional #warning stating that this header
345 will be removed soon. Revise banner comment to match.
346 (compile): Consistently use ERROR instead of RETURN to report
347 errors (partial fix for bz#18681).
348 * regexp.c: Don't include regexp.h. Remove some unnecessary
351 2015-07-31 Carlos O'Donell <carlos@redhat.com>
353 * po/libc.pot: Regenerated.
355 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
358 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
359 float-vlen4-arch-ext-cflags): Removed.
360 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
361 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
363 2015-07-30 Mike Frysinger <vapier@gentoo.org>
366 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
367 aligned to __aligned__.
368 (pthread_cond_t, pthread_rwlock_t): Likewise.
370 2015-07-30 Torvald Riegel <triegel@redhat.com>
372 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
374 2015-07-30 Mike Frysinger <vapier@gentoo.org>
376 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
377 (struct sigaction): Change sa_flags from a long to an int, and add
378 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
380 2015-07-30 Mike Frysinger <vapier@gentoo.org>
382 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
383 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
384 sysdeps/generic/sysdep.h include.
385 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
386 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
387 sysdeps/hppa/sysdep.h.
388 (ENTRY, PSEUDO): Undefine before defining.
390 2015-07-30 Mike Frysinger <vapier@gentoo.org>
392 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
393 from scratch to use INTERNAL_SYSCALL.
395 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
398 * scripts/check-localplt.awk: Support alternate relocations.
399 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
401 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
402 malloc entries with + REL R_386_GLOB_DAT.
403 * sysdeps/x86_64/localplt.data: New file.
405 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
408 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
409 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
410 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
412 2015-07-27 Mike Frysinger <vapier@gentoo.org>
414 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
416 2015-07-27 Mike Frysinger <vapier@gentoo.org>
418 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
419 directly in terms of __sync_fetch_and_add and delete (int) cast.
421 2015-07-27 Mike Frysinger <vapier@gentoo.org>
423 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
424 the -D_ASM_IA64_CURRENT_H flag.
426 2015-07-27 Mike Frysinger <vapier@gentoo.org>
429 * pwd/pwd.h (putpwent): Delete __nonnull markings.
431 2015-07-27 Andreas Schwab <schwab@suse.de>
433 * conform/conformtest.pl (checknamespace): Filter out string
434 literals while tokenizing.
436 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
438 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
439 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
440 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
442 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
444 * nptl/tst-join7mod.c: Add #include <string.h>.
446 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
448 * sysdeps/nios2/libm-test-ulps: Update.
450 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
452 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
453 Fix order of arguments to the rt_sigprocmask syscall.
454 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
457 2015-07-24 Roland McGrath <roland@hack.frob.com>
459 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
461 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
464 * nptl/Makefile (tests): New test case tst-join7.
465 (modules-names): New test case module tst-join7mod.
466 * nptl/tst-join7.c: New file.
467 * nptl/tst-join7mod.c: New file.
468 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
469 all translation units in libc.so, libpthread.so and rtld.
471 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
475 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
477 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
478 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
479 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
481 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
482 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
483 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
484 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
485 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
486 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
487 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
488 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
489 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
490 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
491 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
494 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
497 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
498 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
499 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
500 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
501 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
502 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
504 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
506 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
507 instead of just saying load lock in the comments.
509 2015-07-23 Roland McGrath <roland@hack.frob.com>
511 * sysdeps/unix/Subdirs: Moved ...
512 * sysdeps/posix/Subdirs: ... here.
513 * login/pty.h (struct termios, struct winsize): Add forward decls.
514 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
515 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
516 * sysdeps/arm/nacl/libc.abilist: Updated.
517 * sysdeps/nacl/libutil.abilist: New file.
519 * bits/signum.h: Update comments to mention 1003.1-2013 too.
520 (SIGWINCH): New macro.
522 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
523 * sysdeps/arm/nacl/libc.abilist: Add it.
525 2015-07-23 Mike Frysinger <vapier@gentoo.org>
527 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
529 2015-07-23 Mike Frysinger <vapier@gentoo.org>
531 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
532 Swap __glibc_reserved0 and sa_flags order.
534 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
537 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
538 are pending TLS destructor calls.
539 * include/link.h (struct link_map): Add concurrency note for
541 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
542 Don't touch the link map flag. Atomically increment
544 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
545 Avoid taking the load lock and don't touch the link map flag.
546 * stdlib/tst-tls-atexit-nodelete.c: New test case.
547 * stdlib/Makefile (tests): Use it.
548 * stdlib/tst-tls-atexit.c (do_test): dlopen
549 tst-tls-atexit-lib.so again before dlclose. Add conditionals
550 to allow tst-tls-atexit-nodelete test case to use it.
552 2015-07-22 Mike Frysinger <vapier@gentoo.org>
554 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
556 (msgqnum_t): New typedef.
557 (msglen_t): Likewise.
558 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
559 and msg_qbytes type to msglen_t.
561 2015-07-22 Mike Frysinger <vapier@gentoo.org>
563 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
564 pad0 to __glibc_reserved0.
565 (struct stat64): Likewise.
567 2015-07-22 Mike Frysinger <vapier@gentoo.org>
569 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
570 Change sa_flags from a long to an int and add __glibc_reserved0 before
573 2015-07-22 Mike Frysinger <vapier@gentoo.org>
575 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
576 anonymous by deleting "siginfo" name.
578 2015-07-21 Roland McGrath <roland@hack.frob.com>
580 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
581 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
582 rather than __nacl_irt_filename.
583 * sysdeps/nacl/xstat.c (__xstat): Likewise.
585 * NEWS: New item for arm-nacl port.
586 * sysdeps/arm/nacl/libc.abilist: New file.
587 * sysdeps/nacl/ld.abilist: New file.
588 * sysdeps/nacl/libBrokenLocale.abilist: New file.
589 * sysdeps/nacl/libanl.abilist: New file.
590 * sysdeps/nacl/libcrypt.abilist: New file.
591 * sysdeps/nacl/libdl.abilist: New file.
592 * sysdeps/nacl/libm.abilist: New file.
593 * sysdeps/nacl/libpthread.abilist: New file.
594 * sysdeps/nacl/libresolv.abilist: New file.
595 * sysdeps/nacl/librt.abilist: New file.
597 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
599 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
600 __startcontext to initialize the new context.
601 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
602 up CFI directive to forbid further backtracing.
604 2015-07-21 Marko Myllynen <myllynen@redhat.com>
606 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
608 * charmaps/ANSI_X3.4-1968: Likewise.
609 * charmaps/BS_4730: Likewise.
610 * charmaps/BS_VIEWDATA: Likewise.
611 * charmaps/CP1250: Likewise.
612 * charmaps/CP1251: Likewise.
613 * charmaps/CP1252: Likewise.
614 * charmaps/CP1253: Likewise.
615 * charmaps/CP1254: Likewise.
616 * charmaps/CP1255: Likewise.
617 * charmaps/CP1256: Likewise.
618 * charmaps/CSN_369103: Likewise.
619 * charmaps/EBCDIC-DK-NO: Likewise.
620 * charmaps/GB_1988-80: Likewise.
621 * charmaps/GREEK-CCITT: Likewise.
622 * charmaps/GREEK7: Likewise.
623 * charmaps/INIS-8: Likewise.
624 * charmaps/ISIRI-3342: Likewise.
625 * charmaps/ISO_2033-1983: Likewise.
626 * charmaps/ISO_5427-EXT: Likewise.
627 * locales/POSIX: Likewise.
628 * locales/ar_SA: Likewise.
629 * locales/be_BY: Likewise.
630 * locales/be_BY@latin: Likewise.
631 * locales/ca_ES: Likewise.
632 * locales/cs_CZ: Likewise.
633 * locales/da_DK: Likewise.
634 * locales/de_BE: Likewise.
635 * locales/de_CH: Likewise.
636 * locales/de_LU: Likewise.
637 * locales/en_AU: Likewise.
638 * locales/en_BW: Likewise.
639 * locales/en_CA: Likewise.
640 * locales/en_DK: Likewise.
641 * locales/en_GB: Likewise.
642 * locales/en_IE: Likewise.
643 * locales/en_NZ: Likewise.
644 * locales/en_ZA: Likewise.
645 * locales/en_ZW: Likewise.
646 * locales/es_AR: Likewise.
647 * locales/es_BO: Likewise.
648 * locales/es_CL: Likewise.
649 * locales/es_CO: Likewise.
650 * locales/es_DO: Likewise.
651 * locales/es_EC: Likewise.
652 * locales/es_ES: Likewise.
653 * locales/es_HN: Likewise.
654 * locales/es_MX: Likewise.
655 * locales/es_PA: Likewise.
656 * locales/es_PE: Likewise.
657 * locales/es_PY: Likewise.
658 * locales/es_SV: Likewise.
659 * locales/es_US: Likewise.
660 * locales/es_UY: Likewise.
661 * locales/es_VE: Likewise.
662 * locales/et_EE: Likewise.
663 * locales/fa_IR: Likewise.
664 * locales/fo_FO: Likewise.
665 * locales/fr_CA: Likewise.
666 * locales/fr_CH: Likewise.
667 * locales/gv_GB: Likewise.
668 * locales/he_IL: Likewise.
669 * locales/hr_HR: Likewise.
670 * locales/id_ID: Likewise.
671 * locales/is_IS: Likewise.
672 * locales/it_CH: Likewise.
673 * locales/iw_IL: Likewise.
674 * locales/kl_GL: Likewise.
675 * locales/ko_KR: Likewise.
676 * locales/kw_GB: Likewise.
677 * locales/lg_UG: Likewise.
678 * locales/lt_LT: Likewise.
679 * locales/lv_LV: Likewise.
680 * locales/mi_NZ: Likewise.
681 * locales/nhn_MX: Likewise.
682 * locales/nl_BE: Likewise.
683 * locales/pl_PL: Likewise.
684 * locales/sk_SK: Likewise.
685 * locales/sl_SI: Likewise.
686 * locales/sv_FI: Likewise.
687 * locales/tl_PH: Likewise.
688 * locales/tr_TR: Likewise.
689 * locales/vi_VN: Likewise.
691 2015-07-21 Khem Raj <raj.khem@gmail.com>
694 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
697 2015-07-21 Mike Frysinger <vapier@gentoo.org>
700 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
702 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
704 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
707 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
708 (spawn_thread): New function.
709 (load): Rename to reg_dtor_and_close. Move dlopen to...
710 (do_test): ... here. Use IS_LOADED to test for its
713 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
715 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
717 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
720 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
723 (si_upper): Likewise.
725 2015-07-16 David S. Miller <davem@davemloft.net>
727 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
729 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
731 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
733 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
734 fail output information.
736 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
741 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
742 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
743 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
744 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
746 2015-07-16 Mike Frysinger <vapier@gentoo.org>
748 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
749 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
750 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
751 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
753 2015-07-16 Mike Frysinger <vapier@gentoo.org>
755 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
756 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
758 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
760 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
762 * tst-nodelete-opened.c (do_test): Add comment to clarify how
765 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
768 * elf/tst-nodelete-opened.c: New test case.
769 * elf/tst-nodelete-opened-lib.c: New test case module.
770 * elf/Makefile (tests, modules-names): Use them.
771 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
774 2015-07-15 David S. Miller <davem@davemloft.net>
776 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
778 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
779 * sysdeps/sparc/sparc64/Makefile: Likewise.
780 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
781 Remove space from macro define.
782 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
784 2015-07-15 Pravin Satpute <psatpute@redhat.com>
787 * locale/iso-639.def: Update Bhili and Tulu language codes as
790 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
792 * elf/tst-leaks1.c (main): Converted to ...
794 (TEST_FUNCTION): New macro.
795 Include test-skeleton.c.
796 * localedata/tst-langinfo.c (main): Converted to ...
798 (TEST_FUNCTION): New macro.
799 Include test-skeleton.c.
800 * math/test-fpucw.c (main): Converted to ...
802 (TEST_FUNCTION): New macro.
803 Include test-skeleton.c.
804 * math/test-tgmath.c (main): Converted to ...
806 (TEST_FUNCTION): New macro.
807 Include test-skeleton.c.
808 * math/test-tgmath2.c (main): Converted to ...
810 (TEST_FUNCTION): New macro.
811 Include test-skeleton.c.
812 * setjmp/tst-setjmp.c (main): Converted to ...
814 (TEST_FUNCTION): New macro.
815 Include test-skeleton.c.
816 * stdio-common/tst-sscanf.c (main): Converted to ...
818 (TEST_FUNCTION): New macro.
819 Include test-skeleton.c.
820 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
822 (TEST_FUNCTION): New macro.
823 Include test-skeleton.c.
825 * elf/tst-audit9.c (main): Converted to ...
827 (TEST_FUNCTION): New macro.
828 Include test-skeleton.c.
830 2015-07-15 Mike Frysinger <vapier@gentoo.org>
832 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
834 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
836 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
839 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
841 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
843 2015-07-14 Roland McGrath <roland@hack.frob.com>
845 * sysdeps/generic/dl-fileid.h: New file.
846 * sysdeps/posix/dl-fileid.h: New file.
847 * sysdeps/nacl/dl-fileid.h: New file.
848 * include/link.h: Include <dl-fileid.h>.
849 (struct link_map): Replace l_dev and l_ino with l_file_id.
850 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
851 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
852 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
854 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
856 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
858 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
860 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
862 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
864 (tst-nodelete-zmodiff): Likewise.
865 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
867 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
869 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
871 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
873 * sysdeps/aarch64/fpu/math_private.h
874 (define math_opt_barrier): Add AArch64 version.
875 (math_force_eval): Likewise.
877 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
879 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
881 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
883 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
884 %ld with %jd and cast to intmax_t.
885 (do_test_length_zero): Likewise.
887 2015-07-10 Roland McGrath <roland@hack.frob.com>
889 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
891 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
893 * sysdeps/tile/libm-test-ulps: Regenerated.
895 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
896 Comment out the whole function, not just its body.
898 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
903 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
905 2015-07-10 Torvald Riegel <triegel@redhat.com>
907 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
908 (sem_assume_only_signals_cause_futex_EINTR): Remove.
910 2015-07-10 Torvald Riegel <triegel@redhat.com>
912 * sysdeps/nptl/futex-internal.h: New file.
913 * sysdeps/nacl/futex-internal.h: New file.
914 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
915 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
917 (setxid_unmark_thread): Likewise.
918 (__nptl_setxid): Likewise.
919 (__wait_lookup_done): Likewise.
920 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
921 * nptl/nptl-init.c (sighandler_setxid): Likewise.
922 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
923 * nptl/pthread_once.c (clear_once_control): Likewise.
924 (__pthread_once_slow): Likewise.
925 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
926 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
927 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
928 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
929 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
930 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
932 (__pthread_rwlock_rdlock): Likewise.
933 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
935 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
937 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
939 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
940 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
942 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
943 __ASSUME_PRIVATE_FUTEX check.
944 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
945 Check that shared futexes are supported.
946 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
947 wrappers with error checking.
948 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
949 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
950 * nptl/pthread_barrierattr_setpshared.c
951 (pthread_barrierattr_setpshared): Check that shared futexes are
953 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
955 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
957 * nptl/sem_init.c (futex_private_if_supported): Remove.
958 (__new_sem_init): Adapt and check that shared futexes are supported.
959 * nptl/sem_open.c (sem_open): Likewise.
960 * nptl/sem_post.c (futex_wake): Remove.
961 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
962 (do_futex_wait): Use futex wrappers with error checking.
963 * nptl/sem_wait.c: Include lowlevellock.h.
964 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
965 Use futex_supports_pshared.
966 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
967 Use futex wrappers with error checking.
968 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
970 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
971 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
972 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
973 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
974 (futex_wake): Likewise.
975 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
976 (do_futex_wait): Use futex wrappers with error checking.
977 (__new_sem_wait_slow): Update EINTR handling.
978 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
980 2015-07-09 Martin Sebor <msebor@redhat.com>
983 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
984 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
985 * nptl/Makefile (test-xfail-tst-once5): Define.
987 2015-07-09 Roland McGrath <roland@hack.frob.com>
989 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
990 * elf/dl-minimal.c: For readability, reorder some definitions and
991 introduce more page breaks. Include <stdio.h>.
992 (__libc_fatal): New function.
994 * include/unistd.h: Add rtld_hidden_proto for _exit.
995 * posix/_exit.c: Add rtld_hidden_def.
996 * sysdeps/mach/hurd/_exit.c: Likewise.
997 * sysdeps/nacl/_exit.c: Likewise.
998 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
999 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1001 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
1003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1004 bndmov encoding with zero displacement.
1006 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
1007 H.J. Lu <hongjiu.lu@intel.com>
1010 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1011 * sysdeps/i386/configure: Regenerated.
1012 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1013 (_dl_runtime_profile): Save and restore Intel MPX return bound
1014 registers when calling _dl_call_pltexit. Add
1015 PRESERVE_BND_REGS_PREFIX before return.
1016 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1017 (LRV_BND1_OFFSET): Likewise.
1018 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1021 typo in bndmov encoding.
1022 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1023 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
1024 branch instructions to preserve bounds.
1026 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1029 [GLIBC_2.22]: Add fmemopen.
1031 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
1033 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1034 returns an error, also try to use host port from __mach_host_self for
1036 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1038 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1042 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1043 Fix pr_uid and pr_gid members.
1044 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1045 definition to elf_greg_t.
1047 2015-07-08 Roland McGrath <roland@hack.frob.com>
1050 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1051 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1052 * sysdeps/arm/configure: Regenerated.
1053 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1054 (test-xfail-tst-tlsalign-static): Variable removed.
1056 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1057 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1058 rather than explicit 'ln -s'.
1060 * resolv/rpc/netdb.h: New file.
1061 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1063 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1065 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1067 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1076 * include/stdio.h (fmemopen): Remove hidden prototype.
1077 (__fmemopen): Add new hidden prototype.
1078 * libio/Makefile: Add oldfmemopen object.
1079 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1080 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1082 * libio/oldfmemopen.c: New file: old fmemopen implementation for
1083 symbol compatibility.
1084 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1085 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1087 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1088 on append and read mode.
1089 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1091 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1092 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1093 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1094 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1096 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1097 [GLIBC_2.22]: Likewise.
1098 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1100 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1103 [GLIBC_2.22]: Likewise.
1104 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1105 [GLIBC_2.22]: Likewise.
1106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1107 [GLIBC_2.22]: Likewise.
1108 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1109 [GLIBC_2.22]: Likewise.
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1111 [GLIBC_2.22]: Likewise.
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1113 [GLIBC_2.22]: Likewise.
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1115 [GLIBC_2.22]: Likewise.
1116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1118 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1120 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1121 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1122 [GLIBC_2.22]: Likewise.
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1124 [GLIBC_2.22]: Likewise.
1125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1126 [GLIBC_2.22]: Likewise.
1127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1128 [GLIBC_2.22]: Likewise.
1129 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1131 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1133 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1135 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1136 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1138 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1141 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1142 IPV6_PATHMTU, and IPV6_DONTFRAG.
1144 2015-07-08 Feng Gao <gfree.wind@gmail.com>
1146 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1148 * libio/oldfileops.c: Likewise.
1149 * libio/wfileops.c: Likewise.
1151 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1153 * nscd/selinux.c: Delete selinux/flask.h include.
1155 2015-07-08 Mike Frysinger <vapier@gentoo.org>
1158 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1159 (putpwent): Likewise.
1160 (getpwnam): Likewise.
1161 (getpwent_r): Likewise.
1162 (getpwuid_r): Likewise.
1163 (getpwnam_r): Likewise.
1164 (fgetpwent_r): Likewise.
1166 2015-07-08 Carlos O'Donell <carlos@redhat.com>
1169 * inet/rcmd.c (__validuser2_sa): Check user first to
1170 short-circuit host check.
1172 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
1173 Mikhail Ilin <m.ilin@samsung.com>
1176 * elf/Makefile (tests): Add tst-nodelete.
1177 (modules-names): Add tst-nodelete-uniquemod.
1178 (tst-nodelete-uniquemod.so-no-z-defs): New.
1179 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1180 (tst-nodelete-zmod.so-no-z-defs): Likewise.
1181 ($(objpfx)tst-nodelete): Likewise.
1182 ($(objpfx)tst-nodelete.out): Likewise.
1183 (LDFLAGS-tst-nodelete): Likewise.
1184 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1185 * elf/dl-close.c (_dl_close_worker): Add a parameter to
1186 implement forced object deletion.
1187 (_dl_close): Pass false to _dl_close_worker.
1188 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1189 * elf/tst-nodelete.cc: New file.
1190 * elf/tst-nodeletelib.cc: Likewise.
1191 * elf/tst-znodeletelib.cc: Likewise.
1192 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1194 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1197 * stdlib/Makefile ($(objpfx)tst-makecontext3):
1199 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1200 is not called infinitely times.
1201 (backtrace_helper): New function.
1202 (trace_arg): New struct.
1203 (st1): Enlarge stack size.
1204 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1205 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1206 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1209 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1211 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1213 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
1215 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1216 Include sys/types.h instead of bits/types.h.
1217 Remove inclusion of bits/wordsize.h.
1219 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1221 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1222 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1223 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1224 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1225 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1226 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1228 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1230 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1232 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1233 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1234 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1236 * sysdeps/i386/link-defines.sym: New file.
1238 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1241 (modules-names): Add tst-auditmod3a tst-auditmod3b.
1242 ($(objpfx)tst-audit3): New rule.
1243 ($(objpfx)tst-audit3.out): Likewise.
1244 * sysdeps/i386/tst-audit3.c: New file.
1245 * sysdeps/i386/tst-audit3.h: Likewise.
1246 * sysdeps/i386/tst-auditmod3a.c: Likewise.
1247 * sysdeps/i386/tst-auditmod3b.c: Likewise.
1249 2015-07-07 Torvald Riegel <triegel@redhat.com>
1252 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1254 (__strcat_c): Likewise.
1255 (__strcat_g): Likewise.
1257 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
1260 * misc/sbrk.c: Set errno to ENOMEM on overflow.
1262 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1264 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1265 New function. (__ieee754_sqrtf): New function.
1266 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1268 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1271 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
1273 * sysdeps/ieee754/support.c: Remove unused file.
1275 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1277 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1278 registers instead of d ones so the layout is kernel abi compatible.
1279 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1280 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1283 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1285 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1287 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1290 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1291 and return argument in case of subnormal argument.
1293 2015-07-01 Martin Sebor <msebor@redhat.com>
1296 * nptl/Makefile: Add tst-once5.cc.
1297 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1298 Remove macro redefinitions.
1299 * nptl/tst-once5.cc: New test.
1301 2015-07-01 Joseph Myers <joseph@codesourcery.com>
1303 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1305 * sysdeps/arm/libm-test-ulps: Regenerated.
1307 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1308 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1310 2015-06-30 Torvald Riegel <triegel@redhat.com>
1312 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1313 lll_lock_wait_private and lll_futex_wake probes.
1315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1316 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1318 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1320 * sysdeps/x86_64/bits/atomic.h: Likewise.
1321 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1322 to atomic_spin_nop and move ...
1323 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1325 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1326 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1327 atomic_spin_nop instead of BUSY_WAIT_NOP.
1328 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1330 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1331 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1332 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1333 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1334 instead of atomic_delay.
1336 2015-06-29 Joseph Myers <joseph@codesourcery.com>
1339 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1340 X_ADJ not X when adjusting exponent.
1341 (__ieee754_gamma_r): Do intermediate computations in
1342 round-to-nearest then adjust overflowing and underflowing results
1344 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1345 of X_ADJ not X when adjusting exponent.
1346 (__ieee754_gammaf_r): Do intermediate computations in
1347 round-to-nearest then adjust overflowing and underflowing results
1349 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1350 log of X_ADJ not X when adjusting exponent.
1351 (__ieee754_gammal_r): Do intermediate computations in
1352 round-to-nearest then adjust overflowing and underflowing results
1353 as needed. Use 1.0L not 1.0f as numerator of division.
1354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1355 log of X_ADJ not X when adjusting exponent.
1356 (__ieee754_gammal_r): Do intermediate computations in
1357 round-to-nearest then adjust overflowing and underflowing results
1358 as needed. Use 1.0L not 1.0f as numerator of division.
1359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1360 of X_ADJ not X when adjusting exponent.
1361 (__ieee754_gammal_r): Do intermediate computations in
1362 round-to-nearest then adjust overflowing and underflowing results
1363 as needed. Use 1.0L not 1.0f as numerator of division.
1364 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
1365 to auto-libm-test-in.
1366 (tgamma_test): Use ALL_RM_TEST.
1367 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
1368 tests of tgamma with spurious-overflow.
1369 * math/auto-libm-test-out: Regenerated.
1370 * math/gen-libm-have-vector-test.sh: Do not check for START.
1371 * sysdeps/i386/fpu/libm-test-ulps: Update.
1372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1375 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1376 arguments, just return 0.5 times the argument, with underflow
1378 * math/auto-libm-test-in: Add more tests of j1.
1379 * math/auto-libm-test-out: Regenerated.
1382 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1383 (__ieee754_j1): Force underflow exception for small results.
1384 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1385 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1386 (__ieee754_j1f): Force underflow exception for small results.
1387 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1388 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1390 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1391 (__ieee754_j1l): Force underflow exception for small results.
1392 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1393 * math/auto-libm-test-in: Add more tests of j1 and jn.
1394 * math/auto-libm-test-out: Regenerated.
1396 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1398 (PF_MPLS): Likewise.
1400 (AF_MPLS): Likewise.
1401 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1403 (MS_RMT_MASK): Include MS_LAZYTIME.
1405 2015-06-26 Mel Gorman <mgorman@suse.de>
1408 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1411 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1413 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1414 (DT_MIPS_NUM): Update.
1415 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1416 DT_MIPS_RLD_MAP_REL.
1418 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1423 round-to-nearest internally then recompute results that
1424 underflowed to zero in the original rounding mode.
1425 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1426 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1428 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1429 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1430 * sysdeps/i386/fpu/libm-test-ulps: Update.
1431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1433 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1435 * NEWS: Fixed description of link with vector math library.
1437 2015-06-25 Andreas Schwab <schwab@suse.de>
1440 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1441 * libio/test-fmemopen.c (do_test): Add test for it.
1443 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1446 * Makeconfig (no-pie-ldflag): New.
1447 (+link): Set to $(+link-pie) if default to PIE.
1448 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1449 * config.make.in (build-pie-default): New.
1450 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1451 is default. AC_SUBST.
1452 * configure: Regenerated.
1453 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1455 2015-06-24 Roland McGrath <roland@hack.frob.com>
1457 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1460 * resolv/gai_misc.h (struct waitlist): Change type of field
1461 counterp to 'volatile unsigned int *'.
1462 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1463 FUTEXADDR and OLDVAL.
1464 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1465 Give local variable TOTAL type 'volatile unsigned int'.
1466 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1467 * resolv/gai_suspend.c (gai_suspend):
1468 Give local variable CNTR type 'unsigned int'.
1470 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1471 counterp to 'volatile unsigned int *'.
1472 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1473 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1474 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1475 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1476 Give local variable TOTAL type 'volatile unsigned int'.
1477 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1479 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1482 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1483 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1484 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1485 comment for i386/x86-64.
1486 (test-xfail-tst-tlsalign-extern-static): Removed.
1488 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1490 * math/test-double.h: New file.
1491 * math/test-float.h: Likewise.
1492 * math/test-ldouble.h: Likewise.
1493 * math/test-math-inline.h: Likewise.
1494 * math/test-math-no-inline.h: Likewise.
1495 * math/test-math-scalar.h: Likewise.
1496 * math/test-math-vector.h: Likewise.
1497 * math/test-vec-loop.h: Remove file. Contents moved into
1499 * math/libm-test.inc (MATHCONST): Do not document macro.
1500 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1501 and test-math-scalar.h.
1502 (FUNC): Remove macro.
1503 (FUNC_TEST): Likewise.
1505 (MATHCONST): Likewise.
1506 (PRINTF_EXPR): Likewise.
1507 (PRINTF_XEXPR): Likewise.
1508 (PRINTF_NEXPR): Likewise.
1509 (TEST_DOUBLE): Likewise.
1510 (TEST_MATHVEC): Likewise.
1511 (__NO_MATH_INLINES): Likewise.
1512 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1513 and test-math-scalar.h.
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 (__NO_MATH_INLINES): Likewise.
1524 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1525 and test-math-scalar.h.
1526 (FUNC): Remove macro.
1527 (FUNC_TEST): Likewise.
1529 (MATHCONST): Likewise.
1530 (PRINTF_EXPR): Likewise.
1531 (PRINTF_XEXPR): Likewise.
1532 (PRINTF_NEXPR): Likewise.
1533 (TEST_DOUBLE): Likewise.
1534 (TEST_MATHVEC): Likewise.
1535 (TEST_INLINE): Likewise.
1536 (__NO_MATH_INLINES): Likewise.
1537 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1539 (FUNC): Remove macro.
1540 (FUNC_TEST): Likewise.
1542 (MATHCONST): Likewise.
1543 (PRINTF_EXPR): Likewise.
1544 (PRINTF_XEXPR): Likewise.
1545 (PRINTF_NEXPR): Likewise.
1546 (TEST_FLOAT): Likewise.
1547 (TEST_MATHVEC): Likewise.
1548 (TEST_INLINE): Likewise.
1549 (__NO_MATH_INLINES): Likewise.
1550 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1551 and test-math-scalar.h.
1552 (FUNC): Remove macro.
1553 (FUNC_TEST): Likewise.
1555 (MATHCONST): Likewise.
1556 (PRINTF_EXPR): Likewise.
1557 (PRINTF_XEXPR): Likewise.
1558 (PRINTF_NEXPR): Likewise.
1559 (TEST_LDOUBLE): Likewise.
1560 (TEST_MATHVEC): Likewise.
1561 (TEST_INLINE): Likewise.
1562 (__NO_MATH_INLINES): Likewise.
1563 * math/test-ldouble.c: Include test-ldouble.h,
1564 test-math-no-inline.h and test-math-scalar.h.
1565 (FUNC): Remove macro.
1566 (FUNC_TEST): Likewise.
1568 (MATHCONST): Likewise.
1569 (PRINTF_EXPR): Likewise.
1570 (PRINTF_XEXPR): Likewise.
1571 (PRINTF_NEXPR): Likewise.
1572 (TEST_LDOUBLE): Likewise.
1573 (TEST_MATHVEC): Likewise.
1574 (__NO_MATH_INLINES): Likewise.
1575 * math/test-double-vlen2.h: Include test-double.h,
1576 test-math-no-inline.h and test-math-vector.h.
1577 (FLOAT): Remove macro.
1579 (MATHCONST): Likewise.
1580 (PRINTF_EXPR): Likewise.
1581 (PRINTF_XEXPR): Likewise.
1582 (PRINTF_NEXPR): Likewise.
1583 (TEST_DOUBLE): Likewise.
1584 (TEST_MATHVEC): Likewise.
1585 (__NO_MATH_INLINES): Likewise.
1588 (WRAPPER_NAME): Likewise.
1589 (WRAPPER_DECL): Likewise.
1590 (WRAPPER_DECL_ff): Likewise.
1591 (WRAPPER_DECL_fFF): Likewise.
1592 (VECTOR_WRAPPER): Likewise.
1593 (VECTOR_WRAPPER_ff): Likewise.
1594 (VECTOR_WRAPPER_fFF): Likewise.
1595 (VEC_LEN): New macro.
1596 * math/test-double-vlen4.h: Include test-double.h,
1597 test-math-no-inline.h and test-math-vector.h.
1598 (FLOAT): Remove macro.
1600 (MATHCONST): Likewise.
1601 (PRINTF_EXPR): Likewise.
1602 (PRINTF_XEXPR): Likewise.
1603 (PRINTF_NEXPR): Likewise.
1604 (TEST_DOUBLE): Likewise.
1605 (TEST_MATHVEC): Likewise.
1606 (__NO_MATH_INLINES): Likewise.
1609 (WRAPPER_NAME): Likewise.
1610 (WRAPPER_DECL): Likewise.
1611 (WRAPPER_DECL_ff): Likewise.
1612 (WRAPPER_DECL_fFF): Likewise.
1613 (VECTOR_WRAPPER): Likewise.
1614 (VECTOR_WRAPPER_ff): Likewise.
1615 (VECTOR_WRAPPER_fFF): Likewise.
1616 (VEC_LEN): New macro.
1617 * math/test-double-vlen8.h: Include test-double.h,
1618 test-math-no-inline.h and test-math-vector.h.
1619 (FLOAT): Remove macro.
1621 (MATHCONST): Likewise.
1622 (PRINTF_EXPR): Likewise.
1623 (PRINTF_XEXPR): Likewise.
1624 (PRINTF_NEXPR): Likewise.
1625 (TEST_DOUBLE): Likewise.
1626 (TEST_MATHVEC): Likewise.
1627 (__NO_MATH_INLINES): Likewise.
1630 (WRAPPER_NAME): Likewise.
1631 (WRAPPER_DECL): Likewise.
1632 (WRAPPER_DECL_ff): Likewise.
1633 (WRAPPER_DECL_fFF): Likewise.
1634 (VECTOR_WRAPPER): Likewise.
1635 (VECTOR_WRAPPER_ff): Likewise.
1636 (VECTOR_WRAPPER_fFF): Likewise.
1637 (VEC_LEN): New macro.
1638 * math/test-float-vlen4.h: Include test-float.h,
1639 test-math-no-inline.h and test-math-vector.h.
1640 (FLOAT): Remove macro.
1642 (MATHCONST): Likewise.
1643 (PRINTF_EXPR): Likewise.
1644 (PRINTF_XEXPR): Likewise.
1645 (PRINTF_NEXPR): Likewise.
1646 (TEST_FLOAT): Likewise.
1647 (TEST_MATHVEC): Likewise.
1648 (__NO_MATH_INLINES): Likewise.
1651 (WRAPPER_NAME): Likewise.
1652 (WRAPPER_DECL): Likewise.
1653 (WRAPPER_DECL_ff): Likewise.
1654 (WRAPPER_DECL_fFF): Likewise.
1655 (VECTOR_WRAPPER): Likewise.
1656 (VECTOR_WRAPPER_ff): Likewise.
1657 (VECTOR_WRAPPER_fFF): Likewise.
1658 (VEC_LEN): New macro.
1659 * math/test-float-vlen8.h: Include test-float.h,
1660 test-math-no-inline.h and test-math-vector.h.
1661 (FLOAT): Remove macro.
1663 (MATHCONST): Likewise.
1664 (PRINTF_EXPR): Likewise.
1665 (PRINTF_XEXPR): Likewise.
1666 (PRINTF_NEXPR): Likewise.
1667 (TEST_FLOAT): Likewise.
1668 (TEST_MATHVEC): Likewise.
1669 (__NO_MATH_INLINES): Likewise.
1672 (WRAPPER_NAME): Likewise.
1673 (WRAPPER_DECL): Likewise.
1674 (WRAPPER_DECL_ff): Likewise.
1675 (WRAPPER_DECL_fFF): Likewise.
1676 (VECTOR_WRAPPER): Likewise.
1677 (VECTOR_WRAPPER_ff): Likewise.
1678 (VECTOR_WRAPPER_fFF): Likewise.
1679 (VEC_LEN): New macro.
1680 * math/test-float-vlen16.h: Include test-float.h,
1681 test-math-no-inline.h and test-math-vector.h.
1682 (FLOAT): Remove macro.
1684 (MATHCONST): Likewise.
1685 (PRINTF_EXPR): Likewise.
1686 (PRINTF_XEXPR): Likewise.
1687 (PRINTF_NEXPR): Likewise.
1688 (TEST_FLOAT): Likewise.
1689 (TEST_MATHVEC): Likewise.
1690 (__NO_MATH_INLINES): Likewise.
1693 (WRAPPER_NAME): Likewise.
1694 (WRAPPER_DECL): Likewise.
1695 (WRAPPER_DECL_ff): Likewise.
1696 (WRAPPER_DECL_fFF): Likewise.
1697 (VECTOR_WRAPPER): Likewise.
1698 (VECTOR_WRAPPER_ff): Likewise.
1699 (VECTOR_WRAPPER_fFF): Likewise.
1700 (VEC_LEN): New macro.
1701 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1703 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1704 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1705 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1706 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1707 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1708 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1709 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1711 2015-06-24 Roland McGrath <roland@hack.frob.com>
1713 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1714 (__getlogin_r): ... this.
1716 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1719 * math/s_ccosh.c (__ccosh): Compare with least normal value
1720 instead of comparing class with FP_SUBNORMAL.
1721 * math/s_ccoshf.c (__ccoshf): Likewise.
1722 * math/s_ccoshl.c (__ccoshl): Likewise.
1723 * math/s_cexp.c (__cexp): Likewise.
1724 * math/s_cexpf.c (__cexpf): Likewise.
1725 * math/s_cexpl.c (__cexpl): Likewise.
1726 * math/s_csin.c (__csin): Likewise.
1727 * math/s_csinf.c (__csinf): Likewise.
1728 * math/s_csinh.c (__csinh): Likewise.
1729 * math/s_csinhf.c (__csinhf): Likewise.
1730 * math/s_csinhl.c (__csinhl): Likewise.
1731 * math/s_csinl.c (__csinl): Likewise.
1732 * math/s_ctan.c (__ctan): Likewise.
1733 * math/s_ctanf.c (__ctanf): Likewise.
1734 * math/s_ctanh.c (__ctanh): Likewise.
1735 * math/s_ctanhf.c (__ctanhf): Likewise.
1736 * math/s_ctanhl.c (__ctanhl): Likewise.
1737 * math/s_ctanl.c (__ctanl): Likewise.
1738 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1739 csin, csinh, ctan and ctanh.
1740 * math/auto-libm-test-out: Regenerated.
1741 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1742 * sysdeps/i386/fpu/libm-test-ulps: Update.
1743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1745 2015-06-24 Roland McGrath <roland@hack.frob.com>
1747 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1748 return value is wrong, print the expected value too.
1750 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1753 * elf/readlib.c (is_gdb_python_file): New.
1754 (process_file): Don't issue errors on filenames with -gdb.py
1757 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1759 * math/auto-libm-test-in: Add more tests of csin and csinh.
1760 * math/auto-libm-test-out: Regenerated.
1761 * math/libm-test.inc (csin_test_data): Remove tests moved to
1763 (csinh_test_data): Likewise.
1766 * math/s_csin.c (__csin): Negate before rather than after possibly
1767 overflowing multiplication.
1768 * math/s_csinf.c (__csinf): Likewise.
1769 * math/s_csinh.c (__csinh): Likewise.
1770 * math/s_csinhf.c (__csinhf): Likewise.
1771 * math/s_csinhl.c (__csinhl): Likewise.
1772 * math/s_csinl.c (__csinl): Likewise.
1773 * math/auto-libm-test-in: Add some tests of csin and csinh.
1774 * math/auto-libm-test-out: Regenerated.
1775 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1776 (csinh_test_data): Likewise.
1777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1780 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1781 underflow exception for small results.
1783 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1785 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1786 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1787 variable and included header.
1788 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1790 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1791 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1792 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1794 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1795 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1796 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1797 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1798 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1799 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1800 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1801 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1802 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1803 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1805 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1809 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1810 (__sin): Force underflow exception for arguments with small
1812 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1813 (__kernel_sinf): Force underflow exception for arguments with
1814 small absolute value.
1815 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1816 (__kernel_sincosl): Force underflow exception for arguments with
1817 small absolute value.
1818 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1819 (__kernel_sinl): Force underflow exception for arguments with
1820 small absolute value.
1821 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1822 (__kernel_sincosl): Force underflow exception for arguments with
1823 small absolute value.
1824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1825 (__kernel_sinl): Force underflow exception for arguments with
1826 small absolute value.
1827 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1828 (__kernel_sinl): Force underflow exception for arguments with
1829 small absolute value.
1830 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1831 (__kernel_sinf): Force underflow exception for arguments with
1832 small absolute value.
1833 * math/auto-libm-test-in: Add more tests of sin and sincos.
1834 * math/auto-libm-test-out: Regenerated.
1838 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1839 (__kernel_standard_l): Use feholdexcept and fesetenv around
1840 conversion to double instead of special-casing overflow and
1842 * math/libm-test.inc (fmod_test_data): Add more tests.
1843 (remainder_test_data): Likewise.
1844 (sqrt_test_data): Likewise.
1846 2015-06-23 Torvald Riegel <triegel@redhat.com>
1849 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1850 atomic_read_barrier, atomic_write_barrier): Define.
1851 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1852 atomic_read_barrier, atomic_write_barrier): Define.
1854 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1856 * math/Makefile [$(PERL) != no]
1857 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1858 dependency on libm-test.stmp below the inclusion of Rules.
1860 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1862 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1863 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1864 and included header.
1865 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1866 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1867 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1868 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1869 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1870 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1871 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1873 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1874 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1875 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1876 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1877 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1878 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1879 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1880 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1881 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1882 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1883 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1885 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1888 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1889 intermediate but not final result might underflow.
1890 * math/s_csqrtf.c (__csqrtf): Likewise.
1891 * math/s_csqrtl.c (__csqrtl): Likewise.
1892 * math/auto-libm-test-in: Add more tests of csqrt.
1893 * math/auto-libm-test-out: Regenerated.
1894 * sysdeps/i386/fpu/libm-test-ulps: Update.
1897 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1898 threshold on absolute value of exponent for which scaling is used.
1899 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1900 * math/auto-libm-test-in: Add more tests of exp2.
1901 * math/auto-libm-test-out: Regenerated.
1903 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1906 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1907 when initializing interface list, based on the bug analysis
1908 and the patch proposed by Eric Newton.
1909 * resolv/tst-res_hconf_reorder.c: New test.
1910 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1911 tst-res_hconf_reorder.
1912 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1913 and $(shared-thread-library).
1914 (tst-res_hconf_reorder-ENV): New variable.
1916 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1919 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1922 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1923 (__expm1): Force underflow exception for arguments with small
1925 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1926 (__expm1f): Force underflow exception for arguments with small
1928 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1929 (__expm1): Force underflow exception for arguments with small
1931 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1932 (__expm1f): Force underflow exception for arguments with small
1934 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1935 Check for small arguments before calling __expm1.
1936 * math/auto-libm-test-in: Do not mark underflow exceptions as
1937 possibly missing for bug 16353.
1938 * math/auto-libm-test-out: Regenerated.
1940 2015-06-22 Andreas Schwab <schwab@suse.de>
1943 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1946 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1948 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1950 * string/strcoll_l.c: Remove unused struct element idxnow.
1952 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1955 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1956 underflow and return argument in case of subnormal argument.
1957 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1959 * math/auto-libm-test-in: Add more tests of expm1.
1960 * math/auto-libm-test-out: Regenerated.
1963 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1964 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1966 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1967 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1969 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1970 mark underflow exceptions as possibly missing for bug 16361.
1971 * math/auto-libm-test-out: Regenerated.
1973 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1975 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1976 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1978 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1979 (test-xfail-XOPEN2K8/utmpx.h/conform).
1981 * conform/conformtest.pl ($xerrors): New variable.
1982 (note_error): New function.
1983 (compiletest): New argument $xfail. Use not_error.
1984 (runtest): Likewise.
1985 (top level): Handle xfail- lines. Update calls to compiletest and
1986 runtest. Handle xfail- and optional- in headers listed with
1988 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1990 (O_SEARCH): Likewise.
1991 * conform/data/stropts.h-data (ioctl): Likewise.
1992 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1993 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1994 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1995 (msghdr.msg_controllen): Likewise.
1996 (cmsghdr.cmsg_len): Likewise.
1997 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1998 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2000 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2001 (test-xfail-XPG4/stropts.h/conform): Likewise.
2002 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2003 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2004 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2005 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2006 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2007 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2008 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2012 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2013 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2014 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2015 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2016 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2017 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2018 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2019 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2020 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2022 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
2024 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2025 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2026 definitions for proper unfolding of __MATHDECL_VEC.
2028 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2030 * benchtests/bench-strcoll.c:
2032 (main): Remove unused variable res.
2034 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2036 * timezone/Makefile (%/UTC %/Universal):
2037 Generate test-result files for UTC and Universal.
2039 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
2041 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2043 2015-06-18 Joseph Myers <joseph@codesourcery.com>
2046 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2047 for arguments with small absolute value.
2048 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2049 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2050 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2051 (__asinh): Force underflow exception for arguments with small
2053 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2054 (__asinhf): Force underflow exception for arguments with small
2056 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2057 (__asinhl): Force underflow exception for arguments with small
2059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2060 (__asinhl): Force underflow exception for arguments with small
2062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2063 (__asinhl): Force underflow exception for arguments with small
2065 * math/auto-libm-test-in: Do not mark underflow exceptions as
2066 possibly missing for bug 16350.
2067 * math/auto-libm-test-out: Regenerated.
2069 * include/bits/ipc.h: Remove file.
2070 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2072 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2073 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2074 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2075 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2076 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2077 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2078 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2079 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2080 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2082 * math/auto-libm-test-in: Remove spurious underflow allowance for
2084 * math/auto-libm-test-out: Regenerated.
2087 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2088 unconditional definition.
2089 (MCAST_BLOCK_SOURCE): Likewise.
2090 (MCAST_UNBLOCK_SOURCE): Likewise.
2091 (MCAST_LEAVE_GROUP): Likewise.
2092 (MCAST_JOIN_SOURCE_GROUP): Likewise.
2093 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2094 (MCAST_MSFILTER): Likewise.
2095 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2097 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2098 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2099 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2100 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2101 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2103 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
2105 * NEWS: Mention addition of x86_64 vector sincosf.
2106 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2107 * math/test-float-vlen4.h: Likewise.
2108 * math/test-float-vlen8.h: Likewise.
2109 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2110 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2111 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2112 * sysdeps/x86_64/fpu/Versions: New versions added.
2113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2114 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2115 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2116 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2117 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2118 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2120 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2121 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2122 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2123 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2124 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2125 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2126 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2127 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2128 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2129 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2130 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2131 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2132 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2133 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2134 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2135 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2136 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2138 * NEWS: Mention addition of x86_64 vector sincos.
2139 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2140 * math/math.h (__MATHDECL_VEC): New macro.
2141 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2142 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2143 declaration under condition.
2144 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2145 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2146 TEST_VEC_LOOP change.
2147 * math/test-double-vlen4.h: Likewise.
2148 * math/test-double-vlen8.h: Likewise.
2149 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2150 * math/test-float-vlen4.h: Likewise.
2151 * math/test-float-vlen8.h: Likewise.
2152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2153 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2154 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2155 * sysdeps/x86_64/fpu/Versions: New versions added.
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2157 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2158 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2165 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2166 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2167 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2168 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2169 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2170 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2171 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2172 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2173 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2174 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2175 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2176 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2177 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2178 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2179 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2181 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2182 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2183 redirections for powf.
2184 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2185 * sysdeps/x86_64/fpu/Versions: New versions added.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2187 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2188 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2189 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2190 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2191 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2192 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2193 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2194 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2195 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2196 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2197 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2198 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2199 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2200 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2201 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2202 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2203 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2204 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2205 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2206 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2207 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2208 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2209 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2210 * math/test-float-vlen16.h: Fixed 2 argument macro.
2211 * math/test-float-vlen4.h: Likewise.
2212 * math/test-float-vlen8.h: Likewise.
2213 * NEWS: Mention addition of x86_64 vector powf.
2215 2015-06-17 Joseph Myers <joseph@codesourcery.com>
2217 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2219 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2221 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2222 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2226 * resource/getpriority.c (getpriority): Rename to __getpriority
2227 and define as weak alias of __getpriority.
2228 * resource/setpriority.c (setpriority): Rename to __setpriority
2229 and define as weak alias of __setpriority.
2230 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2231 __getpriority and define as weak alias of __getpriority.
2232 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2233 __setpriority and define as weak alias of __setpriority.
2234 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2236 (setpriority): Use __setpriority as strong name.
2237 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2238 __getpriority and define as weak alias of __getpriority.
2239 * include/sys/resource.h (__getpriority): Declare. Use
2241 (__setpriority): Likewise.
2242 (getpriority): Don't use libc_hidden_proto.
2243 (setpriority): Likewise.
2244 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2245 getpriority. Call __setpriority instead of setpriority.
2246 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2250 * misc/getttyent.c (getttynam): Rename to __getttynam and define
2251 as weak alias of __getttynam. Use prototype function definition.
2252 Call __setttyent, __getttyent and __endttyent instead of
2253 setttyent, getttyent and endttyent.
2254 (getttyent): Rename to __getttyent and define as weak alias of
2255 __getttyent. Call __setttyent instead of setttyent. Call
2256 __fgets_unlocked instead of fgets_unlocked.
2257 (setttyent): Rename to __setttyent and define as weak alias of
2259 (endttyent): Rename to __endttyent and define as weak alias of
2261 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
2262 (__setttyent): Likewise.
2263 (__endttyent): Likewise.
2264 (getttyent): Don't use libc_hidden_proto.
2265 (setttyent): Likewise.
2266 (endttyent): Likewise.
2267 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2268 __endttyent instead of setttyent, getttyent and endttyent.
2269 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2273 * socket/recv.c (__recv): Use libc_hidden_def.
2274 * socket/socket.c (__socket): Likewise.
2275 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2276 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2277 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2278 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2279 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2281 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2283 * include/sys/socket.h (__socket): Do not use attribute_hidden.
2284 Use libc_hidden_proto.
2286 * socket/Versions (libc): Export __recv and __socket at version
2288 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2290 (init_mq_netlink): Call __socket instead of socket.
2291 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2295 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2296 __mq_timedreceive and define as alias of __mq_timedreceive. Use
2298 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2299 define as alias of __mq_timedsend. Use hidden_weak.
2300 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2301 __mq_timedsend as strong name.
2302 (mq_timedreceive): Use __mq_timedreceive as strong name.
2303 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
2304 (__mq_timedreceive): Likewise.
2305 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2306 __mq_timedreceive instead of mq_timedreceive.
2307 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2308 instead of mq_timedsend.
2309 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2312 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2313 hidden_def and hidden_weak instead of libc_hidden_def and
2315 (top level): Refer to hidden_def in comment.
2316 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2317 macro. Use it instead of libc_hidden_def.
2318 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2319 specify __GI_* name explicitly.
2320 (mq_timedreceive): Likewise.
2321 (mq_setattr): Likewise.
2324 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2325 __pthread_barrier_init and define as weak alias of
2326 __pthread_barrier_init.
2327 * sysdeps/sparc/nptl/pthread_barrier_init.c
2328 (pthread_barrier_init): Likewise.
2329 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2330 __pthread_barrier_wait and define as weak alias of
2331 __pthread_barrier_wait.
2332 * sysdeps/sparc/nptl/pthread_barrier_wait.c
2333 (pthread_barrier_wait): Likewise.
2334 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2335 (pthread_barrier_wait): Likewise.
2336 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2337 (pthread_barrier_wait): Likewise.
2338 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2339 (pthread_barrier_wait): Likewise.
2340 * nptl/Versions (libpthread): Export __pthread_barrier_init and
2341 __pthread_barrier_wait at version GLIBC_PRIVATE.
2342 * include/pthread.h (__pthread_barrier_init): Declare.
2343 (__pthread_barrier_wait): Likewise.
2344 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2345 Call __pthread_barrier_wait instead of pthread_barrier_wait.
2346 (helper_thread): Likewise.
2347 (init_mq_netlink): Call __pthread_barrier_init instead of
2348 pthread_barrier_init.
2351 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2352 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2353 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
2354 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2356 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2360 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2361 strong alias of _IO_fflush. Use libc_hidden_def.
2362 * libio/iofflush_u.c (fflush_unlocked): Rename to
2363 __fflush_unlocked and define as weak alias of __fflush_unlocked.
2364 Use libc_hidden_weak.
2365 * include/stdio.h (__fflush_unlocked): Declare. Use
2367 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2369 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2373 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2374 define as weak alias of __addseverity.
2375 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2377 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2378 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2379 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2382 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2383 (__tfind): Likewise.
2384 (__tdelete): Likewise.
2385 (__twalk): Likewise.
2386 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2387 __twalk to GLIBC_PRIVATE.
2388 * include/search.h (__tsearch): Use libc_hidden_proto.
2389 (__tfind): Likewise.
2390 (__tdelete): Likewise.
2391 (__twalk): Likewise.
2392 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2393 Call __tdelete instead of tdelete.
2394 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2395 tfind. Call __tsearch instead of tsearch.
2396 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2397 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2399 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2402 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2403 (dprintf): Define as a weak alias of __dprintf, not a strong
2405 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
2406 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2408 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2410 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2411 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2414 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2416 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2420 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2421 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2422 (in6addr_loopback): Rename to __in6addr_loopback and define as
2423 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2424 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2426 (__in6addr_any): Likewise.
2427 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2429 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2431 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2433 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2435 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2436 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2437 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2438 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2439 redirections for pow.
2440 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2441 * sysdeps/x86_64/fpu/Versions: New versions added.
2442 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2443 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2444 build of SSE, AVX2 and AVX512 IFUNC versions.
2445 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2446 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2447 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2448 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2449 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2450 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2451 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2452 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2453 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2454 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2455 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2456 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2457 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2458 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2459 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2460 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2461 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2462 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2463 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2464 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2465 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2466 * NEWS: Mention addition of x86_64 vector pow.
2468 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2469 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2470 redirections for expf.
2471 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2472 * sysdeps/x86_64/fpu/Versions: New versions added.
2473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2474 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2475 build of SSE, AVX2 and AVX512 IFUNC versions.
2476 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2477 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2478 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2479 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2480 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2481 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2482 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2483 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2484 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2485 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2486 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2487 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2488 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2489 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2490 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2491 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2492 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2493 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2494 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2495 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2496 * NEWS: Mention addition of x86_64 vector expf.
2498 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2499 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2500 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2501 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2502 redirections for exp.
2503 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2504 * sysdeps/x86_64/fpu/Versions: New versions added.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2506 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2507 build of SSE, AVX2 and AVX512 IFUNC versions.
2508 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2509 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2510 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2511 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2512 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2513 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2514 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2515 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2516 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2517 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2518 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2519 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2520 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2521 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2522 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2523 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2524 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2525 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2526 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2527 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2528 * NEWS: Mention addition of x86_64 vector exp.
2530 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2531 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2532 redirections for logf.
2533 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2534 * sysdeps/x86_64/fpu/Versions: New versions added.
2535 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2536 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2537 build of SSE, AVX2 and AVX512 IFUNC versions.
2538 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2539 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2540 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2541 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2542 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2543 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2544 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2545 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2546 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2547 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2548 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2549 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2550 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2551 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2552 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2553 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2554 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2555 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2556 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2557 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2558 * NEWS: Mention addition of x86_64 vector logf.
2560 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2561 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2562 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2563 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2564 redirections for log.
2565 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2566 * sysdeps/x86_64/fpu/Versions: New versions added.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2568 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2569 build of SSE, AVX2 and AVX512 IFUNC versions.
2570 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2571 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2572 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2573 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2574 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2575 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2576 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2577 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2578 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2579 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2580 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2581 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2582 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2584 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2585 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2586 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2587 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2588 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2589 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2590 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2591 * NEWS: Mention addition of x86_64 vector log.
2593 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2595 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2596 cfi_adjust_cfa_offset argument.
2597 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2598 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2601 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2602 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2603 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2604 ordering using ldar.
2605 (_dl_tlsdesc_dynamic): Likewise.
2606 (_dl_tlsdesc_return_lazy): Likewise.
2607 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2608 relaxed atomics instead of volatile and synchronize with release store.
2609 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2611 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2613 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2615 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2616 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2617 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2618 * sysdeps/x86_64/fpu/Versions: New versions added.
2619 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2620 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2621 build of SSE, AVX2 and AVX512 IFUNC versions.
2622 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2623 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2624 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2625 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2626 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2627 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2628 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2629 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2630 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2631 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2632 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2633 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2634 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2635 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2636 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2637 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2638 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2639 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2640 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2641 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2642 * NEWS: Mention addition of x86_64 vector sinf.
2644 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2646 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2647 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2648 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2650 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2651 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2653 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2656 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2657 strong alias of _IO_fputs. Use libc_hidden_def.
2658 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2659 and define as weak alias of __fputs_unlocked. Use
2661 * include/stdio.h (__fputs_unlocked): Declare. Use
2663 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2667 * resolv/netdb.h [__USE_POSIX]: Change condition to
2669 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2671 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2672 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2673 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2674 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2675 [XPG4 || UNIX98] (AI_ALL): Likewise.
2676 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2677 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2678 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2679 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2680 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2681 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2682 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2683 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2684 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2685 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2686 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2687 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2688 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2689 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2690 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2691 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2692 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2693 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2694 [XPG4 || UNIX98] (gai_strerror): Likewise.
2695 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2696 [XPG4 || UNIX98] (getnameinfo): Likewise.
2699 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2700 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2702 (getgrent): Likewise.
2703 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2705 [XPG3 || POSIX2008] (endgrent): Likewise.
2706 [XPG3] (setgrent): Likewise.
2707 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2709 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2712 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2713 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2714 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2715 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2716 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2717 * include/unistd.h (__getlogin_r): Declare. Use
2719 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2720 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2722 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2723 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2724 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2726 2015-06-12 Martin Sebor <msebor@redhat.com>
2729 * Makerules (check-install-supported): New target.
2730 (install): Add check-install-supported as a dependency.
2731 * manual/install.texi (Installing the C Library): Document
2732 that overriding prefix and exec_prefix is not supported.
2734 * INSTALL: Regenerate from the above.
2736 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2739 * posix/Versions (libc): Export __libc_pread at version
2741 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2743 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2748 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2749 (cvt_symbol): Use weak_alias instead of strong_alias.
2750 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2751 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2753 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2754 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2757 * inet/herrno.c (h_errno): Rename to __h_errno.
2758 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2759 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2760 to __h_errno instead of h_errno.
2761 * nptl/herrno.c (h_errno): Rename to __h_errno.
2762 (__h_errno_location): Refer to __h_errno not h_errno.
2763 * resolv/Versions (h_errno): Rename to __h_errno.
2764 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2766 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2768 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2770 * configure.ac: More strict check for AVX512 assembler support.
2771 * configure: Regenerated.
2773 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2774 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2775 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2776 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2777 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2778 * sysdeps/x86_64/fpu/Versions: New versions added.
2779 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2780 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2781 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2782 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2783 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2784 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2788 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2789 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2790 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2791 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2792 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2793 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2794 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2796 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2797 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2798 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2799 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2800 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2801 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2802 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2803 * NEWS: Mention addition of x86_64 vector sin.
2805 2015-06-11 Florian Weimer <fweimer@redhat.com>
2807 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2810 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2813 * nptl/pt-interp.c: New file.
2814 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2816 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2817 $(common-objpfx)runtime-linker.h.
2819 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2821 * Makeconfig (+interp): Remove unused variable.
2822 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2823 only. Depend on $(common-objpfx)runtime-linker.h instead of
2824 $(elf-objpfx)runtime-linker.h.
2825 ($(elf-objpfx)runtime-linker.h): Rename to
2826 $(common-objpfx)runtime-linker.h and move ...
2827 * Makerules [$(build-shared) = yes]: ... here.
2828 * elf/interp.c: Include <runtime-linker.h> instead of
2829 <elf/runtime-linker.h>.
2831 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2833 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2834 (__gettimeofday_syscall): Remove vsyscall fallback.
2835 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2836 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2837 Add syscall fallback function.
2838 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2839 if vDSO is not present.
2840 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2842 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2845 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2847 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2850 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2852 (wcscmp): Define as weak alias of WCSCMP.
2853 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2855 (USE_HIDDEN_DEF): Define.
2856 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2857 __wcscoll. Don't use libc_hidden_weak.
2858 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2860 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2861 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2863 (weak_alias): Undefine and redefine.
2864 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2865 __wcscmp and define as weak alias of __wcscmp.
2866 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2867 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2868 (__wcscoll): Likewise.
2869 (wcscmp): Don't use libc_hidden_proto.
2870 (wcscoll): Likewise.
2871 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2873 * posix/regexec.c (check_node_accept_bytes): Likewise.
2874 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2876 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2877 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2880 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2881 __fstatvfs and define as weak alias of __fstatvfs. Use
2883 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2884 and define as weak alias of __statvfs. Use libc_hidden_weak.
2885 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2886 Define as alias of __fstatvfs, not fstatvfs.
2887 (fstatvfs64): Likewise.
2888 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2889 Define as alias of __statvfs, not statvfs.
2890 (statvfs64): Likewise.
2891 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2894 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2897 (HAVE_GETCPU_VSYSCALL): Define.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2899 (HAVE_GETCPU_VSYSCALL): Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2901 * sysdeps/unix/sysv/linux/sched_getcpu.c
2902 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2903 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2904 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2906 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2907 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2909 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2912 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2916 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2918 * sysdeps/x86_64/fpu/Makefile: New file.
2919 * sysdeps/x86_64/fpu/Versions: New file.
2920 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2921 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2922 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2923 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2924 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2925 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2926 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2927 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2929 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2930 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2931 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2932 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2933 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2934 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2935 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2936 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2937 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2938 * sysdeps/x86_64/configure: Regenerated.
2939 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2940 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2941 * manual/install.texi (Configuring and compiling): Document
2943 * INSTALL: Regenerated.
2944 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2946 * math/Makefile: Added rules for vector tests.
2947 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2948 declaration under condition.
2949 * math/test-double-vlen2.h: New file.
2950 * math/test-double-vlen4.h: New file.
2951 * math/test-double-vlen8.h: New file.
2952 * math/test-vec-loop.h: Added initialization macro.
2953 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2955 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2956 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2957 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2958 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2959 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2960 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2961 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2962 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2963 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2965 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2966 * sysdeps/x86_64/fpu/Versions: New versions added.
2967 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2968 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2969 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2970 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2971 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2972 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2973 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2974 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2975 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2976 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2977 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2978 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2979 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2980 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2981 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2982 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2983 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2984 * NEWS: Mention addition of x86_64 vector cosf.
2986 * math/Makefile: Added CFLAGS for new tests.
2987 * math/test-float-vlen16.h: New file.
2988 * math/test-float-vlen4.h: New file.
2989 * math/test-float-vlen8.h: New file.
2990 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2991 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2992 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2993 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2994 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2995 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2996 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2997 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2998 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2999 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3000 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3002 2015-06-09 Marko Myllynen <myllynen@redhat.com>
3004 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3005 * locale/programs/ld-ctype.c: Likewise.
3007 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
3009 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3010 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3011 bit_ZMM16_31_state): New macro.
3012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3013 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3015 2015-06-08 Joseph Myers <joseph@codesourcery.com>
3017 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3019 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
3021 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3023 2015-06-05 Joseph Myers <joseph@codesourcery.com>
3026 * libio/memstream.c (open_memstream): Rename to __open_memstream
3027 and define as weak alias of __open_memstream.
3028 * include/stdio.h (__open_memstream): Declare. Use
3030 (open_memstream): Don't use libc_hidden_proto.
3031 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3033 * posix/getopt.c (_getopt_internal_r): Likewise.
3034 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3036 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3037 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3038 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3041 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3045 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3046 [__USE_XOPEN2K8]. Remove redundant #endif.
3047 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3048 Remove redundant #if.
3049 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3051 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3052 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3055 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3056 (__iswlower): Likewise.
3057 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
3058 (__iswlower): Likewise.
3059 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3060 instead of towlower.
3061 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3062 instead of iswlower. Call __towupper instead of towupper.
3063 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3064 instead of iswalnum.
3066 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3068 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3071 2015-06-05 Florian Weimer <fweimer@redhat.com>
3075 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3076 Check for overflow properly. Check for O_APPEND. Ignore large
3077 file system block sizes. Add comments about problems.
3078 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3079 * manual/filesys.texi (Storage Allocation): New node.
3081 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3083 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3084 cancellable syscalls.
3085 (SYS_ify): Add guard to no redefine it.
3086 (INLINE_SYSCALL): Likewise.
3087 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3088 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3089 SYSCALL_CANCEL instead.
3090 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3091 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3092 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3093 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3094 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3095 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3096 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3097 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3098 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3099 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3100 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3101 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3102 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3103 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3104 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3105 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3107 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3108 (__libc_pread64): Likewise.
3109 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3110 (__libc_preadv): Likewise.
3111 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3112 (__libc_readv64): Likewise.
3113 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3114 (__libc_pwrite): Likewise.
3115 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3116 (__libc_pwrite64): Likewise.
3117 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3118 (__libc_pwritev): Likewise.
3119 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3120 (__libc_pwritev64): Likewise.
3121 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3122 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3123 (sync_file_range): Likewise.
3124 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3126 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3128 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3129 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3130 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3131 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3132 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3133 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3134 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3135 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3139 (__libc_read64): Likewise.
3140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3149 (__libc_pread64): Likewise.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3153 (__libc_pwrite64): Likewise.
3154 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3155 (sync_file_range): Likewise.
3156 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3157 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3158 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3159 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3160 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3161 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3162 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3163 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3164 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3165 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3166 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3167 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3168 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3169 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3170 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3171 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3172 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3173 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3176 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3178 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3179 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3181 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3182 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3183 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3184 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3186 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3187 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3188 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3189 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3190 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3192 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
3194 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3196 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3197 Use VDSO routines for gettimeofday, clock_gettime if
3199 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3200 Declare VDSO symbols.
3201 * sysdeps/unix/sysv/linux/arm/sysdep.h:
3202 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3203 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3204 * sysdeps/unix/sysv/linux/arm/Versions: Add
3205 __vdso_clock_gettime.
3207 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3209 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3210 be an inline implementation regardless of library is built within.
3211 (open_not_cancel_2): Likewise.
3212 (__read_nocancel): Likewise.
3213 (__write_nocancel): Likewise.
3214 (openat_not_cancel): Likewise.
3215 (openat_not_cancel_3): Likewise.
3216 (openat64_not_cancel): Likewise.
3217 (openat64_not_cancel_3): Likewise.
3218 (__close_nocancel): Likewise.
3219 (pause_not_cancel): Likewise.
3220 (nanosleep_not_cancel): Likewise.
3221 (sigsuspend_not_cancel): Likewise.
3223 2015-06-04 Torvald Riegel <triegel@redhat.com>
3226 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3228 (__pthread_rwlock_rdlock_slow): Likewise.
3229 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3231 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3233 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3234 * nptl/tst-rwlock16.c: New file.
3235 * nptl/Makefile (tests): Add new test.
3237 2015-06-04 Torvald Riegel <triegel@redhat.com>
3240 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3241 missing wake-up of readers.
3242 * nptl/tst-rwlock15.c: New file.
3243 * nptl/Makefile (tests): Add new test.
3245 2015-06-03 Roland McGrath <roland@hack.frob.com>
3247 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3248 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3249 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3250 and __nacl_supply_interface_rtld.
3251 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3252 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3253 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3254 Add __nacl_supply_interface_rtld.
3255 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3257 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3259 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3261 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3262 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3264 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
3266 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3267 __signbit* with standard C99 macros.
3268 * math/e_exp10l.c: Likewise.
3269 * math/e_exp2l.c: Likewise.
3270 * math/e_scalb.c: Likewise.
3271 * math/e_scalbf.c: Likewise.
3272 * math/e_scalbl.c: Likewise.
3273 * math/s_ldexp.c: Likewise.
3274 * math/s_ldexpf.c: Likewise.
3275 * math/s_ldexpl.c: Likewise.
3276 * math/w_atan2.c: Likewise.
3277 * math/w_atan2f.c: Likewise.
3278 * math/w_atan2l.c: Likewise.
3279 * math/w_cosh.c: Likewise.
3280 * math/w_coshf.c: Likewise.
3281 * math/w_coshl.c: Likewise.
3282 * math/w_exp10.c: Likewise.
3283 * math/w_exp10f.c: Likewise.
3284 * math/w_exp10l.c: Likewise.
3285 * math/w_exp2.c: Likewise.
3286 * math/w_exp2f.c: Likewise.
3287 * math/w_exp2l.c: Likewise.
3288 * math/w_fmod.c: Likewise.
3289 * math/w_fmodf.c: Likewise.
3290 * math/w_fmodl.c: Likewise.
3291 * math/w_hypot.c: Likewise.
3292 * math/w_hypotf.c: Likewise.
3293 * math/w_hypotl.c: Likewise.
3294 * math/w_jnl.c: Likewise.
3295 * math/w_lgamma.c: Likewise.
3296 * math/w_lgamma_r.c: Likewise.
3297 * math/w_lgammaf.c: Likewise.
3298 * math/w_lgammaf_r.c: Likewise.
3299 * math/w_lgammal.c: Likewise.
3300 * math/w_lgammal_r.c: Likewise.
3301 * math/w_pow.c: Likewise.
3302 * math/w_powf.c: Likewise.
3303 * math/w_powl.c: Likewise.
3304 * math/w_remainder.c: Likewise.
3305 * math/w_remainderf.c: Likewise.
3306 * math/w_remainderl.c: Likewise.
3307 * math/w_scalb.c: Likewise.
3308 * math/w_scalbf.c: Likewise.
3309 * math/w_scalbl.c: Likewise.
3310 * math/w_scalbln.c: Likewise.
3311 * math/w_scalblnf.c: Likewise.
3312 * math/w_scalblnl.c: Likewise.
3313 * math/w_sinh.c: Likewise.
3314 * math/w_sinhf.c: Likewise.
3315 * math/w_sinhl.c: Likewise.
3316 * math/w_tgamma.c: Likewise.
3317 * math/w_tgammaf.c: Likewise.
3318 * math/w_tgammal.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3326 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3327 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3329 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3350 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3351 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3352 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3353 * stdio-common/printf_fp.c: Likewise.
3354 * stdio-common/printf_fphex.c: Likewise.
3355 * stdio-common/printf_size.c: Likewise.
3357 2015-06-03 Joseph Myers <joseph@codesourcery.com>
3360 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3362 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3364 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3365 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3366 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3367 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3368 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3369 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3370 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3376 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3377 weak alias of __wmemchr. Use libc_hidden_weak.
3378 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
3379 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3382 2015-06-02 Roland McGrath <roland@hack.frob.com>
3385 * elf/tst-tlsalign-extern.c: New file.
3386 * elf/tst-tlsalign-extern-static.c: New file.
3387 * elf/tst-tlsalign-vars.c: New file.
3388 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3389 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3390 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3391 ($(objpfx)tst-tlsalign-extern-static): Likewise.
3392 (test-xfail-tst-tlsalign-extern-static): New variable.
3394 2015-06-02 Joseph Myers <joseph@codesourcery.com>
3396 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3397 Use variable name _sc_err instead of err.
3398 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3400 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3401 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3402 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3403 (INLINE_SYSCALL): Likewise.
3405 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3406 * include/string.h (__strnlen): Use libc_hidden_proto.
3407 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3408 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3409 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3410 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3411 (libc_hidden_def): Undefine and redefine.
3412 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3413 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3415 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3417 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3420 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3421 weak alias of __towlower. Use libc_hidden_weak.
3422 (towupper): Rename to __towupper and define as weak alias of
3423 __towupper. Use libc_hidden_weak.
3424 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3425 (__towupper): Likewise.
3426 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3427 __towlower instead of towlower.
3429 2015-06-02 Roland McGrath <roland@hack.frob.com>
3431 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3432 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3434 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3436 * sysdeps/aarch64/libm-test-ulps: Update.
3438 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3440 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3442 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3444 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3445 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3446 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3447 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3448 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3450 2015-06-01 Martin Sebor <msebor@redhat.com>
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3454 (__setcontext): Use extended four-operand version of mtsf whenever
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3457 (__novec_swapcontext): Likewise.
3459 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 * benchtests/scripts/compare_bench.py: New file.
3462 * benchtests/scripts/import_bench.py (mean): New function.
3463 (split_list): Likewise.
3464 (do_for_all_timings): Likewise.
3465 (compress_timings): Likewise.
3467 * benchtests/scripts/import_bench.py: New file.
3468 * benchtests/scripts/validate_benchout.py: Import import_bench
3469 instead of jsonschema.
3470 (validate_bench): Remove function.
3471 (main): Use import_bench.
3473 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3475 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3476 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3478 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3482 2015-05-28 Roland McGrath <roland@hack.frob.com>
3484 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3485 set THREAD_SELF->tid to a magic value and futex-wake it.
3486 Pass its address to the thread_exit system call.
3487 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3489 * sysdeps/nacl/lowlevellock.h: New file.
3490 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3492 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3493 Add TIMEOUT to current time, don't subtract it.
3495 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3499 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3500 ($(objpfx)tst-audit2.out): Also depend on
3501 $(objpfx)tst-auditmod9b.so.
3502 * elf/tst-audit2.c: Include <dlfcn.h>.
3503 (calloc_called): New.
3504 (calloc): Allow to be called more than once.
3505 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3507 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3509 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3510 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3512 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3514 * stdlib/monetary.h: Fix comment.
3516 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3518 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3519 Avoid using variables in #defines that might cause shadowing.
3520 (INTERNAL_VSYSCALL_CALL): Likewise.
3522 2015-05-26 Roland McGrath <roland@hack.frob.com>
3524 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3526 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3527 * nptl/lll_timedlock_wait.c: ... to this new file.
3528 * nptl/Makefile (libpthread-routines): Add it.
3529 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3530 * nptl/lll_timedwait_tid.c: ... to this new file.
3531 * nptl/Makefile (libpthread-routines): Add it.
3532 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3533 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3534 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3535 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3536 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3537 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3538 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3539 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3540 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3541 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3543 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3545 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3546 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3547 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3548 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3549 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3551 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3553 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3554 * sysdeps/unix/sysv/linux/tile/sysdep.h
3555 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3556 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3557 using vDSO syscall macro.
3559 2015-05-26 Andriy Rysin <arysin@gmail.com>
3562 * uk_UA: Fix sorting order for Ukrainian locale
3564 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3566 * stdlib/monetary.h: Fix comment.
3568 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3571 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3572 st_mtim and st_ctim members.
3573 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3574 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3575 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3576 (struct stat64): Likewise.
3577 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3578 (struct stat64): Likewise.
3579 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3580 (struct stat64): Likewise.
3582 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3584 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3585 Define and include sysdep-vdso.h.
3586 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3588 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3590 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3591 Define with VDSO_SYMBOL and use PTR_MANGLE.
3592 (__vdso_clock_gettime): Likewise.
3593 (__vdso_clock_getres): Likewise.
3594 (_libc_vdso_platform_setup): Likewise.
3595 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3597 (_libc_vdso_platform_setup): Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3600 (__vdso_clock_gettime): Likewise.
3601 (__vdso_clock_getres): Likewise.
3602 (__vdso_get_tbfreq): Likewise.
3603 (__vdso_getcpu): Likewise.
3604 (__vdso_time): Likewise.
3605 (__vdso_sigtramp_rt64): Likewise.
3606 (__vdso_signtramp32): Likewise.
3607 (__vdso_sigtramp_rt32): Likewise.
3608 (_libc_vdso_platform_setup): Likewise.
3609 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3611 (__vdso_clock_gettime): Likewise.
3612 (__vdso_clock_getres): Likewise.
3613 (_libc_vdso_platform_setup): Likewise.
3614 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3616 (__vdso_clock_gettime): Likewise.
3617 (_libc_vdso_platform_setup): Likewise.
3618 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3620 (__vdso_getcpu): Likewise.
3621 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3622 Use VDSO_SYMBOL macro to define.
3623 (__vdso_clock_gettime): Likewise.
3624 (__vdso_clock_getres): Likewise.
3625 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3627 (__vdso_clock_gettime): Likewise.
3628 (__vdso_clock_getres): Likewise.
3629 (__vdso_get_tbfreq): Likewise.
3630 (__vdso_getcpu): Likewise.
3631 (__vdso_time): Likewise.
3632 (__vdso_sigtramp_rt64): Likewise.
3633 (__vdso_signtramp32): Likewise.
3634 (__vdso_sigtramp_rt32): Likewise.
3635 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3637 (__vdso_clock_gettime): Likewise.
3638 (__vdso_clock_getres): Likewise.
3639 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3641 (__vdso_clock_gettime): Likewise.
3642 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3646 (INTERNAL_VSYSCALL): Likewise.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3649 (INTERNAL_VSYSCALL): Likewise.
3650 (INTERNAL_VSYSCALL_NCS): Likewise.
3651 (INTERNAL_VSYSCALL_CALL): New macro.
3652 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3653 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3655 (INTERNAL_VSYSCALL): Likewise.
3656 (INTERNAL_VSYSCALL_NCS): Likewise.
3657 (INTERNAL_VSYSCALL_CALL): New macro.
3658 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3660 (INLINE_VSYSCALL): Remove macro.
3661 (INTERNAL_VSYSCALL): Remove macro.
3662 (INTERNAL_VSYSCALL_NCS): Remove macro.
3663 (INTERNAL_VSYSCALL_CALL): New macro.
3664 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3665 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3666 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3667 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3668 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3670 (INLINE_VSYSCALL): Remove macro.
3671 (INTERNAL_VSYSCALL): Likewise.
3672 (INTERNAL_VSYSCALL_NCS): Likewise.
3673 (INTERNAL_VSYSCALL_CALL): New macro.
3674 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3675 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3676 PTR_DEMANGLE on vDSO pointer.
3677 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3678 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3680 (INTERNAL_SYSCALL): Likewise.
3681 (INTERNAL_VSYSCALL_NCS): Remove macro.
3682 (INTERNAL_VSYSCALL_CALL): New macro.
3683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3685 (INTERNAL_VSYSCALL): Likewise.
3686 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3687 sysdep-vdso.h instead of libc-vdso.h.
3688 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3690 (INLINE_VSYSCALL): Likewise.
3691 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3692 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3694 (INLINE_VSYSCALL): Likewise.
3695 (INTERNAL_VSYSCALL): Likewise.
3696 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3697 * sysdeps/unix/sysv/linux/timespec_get.c
3698 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3699 (timespec_get): Use ANSI prototype.
3700 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3701 and definition for Linux.
3703 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3705 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3706 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3708 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3712 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3713 for missing DT_PLTRELSZ.
3715 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3717 Remove obsolete aliases that broke 'locale -a'
3719 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3720 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3721 breaking some applications that use 'locale -a' output.
3722 Change the encoding of this file from Latin-1 to ASCII to avoid
3723 other potential problems with people grepping this file.
3725 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3727 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3728 -fasynchronous-unwind-tables.
3729 (CFLAGS-sendto.c): Likewise.
3730 (CFLAGS-sendmsg.c): Likewise.
3731 (CFLAGS-connect.c): Likewise.
3732 (CFLAGS-recvmsg.c): Likewise.
3733 (CFLAGS-recvfrom.c): Likewise.
3734 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3735 (SOCKETCALL): New macro: non-cancellable socketcall.
3736 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3737 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3738 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3739 * sysdeps/unix/sysv/linux/accept.c: New file.
3740 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3741 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3742 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3743 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3744 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3745 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3746 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3747 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3748 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3749 * sysdeps/unix/sysv/linux/send.c: Likewise.
3750 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3751 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3752 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3753 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3754 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3755 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3756 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3758 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3759 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3760 instead of __internal_xxx function.
3761 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3763 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3764 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3765 instead of __internal_xxx function.
3766 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3768 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3769 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3770 instead of __internal_xxx function.
3771 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3772 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3773 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3774 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3775 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3776 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3777 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3778 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3779 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3780 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3781 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3782 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3783 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3784 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3785 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3786 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3787 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3788 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3789 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3790 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3793 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3794 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3795 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3796 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3797 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3798 * sysdeps/unix/sysv/linux/send.S: Likewise.
3799 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3800 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3801 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3802 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3803 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3804 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3805 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3806 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3807 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3808 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3809 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3810 socketcall is implemented in GLIBC.
3812 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3814 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3815 (__fma): Ignore uninitialized warnings around packing.
3816 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3817 (__fmaf): Ignore uninitialized warnings around packing.
3818 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3819 (__fmal): Ignore uninitialized warnings around packing.
3821 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3822 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3824 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3826 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3827 switch statement into default case.
3828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3830 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3831 a conditional in forcing "inexact".
3832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3835 2015-05-22 Roland McGrath <roland@hack.frob.com>
3837 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3838 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3839 for each INTERNAL_SYSCALL use.
3841 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3844 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3845 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3849 * string/basename.c (basename): Rename to __basename and define as
3850 weak alias of __basename. Use libc_hidden_weak.
3851 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3852 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3853 __basename instead of basename.
3854 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3856 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3858 2015-05-18 Florian Weimer <fweimer@redhat.com>
3860 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3861 (_IO_JUMPS_FILE_plus): New.
3862 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3863 _IO_CAST_FIELD_ACCESS.
3864 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3865 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3866 * libio/freopen.c (freopen): Likewise.
3867 * libio/freopen64.c (freopen64): Likewise.
3868 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3869 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3870 * libio/iofwide.c (_IO_fwide): Likewise.
3871 * libio/memstream.c (open_memstream): Likewise.
3872 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3873 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3874 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3876 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3879 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3881 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3882 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3884 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3885 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3891 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3892 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3894 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3895 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3896 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3898 2015-05-21 Florian Weimer <fweimer@redhat.com>
3900 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3901 Adjust jump table label generation macros.
3903 2015-05-21 Florian Weimer <fweimer@redhat.com>
3905 * stdio-common/vfprintf.c (vfprintf): Move local variables
3906 args_malloced, specs, specs_malloced, and the code after
3907 do_positional to the printf_positional function.
3908 (printf_positional): New function.
3910 2015-05-21 Florian Weimer <fweimer@redhat.com>
3912 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3914 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3915 STEP4_TABLE, process_arg): Move macro definitions
3916 out of the vfprintf function. (Cosmetic change only.)
3918 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3920 * benchtests/Makefile (stdio-common-bench): Define.
3921 (benchset): Add stdio-common-bench.
3922 * sprintf-inputs: New file.
3923 * sprintf-source.c: New file.
3925 2015-05-21 Andreas Schwab <schwab@suse.de>
3929 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3930 of struct __res_state.
3931 * resolv/res_send.c (__libc_res_nsend): Likewise.
3932 (get_nsaddr): New function.
3933 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3936 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3938 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3939 -D_POSIX_C_SOURCE=199506L.
3941 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3943 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3944 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3945 Do not mention otherwise.
3946 [POSIX] (_XOPEN_VERSION): Do not expect.
3947 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3948 [POSIX] (_POSIX2_C_BIND): Likewise.
3949 [POSIX] (_POSIX2_VERSION): Likewise.
3950 [POSIX] (_XOPEN_XPG2): Likewise.
3951 [POSIX] (_XOPEN_XPG3): Likewise.
3952 [POSIX] (_XOPEN_XPG4): Likewise.
3953 [POSIX] (_XOPEN_UNIX): Likewise.
3954 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3955 [POSIX] (_POSIX_BARRIERS): Likewise.
3956 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3957 [POSIX] (_POSIX_CPUTIME): Likewise.
3958 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3959 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3960 [POSIX] (_POSIX_SHELL): Likewise.
3961 [POSIX] (_POSIX_SPAWN): Likewise.
3962 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3963 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3964 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3965 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3966 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3967 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3968 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3969 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3970 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3971 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3972 [POSIX] (_POSIX2_PBS): Likewise.
3973 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3974 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3975 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3976 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3977 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3978 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3979 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3980 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3981 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3982 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3983 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3984 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3985 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3986 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3987 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3988 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3989 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3990 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3991 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3992 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3993 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3994 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3995 [POSIX] (_SC_2_C_BIND): Likewise.
3996 [POSIX] (_SC_2_C_VERSION): Likewise.
3997 [POSIX] (_SC_2_PBS): Likewise.
3998 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3999 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4000 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4001 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4002 [POSIX] (_SC_2_PBS_TRACK): Likewise.
4003 [POSIX] (_SC_ATEXIT_MAX): Likewise.
4004 [POSIX] (_SC_BARRIERS): Likewise.
4005 [POSIX] (_SC_BASE): Likewise.
4006 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4007 [POSIX] (_SC_DEVICE_IO): Likewise.
4008 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4009 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4010 [POSIX] (_SC_FD_MGMT): Likewise.
4011 [POSIX] (_SC_FIFO): Likewise.
4012 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4013 [POSIX] (_SC_FILE_LOCKING): Likewise.
4014 [POSIX] (_SC_FILE_SYSTEM): Likewise.
4015 [POSIX] (_SC_IOV_MAX): Likewise.
4016 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4017 [POSIX] (_SC_NETWORKING): Likewise.
4018 [POSIX] (_SC_PAGE_SIZE): Likewise.
4019 [POSIX] (_SC_PASS_MAX): Likewise.
4020 [POSIX] (_SC_PIPE): Likewise.
4021 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4022 [POSIX] (_SC_REGEXP): Likewise.
4023 [POSIX] (_SC_SHELL): Likewise.
4024 [POSIX] (_SC_SIGNALS): Likewise.
4025 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4026 [POSIX] (_SC_SPIN_LOCKS): Likewise.
4027 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4028 [POSIX] (_SC_USER_GROUPS): Likewise.
4029 [POSIX] (_SC_USER_GROUPS_R): Likewise.
4030 [POSIX] (_SC_STREAMS): Likewise.
4031 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4032 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4033 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4034 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4035 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4036 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4037 [POSIX] (_PC_FILESIZEBITS): Likewise.
4038 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4039 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4040 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4041 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4042 [POSIX] (uid_t): Likewise.
4043 [POSIX] (gid_t): Likewise.
4044 [POSIX] (off_t): Likewise.
4045 [POSIX] (pid_t): Likewise.
4046 [POSIX] (cuserid): Allow.
4047 (_SC_2_CHAR_TERM): Require constant.
4048 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4049 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4052 2015-05-20 Roland McGrath <roland@hack.frob.com>
4054 * sysdeps/nacl/pthread-pids.h: New file.
4055 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4056 (create_thread): Use __nacl_get_tid to initialize PD->tid.
4058 * nptl/pthread-pids.h: New file.
4059 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4060 * nptl/nptl-init.c: Include <pthread-pids.h>.
4061 (__pthread_initialize_minimal_internal):
4062 Call __pthread_initialize_pids instead of set_tid_address syscall.
4064 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4065 * sysdeps/posix/usleep.c: ... here.
4067 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4069 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4070 call_pselect6 object.
4071 [$(subdir) = io]: Remove call_sync_file_range object.
4072 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4073 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4074 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4075 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4077 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
4079 * math/s_cproj.c: Add include "math_private.h".
4080 * math/s_cprojf.c: Likewise.
4081 * math/s_cprojl.c: Likewise.
4083 2015-05-19 Joseph Myers <joseph@codesourcery.com>
4086 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4087 high mantissa bit when testing whether P is a NaN.
4088 * math/libm-test.inc (remainder_test_data): Add more tests.
4089 (remquo_test_data): Likewise.
4092 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4093 below -32, return the argument, with underflow if subnormal.
4094 * math/auto-libm-test-in: Add more tests of atanh.
4095 * math/auto-libm-test-out: Regenerated.
4097 2015-05-19 Roland McGrath <roland@hack.frob.com>
4100 * nptl/tst-sem15.c: New file.
4101 * nptl/Makefile (tests): Add it.
4102 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4103 s/<</>>/ to fix typo in EOVERFLOW check.
4104 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4106 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4108 * manual/strings.texi (envz_remove): Fix typo in safety
4111 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
4112 Steve Ellcey <sellcey@imgtec.com>
4114 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4115 in order to avoid strict alias warnings.
4116 (iruserok_af): Ditto for ra.
4118 2015-05-19 James Lemke <jwlemke@codesourcery.com>
4122 (magicbyte): Convert to a function and avoid returning 0x01.
4123 (mem2mem_check): Avoid using a length byte equal to the magic byte.
4124 (mem2chunk_check): Fix unsigned comparisons to zero.
4125 Hoist defs of sz and magic.
4127 2015-05-19 Richard Henderson <rth@redhat.com>
4129 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4131 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4133 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4136 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4137 * malloc/arena.c (arena_lock): Check if arena is corrupt.
4138 (reused_arena): Find a non-corrupt arena.
4139 (heap_trim): Pass arena to unlink.
4140 * malloc/hooks.c (malloc_check_get_size): Pass arena to
4142 (top_check): Likewise.
4143 (free_check): Likewise.
4144 (realloc_check): Likewise.
4145 * malloc/malloc.c (malloc_printerr): Add arena argument.
4147 (munmap_chunk): Adjust.
4148 (ARENA_CORRUPTION_BIT): New macro.
4149 (arena_is_corrupt): Likewise.
4150 (set_arena_corrupt): Likewise.
4151 (sysmalloc): Use mmap if there are no usable arenas.
4152 (_int_malloc): Likewise.
4153 (__libc_malloc): Don't fail if arena_get returns NULL.
4154 (_mid_memalign): Likewise.
4155 (__libc_calloc): Likewise.
4156 (__libc_realloc): Adjust for additional argument to
4158 (_int_free): Likewise.
4159 (malloc_consolidate): Likewise.
4160 (_int_realloc): Likewise.
4161 (_int_memalign): Don't touch corrupt arenas.
4162 * malloc/tst-malloc-backtrace.c: New test case.
4164 * Makefile (summarize-tests): Fix return value on success.
4166 * manual/string.texi (Envz Functions): Add envz_remove.
4168 2015-05-18 Roland McGrath <roland@hack.frob.com>
4170 * sysdeps/posix/opendir.c: Include <stdbool.h>.
4171 (invalid_name): New function, broken out of ...
4172 (__opendirat): ... here. Call it.
4173 (need_isdir_precheck): New function, broken out of ...
4174 (__opendirat): ... here. Call it.
4175 Use __fxstatat64, not __xstatat64.
4176 (opendir_oflags): New function, broken out of ...
4177 (__opendirat): ... here. Call it.
4178 (opendir_tail): New function, broken out of ...
4179 (__opendirat): ... here. Call it.
4180 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4181 opendir_tail, rather than punting to __opendirat.
4182 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4184 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4186 * .gitignore: Ignore generated *.pyc.
4188 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
4190 * include/stdio.h: Define __need_wint_t.
4191 * test-skeleton.c: Avoid `for' loop initial declaration.
4192 * nptl/tst-initializers1.c: Use test-skeleton.c.
4194 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4197 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4199 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4202 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4203 (__ieee754_atanh): Force underflow exception for results with
4204 small absolute value.
4205 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4206 (__ieee754_atanhf): Force underflow exception for results with
4207 small absolute value.
4208 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4209 (__ieee754_atanh): Force underflow exception for results with
4210 small absolute value.
4211 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4212 (__ieee754_atanhf): Force underflow exception for results with
4213 small absolute value.
4214 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4215 (__ieee754_atanhl): Force underflow exception for results with
4216 small absolute value.
4217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4218 (__ieee754_atanhl): Force underflow exception for results with
4219 small absolute value.
4220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4221 (__ieee754_atanhl): Force underflow exception for results with
4222 small absolute value.
4223 * math/auto-libm-test-in: Do not allow missing underflow
4224 exceptions from atanh.
4225 * math/auto-libm-test-out: Regenerated.
4228 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4229 2**-28 as threshold for returning x or +/- 1/x.
4230 * math/auto-libm-test-in: Add more tests of tan.
4231 * math/auto-libm-test-out: Regenerated.
4234 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4235 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4236 * math/auto-libm-test-in: Add another test of lgamma.
4237 * math/auto-libm-test-out: Regenerated.
4239 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
4241 * stdio-common/printf_fp.c (___printf_fp): Use abs.
4242 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
4243 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4244 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4245 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
4246 (ADD2A): Use fabs. (SUB2A): Use fabs.
4247 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4248 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4250 (log1): Use fabs. (my_log2): Use fabs.
4251 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4252 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4254 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4256 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
4257 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
4258 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
4259 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
4260 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4261 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4263 2015-05-15 Joseph Myers <joseph@codesourcery.com>
4266 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4267 as threshold for returning 1 - x.
4268 * math/auto-libm-test-in: Add more tests of erfc.
4269 * math/auto-libm-test-out: Regenerated.
4271 2015-05-14 Joseph Myers <joseph@codesourcery.com>
4274 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4275 threshold for large arguments.
4276 * math/auto-libm-test-in: Add another test of atan.
4277 * math/auto-libm-test-out: Regenerated.
4280 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4281 (__log1p): Force underflow exception for results with small
4283 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4284 (__log1pf): Force underflow exception for results with small
4286 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4287 (__log1p): Force underflow exception for results with small
4289 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4290 (__log1pf): Force underflow exception for results with small
4292 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4293 (__log1pl): Force underflow exception for results with small
4295 * math/auto-libm-test-in: Do not allow missing underflow
4296 exceptions from log1p.
4297 * math/auto-libm-test-out: Regenerated.
4299 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
4300 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4303 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4305 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
4307 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4308 (libmvec): New variable.
4309 * configure.ac: Added option for mathvec build.
4310 * configure: Regenerated.
4311 * mathvec/Depend: New file.
4312 * mathvec/Makefile: New file.
4313 * shlib-versions: Added libmvec.
4314 * math/Makefile: Added rule for libm.so installation.
4316 * bits/math-vector.h: New file.
4317 * bits/libm-simd-decl-stubs.h: New header.
4318 * math/Makefile (headers): Added new header
4319 libm-simd-decl-stubs.h.
4320 * math/math.h (__MATHCALL_VEC): New macro.
4322 * math/gen-libm-have-vector-test.sh: Script generates series of macros
4323 for conditions in testing functions.
4324 * math/Makefile: Added call of libm-have-vector-test.sh.
4325 * math/libm-test.inc (HAVE_VECTOR): New macros.
4327 * math/libm-test.inc: START refactored.
4328 * math/test-double.c (TEST_MATHVEC): Add define.
4329 * math/test-float.c: Likewise.
4330 * math/test-idouble.c: Likewise.
4331 * math/test-ifloat.c: Likewise.
4332 * math/test-ildoubl.c: Likewise.
4333 * math/test-ldouble.c: Likewise.
4334 * sysdeps/generic/math-tests-arch.h
4335 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4338 * math/test-double.c (FUNC_TEST): New macro.
4339 * math/test-float.c: Likewise.
4340 * math/test-idouble.c: Likewise.
4341 * math/test-ifloat.c: Likewise.
4342 * math/test-ildoubl.c: Likewise.
4343 * math/test-ldouble.c: Likewise.
4344 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4346 2015-05-13 Roland McGrath <roland@hack.frob.com>
4348 * sysdeps/nacl/fdopendir.c: New file.
4350 * dirent/scandir-tail.c: New file.
4351 * dirent/scandir64-tail.c: New file.
4352 * dirent/Makefile (routines): Add them.
4353 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4354 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4355 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4356 [!SCANDIR] (SCANDIR_TAIL): New macro.
4357 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4358 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4359 (SCANDIRAT): Macro removed.
4360 (SCANDIR_TAIL): New macro.
4361 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4362 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4363 (SCANDIRAT): Just call __opendirat and __scandir_tail.
4364 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4365 (READDIR): Macro removed.
4366 (SCANDIR_TAIL): New macro.
4367 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4368 (SCANDIR_TAIL): New macro.
4370 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4371 * dirent/scandir-cancel.c: ... to this new file.
4372 * dirent/Makefile (routines): Add it.
4373 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4374 * sysdeps/unix/sysv/linux/i386/scandir64.c
4375 (SKIP_SCANDIR_CANCEL): Macro removed.
4376 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4378 * dirent/tst-scandir.c: New file.
4379 * dirent/tst-scandir64.c: New file.
4380 * dirent/Makefile (tests): Add them.
4382 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
4385 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4387 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
4389 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4392 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
4394 * benchtests/bench-strcoll.c: New benchmark.
4395 * benchtests/Makefile: Generate locales and run benchmark.
4396 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4397 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4398 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4399 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4400 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4401 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4402 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4403 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4404 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4405 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4406 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4407 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4408 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4409 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4410 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4411 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4412 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4413 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4414 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4415 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4416 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4417 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4418 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4419 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4421 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4423 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4424 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4426 2015-05-12 Roland McGrath <roland@hack.frob.com>
4428 * posix/uname-values.h: New file.
4429 * posix/uname.c: Include that instead of <config-name.h>.
4430 * sysdeps/nacl/uname-values.h: New file.
4431 * sysdeps/arm/nacl/uname-values.h: New file.
4433 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4435 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4436 splitting into fields.
4438 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4440 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4441 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4442 * locale/localeinfo.h: Add enum collation_encoding_type.
4443 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4444 * programs/ld-collate.c (collate_output): Add encoding type info.
4445 * string/strcoll_l.c (STRDIFF): New function.
4446 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4447 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4449 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4452 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4453 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4454 <fpu_control.h> instead of <math/fpu_control.c>.
4455 * sysdeps/mips/mips32/fpu/Makefile: New file.
4457 2015-05-11 Andreas Schwab <schwab@suse.de>
4460 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4462 (_nss_compat_endgrent): Call nss_endgrent.
4463 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4465 (_nss_compat_endpwent): Call nss_endpwent.
4466 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4467 needent, call nss_setspent only if non-zero.
4468 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4469 (internal_endspent): Don't call nss_endspent.
4470 (_nss_compat_endspent): Call nss_endspent.
4471 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4472 Remove. All uses removed.
4473 (internal_setent): Remove parameter stayopen, add parameter
4474 stream. Use it instead of global variable.
4475 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4476 (internal_endent, internal_getent): Add parameter stream. Use it
4477 instead of global variable.
4478 (CONCAT(_nss_files_end,ENTNAME))
4479 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4480 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4481 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4483 (internal_setent, internal_endent): Add parameter stream. Use it
4484 instead of global variable.
4485 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4487 (get_next_alias): Add parameter stream.
4488 (_nss_files_getaliasent_r): Pass global stream.
4489 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4490 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4491 (_nss_files_gethostbyname4_r): Pass local stream to
4492 internal_setent, internal_getent and internal_endent. Remove
4495 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4497 * tst-strfmon1.c (tests): Update expected currency symbol.
4499 2015-05-08 Roland McGrath <roland@hack.frob.com>
4501 * sysdeps/nacl/gethostname.c: New file.
4503 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4505 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4507 * math/auto-libm-test-out: Regenerated.
4508 * sysdeps/i386/fpu/libm-test-ulps: Update.
4509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4511 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4514 * stdlib/tst-setcontext3.c: New file.
4515 * stdlib/tst-setcontext3.sh: New file.
4516 * stdlib/Makefile (tests): Add tst-setcontext3.
4517 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4518 to verify test program created output file.
4519 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4520 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4521 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4522 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4524 2015-05-06 Roland McGrath <roland@hack.frob.com>
4527 * elf/tst-tlsalign.c: New file.
4528 * elf/tst-tlsalign-static.c: New file.
4529 * elf/tst-tlsalign-lib.c: New file.
4530 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4531 (tests-static): Add tst-tlsalign-static.
4532 (modules-names): Add tst-tlsalign-lib.
4533 (test-xfail-tst-tlsalign): New variable.
4534 (test-xfail-tst-tlsalign-static): New variable.
4536 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4537 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4539 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4541 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4542 csqrt, erfc, sin and sincos.
4543 * math/auto-libm-test-out: Regenerated.
4544 * sysdeps/i386/fpu/libm-test-ulps: Update.
4545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4549 * sysdeps/aarch64/libm-test-ulps: Update.
4551 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4553 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4554 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4555 * math/auto-libm-test-out: Regenerated.
4556 * sysdeps/i386/fpu/libm-test-ulps: Update.
4557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4562 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4563 (wcsncpy): Likewise.
4565 2015-05-05 Florian Weimer <fweimer@redhat.com>
4567 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4568 Assume __ASSUME_FALLOCATE is always true.
4569 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4570 (__posix_fallocate64_l64): Likweise.
4571 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4572 (posix_fallocate): Likewise.
4573 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4574 (__posix_fallocate64_l64): Likewise.
4575 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4576 [!__ASSUME_FALLOCATE]: Add comment.
4578 2015-05-05 Florian Weimer <fweimer@redhat.com>
4580 * sysdeps/unix/sysv/linux/i386/Makefile
4581 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4582 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4583 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4584 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4585 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4586 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4587 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4589 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4591 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4592 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4594 * math/auto-libm-test-out: Regenerated.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4598 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4600 * math/auto-libm-test-in: Add more tests of tgamma.
4601 * math/auto-libm-test-out: Regenerated.
4602 * sysdeps/i386/fpu/libm-test-ulps: Update.
4603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4605 * math/auto-libm-test-in: Add more tests of tanh.
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 * math/auto-libm-test-in: Add more tests of tan.
4611 * math/auto-libm-test-out: Regenerated.
4612 * sysdeps/i386/fpu/libm-test-ulps: Update.
4613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4615 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4616 * math/auto-libm-test-out: Regenerated.
4617 * sysdeps/i386/fpu/libm-test-ulps: Update.
4618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4620 * math/auto-libm-test-in: Add another test of pow.
4621 * math/auto-libm-test-out: Regenerated.
4622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4624 * math/auto-libm-test-in: Add more tests of lgamma.
4625 * math/auto-libm-test-out: Regenerated.
4626 * sysdeps/i386/fpu/libm-test-ulps: Update.
4627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4629 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4631 * math/auto-libm-test-out: Regenerated.
4632 * sysdeps/i386/fpu/libm-test-ulps: Update.
4633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4635 2015-05-01 Mark Wielaard <mjw@redhat.com>
4637 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4638 Elf64_Chdr structs and ELFCOMPRESS constants.
4640 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4642 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4644 * math/auto-libm-test-out: Regenerated.
4645 * sysdeps/i386/fpu/libm-test-ulps: Update.
4646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4648 * math/auto-libm-test-in: Add more tests of erf and erfc.
4649 * math/auto-libm-test-out: Regenerated.
4650 * sysdeps/i386/fpu/libm-test-ulps: Update.
4651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4653 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4655 * config.h.in (HAVE_AARCH64_BE): Add.
4657 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4659 * math/auto-libm-test-in: Add more tests of csqrt.
4660 * math/auto-libm-test-out: Regenerated.
4661 * sysdeps/i386/fpu/libm-test-ulps: Update.
4662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4664 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4665 * math/auto-libm-test-out: Regenerated.
4666 * sysdeps/i386/fpu/libm-test-ulps: Update.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4669 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4671 2015-04-29 Roland McGrath <roland@hack.frob.com>
4673 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4674 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4676 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4677 (euidaccess, eaccess): Define as weak aliases.
4679 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4680 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4681 but __suseconds_t is often 'long int' so some sources assume that
4682 type is being used (e.g. they use %ld to print tv_usec).
4684 2015-04-29 Florian Weimer <fweimer@redhat.com>
4687 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4689 * nss/tst-nss-getpwent.c: New file.
4690 * nss/Makefile (tests): Add new test.
4692 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4696 exponents less than 48 as cases where high part of mantissa needs
4697 examining to determine whether argument is integral.
4698 * math/libm-test.inc (round_test_data): Add more tests.
4700 2015-04-28 Mark Wielaard <mjw@redhat.com>
4702 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4704 2015-04-27 David S. Miller <davem@davemloft.net>
4706 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4708 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4710 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4713 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4715 2015-04-27 Florian Weimer <fweimer@redhat.com>
4718 * time/tzset.c (parse_tzname): Return error on memory allocation
4720 * test-skeleton.c (struct temp_name_list): Change type of name
4721 member to non-const.
4722 (add_temp_file): Create a copy of the file name.
4723 (delete_temp_files): Deallocate memory.
4724 (create_temp_file): Add comment.
4726 2015-04-24 Florian Weimer <fweimer@redhat.com>
4728 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4729 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4731 2015-04-24 Roland McGrath <roland@hack.frob.com>
4733 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4734 * sysdeps/arm/configure: Regenerated.
4736 2015-04-24 Florian Weimer <fweimer@redhat.com>
4739 * time/tzfile.c (__tzfile_read): Check for large values of
4740 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4741 * time/tzset.c (__tzstring_len): New function, based on the old
4742 __tzstring function.
4743 (__tzstring): Call __tzstring_len.
4744 (parse_tzname): New helper function extracted from
4745 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4747 (parse_offset): New helper function extracted from
4748 __tzset_parse_tz. Replace switch with fallthrough with
4749 initialization before sscanf.
4750 (parse_rule): Likewise.
4751 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4752 new-style function definition.
4753 * timezone/Makefile (tests): Add tst-tzset.
4754 (tst-tzset.out): Dependencies on time zone files.
4755 (tst-tzset-ENV): Set TZDIR.
4756 (testdata/XT%): Copy crafted time zone files.
4757 * timezone/README: Mention crafted time zone files.
4758 * timezone/testdata/XT1, timezone/testdata/XT2,
4759 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4761 * timezone/tst-tzset.c: New test.
4763 2015-04-24 Florian Weimer <fweimer@redhat.com>
4765 * Makeconfig (+gccwarn): Remove -Winline.
4767 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4769 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4771 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4773 * NEWS: Mention sysconf() cache information support for s390.
4774 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4776 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4778 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4780 (__nearbyint): Likewise.
4781 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4782 (copysignl): Likewise.
4784 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4787 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4788 based on padding. (CVE-2015-1781)
4790 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4794 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4795 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4796 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4797 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4798 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4799 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4804 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4805 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4806 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4807 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4808 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4809 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4810 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4811 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4812 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4813 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4814 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4815 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4816 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4818 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4820 * stdlib/setenv.c (__add_to_environ):
4821 Dump core quickly if setenv (..., NULL, ...) is called.
4822 This time, do it the right way, and pacify GCC with a pragma.
4824 2015-04-17 Roland McGrath <roland@hack.frob.com>
4826 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4827 IMAP->l_prev cannot be null, and #if out the code for the contrary
4828 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4829 believe that NS (&_dl_ns[NSID]) could point outside the array.
4831 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4832 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4833 before using NSID as an index.
4835 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4838 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4839 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4840 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4842 2015-04-17 Roland McGrath <roland@hack.frob.com>
4844 Add preliminary port to Google Native Client on ARM.
4845 * abi-tags (.*-.*-nacl.*): New entry.
4846 * sysdeps/arm/nacl: New directory.
4847 * sysdeps/nacl: New directory.
4849 2015-04-16 David S. Miller <davem@davemloft.net>
4851 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4852 lowlevellock-futex.h
4854 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4856 * sysdeps/tile/configure.ac: New file.
4857 * sysdeps/tile/configure: Regenerated.
4859 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4861 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4862 conditionals for weak_alias and libc_hidden_weak.
4863 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4864 libc_hidden_weak and weak_alias.
4865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4866 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4867 and weak_alias for static one.
4869 2015-04-15 David S. Miller <davem@davemloft.net>
4871 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4873 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4876 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4877 Use signed comparision instead of substraction to avoid
4879 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4880 Take the sign of ret.
4881 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4882 Do not expect precise return values. Only the sign matters.
4883 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4884 * wcsmbs/test-wcsncmp.c: New File.
4885 * string/test-strncmp.c: Add wcsncmp support.
4887 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4890 * math/w_log1p.c: New file.
4891 * math/w_log1pf.c: Likewise.
4892 * math/w_log1pl.c: Likewise.
4893 * math/Makefile (libm-calls): Add w_log1p.
4894 * math/s_log1pl.c (log1pl): Remove weak_alias.
4895 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4896 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4897 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4898 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4899 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4900 [NO_LONG_DOUBLE] (log1pl): Likewise.
4901 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4902 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4903 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4904 (log1p): Remove long_double_symbol.
4905 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4906 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4907 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4908 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4909 remove weak_alias for corresponding log1p function.
4910 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4911 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4912 * sysdeps/ia64/fpu/w_log1p.c: New file.
4913 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4914 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4915 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4917 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4921 decimal exponent by 1.
4922 * stdlib/tst-strtod-round-data: Add more tests.
4923 * stdlib/tst-strtod-round.c (tests): Regenerated.
4925 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4927 * math/auto-libm-test-in: Add more tests of clog and clog10.
4928 * math/auto-libm-test-out: Regenerated.
4929 * sysdeps/i386/fpu/libm-test-ulps: Update.
4930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4932 2015-04-09 Roland McGrath <roland@hack.frob.com>
4934 * Makeconfig (module-cppflags): Exclude all .v.i files.
4935 (skip-module-cppflags): Variable removed.
4937 * configure.ac (libc_config_ok): Initialize before reading
4938 preconfigure scripts, not after.
4939 * configure: Regenerated.
4941 * test-skeleton.c (TIMEOUT): Move #define to top level.
4942 (main): Grok environment variable TEST_DIRECT. If set, print
4943 test expectation details into that file and then behave as if
4946 2015-04-09 Florian Weimer <fweimer@redhat.com>
4948 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4951 2015-04-08 David S. Miller <davem@davemloft.net>
4953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4955 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4957 * math/auto-libm-test-in: Add more tests of atanh.
4958 * math/auto-libm-test-out: Regenerated.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962 * math/auto-libm-test-in: Add more tests of atan.
4963 * math/auto-libm-test-out: Regenerated.
4964 * sysdeps/i386/fpu/libm-test-ulps: Update.
4965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967 2015-04-08 Florian Weimer <fweimer@redhat.com>
4969 * elf/pldd.c (main): Rewrite to use struct
4970 scratch_buffer instead of extend_alloca.
4971 * elf/pldd-xx.c (find_maps): Likewise.
4972 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4974 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4975 scratch_buffer instead of extend_alloca.
4976 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4977 grp/compat-initgroups.c.
4978 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4979 Rewrite to use struct scratch_buffer instead of extend_alloca.
4980 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4981 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4983 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4985 * math/auto-libm-test-in: Add more tests of cbrt.
4986 * math/auto-libm-test-out: Regenerated.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4989 * math/auto-libm-test-in: Add more tests of cabs.
4990 * math/auto-libm-test-out: Regenerated.
4991 * sysdeps/i386/fpu/libm-test-ulps: Update.
4992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4996 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4997 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4999 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5001 * math/auto-libm-test-out: Regenerated.
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5006 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5007 (atan): Set FE_TONEAREST mode for internal computations.
5008 * math/auto-libm-test-in: Add more tests of atan.
5009 * math/auto-libm-test-out: Regenerated.
5011 2015-04-07 James Cowgill <james410@cowgill.org.uk>
5014 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5016 2015-04-07 Florian Weimer <fweimer@redhat.com>
5018 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5020 2015-04-07 Florian Weimer <fweimer@redhat.com>
5022 * include/scratch_buffer.h: New file.
5023 * malloc/scratch_buffer_grow.c: Likewise.
5024 * malloc/scratch_buffer_grow_preserve.c: Likewise.
5025 * malloc/scratch_buffer_set_array_size.c: Likewise.
5026 * malloc/tst-scratch_buffer.c: Likewise.
5027 * malloc/Makefile (routines): Add scratch_buffer_grow.
5028 (tests): Add test case.
5029 * malloc/Versions (GLIBC_PRIVATE): Export
5030 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5031 __libc_scratch_buffer_set_array_size.
5033 2015-04-06 Richard Henderson <rth@redhat.com>
5035 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5036 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5038 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5039 unsigned int before printing.
5041 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5044 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5045 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5047 2015-04-02 Florian Weimer <fweimer@redhat.com>
5049 * include/libc-internal.h (libc_max_align_t): Define.
5051 2015-04-02 Andreas Schwab <schwab@suse.de>
5054 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5056 2015-04-02 Mel Gorman <mgorman@suse.de>
5059 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5060 as well as the main arena.
5062 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5065 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5066 sharing L2 cache to 2 for Silvermont/Knights Landing.
5068 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5071 * config.make.in (have-protected-data): New.
5072 * configure.ac: Check linker support for protected data symbol.
5073 * configure: Regenerated.
5074 * elf/Makefile (modules-names): Add tst-protected1moda and
5075 tst-protected1modb if $(have-protected-data) is yes.
5076 (tests): Add tst-protected1a and tst-protected1b if
5077 $(have-protected-data) is yes.
5078 ($(objpfx)tst-protected1a): New.
5079 ($(objpfx)tst-protected1b): Likewise.
5080 (tst-protected1modb.so-no-z-defs): Likewise.
5081 * elf/tst-protected1a.c: New file.
5082 * elf/tst-protected1b.c: Likewise.
5083 * elf/tst-protected1mod.h: Likewise.
5084 * elf/tst-protected1moda.c: Likewise.
5085 * elf/tst-protected1modb.c: Likewise.
5087 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
5090 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5091 indicates it is called from do_lookup_x on relocation against
5092 protected data, skip the data definion in the executable from
5094 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5095 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5096 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5097 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5098 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5100 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5101 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5102 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5103 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5104 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5105 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5107 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
5109 * sysdeps/nptl/pthread.h: Remove duplicate definition of
5110 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5112 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
5114 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5116 * sysdeps/x86_64/nptl/tls.h: Ditto.
5118 2015-03-27 Roland McGrath <roland@hack.frob.com>
5120 * dlfcn/tststatic.c (main): Converted to ...
5121 (do_test): ... this.
5122 (TEST_FUNCTION): New macro.
5123 Include test-skeleton.c.
5125 2015-03-26 Alan Modra <amodra@gmail.com>
5127 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5128 Don't segfault if ifunc resolver returns a NULL. Do set plt to
5129 zero for undefined weak.
5130 (elf_machine_plt_conflict): Similarly.
5132 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5134 * math/auto-libm-test-in: Add more tests of acosh, asinh and
5136 * math/auto-libm-test-out: Regenerated.
5137 * sysdeps/i386/fpu/libm-test-ulps: Update.
5138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5140 * math/auto-libm-test-in: Add another test of asin.
5141 * math/auto-libm-test-out: Regenerated.
5142 * sysdeps/i386/fpu/libm-test-ulps: Update.
5143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5145 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5147 (LLL_EBX_REG): Likewise.
5148 (LLL_ENTER_KERNEL): Likewise.
5150 * math/auto-libm-test-in: Add more tests of asin.
5151 * math/auto-libm-test-out: Regenerated.
5152 * sysdeps/i386/fpu/libm-test-ulps: Update.
5153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5157 libc_do_syscall_args): New structure.
5158 (INTERNAL_SYSCALL_MAIN_0): New macro.
5159 (INTERNAL_SYSCALL_MAIN_1): Likewise.
5160 (INTERNAL_SYSCALL_MAIN_2): Likewise.
5161 (INTERNAL_SYSCALL_MAIN_3): Likewise.
5162 (INTERNAL_SYSCALL_MAIN_4): Likewise.
5163 (INTERNAL_SYSCALL_MAIN_5): Likewise.
5164 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
5165 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5166 Replace conditional definitions by conditional definitions of ....
5167 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
5168 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5169 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5170 (libpthread-sysdep_routines): Add libc-do-syscall.
5171 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5172 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5173 to __NR_futex not 240.
5175 2015-03-25 Alan Modra <amodra@gmail.com>
5177 * NEWS: Advertise TLS optimization.
5178 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5179 (DT_PPC_NUM): Increment.
5180 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5181 (CHECK_STATIC_TLS): Use here.
5182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5185 * sysdeps/powerpc/dl-tls.c: New file.
5186 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5187 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5188 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5189 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5194 2015-03-25 Alan Modra <amodra@gmail.com>
5196 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5197 for overlapping .opd entries" to "support...".
5198 * sysdeps/powerpc/powerpc64/configure: Regenerate
5200 2015-03-25 Joseph Myers <joseph@codesourcery.com>
5202 * math/auto-libm-test-in: Add more tests of acos.
5203 * math/auto-libm-test-out: Regenerated.
5204 * sysdeps/i386/fpu/libm-test-ulps: Update.
5205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207 * math/auto-libm-test-in: Add more tests of expm1.
5208 * math/auto-libm-test-out: Regenerated.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5212 2015-03-24 Joseph Myers <joseph@codesourcery.com>
5214 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5215 * math/auto-libm-test-out: Regenerated.
5216 * sysdeps/i386/fpu/libm-test-ulps: Update.
5217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5222 * math/auto-libm-test-in: Add more tests of log2.
5223 * math/auto-libm-test-out: Regenerated.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5227 2015-03-23 Roland McGrath <roland@hack.frob.com>
5229 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5230 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
5231 _IO_IS_APPENDING bit in READ_WRITE instead.
5233 2015-03-23 Florian Weimer <fweimer@redhat.com>
5235 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5236 (__determine_cpumask_size): Replace extend_alloca with a
5237 variable-length array. Do not treat res == 0 as an error.
5239 2015-03-23 Florian Weimer <fweimer@redhat.com>
5242 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5243 and integer overflow.
5244 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5245 (main): Add integer overflow tests.
5246 * manual/pattern.texi (Calling Wordexp): Document additional use
5249 2015-03-23 Alan Modra <amodra@gmail.com>
5251 * config.h.in: Remove HAVE_ASM_PPC_REL16.
5252 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5253 and false branch of conditional.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5257 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
5259 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5261 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5262 unused declaration of _hurd_intr_rpc_msg_in_trap.
5263 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5264 defined instead of whether it is non-zero.
5265 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5266 input constraint instead of both input and output constraint. Use ecx
5267 clobber instead of %ecx.
5268 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5269 mutex_unlock): Use a statement expression instead of an expression list.
5270 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5271 type to vm_size_t instead of vm_address_t.
5272 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5273 defined instead of whether it is non-zero.
5274 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5275 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5276 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5277 comparisons with mapaddr.
5278 * nscd/nscd-client.h: Include <time.h>.
5279 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5280 9th parameter to __vm_region instead of int.
5281 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5282 * scripts/check-local-headers.sh (exclude): Add device/,
5283 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5286 2015-03-19 Roland McGrath <roland@hack.frob.com>
5288 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5289 to account for alignment padding.
5290 * sysdeps/arm/memmove.S: Likewise.
5292 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
5294 * sysdeps/unix/sysv/linux/generic/README: New file.
5296 2015-03-18 Joseph Myers <joseph@codesourcery.com>
5299 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5300 (futex_abstimed_wait)
5301 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5302 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5303 of lll_futex_timed_wait.
5305 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
5308 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5310 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
5317 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5318 entries with Static TLS too. Skip entries past the end of the
5319 allocated DTV, from Alan Modra.
5320 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
5321 Static TLS DTV entry set up from...
5322 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5323 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5324 * nptl/allocatestack.c (init_one_static_tls): ... and here...
5325 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5327 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
5328 that the slot we find is associated with the given map before
5329 using its generation count.
5330 * nptl_db/db_info.c: Include ldsodefs.h.
5331 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5332 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5333 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5334 (link_map::l_tls_offset): New struct field.
5335 (dtv_t::counter): Likewise.
5336 (rtld_global): New struct.
5337 (_rtld_global): New rtld variable.
5338 (dl_tls_dtv_slotinfo_list): New rtld global field.
5339 (dtv_slotinfo_list): New struct.
5340 (dtv_slotinfo): Likewise.
5341 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5342 (td_lookup): Rename to...
5343 (td_mod_lookup): ... this. Use new mod parameter instead of
5345 * nptl_db/td_thr_tlsbase.c: Include link.h.
5346 (dtv_slotinfo_list, dtv_slotinfo): New functions.
5347 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
5348 addresses even if the DTV is out of date or missing them.
5349 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5350 index zero-length arrays.
5351 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5352 (td_lookup): Make it a macro implemented in terms of...
5353 (td_mod_lookup): ... this declaration.
5354 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5355 (DB_MAIN_VARIABLE): Likewise.
5357 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
5360 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5362 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
5364 * stdlib/setenv.c (__add_to_environ): Revert previous change.
5366 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
5369 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5370 (atomic_add, atomic_increment_and_test)
5371 (atomic_decrement_and_test): Fix 64-bit arithmetic.
5373 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
5375 * stdlib/setenv.c (__add_to_environ):
5376 Dump core quickly if setenv (..., NULL, ...) is called.
5378 2015-03-13 Roland McGrath <roland@hack.frob.com>
5380 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5381 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5382 all the necessary asm magic in one place.
5383 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5386 2015-03-13 Carlos O'Donell <carlos@redhat.com>
5389 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5390 traced file mtime. Use consistent log message.
5391 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5392 (register_traced_file): Call install_watches. Always set mtime.
5393 (invalidate_cache): Iterate over all trace files. Call install_watches.
5394 (inotify_check_files): Don't inline. Handle watching parent
5395 directories and configuration file movement in and out.
5396 (handle_inotify_events): New function.
5397 (main_loop_poll): Call handle_inotify_events.
5398 (main_loop_epoll): Likewise.
5399 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5400 (struct traced_file): Use array of inotify fds. Add parent directory,
5402 (struct database_dyn): Remove unused file_mtime.
5403 (init_traced_file): New inline function.
5404 (define_traced_file): New macro.
5405 * nss/nss_db/db-init.c: Use define_traced_file.
5406 (_nss_db_init): Use init_traced_file.
5407 * nss/nss_files/files-init.c: Use define_traced_file.
5408 (_nss_files_init): Use init_traced_file.
5410 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5412 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5413 [_LIBC]: Do not include <stdlib.h>.
5414 [!_LIBC] (abort): Remove declaration.
5415 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5416 _FP_STATIC_ASSERT instead of conditionally calling abort.
5417 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5418 (_FP_EXTEND_CNAN): Likewise.
5419 (FP_TRUNC): Likewise.
5420 (__FP_CLZ): Likewise.
5421 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5423 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5425 * manual/string.texi (XPG basename): Fix prototype.
5427 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5430 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5431 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5432 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5433 (__setcontext): Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5435 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5436 Call rt_sigprocmask syscall one time to set new signal mask
5437 and retrieve the current signal mask instead of two calls.
5438 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5439 (__swapcontext): Likewise.
5440 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5441 * stdlib/tst-setcontext2.c: New file.
5443 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5445 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5447 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5450 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5453 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5456 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5458 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5460 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5461 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5463 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5464 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5465 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5466 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5467 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5468 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5470 * nptl_db/td_symbol_list.c (td_lookup): Remove
5471 HAVE_ASM_GLOBAL_DOT_NAME code.
5472 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5473 HAVE_ASM_GLOBAL_DOT_NAME check.
5474 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5475 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5476 (DOT_LABEL): Remove define.
5477 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5478 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5479 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5480 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5481 (__TLS_GET_ADDR): Likewise.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5483 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5485 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5488 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5489 (_FPU_SETCW): Initialize cw from fpsr before storing.
5490 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5491 (fesetexceptflag): Rewrite using fpu_control.h.
5492 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5494 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5497 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5499 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5501 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5503 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5504 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5506 (_FP_FMA): Likewise.
5507 (_FP_DIV): Likewise.
5509 2015-03-10 Roland McGrath <roland@hack.frob.com>
5511 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5512 with 0 in that case.
5513 * Makefile (summarize-tests): New canned sequence, factored out of
5514 commands for targets tests and xtests. Display summary lines that
5515 don't start with PASS: or XFAIL: rather than ones that do start with
5516 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5517 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5518 do start with ERROR: or FAIL:.
5519 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5520 (except for [$(build-shared) = yes]).
5521 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5522 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5523 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5524 * nptl/Makefile: Revert 2015-03-04 changes.
5525 [$(CXX) empty] (tests-unsupported): New variable.
5526 * debug/Makefile: Likewise.
5528 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5529 gnulib file. Replace __attribute with __attribute__ throughout.
5531 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5533 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5535 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5538 * math/auto-libm-test-in: Add another test of pow.
5539 * math/auto-libm-test-out: Regenerated.
5541 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5544 $(config-cflags-nofma).
5546 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5548 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5549 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5550 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5551 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5552 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5553 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5554 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5555 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5556 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5557 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5558 Add comment on closing #endif.
5560 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5562 * posix/wordexp.c (CHAR_IN_SET): New macro.
5563 (parse_param): Use it.
5565 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5567 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5569 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5572 * posix/wordexp.c (parse_param): Fix buffer overflow.
5573 * posix/wordexp-test.c (test_case): Add test case.
5575 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5578 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5579 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5581 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5584 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5585 (do_bz18043): Delete.
5587 (testit): Refactor to have words at the edge of unreadable page.
5589 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5592 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5593 Cleanup read-only streams as well.
5594 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5596 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5598 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5601 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5603 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5605 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5606 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5607 * soft-fp/op-common.h (_FP_DECL): Likewise.
5609 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5611 * elf/ifuncdep2.c (global): Replace
5612 __attribute__((visibility("protected"))) with
5613 asm (".protected global").
5614 * elf/ifuncmod1.c (global): Likewise.
5615 * elf/ifuncmod5.c (global): Likewise.
5617 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5619 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5620 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5622 2015-03-06 Roland McGrath <roland@hack.frob.com>
5624 * manual/install.texi (Configuring and compiling):
5625 Document test-wrapper-env-only.
5626 * INSTALL: Regenerated.
5628 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5631 * posix/wordexp.c (parse_param): Fix buffer overflow.
5632 * posix/wordexp-test.c (do_bz18043): Add test case.
5634 2015-03-06 Vincent Bernat <vincent@bernat.im>
5636 * time/tst-strptime2.c (do_test): Ensure failing tests are
5638 * time/tst-strptime3.c (do_test): Likewise.
5640 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5642 Fix aio_error thread-safety.
5643 * sysdeps/pthread/aio_error.c: New file
5644 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5647 2015-03-06 Florian Weimer <fweimer@redhat.com>
5649 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5650 (group_number, vfprintf): Use it.
5651 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5652 (JUMP, REF): Use it.
5653 (WORK_BUFFER_SIZE): New enum constant.
5654 (process_arg, vfprintf): Use it.
5656 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5658 * manual/errno.texi (Error Messages): Complete example function
5659 by adding missing #define.
5660 (program_invocation_name): Add statement indicating GNU
5661 extension and reference which header file declares the variable.
5662 (program_invocation_short_name): Likewise.
5664 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5666 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5669 2015-03-05 Roland McGrath <roland@hack.frob.com>
5671 * Makeconfig (test-wrapper-env-only): New variable.
5672 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5673 then use that with $(test-wrapper-env-only) rather than using
5674 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5676 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5679 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5680 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5681 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5682 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5683 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5684 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5685 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5686 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5688 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5689 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5697 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5700 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5702 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5703 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5705 2015-03-04 Roland McGrath <roland@hack.frob.com>
5707 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5708 (ETH_ALEN): New macro.
5709 (struct ether_addr): Use it for length of ether_addr_octet.
5711 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5712 (setdb): Don't call __nss_configure_lookup for "rpc".
5713 (do_test): Don't call test_rpc.
5714 (output_rpcent, test_rpc): Functions moved ...
5715 * sunrpc/test-rpcent.c: ... to this new file.
5716 * sunrpc/Makefile (tests): Add it.
5718 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5720 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5721 * nptl/tst-signal6.c: Likewise.
5722 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5723 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5725 * configure.ac (libc_cv_cxx_link_ok): New check.
5726 Reset CXX to empty if it fails to link.
5727 * configure: Regenerated.
5728 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5729 bug-atexit3-lib only if $(CXX) is nonempty.
5730 * nptl/Makefile (tests): Likewise for tst-cancel24.
5731 (tests, tests-static): Likewise for tst-cancel24-static.
5732 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5733 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5734 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5735 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5737 2015-03-04 Andreas Schwab <schwab@suse.de>
5740 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5741 for non-GCC compilers.
5742 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5745 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5748 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5749 integer before bitwise and assembly operations.
5750 (feclearexcept): Likewise.
5751 * math/test-fenvinline.c: New file.
5752 * math/Makefile: Add test-fenvinline test.
5754 2015-03-03 Alan Modra <amodra@gmail.com>
5757 * scripts/localplt.awk: Strip off symbol version.
5758 * NEWS: Mention bug fix.
5760 2015-03-02 Roland McGrath <roland@hack.frob.com>
5762 * sysdeps/pthread/timer_routines.c
5763 (timer_free_list, thread_free_list, thread_active_list): Make static.
5765 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5768 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5769 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5771 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5772 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5774 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5775 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5778 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5781 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5782 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5784 2015-03-02 Andreas Schwab <schwab@suse.de>
5786 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5789 2015-03-02 Florian Weimer <fweimer@redhat.com>
5791 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5792 Return error status.
5794 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5797 * locale/findlocale.c (_nl_find_locale): Introduce const
5798 version of loc_name and drop unsafe type casts.
5800 2015-02-27 Roland McGrath <roland@hack.frob.com>
5802 * dlfcn/tststatic2.c (main): Converted to ...
5803 (do_test): ... this.
5804 (TEST_FUNCTION): New macro.
5805 Include test-skeleton.c.
5807 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5810 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5811 (tests-pie): Add vismain.
5812 (CFLAGS-vismain.c): New.
5813 * elf/vismain.c: Add comments for PIE requirement.
5815 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5820 0x1p-56L as threshold for just returning the argument.
5821 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5822 0x1p-32L as threshold for just returning the argument.
5823 * math/auto-libm-test-in: Add more tests of atanh.
5824 * math/auto-libm-test-out: Regenerated.
5825 * sysdeps/i386/fpu/libm-test-ulps: Update.
5826 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5828 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5830 * string/bcopy.c (bcopy): Call memmove for performance.
5832 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5834 * string/bzero.c (__bzero): Call memset for performance.
5836 2015-02-27 John David Anglin <dave.anglin@bell.net>
5839 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5842 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5844 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5846 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5848 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5849 (__kernel_standard): Use CSTR macro when setting exc.name.
5850 * sysdeps/ieee754/Makefile [$(subdir) = math]
5851 (CFLAGS-k_standard.c): Remove variable.
5853 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5854 setting p and q from "else if" to "else".
5856 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5858 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5860 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5862 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5864 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5869 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5870 return pi/2 for arguments below 0x1p-113L.
5871 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5872 return pi/2 for arguments below 0x1p-106L.
5873 * math/auto-libm-test-in: Add more tests of acos.
5874 * math/auto-libm-test-out: Regenerated.
5877 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5879 (__ieee754_asin): Force underflow exception for results with small
5881 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5883 (__ieee754_asinf): Force underflow exception for results with
5884 small absolute value.
5885 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5886 (__ieee754_asin): Force underflow exception for results with small
5888 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5889 (__ieee754_asinf): Force underflow exception for results with
5890 small absolute value.
5891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5892 (__ieee754_asinl): Force underflow exception for results with
5893 small absolute value.
5894 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5895 (__ieee754_asinl): Force underflow exception for results with
5896 small absolute value.
5897 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5898 (__ieee754_asinl): Force underflow exception for results with
5899 small absolute value.
5900 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5902 * math/auto-libm-test-in: Do not mark underflow exceptions as
5903 possibly missing for bug 16351.
5904 * math/auto-libm-test-out: Regenerated.
5907 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5908 of power of 2 down when low part has opposite sign.
5909 * math/libm-test.inc (logb_test_data): Add more tests.
5911 2015-02-26 Andreas Schwab <schwab@suse.de>
5914 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5915 over collating symbol inside a bracket expression. Minor cleanup.
5916 * posix/tst-fnmatch3.c (do_test): Add test case.
5918 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5921 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5922 Adjust exponent of power of 2 down when low part has opposite
5924 * math/libm-test.inc (ilogb_test_data): Add more tests.
5926 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5929 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5930 the previous change.
5933 * locale/findlocale.c (_nl_find_locale): Retry archive search
5934 after alias expansion.
5936 2015-02-25 Roland McGrath <roland@hack.frob.com>
5938 * iconv/tst-iconv3.c (main): Converted to ...
5939 (do_test): ... this.
5940 (TEST_FUNCTION): New macro.
5941 Include test-skeleton.c.
5943 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5944 (convert): Make function static.
5945 (test_unalign): Likewise. Add const to argument pointee types.
5946 (main): Replace with static function do_test.
5947 Print "Succeeded." only if RET is zero.
5948 (TEST_FUNCTION): New macro.
5949 Include test-skeleton.c.
5951 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5952 returns a null pointer.
5954 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5957 to __memcpy_ppc only for static builds.
5959 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5962 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5963 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5964 * math/auto-libm-test-in: Add more tests of asinh.
5965 * math/auto-libm-test-out: Regenerated.
5966 * sysdeps/i386/fpu/libm-test-ulps: Update.
5967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5969 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5972 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5973 and ip6_mtuinfo definitions here.
5974 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5975 in this define too. Update comment.
5977 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5979 * elf/sprof.c (load_shobj): Tweak error message to match others.
5981 2015-02-24 Kevin Easton <kevin@guarana.org>
5983 [BZ #16145] (partial fix)
5984 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5985 to reduce lock contention.
5987 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5989 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5990 (struct timex): Update time comment.
5991 (ADJ_SETOFFSET): Define.
5993 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5996 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5997 2**56 not 2**28 as threshold for log (2x) formula.
5998 * math/auto-libm-test-in: Add more tests of acosh.
5999 * math/auto-libm-test-out: Regenerated.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6003 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6005 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6006 parenthesis around the buf assignment.
6007 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6009 2015-02-24 Joseph Myers <joseph@codesourcery.com>
6012 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6013 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6014 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6015 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6016 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6017 * math/libm-test.inc (scalb_test_data): Add more tests.
6019 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6022 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6023 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6025 2015-02-24 Eric Rannaud <e@nanocritical.com>
6028 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6029 * io/bits/fcntl2.h (open): Use it.
6031 * io/open.c (__libc_open): Likewise.
6032 * io/open64.c (__libc_open64): Likewise.
6033 * io/open64_2.c (__open64_2): Likewise.
6034 * io/open_2.c (__open_2): Likewise.
6035 * io/openat.c (__openat): Likewise.
6036 * io/openat64.c (__openat64): Likewise.
6037 * io/openat64_2.c (__openat64_2): Likewise.
6038 * io/openat_2.c (__openat_2): Likewise.
6039 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6040 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6041 * sysdeps/posix/open64.c (__libc_open64): Likewise.
6042 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6043 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6044 (__open_nocancel): Likewise.
6045 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6046 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6047 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6049 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6052 * resolv/gethnamaddr.c (getanswer): Skip logging if
6053 RES_USE_DNSSEC is set.
6054 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6056 2015-02-24 Mike Frysinger <vapier@gentoo.org>
6058 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6060 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
6062 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6063 201304L, for Unicode 7.
6065 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
6068 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6069 shared library. Add gmon-start.os otherwise.
6070 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6071 $(objpfx)gmon-start.os if builing shared library.
6072 ($(objpfx)g$(static-start-installed-name)): Likewise.
6074 2015-02-23 Andreas Schwab <schwab@suse.de>
6076 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6078 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6081 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6082 (enlarge_userbuf): Likewise.
6084 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
6086 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6087 * math/atest-exp.c (TIMEOUT): Adjust to 200.
6088 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6089 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6091 2015-02-20 Joseph Myers <joseph@codesourcery.com>
6093 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6094 expression inside statement expression.
6096 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6098 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6099 <sysdeps/nptl/lowlevellock.h> and remove macros and
6100 functions that are now defined there.
6101 (SYS_futex): Remove.
6102 (lll_compare_and_swap): Remove.
6103 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6105 2015-02-19 Joseph Myers <joseph@codesourcery.com>
6108 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6109 instead of scandirat.
6110 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6111 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6112 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6114 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6115 (__scandirat): Declare. Use libc_hidden_proto.
6116 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6118 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6120 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6123 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6125 (__ieee754_atan2): For results with small absolute value, force
6126 underflow exception and remove excess range and precision from
6128 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6130 (__ieee754_atan2f): For results with small absolute value, force
6131 underflow exception and remove excess range and precision from
6133 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6135 (__atan): For results with small absolute value, force underflow
6136 exception and remove excess range and precision from return value.
6137 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6139 (__atanf): For results with small absolute value, force underflow
6140 exception and remove excess range and precision from return value.
6141 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6143 (__ieee754_atan2): Force underflow exception for results with
6144 small absolute value.
6145 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6147 (atan): Force underflow exception for results with small absolute
6149 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6150 (__atanf): Force underflow exception for results with small
6152 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6154 (__atanl): Force underflow exception for results with small
6156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6157 (__atanl): Force underflow exception for results with small
6159 * sysdeps/x86/fpu/bits/mathinline.h
6160 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6161 (__ieee754_atan2): Only define inline for long double.
6162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6163 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6164 * math/auto-libm-test-in: Do not mark underflow exceptions as
6165 possibly missing for bug 15319. Add more tests of atan2.
6166 * math/auto-libm-test-out: Regenerated.
6167 * math/libm-test.inc (casin_test_data): Do not mark underflow
6168 exceptions as possibly missing for bug 15319.
6169 (casinh_test_data): Likewise.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6172 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
6174 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6175 * sysdeps/mips/bits/endian.h: Fix comments.
6177 2015-02-18 Joseph Myers <joseph@codesourcery.com>
6180 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6181 (hdestroy_r): Likewise.
6182 (hsearch_r): Likewise.
6183 (__hcreate_r): Declare and use libc_hidden_proto.
6184 (__hdestroy_r): Likewise.
6185 (__hsearch_r): Likewise.
6186 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6187 (hcreate): Call __hcreate_r instead of hcreate_r.
6188 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6189 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6190 as weak alias of __hcreate_r.
6191 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6193 (hsearch_r): Rename to __hsearch_r and define as weak alias of
6195 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6197 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6198 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6199 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6200 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6202 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6204 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6205 arena_lock into a single arena_get.
6207 2015-02-17 Carlos O'Donell <carlos@redhat.com>
6209 * dl-reloc.c: Inlucde libc-internal.h.
6210 (_dl_try_allocate_static_tls): Call ALIGN_UP.
6211 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6212 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6213 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6214 (grow_heap): Likewise.
6215 * malloc/malloc.c: Include libc-internal.h.
6216 (do_check_malloc): Call powerof2.
6217 (sysmalloc): Use pagesize. Call ALIGN_UP.
6218 (systrim): Use pagesize.
6219 (mremap_chunk): Use pagesize. Call ALIGN_UP.
6220 (__libc_valloc): Use pagesize.
6221 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6223 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6226 * include/sys/resource.h (__getrlimit64): Declare. Use
6228 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6229 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
6230 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6232 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6234 [!getrlimit64] (getrlimit64): Define as weak alias of
6235 __getrlimit64. Use libc_hidden_weak.
6236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6237 using __getrlimit64 not __new_getrlimit64.
6238 (__GI_getrlimit64): Likewise.
6239 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6241 (__GI_getrlimit64): Likewise.
6242 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6244 (getrlimit): Add __getrlimit64 alias.
6245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6247 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6249 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6250 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6252 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6254 * libio/fileops.c: Add missing sys/mman.h
6255 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6257 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6259 * manual/math.texi (Errors in Math Functions): Clarify goals
6260 regarding inexact and underflow exceptions.
6262 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6264 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6265 * sysdeps/mips/memset.S: Ditto.
6267 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
6269 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6271 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6273 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6274 (__v1longjmp): Remove versioned symbol.
6275 (__v1siglongjmp): Remove alias and versioned symbol.
6276 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6277 (__v2siglongjmp): Likewise.
6279 2015-02-16 Torvald Riegel <triegel@redhat.com>
6281 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6283 2015-02-16 Mike Frysinger <vapier@gentoo.org>
6285 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6287 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6290 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6291 zero result does not depend on the sign resulting from
6293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6295 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6298 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6299 * math/libm-test.inc (remquo_test_data): Add more tests.
6301 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
6303 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6304 Problem reported by J William Piggott.
6306 2015-02-16 Joseph Myers <joseph@codesourcery.com>
6309 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6310 products 4 * y and 2 * y where those would overflow.
6311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6313 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6316 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6317 * math/libm-test.inc (remquo_test_data): Add more tests.
6319 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6321 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6322 [defined _COMPILING_NEWLIB].
6323 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6324 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6326 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6327 [!defined __mips_isa_rev || __mips_isa_rev < 6].
6329 2015-02-16 Torvald Riegel <triegel@redhat.com>
6331 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6334 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
6337 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6338 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6339 HOST_STACK_END_ADDR): Likewise.
6341 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
6343 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6344 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6345 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6347 2015-02-13 Roland McGrath <roland@hack.frob.com>
6349 * sysdeps/generic/c++-types.data: New file.
6350 * sysdeps/generic/ld.abilist: New file.
6351 * sysdeps/generic/libBrokenLocale.abilist: New file.
6352 * sysdeps/generic/libanl.abilist: New file.
6353 * sysdeps/generic/libc.abilist: New file.
6354 * sysdeps/generic/libcrypt.abilist: New file.
6355 * sysdeps/generic/libdl.abilist: New file.
6356 * sysdeps/generic/libm.abilist: New file.
6357 * sysdeps/generic/libpthread.abilist: New file.
6358 * sysdeps/generic/libresolv.abilist: New file.
6359 * sysdeps/generic/librt.abilist: New file.
6361 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6365 Compute absolute value of x as modified by fmod, not original
6367 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6368 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
6369 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
6370 RUN_TEST_ffI_f1_mod8.
6371 (remquo_test_data): Add more tests.
6373 2015-02-13 Roland McGrath <roland@hack.frob.com>
6375 * sysdeps/init_array/pt-crti.S: New file.
6377 2015-02-13 Joseph Myers <joseph@codesourcery.com>
6380 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6381 __builtin_fmaf instead of relying on contraction of a * b + c.
6383 2015-02-12 J William Piggott <elseifthen@gmx.com>
6386 * manual/time.texi: correct the zoneinfo path in the TZ Variable
6389 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6392 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6393 __builtin_fma instead of relying on contraction of a * b + c.
6395 2015-02-12 Roland McGrath <roland@hack.frob.com>
6397 * Makeconfig (ASFLAGS): Add -Werror=undef.
6398 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6399 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6400 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6402 * Makeconfig (after-link): New variable.
6403 (+link-pie, +link-pie-tests): Use it.
6404 (+link-static, +link-static-tests): Likewise.
6405 (+link, +link-tests): Likewise.
6406 * Makerules (build-module, build-module-asneeded): Likewise.
6407 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6409 * elf/Makefile ($(objpfx)ld.so): Likewise.
6411 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6414 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6415 both struct timeval and struct timespec.
6417 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6420 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6422 (__ieee754_exp2l): Do not multiply small fractional parts by
6424 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6426 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6427 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6428 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6429 * math/auto-libm-test-in: Add more tests of exp2.
6430 * math/auto-libm-test-out: Regenerated.
6432 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6437 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6442 2015-02-12 Andreas Schwab <schwab@suse.de>
6445 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6446 Filter out elision flags from value returned in kind.
6447 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6448 * nptl/tst-pthread-mutexattr.c: New file.
6450 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6452 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6453 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6454 into gnu-gnu, and update comment to refer to abi-tags.
6456 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6459 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6460 (__sincos): Set errno to EDOM for infinite argument.
6461 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6462 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6463 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6464 (__sincosl): Set errno to EDOM for infinite argument.
6465 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6466 (__sincosl): Set errno to EDOM for infinite argument.
6467 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6468 (__sincosl): Set errno to EDOM for infinite argument.
6469 * math/libm-test.inc (sincos_test_data): Test errno setting.
6471 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6473 * string/strxfrm_l.c: Remove #define STRCMP.
6474 * string/strcoll_l.c: Remove #define STRLEN.
6475 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6476 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6478 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6481 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6482 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6483 * sysdeps/mips/mips64/Makefile: ... here.
6484 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6485 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6486 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6487 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6488 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6489 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6490 * sysdeps/mips/mips64/n64/Implies: Likewise.
6492 2015-02-10 Roland McGrath <roland@hack.frob.com>
6494 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6495 <sys/time.h>, <string.h>, and <errno.h>.
6496 (dest_offset, dest_address, value, zero): Remove unused variables.
6497 (ldouble): Remove typedef.
6498 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6499 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6501 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6502 (check): Function removed.
6504 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6505 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6506 Don't call set_sigaction_FP and remove_sigaction_FP here.
6507 (ldouble_test): Just use 'long double' as macro argument, no need for
6508 the 'ldouble' typedef.
6509 (do_test): Set up SIGFPE handler at start, using plain signal rather
6510 than sigaction. Fix code style.
6512 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6518 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6520 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6521 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6523 * sysdeps/powerpc/configure.ac: Remove file.
6524 * sysdeps/powerpc/configure: Likewise.
6526 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6527 [sysdep_routines]: Remove wordcopy-power6 object.
6528 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6529 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6530 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6531 (__memmove_ppc32): Likewise.
6532 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6535 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6536 Remove preprocessor.
6538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6539 [sysdep_routines]: Remove wide chars objects.
6540 [wcsmbs]: New rule for wide char objects.
6542 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6543 Remove wordcopy-power6 obejct.
6544 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6545 Use local call for wordcopy and memcpy symbols.
6546 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6547 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6548 implementation for loader.
6549 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6551 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6552 Remove wordcopy-power7 object.
6553 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6555 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6556 (_wordcopy_fwd_dest_aligned): Likewise.
6557 (_wordcopy_bwd_aligned): Likewise.
6558 (_wordcopy_bwd_dest_aligned): Likewise.
6560 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6561 Rewrite to call __memmove_ppc instead of include default
6564 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6565 Remove wide chars objects.
6566 [wcsmbs]: New rule for wide char objects.
6568 2015-02-09 Andreas Schwab <schwab@suse.de>
6571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6572 in terms of __O_DIRECTORY.
6574 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6576 * time/getdate.c: Include <stdbool.h>.
6577 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6579 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6582 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6584 Add ersatz _Static_assert on older C hosts
6585 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6586 pre-C11 C platform that is not known to support _Static_assert.
6588 2015-02-07 Richard Braun <rbraun@sceen.net>
6590 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6592 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6594 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6596 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6597 priority against unexistent AIO_PRIO_DELTA_MAX.
6598 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6600 * misc/fchflags.c (fchflags): Likewise.
6601 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6602 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6603 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6604 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6605 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6607 [__USE_MISC] (chflags, fchflags): Declare functions.
6608 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6609 EINVAL when nfds is greater than FD_SETSIZE.
6610 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6611 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6613 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6614 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6615 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6617 * hurd/hurd/signal.h (_hurd_self_sigstate,
6618 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6619 Explicit casts from void *.
6620 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6621 * abi-tags: Rename gnu-gnu os into gnu.
6624 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6625 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6626 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6627 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6628 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6629 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6632 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6633 duplicates ADDR->sun_path with sockaddr LEN limitation.
6634 * sysdeps/mach/hurd/connect.c: Include <string.h>
6635 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6636 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6637 * sysdeps/mach/hurd/sendto.c: Likewise.
6638 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6639 implementing it by hand.
6641 2015-02-06 Roland McGrath <roland@hack.frob.com>
6643 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6644 Use sfi_breg on ldr.
6645 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6648 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6650 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6651 Test SIGSETXID only if it's defined.
6653 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6655 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6656 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6658 * nptl/tst-align2.c: Moved ...
6659 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6660 * nptl/Makefile (tests): Remove tst-align2.
6661 * sysdeps/unix/sysv/linux/Makefile
6662 [$(subdir) = nptl] (tests): Add tst-align-clone.
6663 * nptl/tst-getpid1.c: Moved ...
6664 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6665 * nptl/tst-getpid2.c: Moved ...
6666 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6667 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6668 * sysdeps/unix/sysv/linux/Makefile
6669 [$(subdir) = nptl] (tests): ... here.
6670 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6671 * sysdeps/unix/sysv/linux/Makefile
6672 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6674 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6675 Drop trailing \n from perror argument. Use return rather than exit.
6677 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6679 * nptl/tst-cancel21.c (do_test): Likewise.
6680 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6681 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6682 [!SA_SIGINFO]: Make it a stub test.
6684 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6685 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6687 * posix/tst-getlogin.c: Move to ...
6688 * login/tst-getlogin.c: ... here.
6689 * posix/Makefile (tests): Move tst-getlogin to ...
6690 * login/Makefile (tests): ... here.
6692 * libio/tst-atime.c (do_test): Move local variables SV and E
6693 inside [ST_NOATIME] conditional.
6695 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6697 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6699 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6700 (wait_code): New function replaces macro.
6701 Call nanosleep rather than syscall.
6703 * nptl/pt-system.c: Rewritten. Put everything under
6704 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6705 Use IFUNC to redirect when possible.
6707 * nptl/pt-longjmp.c: Rewritten. Put everything under
6708 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6709 Use IFUNC to redirect when possible.
6711 * nptl/pt-fork.c: Rewritten. Put everything under
6712 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6713 Use IFUNC to redirect when possible.
6714 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6716 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6717 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6718 unconditionally nowadays. This included the only reference to
6719 __vdso_clock_gettime that appears outside libc proper.
6720 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6721 Remove version set (containing only __vdso_clock_gettime).
6722 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6723 Add attribute_hidden.
6724 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6725 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6726 libc_hidden_data_def.
6727 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6730 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6731 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6732 setrpcent, and getrpcport to ...
6733 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6734 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6735 getrpcbynumber_r, and getrpcent_r to ...
6736 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6737 * inet/getrpcbyname.c: Moved ...
6738 * sunrpc/getrpcbyname.c: ... here.
6739 * inet/getrpcbyname_r.c: Moved ...
6740 * sunrpc/getrpcbyname_r.c: ... here.
6741 * inet/getrpcbynumber.c: Moved ...
6742 * sunrpc/getrpcbynumber.c: ... here.
6743 * inet/getrpcbynumber_r.c: Moved ...
6744 * sunrpc/getrpcbynumber_r.c: ... here.
6745 * inet/getrpcent.c: Moved ...
6746 * sunrpc/getrpcent.c: ... here.
6747 * inet/getrpcent_r.c: Moved ...
6748 * sunrpc/getrpcent_r.c: ... here.
6749 * inet/Makefile (routines): Move those to ...
6750 * sunrpc/Makefile (routines): ... here.
6751 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6752 the $(subdirs) list.
6753 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6754 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6755 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6756 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6758 * elf/Makefile (routines): Include $(all-dl-routines), not just
6760 (rtld-routines): Likewise. Use = rather than :=.
6761 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6762 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6763 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6764 * sysdeps/arm/Makefile: Likewise.
6765 * sysdeps/i386/Makefile: Likewise.
6766 * sysdeps/x86_64/Makefile: Likewise.
6767 * sysdeps/hppa/Makefile [$(subdir) = elf]
6768 (sysdep_routines, sysdep-rtld-routines): Don't add
6769 $(sysdep-dl-routines) to these.
6770 * sysdeps/ia64/Makefile: Likewise.
6771 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6772 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6773 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6774 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6775 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6776 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6777 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6778 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6779 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6780 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6781 these; sysdep-dl-routines alone is enough.
6783 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6786 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6787 where multiplication results in zero and third argument is finite
6789 * math/auto-libm-test-in: Add more tests of fma.
6790 * math/auto-libm-test-out: Regenerated.
6792 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6793 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6794 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6795 (_FP_CMP_EQ): Likewise.
6796 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6798 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6799 extra argument CHECK_NAN. Redefine as wrapper around
6802 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6804 * version.h (RELEASE): Set to "stable".
6805 (VERSION): Set to "2.21"
6806 * include/features.h (__GLIBC_MINOR__): Set to 21.
6808 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6810 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6811 Paul Eggert <eggert@cs.ucla.edu>
6814 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6815 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6816 size in bytes. Store needed elements in wpmax. Use needed size
6817 in bytes for extend_alloca.
6819 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6821 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6822 binutls 2.25, and texinfo 5.2.
6823 * INSTALL: Regenerate.
6824 * sysdeps/nios2/configure: Regenerate.
6825 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6826 * manual/contrib.texi: Update.
6850 * po/pt_BR.po: Update.
6859 * po/zh_CN.po: Update.
6860 * po/zh_TW.po: Update.
6862 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6863 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6864 * sysdeps/hppa/dl-irel.h: Remove #warning.
6865 * sysdeps/hppa/entry.h: Provide prototype for
6866 __canonicalize_funcptr_for_compare and cast argument.
6867 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6868 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6869 * sysdeps/hppa/sotruss-lib.c: New file.
6870 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6871 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6872 (atomic_compare_and_exchange_bool_acq): Likewise.
6873 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6874 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6876 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6877 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6878 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6880 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6882 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6883 called function in non-PIC case.
6885 2015-01-31 David S. Miller <davem@davemloft.net>
6887 * sysdeps/sparc/sparc32/bits/atomic.h
6888 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6889 unlock not after it.
6890 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6891 volatile register usage warnings from the compiler.
6893 * sysdeps/sparc/nptl/sem_init.c: Delete.
6894 * sysdeps/sparc/nptl/sem_post.c: Delete.
6895 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6896 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6897 * sysdeps/sparc/sparc32/sem_init.c: New file.
6898 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6899 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6900 padding explicitly initialized.
6901 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6902 padding for in-semaphore spinlock.
6903 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6904 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6905 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6906 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6907 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6908 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6909 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6910 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6912 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6913 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6915 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6919 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6920 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6922 (index_AVX_Fast_Unaligned_Load): Likewise.
6923 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6924 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6925 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6926 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6927 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6928 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6929 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6930 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6931 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6933 2015-01-29 Andreas Schwab <schwab@suse.de>
6935 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6937 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6940 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6942 2015-01-28 Martin Sebor <msebor@redhat.com>
6944 * math/README.libm-test: Clarify. Add "How to read the test output."
6946 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6948 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6951 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6953 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6954 (__HAVE_64B_ATOMICS): Define to 0.
6956 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6959 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6960 value to set as new flag.
6963 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6964 and use _ARCH_PPCSQ instead.
6965 (__ieee754_sqrt): Likewise.
6966 (__ieee754_sqrtf): Likewise.
6967 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6968 _ARCH_PPCSQ is defined.
6969 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6971 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6972 _ARCH_PPCSQ is defined.
6973 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6977 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6979 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6980 bug (GCC BZ #64739).
6982 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6984 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6985 Mark _retval as used.
6986 (lll_futex_wake_unlock): Likewise.
6987 (lll_futex_timed_wait_requeue_pi): Likewise.
6989 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6990 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6993 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6996 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6997 (__bswap_64): Mark as __always_inline.
6999 2015-01-25 Bram <bug_rh@spam.wizbit.be>
7002 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7003 when none of the search directories exist.
7005 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7008 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7009 power8 in .machine directive.
7012 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7013 set dependency from opd value.
7015 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7018 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7021 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
7024 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7026 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7028 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7029 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7030 Replace 1UL with (uint64_t) 1.
7031 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7034 2015-01-23 Roland McGrath <roland@hack.frob.com>
7036 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7037 (if_freenameindex): Likewise.
7039 * resource/getrlimit64.c: Add missing libc_hidden_def.
7041 2015-01-22 Joseph Myers <joseph@codesourcery.com>
7043 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7045 (_FP_FMA): Likewise.
7046 (_FP_TO_INT_ROUND): Likewise.
7047 (_FP_FROM_INT): Likewise.
7049 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7053 Make code racy and cancel safe.
7055 2015-01-21 Carlos O'Donell <carlos@redhat.com>
7057 * sysdeps/arm/unwind-resume.h: Fix copyright year.
7058 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7061 * pwd/tst-getpw.c: Rewrite.
7064 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7065 (modules-names): Add moddummy1 and moddummy2.
7066 ($(objpfx)tst-rec-dlopen): Define.
7067 * dlfcn/moddummy1.c: New file.
7068 * dlfcn/moddummy2.c: New file.
7069 * dlfcn/tst-rec-dlopen.c: New file.
7070 * elf/dl-cache.c (_dl_load_cache_lookup):
7071 Return char*. Copy result with alloca/strcpy/strdup.
7072 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7073 returns char*. Free cached. If not saving realname
7075 * elf/dl-open.c (dl_open_worker): Do not assert that
7076 _r_debug->r_state is RT_CONSISTENT.
7077 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7080 2015-01-21 Torvald Riegel <triegel@redhat.com>
7081 Carlos O'Donell <carlos@redhat.com>
7084 * nptl/sem_waitcommon.c: New file.
7085 * nptl/sem_wait.c: Include sem_waitcommon.c.
7086 (__sem_wait_cleanup, do_futex_wait): Remove.
7087 (__new_sem_wait): Adapt.
7088 (__new_sem_trywait): New function.
7089 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7090 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7091 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7092 (sem_timedwait): Adapt.
7093 * nptl/sem_post.c (__new_sem_post): Adapt.
7094 (futex_wake): New function.
7095 (__old_sem_post): Add release MO fence.
7096 * nptl/sem_open.c (sem_open): Adapt.
7097 * nptl/sem_init.c (__new_sem_init): Adapt.
7098 (futex_private_if_supported): New function.
7099 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7100 (__old_sem_getvalue): Add using previous code.
7101 * sysdeps/nptl/internaltypes.h: Adapt.
7102 * nptl/tst-sem13.c (do_test): Adapt.
7103 * nptl/tst-sem11.c (main): Adapt.
7104 * nptl/sem_trywait.c: Remove.
7105 * nptl/DESIGN-sem.txt: Remove.
7106 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7107 (gen-as-const-headers): Remove structsem.sym.
7108 * nptl/structsem.sym: Remove.
7109 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7110 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7111 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7112 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7113 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7114 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7115 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7116 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7117 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7118 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7119 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7120 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7121 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7122 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7123 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7124 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7125 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7126 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7127 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7128 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7129 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7130 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7132 2015-01-20 Carlos O'Donell <carlos@redhat.com>
7134 * INSTALL: Regenerated.
7136 * po/libc.pot: Regenerated.
7138 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
7139 Sandra Loosemore <sandra@codesourcery.com>
7140 Andrew Jenner <andrew@codesourcery.com>
7141 Joseph Myers <joseph@codesourcery.com>
7142 Nathan Sidwell <nathan@codesourcery.com>
7144 * NEWS: Mention new Nios II port.
7145 * sysdeps/nios2/Implies: New file.
7146 * sysdeps/nios2/Makefile: New file.
7147 * sysdeps/nios2/Subdirs: New file.
7148 * sysdeps/nios2/Versions: New file.
7149 * sysdeps/nios2/__longjmp.S: New file.
7150 * sysdeps/nios2/abort-instr.h: New file.
7151 * sysdeps/nios2/backtrace.c: New file.
7152 * sysdeps/nios2/bits/endian.h: New file.
7153 * sysdeps/nios2/bits/fenv.h: New file.
7154 * sysdeps/nios2/bits/link.h: New file.
7155 * sysdeps/nios2/bits/setjmp.h: New file.
7156 * sysdeps/nios2/bsd-_setjmp.S: New file.
7157 * sysdeps/nios2/bsd-setjmp.S: New file.
7158 * sysdeps/nios2/configure: New generated file.
7159 * sysdeps/nios2/configure.ac: New file.
7160 * sysdeps/nios2/crti.S: New file.
7161 * sysdeps/nios2/crtn.S: New file.
7162 * sysdeps/nios2/dl-init.c: New file.
7163 * sysdeps/nios2/dl-machine.h: New file.
7164 * sysdeps/nios2/dl-sysdep.h: New file.
7165 * sysdeps/nios2/dl-tls.h: New file.
7166 * sysdeps/nios2/dl-trampoline.S: New file.
7167 * sysdeps/nios2/gccframe.h: New file.
7168 * sysdeps/nios2/gmp-mparam.h: New file.
7169 * sysdeps/nios2/jmpbuf-offsets.h: New file.
7170 * sysdeps/nios2/jmpbuf-unwind.h: New file.
7171 * sysdeps/nios2/ldsodefs.h: New file.
7172 * sysdeps/nios2/libc-tls.c: New file.
7173 * sysdeps/nios2/libm-test-ulps: New file.
7174 * sysdeps/nios2/machine-gmon.h: New file.
7175 * sysdeps/nios2/math-tests.h: New file.
7176 * sysdeps/nios2/math_private.h: New file.
7177 * sysdeps/nios2/memusage.h: New file.
7178 * sysdeps/nios2/nptl/Makefile: New file.
7179 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7180 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7181 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7182 * sysdeps/nios2/nptl/pthreaddef.h: New file.
7183 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7184 * sysdeps/nios2/nptl/tls.h: New file.
7185 * sysdeps/nios2/preconfigure: New file.
7186 * sysdeps/nios2/s_fma.c: New file.
7187 * sysdeps/nios2/s_fmaf.c: New file.
7188 * sysdeps/nios2/setjmp.S: New file.
7189 * sysdeps/nios2/sfp-machine.h: New file.
7190 * sysdeps/nios2/sotruss-lib.c: New file.
7191 * sysdeps/nios2/stackguard-macros.h: New file.
7192 * sysdeps/nios2/stackinfo.h: New file.
7193 * sysdeps/nios2/start.S: New file.
7194 * sysdeps/nios2/sysdep.h: New file.
7195 * sysdeps/nios2/tls-macros.h: New file.
7196 * sysdeps/nios2/tst-audit.h: New file.
7197 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7198 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7199 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7200 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7201 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7202 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7203 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7204 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7205 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7206 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7207 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7208 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7209 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7210 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7211 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7212 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7213 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7214 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7215 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7216 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7217 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7218 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7219 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7220 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7221 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7222 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7223 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7224 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7225 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7226 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7227 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7228 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7229 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7230 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7231 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7232 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7233 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7234 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7235 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7236 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7237 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7238 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7239 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7240 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7242 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7245 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7246 (getutent): Use weak_alias in non SHARED case
7247 and default_symbol_version in SHARED case.
7248 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7249 (getutent_r, pututline): Likewise.
7250 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7251 (getutid): Likewise.
7252 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7253 (getutid_r): Likewise.
7254 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7255 (getutline): Likewise.
7256 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7257 (getutline_r): Likewise.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7259 (updwtmp): Likewise.
7261 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
7264 * sysdeps/s390/s390-32/memcmp.S
7265 (memcmp_g5): Rename to __memcmp_g5.
7266 * sysdeps/s390/s390-32/memcpy.S
7267 (memcpy_g5): Rename to __memcpy_g5.
7268 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7269 (memcpy_mvcle) Rename to __memcpy_mvcle.
7270 * sysdeps/s390/s390-32/memset.S
7271 (memset_g5): Rename to __memset_g5.
7272 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7273 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7274 and use prefixed functions.
7275 * sysdeps/s390/s390-32/multiarch/memcmp.S
7276 (memcmp_z196): Rename to __memcmp_z196.
7277 (memcmp_z10): Rename to __memcmp_z10.
7278 (memcmp): Set alias to __memcmp_g5.
7279 (bcmp): Set alias to __memcmp_g5.
7280 * sysdeps/s390/s390-32/multiarch/memcpy.S
7281 (memcpy_z196): Rename to __memcpy_z196.
7282 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7283 (memcpy_z10): Rename to __memcpy_z10.
7284 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7285 (memcpy): Set alias to __memcpy_g5.
7286 * sysdeps/s390/s390-32/multiarch/memset.S
7287 (memset_z196): Rename to __memset_z196.
7288 Jump to __memset_mvcle instead of memset_mvcle.
7289 (memset_z10): Rename to __memset_z10.
7290 Jump to __memset_mvcle instead of memset_mvcle.
7291 (memset_mvcle) Rename to __memset_mvcle.
7292 (memset): Set alias to __memset_g5.
7293 * sysdeps/s390/s390-64/memcmp.S
7294 (memcmp_z900): Rename to __memcmp_z900.
7295 * sysdeps/s390/s390-64/memcpy.S
7296 (memcpy_z900): Rename to __memcpy_z900.
7297 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7298 (memcpy_mvcle) Rename to __memcpy_mvcle.
7299 * sysdeps/s390/s390-64/memset.S
7300 (memset_z900): Rename to __memset_z900.
7301 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7302 (IFUNC_RESOLVE): Prefix ifunc-resolve function
7303 and use prefixed functions.
7304 * sysdeps/s390/s390-64/multiarch/memcmp.S
7305 (memcmp_z196): Rename to __memcmp_z196.
7306 (memcmp_z10): Rename to __memcmp_z10.
7307 (memcmp): Set alias to __memcmp_z900.
7308 (bcmp): Set alias to __memcmp_z900.
7309 * sysdeps/s390/s390-64/multiarch/memcpy.S
7310 (memcpy_z196): Rename to __memcpy_z196.
7311 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7312 (memcpy_z10): Rename to __memcpy_z10.
7313 Jump to __memcpy_mvcle instead of memcpy_mvcle.
7314 (memcpy): Set alias to __memcpy_z900.
7315 * sysdeps/s390/s390-64/multiarch/memset.S
7316 (memset_z196): Rename to __memset_z196.
7317 Jump to __memset_mvcle instead of memset_mvcle.
7318 (memset_z10): Rename to __memset_z10.
7319 Jump to __memset_mvcle instead of memset_mvcle.
7320 (memset_mvcle) Rename to __memset_mvcle.
7321 (memset): Set alias to __memset_z900.
7323 2015-01-14 Joseph Myers <joseph@codesourcery.com>
7326 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7327 __fesetenv instead of fesetenv.
7329 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7331 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7334 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7339 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7340 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7342 strncmp-power8 object.
7343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7344 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7345 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7348 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7349 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7351 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7352 trailing byte check.
7354 2015-01-13 David S. Miller <davem@davemloft.net>
7356 * include/signal.h (__sigreturn): Guard with __USE_MISC.
7358 2015-01-13 Roland McGrath <roland@hack.frob.com>
7360 * login/logout.c (logout): Use memset rather than bzero.
7361 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7362 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7363 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7364 (_gethtbyaddr): Likewise.
7365 * locale/programs/simple-hash.c (bcopy): Macro removed.
7367 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7370 Add strcmp-power8 object.
7371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7372 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7373 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7374 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7375 __strcmp_power8 implementation.
7376 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7379 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7380 Add strncpy-power8 and stpncpy-power8 objects.
7381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7382 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7384 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7385 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7386 __stpncpy_power8 implementation.
7387 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7388 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7389 __strncpy_power8 implementation.
7390 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7391 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7394 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7395 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7396 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7398 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7399 strncat-power8 object.
7400 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7401 __strcat_power8 implementation.
7402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7403 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7404 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7405 optimized strcat for power8.
7407 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7408 strcpy-power8 and stpcpy-power8 objects.
7409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7410 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7412 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7413 multiarch stpcpy implementation for POWER8.
7414 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7415 multiarch strcpy implementation for POWER8.
7416 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7417 __strcpy_power8 function.
7418 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7420 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7424 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7427 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7428 weights and rules. Use do_xfrm_cached if data fits in cache,
7429 do_xfrm otherwise. Moved former main loop to...
7430 * (do_xfrm_cached): New function.
7431 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7432 find_idx, find_position and stack_push.
7433 * (find_idx): New function.
7434 * (find_position): Likewise.
7435 * localedata/sort-test.sh: Added test run for do_xfrm.
7436 * localedata/xfrm-test.c (main): Added command line option
7437 -nocache to run the test with strings that are too large for
7440 2015-01-13 Torvald Riegel <triegel@redhat.com>
7442 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7443 variable to lll_futex_wake call, not the value itself.
7445 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7448 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7449 twom64. Adjust value to 0x1p-64L.
7450 (__scalblnl): Only return standard underflowing result for K <=
7451 -64 not K <= -63; adjust exponent for underflowing result by 64
7453 * math/libm-test.inc (scalbn_test_data): Add more tests.
7454 (scalbln_test_data): Likewise.
7457 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7459 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7461 * math/libm-test.inc (scalbn_test_data): Add more tests.
7462 (scalbln_test_data): Likewise.
7464 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7465 Stefani Seibold <stefani@seibold.net>
7467 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7468 (sysdep_routines): Add dl-vdso here, ...
7469 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7470 (sysdep_routines): ... not here.
7471 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7472 fallback when vDSO is not presented.
7473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7474 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7475 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7476 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7477 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7478 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7479 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7480 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7481 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7483 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7484 fallback configurable symbol when vDSO is not available.
7485 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7486 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7487 be able to redefine fallback symbol when vDSO is not available.
7488 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7489 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7491 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7493 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7494 (TLS_INIT_TP): Add tm_capable initialization.
7495 (TLS_DEFINE_INIT_TP): Likewise.
7496 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7498 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7499 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7501 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7502 transactoion is lock elision is built and TCB tm_capable is set.
7503 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7505 (INTERNAL_SYSCALL_NCS): Likewise.
7506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7507 (INTERNAL_SYSCALL_NCS): Likewise.
7508 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7510 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7512 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7513 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7514 and remove it for 32 bits case.
7515 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7518 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7519 Disable lock elision with rdlocks if elision is not available.
7521 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7522 (sysdep_routines): Add lock elision objects.
7523 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7524 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7525 [pthread_mutex_t] (__elision): Add field.
7526 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7527 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7528 elision definitions for powerpc.
7529 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7530 implementation of lock elision for powerpc.
7531 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7532 implementation of timed lock elision for powerpc.
7533 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7534 implementation of trylock with lock elision for powerpc.
7535 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7536 implementaion of unlock for lock elision for powerpc.
7537 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7538 automatic enable lock elision for mutexes.
7539 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7540 transaction execution definitions for powerpc.
7541 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7543 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7544 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7545 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7546 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7549 2015-01-09 Roland McGrath <roland@hack.frob.com>
7551 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7552 for #include of <shm-directory.h>.
7554 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7556 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7557 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7559 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7562 * NEWS: Mention bug fix.
7563 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7564 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7565 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7567 2015-01-09 Torvald Riegel <triegel@redhat.com>
7569 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7571 2015-01-09 Torvald Riegel <triegel@redhat.com>
7573 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7575 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7577 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7578 pointer and cast to uintptr_t.
7580 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7582 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7584 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7586 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7588 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7591 2015-01-08 Roland McGrath <roland@hack.frob.com>
7593 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7594 <nptl/pthreadP.h> instead.
7595 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7597 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7599 [__SIGRTMIN] (init): Function removed.
7600 [__SIGRTMIN] (initialized): Variable removed.
7601 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7602 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7603 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7604 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7605 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7606 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7607 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7608 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7609 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7610 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7611 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7612 * sysdeps/nptl/allocrtsig.c: New file.
7613 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7614 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7615 * sysdeps/generic/testrtsig.h: File removed.
7617 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7618 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7620 * nptl/nptl-init.c (pthread_functions): Conditionalize
7621 .ptr__nptl_setxid initialization on [SIGSETXID].
7623 * sysdeps/nptl/sys/procfs.h: New file.
7624 * nptl_db/Makefile (headers): Add it.
7625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7627 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7628 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7629 * nptl/pthread_attr_setaffinity.c: Include it.
7630 * nptl/pthread_setattr_default_np.c: Likewise.
7631 * nptl/check-cpuset.h: New file.
7633 2015-01-08 Richard Henderson <rth@redhat.com>
7635 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7636 (CFLAGS-tst-execstack-prog.c): Likewise.
7637 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7639 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7640 Sandra Loosemore <sandra@codesourcery.com>
7641 Andrew Jenner <andrew@codesourcery.com>
7642 Joseph Myers <joseph@codesourcery.com>
7643 Nathan Sidwell <nathan@codesourcery.com>
7645 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7646 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7647 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7648 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7649 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7650 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7651 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7652 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7653 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7654 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7655 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7656 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7657 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7658 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7659 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7660 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7661 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7663 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7666 timespec struct member in syscall macro.
7667 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7668 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7669 first timeval struct member in syscall macro.
7670 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7672 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7675 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7676 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7677 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7678 __feupdateenv and define as weak alias of __feupdateenv. Use
7680 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7682 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7683 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7684 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7685 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7687 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7688 __feupdateenv and define as weak alias of __feupdateenv. Use
7690 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7692 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7693 __feupdateenv and define as weak alias of __feupdateenv. Use
7695 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7697 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7698 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7699 (__feupdateenv): Likewise.
7700 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7701 __feupdateenv and define as weak alias of __feupdateenv. Use
7703 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7704 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7706 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7708 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7710 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7711 __feupdateenv instead of feupdateenv.
7712 (default_libc_feupdateenv_test): Likewise.
7713 (libc_feresetround_ctx): Likewise.
7715 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7717 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7720 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7722 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7723 COLL_SYM in a couple of places to avoid uninitialized variable
7724 wanings on tilegx gcc 4.8.2.
7726 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7728 * sysdeps/aarch64/strcpy.S: New file.
7729 * sysdeps/aarch64/stpcpy.S: New file.
7732 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7734 * sysdeps/aarch64/strrchr.S: New file.
7737 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7740 * stdlib/setenv.c: Fix memory leak when setting large,
7743 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7746 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7747 and tabs from buffer before parsing fstab entry.
7748 * misc/tst-mntent.c (main): Add test for mount entry with
7749 trailing spaces and tabs.
7751 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7754 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7755 * math/fesetround.c (fesetround): Rename to __fesetround and
7756 define as weak alias of __fesetround. Use libm_hidden_weak.
7757 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7758 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7759 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7760 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7761 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7762 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7763 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7764 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7765 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7766 __fesetround_inline.
7767 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7768 __fesetround_inline instead of __fesetround.
7769 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7770 __fesetround and define as weak alias of __fesetround. Use
7771 libm_hidden_weak. Call __fesetround_inline instead of
7773 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7774 __fesetround and define as weak alias of __fesetround. Use
7776 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7778 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7780 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7781 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7782 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7783 __fesetround and define as weak alias of __fesetround. Use
7785 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7786 __fesetround instead of fesetround.
7787 (default_libc_feholdexcept_setround): Likewise.
7788 (libc_feholdsetround_ctx): Likewise.
7789 (libc_feholdsetround_noex_ctx): Likewise.
7792 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7793 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7794 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7795 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7796 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7797 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7798 define as weak alias of __fesetenv. Use libm_hidden_weak.
7799 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7800 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7801 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7802 define as weak alias of __fesetenv. Use libm_hidden_weak.
7803 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7804 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7805 define as weak alias of __fesetenv. Use libm_hidden_weak.
7806 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7808 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7809 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7811 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7812 define as weak alias of __fesetenv. Use libm_hidden_weak.
7813 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7814 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7815 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7816 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7817 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7818 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7819 __fesetenv instead of fesetenv.
7820 (libc_feresetround_noex_ctx): Likewise.
7821 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7822 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7823 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7824 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7825 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7826 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7827 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7828 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7829 (__feupdateenv): Likewise.
7830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7831 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7832 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7833 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7835 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7838 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7839 addresses have been freed.
7841 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7843 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7846 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7848 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7849 Clean up check_pf allocation pattern. addresses
7851 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7853 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7854 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7855 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7856 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7857 * nptl/pthread_join.c (pthread_join): Likewise.
7858 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7859 * sysdeps/posix/waitid.c (__waitid): Likewise.
7860 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7861 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7862 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7863 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7867 (__libc_pread64): Likewise.
7868 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7869 (__libc_pwrite): Likewise.
7870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7871 (__libc_pwrite64): Likewsie.
7872 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7873 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7874 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7875 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7876 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7877 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7882 (__libc_pread64): Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7886 (__libc_pwrite64): Likewise.
7887 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7888 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7889 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7890 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7891 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7892 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7893 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7894 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7895 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7896 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7897 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7898 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7899 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7900 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7901 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7902 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7905 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7907 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7908 (CFLAGS-test-double.c): Likewise.
7909 (CFLAGS-test-ldouble.c): Likewise.
7910 (CPPFLAGS-test-ifloat.c): Likewise.
7911 (CPPFLAGS-test-idouble.c): Likewise.
7912 (CPPFLAGS-test-ildoubl.c): Likewise.
7913 (CFLAGS-test-test-fenv.c): Remove variable.
7914 (CFLAGS-test-misc.c): Likewise.
7916 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7919 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7920 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7921 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7922 CLOCKS_PER_SEC == 1000000.
7923 * time/clocktest.c (main): Replace %ld with %jd and cast to
7926 2015-01-05 Roland McGrath <roland@hack.frob.com>
7928 * sysdeps/generic/unwind-resume.h: New file.
7929 * sysdeps/gnu/unwind-resume.c: Include it.
7930 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7931 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7933 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7934 global rather than static.
7935 (_Unwind_Resume): Update user.
7936 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7937 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7938 rather than static. Add __attribute__ ((cold)).
7939 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7940 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7941 * sysdeps/arm/arm-unwind-resume.S: New file.
7942 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7943 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7944 * sysdeps/arm/Makefile [$(subdir) = csu]
7945 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7946 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7947 Add rt-arm-unwind-resume.
7949 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7950 Add pt-arm-unwind-resume.
7951 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7952 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7954 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7957 * include/fenv.h (__feholdexcept): Declare. Use
7959 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7960 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7961 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7962 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7963 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7964 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7965 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7966 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7967 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7968 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7969 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7970 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7971 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7972 (feholdexcept): Likewise.
7973 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7974 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7975 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7976 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7977 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7978 __feholdexcept instead of feholdexcept.
7979 (default_libc_feholdexcept_setround): Likewise.
7981 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7983 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7984 to avoid using stl/str to align destination.
7986 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7988 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7990 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7993 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7994 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7995 Define as weak alias not strong alias.
7997 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7999 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8000 bltzal with addiupc.
8001 (RTLD_START): Ditto.
8003 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
8005 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8006 for __vdso_* functions in declarations.
8007 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8009 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8010 INTERNAL_VSYSCALL): Use struct return types to check for error.
8012 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8013 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8014 function with cast from llround().
8015 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8016 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8019 2015-01-05 Joseph Myers <joseph@codesourcery.com>
8022 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8023 Define as weak alias not strong alias.
8026 * ctype/ctype-c99.c: New file. isblank implementation moved from
8028 * ctype/ctype-extn.c: ... here.
8029 (__isblank_l): Move to ...
8030 * ctype/ctype-c99_l.c: ... here. New file.
8031 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8032 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8034 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8035 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8036 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8037 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8038 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8041 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8042 (posix_fadvise64): Define as weak alias not strong alias.
8043 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8044 (posix_fallocate64): Likewise.
8045 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8047 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8048 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8049 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8050 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8051 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8053 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
8056 * NEWS: Mention bug fix.
8057 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8058 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8059 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8060 (HOST_STACK_END_ADDR): Likewise.
8062 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8065 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
8066 * math/fegetround.c (fegetround): Rename to __fegetround and
8067 define as weak alias of __fegetround. Use libm_hidden_weak.
8068 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8069 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8070 * sysdeps/arm/fegetround.c (fegetround): Likewise.
8071 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8072 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8073 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8074 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8075 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8076 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8077 Undefine after rather than before function definition; use
8078 parentheses around function name in definition.
8079 (__fegetround): Also undefine macro after function definition.
8080 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8081 __fegetround and define as weak alias of __fegetround. Use
8082 libm_hidden_weak. Do not undefine as macro.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8085 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8086 __fegetround and define as weak alias of __fegetround. Use
8088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8089 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8090 * sysdeps/tile/math_private.h (__fegetround): New inline function.
8091 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8092 __fegetround and define as weak alias of __fegetround. Use
8094 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8095 __fegetround instead of fegetround.
8098 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8099 Condition macro definition on [__USE_MISC].
8102 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8103 (struct sigaction): Change type of sa_flags field to int.
8106 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8107 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8110 * nptl/version.c (banner): Use single year in copyright notice.
8112 * NEWS: Update copyright dates.
8113 * catgets/gencat.c (print_version): Likewise.
8114 * csu/version.c (banner): Likewise.
8115 * debug/catchsegv.sh: Likewise.
8116 * debug/pcprofiledump.c (print_version): Likewise.
8117 * debug/xtrace.sh (do_version): Likewise.
8118 * elf/ldconfig.c (print_version): Likewise.
8119 * elf/ldd.bash.in: Likewise.
8120 * elf/pldd.c (print_version): Likewise.
8121 * elf/sotruss.sh: Likewise.
8122 * elf/sprof.c (print_version): Likewise.
8123 * iconv/iconv_prog.c (print_version): Likewise.
8124 * iconv/iconvconfig.c (print_version): Likewise.
8125 * locale/programs/locale.c (print_version): Likewise.
8126 * locale/programs/localedef.c (print_version): Likewise.
8127 * login/programs/pt_chown.c (print_version): Likewise.
8128 * malloc/memusage.sh (do_version): Likewise.
8129 * malloc/memusagestat.c (print_version): Likewise.
8130 * malloc/mtrace.pl: Likewise.
8131 * manual/libc.texinfo: Likewise.
8132 * nptl/version.c (banner): Likewise.
8133 * nscd/nscd.c (print_version): Likewise.
8134 * nss/getent.c (print_version): Likewise.
8135 * nss/makedb.c (print_version): Likewise.
8136 * posix/getconf.c (main): Likewise.
8137 * scripts/test-installation.pl: Likewise.
8138 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8140 2015-01-02 Will Newton <will.newton@linaro.org>
8142 * sysdeps/arm/armv7/configure: Removed.
8143 * sysdeps/arm/armv7/configure.ac: Likewise.
8145 2015-01-02 Joseph Myers <joseph@codesourcery.com>
8147 * All files with FSF copyright notices: Update copyright dates
8148 using scripts/update-copyrights.
8149 * intl/plural.c: Regenerated.
8150 * locale/programs/charmap-kw.h: Likewise.
8151 * locale/programs/locfile-kw.h: Likewise.
8153 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8155 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8157 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8160 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8161 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8162 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8163 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8164 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8165 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8166 define as weak alias of __fegetenv. Use libm_hidden_weak.
8167 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8168 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8169 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8170 define as weak alias of __fegetenv. Use libm_hidden_weak.
8171 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8172 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8173 define as weak alias of __fegetenv. Use libm_hidden_weak.
8174 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8176 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8177 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8179 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8180 define as weak alias of __fegetenv. Use libm_hidden_weak.
8181 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8182 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8183 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8184 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8185 and define as weak alias of __fegetenv. Use libm_hidden_weak.
8186 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8187 __fegetenv instead of fegetenv.
8188 (libc_feholdsetround_noex_ctx): Likewise.
8190 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
8192 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8193 (Elf_MIPS_ABIFlags_v0): New structure.
8194 (EF_MIPS_FP64): Define.
8195 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8196 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8197 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8198 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8199 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8200 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8201 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8202 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8203 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8204 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8205 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8206 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8207 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8208 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8209 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8210 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8211 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8212 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8213 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8214 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8215 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8216 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8218 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8220 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8221 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8222 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8223 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8224 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8225 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8226 * sysdeps/mips/tst-abi-interlink.c: Likewise.
8227 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8228 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8229 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8230 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8231 record the current FP ABI extension.
8232 (mips-mode-switch): Define to show if kernel headers support mode
8234 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8235 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8236 supported SYSV ABI version to 3.
8237 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8240 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8241 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8243 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8245 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8247 2014-12-31 Joseph Myers <joseph@codesourcery.com>
8249 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8250 __fegetround and redefine to call __fegetround. Remove condition
8251 on [!__NO_MATH_INLINES].
8252 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8254 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8257 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8258 instead of <fenv_libc.h>.
8259 (__llrintl): Call fegetround instead of __fegetround.
8260 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8261 instead of <fenv_libc.h>.
8262 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8263 (__lrintl): Call fegetround instead of __fegetround.
8264 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8265 instead of <fenv_libc.h>.
8266 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8267 (__rintl): Call fegetround instead of __fegetround.
8269 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8271 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8274 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8277 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8278 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8279 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8281 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8283 * sysdeps/i386/tls-macros.h: Include <features.h>.
8284 (TLS_LE): Use non-PIC version for GCC >= 5.0.
8288 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8289 define for GCC >= 5.0.
8291 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
8293 * math/test-fenv.c (test_single_exception, set_single_exc,
8294 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8295 feexcp_mask_test, feenable_test, fe_single_test): Add
8296 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8297 case where they are not used.
8298 * math/libm-test.inc: Likewise.
8299 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8300 unused in the absence of FP rounding/exception support.
8301 * stdio-common/tst-printf-round.c: Likewise.
8302 * stdlib/tst-strtod-round.c: Likewise.
8303 * stdlib/tst-strtod-underflow.c: Likewise.
8305 2014-12-30 Joseph Myers <joseph@codesourcery.com>
8308 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8309 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8310 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8311 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8313 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8314 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8315 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8317 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8318 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8320 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8322 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8323 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8324 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8326 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8328 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8329 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8330 (__feraiseexcept): Likewise.
8331 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8332 __feraiseexcept and define as weak alias of __feraiseexcept. Use
8334 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8335 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8337 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8338 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8339 Use libm_hidden_def.
8340 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8342 (feraiseexcept): Define as weak not strong alias. Use
8344 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8345 New inline function. Factored out of ...
8346 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
8347 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8348 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8350 * math/w_acos.c (__acos): Likewise.
8351 * math/w_asin.c (__asin): Likewise.
8352 * math/w_ilogb.c (__ilogb): Likewise.
8353 * math/w_j0.c (y0): Likewise.
8354 * math/w_j1.c (y1): Likewise.
8355 * math/w_jn.c (yn): Likewise.
8356 * math/w_log.c (__log): Likewise.
8357 * math/w_log10.c (__log10): Likewise.
8358 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8359 * sysdeps/aarch64/fpu/math_private.h
8360 (libc_feupdateenv_test_aarch64): Likewise.
8361 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8362 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8363 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8364 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8365 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8366 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8367 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8368 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8369 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8370 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8372 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
8375 * io/test-utime.c (main): Replace %ld with %jd and cast to
8377 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8378 * nptl/tst-mutex5.c: Include <stdint.h>.
8379 (do_test): Replace %ld with %jd and cast to intmax_t.
8380 * posix/tst-regex.c (run_test): Likewise.
8381 (run_test_backwards): Likewise.
8382 * rt/tst-clock.c: Include <stdint.h>.
8383 (clock_test): Replace %ld with %jd and cast to intmax_t.
8384 * rt/tst-cpuclock1.c: Include <stdint.h>.
8385 (do_test): Replace %lu with %ju and cast to uintmax_t.
8386 * rt/tst-cpuclock2.c: Include <stdint.h>.
8387 (do_test): Replace %lu with %ju and cast to uintmax_t.
8388 * rt/tst-mqueue1.c: Include <stdint.h>.
8389 (check_attrs): Replace %ld with %jd and cast to intmax_t.
8390 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8392 * rt/tst-mqueue4.c (do_test): Likewise.
8393 * rt/tst-timer4.c: Include <stdint.h>.
8394 (check_ts): Replace %ld with %jd and cast to intmax_t.
8395 (do_test): Likewise.
8396 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8397 and cast to intmax_t.
8398 * sysdeps/pthread/tst-timer.c (main): Likewise.
8399 * time/clocktest.c (main): Likewise.
8400 * time/tst-posixtz.c (do_test): Likewise.
8401 * timezone/tst-timezone.c (main): Likewise.
8403 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
8404 H.J. Lu <hongjiu.lu@intel.com>
8406 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8407 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8411 version if bit_Fast_Unaligned_Load is set.
8412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8419 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8420 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8421 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8423 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8424 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8425 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8426 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8428 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8430 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8431 instead of #if to avoid a Wundef warning.
8432 * stdlib/tst-limits.c (do_test): Likewise.
8434 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8435 parallel other exception macros.
8436 (fegetenv): Convert from macro to extern inline so that it applies
8437 retroactively to inline functions already seen by the compiler.
8438 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8440 * posix/Makefile (before-compile): Use $(objpfx) for
8441 posix-conf-vars-def.h.
8443 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8445 * posix/getconf.c (main): Use size_t for type of I.
8446 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8449 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8450 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8451 * posix/posix-envs.def: Likewise.
8452 * sysdeps/posix/sysconf.c: Likewise.
8453 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8454 (specs): Remove array.
8455 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8458 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8459 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8460 (__sysconf): Use CONF_IS_* macros.
8462 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8463 ($(objpfx)posix-conf-vars-def.h): New target.
8464 * posix/posix-conf-vars.list: New file.
8465 * posix/posix-conf-vars.h: New file.
8466 * posix/confstr.c: Include posix-conf-vars.h.
8467 (confstr): Use CONF_IS_* macros.
8468 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8470 * scripts/gen-posix-conf-vars.awk: New file.
8472 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8474 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8475 fegetround): Add no-op macros to avoid linknamespace issues.
8477 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8478 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8480 * sysdeps/unix/sysv/linux/tile/sysdep.h
8481 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8482 assembly-specific section to avoid a redefinition warning.
8484 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8485 long before casting to pointer to avoid a cast warning.
8487 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8489 * sysdeps/tile/tilegx/Implies: New file.
8491 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8493 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8495 2014-12-23 Florian Weimer <fweimer@redhat.com>
8497 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8499 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8503 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8504 <kernel-features.h>.
8505 (__utimes) [__NR_utimes]: Make code unconditional.
8506 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8508 (__ASSUME_UTIMES): Do not undefine.
8509 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8510 (__ASSUME_UTIMES): Likewise.
8511 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8512 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8513 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8514 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8516 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8518 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8520 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8523 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8524 alias to weak alias for j0l, y0l.
8525 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8526 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8529 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8532 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8534 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8535 to zero if not already defined.
8537 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8541 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8542 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8543 (char *) casts added.
8544 * sysdeps/ieee754/k_standardf.c: New file.
8545 * sysdeps/ieee754/k_standardl.c: Likewise.
8546 * math/Makefile (libm-support): Remove k_standard.
8547 (libm-calls): Add k_standard.
8549 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8551 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8552 Optimize to avoid an unnecessary FPCR read.
8554 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8556 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8557 Optimize to reduce FPCR/FPSR accesses.
8559 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8561 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8562 Call libc_fetestexcept_aarch64.
8564 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8566 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8567 Call libc_fesetround_aarch64.
8569 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8572 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8573 (__bind): Do not define as weak alias.
8574 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8576 (__getsockname): Do not define as weak alias.
8578 2014-12-22 Will Newton <will.newton@linaro.org>
8580 * manual/install.texi: Document that we require bison 2.7
8582 * INSTALL: Regenerate.
8583 * configure.ac: Use AC_CHECK_PROG_VER instead of
8584 AC_PATH_PROG when checking for bison and check for
8585 version 2.7 or above.
8586 * configure: Regenerate.
8588 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8591 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8592 * sysdeps/tile/ffsll.c (ffsll): To here.
8594 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8596 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8598 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8600 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8602 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8603 hidden ___tls_get_addr.
8604 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8605 hidden __tls_get_addr.
8606 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8607 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8610 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8612 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8615 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8617 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8618 from "call _dl_init@PLT".
8619 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8621 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8623 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8626 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8628 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8630 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8633 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8636 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8638 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8640 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8641 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8642 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8643 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8644 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8646 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8648 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8649 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8650 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8651 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8652 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8654 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8656 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8658 * string/strncat.c (STRNCAT): Simplify implementation.
8660 2014-12-19 David S. Miller <davem@davemloft.net>
8662 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8663 access the quad as both a long double and as a series of 4 words.
8665 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8666 link_map->l_info array access.
8668 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8670 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8672 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8673 * math/atest-exp2.c (TIMEOUT): Likewise.
8674 * math/atest-sincos.c (TIMEOUT): Likewise.
8676 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8678 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8679 -Wno-error with -fno-builtin-lround.
8681 2014-12-19 Torvald Riegel <triegel@redhat.com>
8683 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8684 Contains futex constants and functions moved over from ...
8685 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8686 <lowlevellock-futex.h>.
8687 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8688 (lll_timedwait_tid): Add comments and parentheses around macro
8691 2014-12-19 Torvald Riegel <triegel@redhat.com>
8693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8694 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8695 (__lll_private_flag): Remove.
8696 (lll_futex_wait): Likewise.
8697 (lll_futex_timed_wait): Likewise.
8698 (lll_futex_wake): Likewise.
8699 (lll_futex_requeue): Likewise.
8700 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8701 (__lll_timedwait_tid): Spell out argument names.
8702 (lll_timedwait_tid): Add comments and parentheses around macro
8704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8705 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8707 2014-12-19 Torvald Riegel <triegel@redhat.com>
8709 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8710 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8711 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8712 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8713 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8714 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8715 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8716 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8717 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8718 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8719 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8720 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8721 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8723 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8724 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8725 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8726 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8727 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8729 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8731 * sysdeps/x86_64/x32/Makefile: New file.
8733 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8735 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8736 1L with (mp_limb_t) 1.
8738 2014-12-17 Roland McGrath <roland@hack.frob.com>
8740 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8741 * nptl/libc_pthread_init.c: ... here.
8742 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8743 * nptl/register-atfork.c: ... here.
8745 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8746 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8747 Use assert_perror to check its return value.
8748 (__gai_create_helper_thread): Likewise.
8750 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8752 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8754 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8757 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8759 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8761 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8763 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8765 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8766 (profil_counter): Likewise.
8767 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8768 (profil_counter): Likewise.
8769 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8771 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8773 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8774 (profil_counter): Likewise.
8775 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8777 [!__profil_counter] (profil_counter): Define as weak alias of
8779 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8780 (profil_counter): Rename to __profil_counter.
8781 [!__profil_counter] (profil_counter): Define as weak alias of
8783 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8784 (profil_counter): Rename to __profil_counter.
8785 [!__profil_counter] (profil_counter): Define as weak alias of
8787 * sysdeps/posix/profil.c: Update comment referring to
8789 (__profil): Use __profil_counter instead of profil_counter.
8790 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8791 __profil_counter. Use __profil_counter_ushort and
8792 __profil_counter_uint in definitions.
8793 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8794 instead of profil_counter_uint and profil_counter_ushort.
8797 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8798 define as weak alias of __inet_makeaddr.
8799 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8800 as weak alias of __inet_addr.
8801 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8802 as weak alias of __inet_pton. Use libc_hidden_weak.
8803 * include/arpa/inet.h (__inet_pton): Declare. Use
8805 (inet_makeaddr): Don't use libc_hidden_proto.
8806 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8807 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8808 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8809 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8811 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8812 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8814 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8816 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8818 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8820 * stdio-common/bug-vfprintf-nargs.c (do_test):
8821 Cast value to intptr_t to avoid format warning
8822 for usage with PRIdPTR printing macro.
8824 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8826 * libio/tst-widetext.c (do_test):
8827 Use format type %td instead of %Zd for ptrdiff_t
8828 in order to avoid format warning.
8830 2014-12-17 Andreas Schwab <schwab@suse.de>
8832 * nscd/mem.c (gc): Add size_t cast to match printf format.
8834 2014-12-16 Roland McGrath <roland@hack.frob.com>
8836 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8837 (init): Apply PTR_MANGLE to pointers before storing them.
8838 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8841 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8844 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8845 define as weak alias of __memrchr.
8846 (__memrchr): Do not define as strong alias of memrchr.
8847 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8849 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8850 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8851 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8854 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8855 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8856 (if_indextoname): Rename to __if_indextoname and define as weak
8857 alias of __if_indextoname. Use libc_hidden_weak.
8858 (if_freenameindex): Rename to __if_freenameindex and define as
8859 weak alias of __if_freenameindex.
8860 (if_nameindex): Rename to __if_nameindex and define as weak alias
8862 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8863 __if_nametoindex and define as weak alias of __if_nametoindex.
8864 Use libc_hidden_weak.
8865 (if_freenameindex): Rename to __if_freenameindex and define as
8866 weak alias of __if_freenameindex.
8867 (if_nameindex): Rename to __if_nameindex and define as weak alias
8869 (if_indextoname): Rename to __if_indextoname and define as weak
8870 alias of __if_indextoname. Use libc_hidden_weak.
8871 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8872 __if_nametoindex and define as weak alias of __if_nametoindex.
8873 Use libc_hidden_weak.
8874 (if_freenameindex): Rename to __if_freenameindex and define as
8875 weak alias of __if_freenameindex. Use libc_hidden_weak.
8876 (if_nameindex_netlink): Use __if_freenameindex instead of
8878 (if_nameindex): Rename to __if_nameindex and define as weak alias
8879 of __if_nameindex. Use libc_hidden_weak.
8880 (if_indextoname): Rename to __if_indextoname and define as weak
8881 alias of __if_indextoname. Use libc_hidden_weak.
8882 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8884 [!_ISOMAC] (__if_freenameindex): Likewise.
8885 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8887 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8889 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8890 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8891 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8892 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8893 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8894 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8895 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8897 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8899 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8900 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8902 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8904 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8905 subscript above bounds'
8907 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8910 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8912 * libio/tst-fopenloc.c: Use test-skeleton.c.
8914 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8915 (entry): Rename to ITEM.
8916 (do_test, comp): Adjust.
8918 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8920 2014-12-16 Torvald Riegel <triegel@redhat.com>
8922 * string/tester.c: Include <libc-internal.h>.
8923 (test_memset): Ignore -Wmemset-transposed-args.
8925 2014-12-16 Torvald Riegel <triegel@redhat.com>
8927 * misc/tst-mntent2.c (do_test): Fix warning.
8929 2014-12-16 Torvald Riegel <triegel@redhat.com>
8931 * elf/tst-unique4lib.cc(a): Mark as used.
8933 2014-12-16 Florian Weimer <fweimer@redhat.com>
8936 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8939 2014-12-16 Allan McRae <allan@archlinux.org>
8941 * stdio-common/Makefile (tests): Re-add bug26.
8943 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8946 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8949 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8951 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8952 (__lll_lock_wait): Likewise.
8953 (__lll_timedlock_wait): Likewise.
8954 (__lll_timedwait_tid): Likewise.
8955 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8956 (__lll_robust_timedlock_wait): Likewise.
8957 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8958 (lll_cond_trylock): Likewise.
8959 (__lll_lock): Likewise.
8960 (__lll_robust_lock): Likewise.
8961 (__lll_cond_lock): Likewise.
8962 (lll_robust_cond_lock): Likewise.
8963 (__lll_timedlock): Likewise.
8964 (__lll_robust_timedlock): Likewise.
8965 (__lll_unlock): Likewise.
8966 (__lll_robust_unlock): Likewise.
8967 (lll_wait_tid): Likewise.
8968 (lll_timedwait_tid): Likewise.
8970 2014-12-15 Torvald Riegel <triegel@redhat.com>
8972 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8974 2014-12-15 Torvald Riegel <triegel@redhat.com>
8976 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8978 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8980 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8981 * stdio-common/tst-sprintf.c: Likewise.
8983 2014-12-15 Torvald Riegel <triegel@redhat.com>
8985 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8987 2014-12-15 Jeff Law <law@redhat.com>
8990 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8991 on the heap. (CVE-2012-3406)
8992 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8993 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8994 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8996 2014-12-15 Will Newton <will.newton@linaro.org>
8998 * manual/install.texi: Bump required version of texinfo
9000 * INSTALL: Regenerated.
9001 * configure.ac: Check for makeinfo version 4.7 and above.
9002 * configure: Regenerated.
9004 2014-12-12 Roland McGrath <roland@hack.frob.com>
9006 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9007 PREFIX, string constant to insert between directory and name.
9008 * sysdeps/posix/shm_open.c: Update caller.
9009 * sysdeps/posix/shm_unlink.c: Likewise.
9010 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9011 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9012 (SEM_SHM_PREFIX): New macro.
9013 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9014 [$(have-thread-library) = no].
9015 * nptl/Makefile (libpthread-routines): Add shm-directory.
9016 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9017 * sysdeps/nptl/shm-directory.h: New file.
9018 * sysdeps/posix/shm-directory.c
9019 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9020 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9021 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9023 (__where_is_shmfs): Function removed.
9024 (mountpoint, defaultmount, defaultdir, __namedsem_once):
9026 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9028 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
9030 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9031 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9032 unconditional for use inside libpthread.
9033 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9035 2014-12-12 Roland McGrath <roland@hack.frob.com>
9037 * nptl/pthread_getaffinity.c: New file.
9038 * nptl/pthread_setaffinity.c: New file.
9039 * nptl/pthread_getname.c: New file.
9040 * nptl/pthread_setname.c: New file.
9042 * nptl/pthread_create.c (START_THREAD_DEFN)
9043 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9045 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9046 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9048 * resolv/res_send.c (send_vc): Disable warning resplen may
9049 be used uninitialized.
9051 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9054 (ATTR_NULL): New define checks ATTR against NULL.
9055 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9056 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9058 2014-12-11 James Lemke <jwlemke@codesourcery.com>
9062 (mem2mem_check): Revert my previous change.
9063 (malloc_check_get_size): Revert my previous change.
9064 (mem2chunk_check): Revert my previous change.
9066 2014-12-11 Roland McGrath <roland@hack.frob.com>
9068 * sysdeps/posix/shm-directory.c: New file.
9069 * sysdeps/posix/shm-directory.h: New file.
9070 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9071 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9072 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
9073 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9074 Transmute EPERM to EACCES.
9075 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9077 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
9078 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9080 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9082 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9083 pointer and cast to uintptr_t.
9084 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9085 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9086 Add cast to avoid warning.
9087 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9089 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9091 * nptl/semaphore.h: Move to ...
9092 * sysdeps/pthread/semaphore.h: ... here.
9093 * Makefile (installed-headers): Change nptl/semaphore.h to
9094 sysdeps/pthread/semaphore.h.
9096 2014-12-11 Roland McGrath <roland@hack.frob.com>
9098 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9099 generated error format strings.
9101 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9102 -Wformat-extra-args warnings for scanf formats.
9103 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9104 test of zero-length format (duh).
9105 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9106 corner-case scanf format test.
9107 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9108 generated fprintf format string.
9109 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9110 corner-case sprintf format tests.
9111 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9112 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9113 -Wformat-extra-args warnings throughout.
9114 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9115 (CFLAGS-scanf4.c): Likewise.
9116 (CFLAGS-scanf7.c): Likewise.
9117 (CFLAGS-tst-sprintf.c): Likewise.
9118 (CFLAGS-tst-printf.c): Likewise.
9119 (CFLAGS-tst-printfsz.c): Likewise.
9121 2014-12-11 Joseph Myers <joseph@codesourcery.com>
9123 * include/cpio.h: New file.
9124 * include/fmtmsg.h: Likewise.
9126 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
9127 corresponding format argument to size_t.
9128 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
9130 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
9131 corresponding format argument to size_t.
9132 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
9134 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
9135 corresponding format argument to size_t.
9136 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9137 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9138 (CFLAGS-tst-mbswcs2.c): Likewise.
9139 (CFLAGS-tst-mbswcs3.c): Likewise.
9140 (CFLAGS-tst-mbswcs4.c): Likewise.
9141 (CFLAGS-tst-mbswcs5.c): Likewise.
9142 (CFLAGS-tst-trans.c): Likewise
9144 2014-12-11 Roland McGrath <roland@hack.frob.com>
9146 * posix/regexbug1.c (main): Use "%s" format with regerror results,
9147 rather than assuming they won't contain any '%'s.
9149 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
9151 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9152 inhibit_loop_to_libcall to avoid recursive calls.
9153 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9154 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9156 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
9158 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9161 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9163 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9164 integer value instead of boolean.
9166 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
9168 * malloc/malloc.c: Fix powerof2 check.
9170 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9172 * locale/programs/locfile.h (maybe_swap_uint32):
9173 Remove inline and add unused attribute.
9175 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9178 Truncating assembler expression to a .long expression.
9180 2014-12-11 Andreas Schwab <schwab@suse.de>
9182 * elf/rtld.c (struct map_args): Constify str member.
9183 (do_preload): Constify fname argument.
9185 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9188 constants definition.
9190 2014-12-11 Andreas Schwab <schwab@suse.de>
9193 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9194 FORCE_ELISION instead of DO_ELISION.
9195 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9197 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9200 * iconvdata/gconv-modules: Remove duplicate entry.
9202 2014-12-11 Will Newton <will.newton@linaro.org>
9204 Merge gettext 0.19.3 into intl/.
9206 This involves a number of cosmetic changes to comments
9207 and ANSI function definitions and prototypes throughout
9208 all the files. The gettext copyright header is used but
9209 with the date ranges taken from the glibc copy.
9211 * NEWS: Add gettext merge to 2.21.
9212 * intl/bindtextdom.c: Switch to gettext copyright.
9213 Use ANSI definitions and prototypes.
9214 Use gl_* locking primitives rather than __libc_* ones.
9215 Use __builtin_expect rather than __glibc_likely/unlikely.
9216 * intl/dcgettext.c: Switch to gettext copyright.
9217 Use ANSI definitions and prototypes.
9218 * intl/dcigettext.c: Switch to gettext copyright.
9219 Use ANSI definitions and prototypes.
9220 (INTDIV0_RAISES_SIGFPE): New define.
9221 Use gl_* locking primitives rather than __libc_* ones.
9222 Include eval-plural.h instead of plural-eval.c.
9223 Use __builtin_expect rather than __glibc_likely/unlikely.
9224 * intl/dcngettext.c: Switch to gettext copyright.
9225 Use ANSI definitions and prototypes.
9226 * intl/dgettext.c: Likewise.
9227 * intl/dngettext.c: Likewise.
9228 * intl/plural-eval.c: Renamed to...
9229 * intl/eval-plural.h: ...this.
9230 * intl/explodename.c: Switch to gettext copyright.
9231 Use ANSI definitions and prototypes.
9232 (_nl_explode_name): Use strchr instead of __rawmemchr.
9233 * intl/finddomain.c: Switch to gettext copyright.
9234 Use ANSI definitions and prototypes.
9235 Use gl_* locking primitives rather than __libc_* ones.
9236 (_nl_find_domain): Use malloc rather than alloca for
9237 allocation of temporary locale name.
9238 * intl/gettext.c: Switch to gettext copyright.
9239 Use ANSI definitions and prototypes.
9240 * intl/gettextP.h: Switch to gettext copyright.
9241 Use ANSI definitions and prototypes.
9242 Use gl_* locking primitives rather than __libc_* ones.
9243 * intl/gmo.h: Switch to gettext copyright.
9244 (struct sysdep_string): Move struct segment_pair outside of
9246 * intl/hash-string.c: Use ANSI definitions and prototypes.
9247 * intl/hash-string.h: Switch to gettext copyright.
9248 Use ANSI definitions and prototypes.
9249 * intl/l10nflist.c: Switch to gettext copyright.
9250 Use ANSI definitions and prototypes.
9251 (_nl_normalize_codeset): Avoid integer overflow.
9252 * intl/loadinfo.h: Switch to gettext copyright.
9253 Use ANSI definitions and prototypes.
9254 (LIBINTL_DLL_EXPORTED): New define.
9255 (PATH_SEPARATOR): New define.
9256 * intl/loadmsgcat.c: Switch to gettext copyright.
9257 * intl/localealias.c: Switch to gettext copyright.
9258 Use ANSI definitions and prototypes.
9259 (_nl_expand_alias): Use PATH_SEPARATOR.
9260 * intl/ngettext.c: Switch to gettext copyright.
9261 Use ANSI definitions and prototypes.
9262 * intl/plural-exp.c: Likewise.
9263 * intl/plural-exp.h: Switch to gettext copyright.
9264 Use ANSI definitions and prototypes.
9265 (struct expression): Move definition of enum operator outside
9266 of struct definition.
9267 * intl/plural.c: Regenerate.
9268 * intl/plural.y: Switch to gettext copyright.
9269 Use ANSI definitions and prototypes.
9271 * intl/textdomain.c: Switch to gettext copyright.
9272 Use ANSI definitions and prototypes.
9273 Use gl_* locking primitives rather than __libc_* ones.
9275 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
9277 * debug/warning-nop.c: Add used atrribute.
9279 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9281 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9283 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9284 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9285 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9287 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9288 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9291 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9292 Undefine after defining function. Define as weak alias of
9293 __wcschr. Use libc_hidden_weak.
9294 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
9295 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9296 (libc_hidden_def): Also define __GI___wcschr alias.
9297 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9298 __wcschr and define as weak alias of __wcschr.
9299 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9301 [!WCSCHR] (DEFAULT_WCSCHR): Define.
9302 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9303 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
9304 libc_hidden_weak. Do not use libc_hidden_def.
9305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9306 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9307 __GI___wcschr alias.
9308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9309 [IS_IN (libc)] (wcschr): Define as macro expanding to
9311 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9312 [IS_IN (libc)] (__wcschr_power6): Likewise.
9313 [IS_IN (libc)] (__wcschr_power7): Likewise.
9314 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
9316 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9318 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9319 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9320 __wcschr and define as weak alias of __wcschr. Use
9321 libc_hidden_builtin_def.
9322 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9323 as weak alias of __wcschr. Use libc_hidden_weak.
9324 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9326 * time/era.c (_nl_init_era_entries): Likewise.
9327 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9329 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9330 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9332 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9334 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9335 format for long int variable.
9337 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
9340 * manual/search.texi: (Array Sort Function): Remove claim how to make
9343 2014-12-10 Andreas Schwab <schwab@suse.de>
9346 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9347 user-controlled locks.
9349 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
9351 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9354 2014-12-10 Joseph Myers <joseph@codesourcery.com>
9356 * configure.ac (--disable-werror): New configure option.
9357 (enable_werror): New AC_SUBST.
9358 * configure: Regenerated.
9359 * config.make.in (enable-werror): New variable.
9360 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9362 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9363 * manual/install.texi (Configuring and compiling): Document
9365 * INSTALL: Regenerated.
9366 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9367 (CFLAGS-tst-chk2.c): Likewise.
9368 (CFLAGS-tst-chk3.c): Likewise.
9369 (CFLAGS-tst-chk4.cc): Likewise.
9370 (CFLAGS-tst-chk5.cc): Likewise.
9371 (CFLAGS-tst-chk6.cc): Likewise.
9372 (CFLAGS-tst-lfschk1.c): Likewise.
9373 (CFLAGS-tst-lfschk2.c): Likewise.
9374 (CFLAGS-tst-lfschk3.c): Likewise.
9375 (CFLAGS-tst-lfschk4.cc): Likewise.
9376 (CFLAGS-tst-lfschk5.cc): Likewise.
9377 (CFLAGS-tst-lfschk6.cc): Likewise.
9379 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9380 (main): Disable -Wdeprecated-declarations around calls to
9381 register_printf_function.
9383 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9384 (do_test): Disable -Wdiv-by-zero around some calls to
9385 fwrite_unlocked and fread_unlocked.
9387 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9388 (DIAG_POP_NEEDS_COMMENT): Likewise.
9389 (_DIAG_STR1): Likewise.
9390 (_DIAG_STR): Likewise.
9391 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9392 * stdio-common/bug21.c: Include <libc-internal.h>.
9393 (do_test): Disable -Wformat around call to sscanf.
9394 * stdio-common/scanf14.c: Include <libc-internal.h>.
9395 (main): Disable -Wformat around some calls to scanf functions.
9397 2014-12-09 Torvald Riegel <triegel@redhat.com>
9399 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9401 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9404 stack variable alignment.
9406 2014-12-06 Joseph Myers <joseph@codesourcery.com>
9409 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9410 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9411 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9412 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9413 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9414 __getrlimit instead of getrlimit.
9415 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9416 __gettimeofday instead of gettimeofday.
9417 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9419 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9421 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9422 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9424 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9425 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9427 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9429 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9430 for wide-character tests.
9432 2014-12-04 Roland McGrath <roland@hack.frob.com>
9434 * io/openat64.c: #include <libc-internal.h>
9435 (__openat64): Prototypify. Use ignore_value on MODE.
9436 * io/openat.c: Likewise.
9437 * misc/reboot.c: #include <libc-internal.h>
9438 (reboot): Prototypify. Use ignore_value on HOWTO.
9439 * misc/ptrace.c: #include <libc-internal.h>
9440 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9442 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9444 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9445 XPG4, UNIX98 and XOPEN2K.
9446 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9448 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9450 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9452 * libio/fileops.c: Use ISO C style for function definitions.
9453 * libio/iofopen.c: Likewise.
9454 * libio/wfileops.c: Likewise.
9457 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9459 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9460 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9461 (fgets_func): Function pointer to fgets and fgetws.
9462 (do_ftell_test): Add test to verify ftell value after read
9464 (do_test): Set fgets_func.
9466 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9467 O_TRUNC flag for w and w+ modes.
9468 (do_rewind_test): Likewise.
9469 (do_ftell_test): Likewise.
9470 (do_write_test): Likewise.
9473 * libio/fileops.c (do_ftell): Seek only when there are
9475 * libio/wfileops.c (do_ftell_wide): Likewise.
9476 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9478 (do_one_test): Call it.
9480 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9482 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9483 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9484 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9486 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9487 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9488 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9490 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9492 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9494 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9497 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9498 as weak alias of __getifaddrs. Use libc_hidden_weak.
9499 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9500 __freeifaddrs. Use libc_hidden_weak.
9501 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9502 define as weak alias of __getifaddrs. Use libc_hidden_weak.
9503 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9504 __freeifaddrs. Use libc_hidden_weak.
9505 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9506 __getifaddrs and define as weak alias of __getifaddrs. Use
9508 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9509 __freeifaddrs. Use libc_hidden_weak.
9510 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9512 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9513 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9515 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9518 * sysdeps/mips/start.S (__start): Use indirect jump to call
9521 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9523 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9525 * nptl/tst-mutex1.c: Include <stdbool.h>.
9526 [!ATTR] (ATTR_NULL): New macro.
9527 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9528 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9529 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9531 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9535 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9536 Change conditional to [__USE_MISC].
9539 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9541 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9543 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9545 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9547 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9548 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9549 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9550 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9551 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9552 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9553 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9554 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9555 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9557 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9559 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9561 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9562 Remove strpbrk objects.
9563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9564 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9565 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9566 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9567 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9568 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9570 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9571 Remove strcspn objects.
9572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9573 (__libc_ifunc_impl_list): Remove strcspn implementation.
9574 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9575 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9576 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9577 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9579 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9580 Remove strspn objetcs.
9581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9582 (__libc_ifunc_impl_list): Remove strspn implementation.
9583 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9584 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9585 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9586 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9588 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9592 (mem2mem_check): Add a terminator to the chain of checking blocks.
9593 (malloc_check_get_size): Use it here.
9594 (mem2chunk_check): Ditto.
9596 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9598 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9599 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9601 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9603 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9605 * nptl/nptl-init.c: Include libc-internal.h.
9606 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9608 * elf/ldconfig.c (search_dir): Expand comment.
9610 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9612 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9614 (linknamespace-symlist-stdlibs-tests): Likewise.
9615 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9616 instead of $(objpfx)symlist-stdlibs.
9617 (linknamespace-libs-isoc): New variable.
9618 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9619 (linknamespace-libs-ISO): New variable.
9620 (linknamespace-libs-ISO99): Likewise.
9621 (linknamespace-libs-ISO11): Likewise.
9622 (linknamespace-libs-XPG3): Likewise.
9623 (linknamespace-libs-XPG4): Likewise.
9624 (linknamespace-libs-POSIX): Likewise.
9625 (linknamespace-libs-UNIX98): Likewise.
9626 (linknamespace-libs-XOPEN2K): Likewise.
9627 (linknamespace-libs-POSIX2008): Likewise.
9628 (linknamespace-libs-XOPEN2K8): Likewise.
9629 ($(objpfx)symlist-stdlibs): Replace by
9630 $(linknamespace-symlist-stdlibs-tests). Use
9631 $(linknamespace-libs-$*) as set of libraries.
9632 ($(linknamespace-header-tests)): Update dependencies. Use
9633 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9634 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9635 * conform/linknamespace.pl: Remove comment about considering
9636 definitions of symbols from irrelevant libraries.
9638 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9641 * elf/dl-tls.c: Include <atomic.h>.
9642 (oom): Remove #ifdef SHARED/#endif.
9643 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9644 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9645 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9647 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9648 * nptl/Makefile (tests): Add tst-stack4.
9649 (modules-names): Add tst-stack4mod.
9650 ($(objpfx)tst-stack4): New.
9651 (tst-stack4mod.sos): Likewise.
9652 ($(objpfx)tst-stack4.out): Likewise.
9653 ($(tst-stack4mod.sos)): Likewise.
9655 * nptl/tst-stack4.c: New file.
9656 * nptl/tst-stack4mod.c: Likewise.
9658 2014-11-27 J. Brown <jb999@gmx.de>
9660 * sysdeps/x86/bits/string.h: Add recent CPUs.
9662 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9664 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9667 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9670 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9673 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9675 * nscd/connections.c: Include libc-internal.h because of macro
9678 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9680 * string/bits/string3.h (__warn_memset_zero_len): Don't
9681 declare for gcc newer than 5.0.
9682 (memset): Don't test for zero-length __LEN for gcc newer than
9685 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9687 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9688 size_t for %zu format.
9690 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9691 difference, not %ju.
9693 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9695 * include/libc-internal.h (ignore_value): New macro.
9696 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9699 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9702 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9703 pthread_cleanup_push to void *.
9705 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9711 instead of 1L << 52.
9713 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9714 * libio/bug-rewind2.c (do_test): Likewise.
9716 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9717 * debug/test-strcpy_chk-ifunc.c: Likewise.
9718 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9719 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9720 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9721 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9722 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9723 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9724 * Rules [$(multi-arch) = no] (tests): Do not filter out
9726 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9727 * debug/Makefile (tests-ifunc): Remove variable.
9728 (tests): Do not add $(tests-ifunc).
9729 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9730 (tests): Do not add $(tests-ifunc).
9731 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9732 [TEST_IFUNC]: Remove conditionals.
9733 * string/test-string.h (TEST_IFUNC): Remove macro.
9734 [TEST_IFUNC]: Remove conditionals.
9736 * string/test-strchr.c [!WIDE] (L): New macro.
9737 [WIDE] (L): Likewise.
9738 (check1): Use CHAR instead of char. Use L on string and character
9741 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9743 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9745 * sysdeps/powerpc/bits/atomic.h
9746 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9747 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9748 (atomic_exchange_and_add_acq): Likewise.
9749 (atomic_exchange_and_add_rel): Likewise.
9750 * sysdeps/powerpc/powerpc32/bits/atomic.h
9751 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9752 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9753 * sysdeps/powerpc/powerpc64/bits/atomic.h
9754 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9755 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9757 2014-11-26 Torvald Riegel <triegel@redhat.com>
9759 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9760 Change synchronization of __sched_fifo_min_prio and
9761 __sched_fifo_max_prio.
9762 * nptl/pthread_mutexattr_getprioceiling.c
9763 (pthread_mutexattr_getprioceiling): Likewise.
9764 * nptl/pthread_mutexattr_setprioceiling.c
9765 (pthread_mutexattr_setprioceiling): Likewise.
9766 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9767 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9770 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9772 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9775 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9777 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9778 third argument const.
9780 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9782 fnmatch: work around GCC compiler warning bug with uninit var
9783 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9784 This works around a bug with x86-64 GCC 4.9.2 and earlier
9785 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9786 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9787 used uninitialized in this function [-Wmaybe-uninitialized]".
9789 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9791 * posix/bug-regex31.c (main): Return RES not 0.
9793 2014-11-25 Anton Blanchard <anton@samba.org>
9795 * sysdeps/powerpc/bits/atomic.h
9796 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9798 2014-11-24 Sterling Augustine <saugustine@google.com>
9800 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9802 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9805 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9807 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9810 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9811 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9813 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9814 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9816 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9818 * string/strncpy.c (strncpy): Improve performance by using memset.
9820 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9822 * string/strcpy.c (strcpy):
9823 Improve performance by using strlen and memcpy.
9825 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9827 * string/strcoll_l.c (get_next_seq): __always_inline.
9828 * string/strcoll_l.c (do_compare): __always_inline.
9830 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9832 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9834 * include/mqueue.h: Likewise.
9835 * include/stdlib.h: Likewise.
9837 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9838 (get_null_defines): Adjust.
9839 * sunrpc/Makefile: Adjust comment.
9840 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9841 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9842 (CFLAGS-interp.c): Likewise.
9843 (CFLAGS-ldconfig.c): Likewise.
9844 (CPPFLAGS-.os): Likewise.
9845 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9846 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9847 * extra-modules.mk (extra-modules.mk): Likewise.
9848 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9849 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9850 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9851 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9852 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9853 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9854 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9855 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9856 * iconvdata/Makefile (CPPFLAGS): Likewise.
9857 (cpp-srcs-left): Add libof for all iconvdata routines.
9858 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9859 * include/assert.h: Likewise.
9860 * include/ctype.h: Likewise.
9861 * include/errno.h: Likewise.
9862 * include/libc-symbols.h: Likewise.
9863 * include/math.h: Likewise.
9864 * include/netdb.h: Likewise.
9865 * include/resolv.h: Likewise.
9866 * include/stdio.h: Likewise.
9867 * include/stdlib.h: Likewise.
9868 * include/string.h: Likewise.
9869 * include/sys/stat.h: Likewise.
9870 * include/wctype.h: Likewise.
9871 * intl/l10nflist.c: Likewise.
9872 * libidn/idn-stub.c: Likewise.
9873 * libio/libioP.h: Likewise.
9874 * nptl/libc_multiple_threads.c: Likewise.
9875 * nptl/pthreadP.h: Likewise.
9876 * posix/regex_internal.h: Likewise.
9877 * resolv/res_hconf.c: Likewise.
9878 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9879 * sysdeps/arm/memmove.S: Likewise.
9880 * sysdeps/arm/sysdep.h: Likewise.
9881 * sysdeps/generic/_itoa.h: Likewise.
9882 * sysdeps/generic/symbol-hacks.h: Likewise.
9883 * sysdeps/gnu/errlist.awk: Likewise.
9884 * sysdeps/gnu/errlist.c: Likewise.
9885 * sysdeps/i386/i586/memcpy.S: Likewise.
9886 * sysdeps/i386/i586/memset.S: Likewise.
9887 * sysdeps/i386/i686/memcpy.S: Likewise.
9888 * sysdeps/i386/i686/memmove.S: Likewise.
9889 * sysdeps/i386/i686/mempcpy.S: Likewise.
9890 * sysdeps/i386/i686/memset.S: Likewise.
9891 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9893 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9894 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9897 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9898 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9899 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9901 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9902 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9903 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9904 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9905 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9906 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9907 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9908 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9909 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9910 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9911 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9912 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9913 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9914 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9915 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9917 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9918 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9919 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9920 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9921 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9922 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9924 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9925 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9927 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9928 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9931 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9932 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9933 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9936 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9937 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9938 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9939 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9940 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9941 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9942 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9943 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9944 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9945 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9946 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9947 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9948 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9949 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9950 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9951 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9952 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9953 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9954 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9955 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9956 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9957 * sysdeps/posix/closedir.c: Likewise.
9958 * sysdeps/posix/opendir.c: Likewise.
9959 * sysdeps/posix/readdir.c: Likewise.
9960 * sysdeps/posix/rewinddir.c: Likewise.
9961 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9962 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9963 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9964 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9965 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9972 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9974 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9987 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9997 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9998 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9999 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10001 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10002 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10003 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10004 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10005 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10006 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10007 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10008 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10009 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10010 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10011 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10012 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10013 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10015 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10017 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10018 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10019 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10020 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10021 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10022 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10023 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10024 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10025 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10026 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10027 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10028 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10029 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10030 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10031 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10032 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10033 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10034 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10035 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10036 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10037 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10038 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10039 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10040 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10041 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10043 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10045 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10047 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10048 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10049 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10051 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10052 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10053 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10055 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10057 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10059 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10060 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10061 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10062 * sysdeps/unix/alpha/sysdep.S: Likewise.
10063 * sysdeps/unix/alpha/sysdep.h: Likewise.
10064 * sysdeps/unix/make-syscalls.sh: Likewise.
10065 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10066 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10067 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10068 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10069 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10070 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10071 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10072 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10073 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10074 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10075 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10076 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10078 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10079 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10080 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10081 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10082 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10083 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10084 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10085 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10086 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10087 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10088 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10089 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10090 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10094 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10095 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10099 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10103 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10104 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10105 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10106 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10108 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10109 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10112 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10115 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10116 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10117 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10118 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10119 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10121 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10123 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10124 * sysdeps/x86_64/memcpy.S: Likewise.
10125 * sysdeps/x86_64/memmove.c: Likewise.
10126 * sysdeps/x86_64/memset.S: Likewise.
10127 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10128 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10129 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10130 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10131 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10132 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10134 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10135 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10136 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10137 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10139 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10140 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10141 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10142 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10143 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10144 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10146 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10147 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10148 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10151 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10152 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10153 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10154 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10155 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10156 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10157 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10158 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10159 * sysdeps/x86_64/strcmp.S: Likewise.
10161 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10163 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10164 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10165 * elf/rtld-Rules: Likewise.
10166 * elf/setup-vdso.h: Likewise.
10167 * include/assert.h: Likewise.
10168 * include/bits/stdlib-float.h: Likewise.
10169 * include/errno.h: Likewise.
10170 * include/sys/stat.h: Likewise.
10171 * include/unistd.h: Likewise.
10172 * sysdeps/aarch64/setjmp.S: Likewise.
10173 * sysdeps/alpha/setjmp.S: Likewise.
10174 * sysdeps/arm/__longjmp.S: Likewise.
10175 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10176 * sysdeps/arm/setjmp.S: Likewise.
10177 * sysdeps/arm/sysdep.h: Likewise.
10178 * sysdeps/generic/_itoa.h: Likewise.
10179 * sysdeps/generic/dl-sysdep.h: Likewise.
10180 * sysdeps/generic/ldsodefs.h: Likewise.
10181 * sysdeps/i386/dl-tls.h: Likewise.
10182 * sysdeps/i386/setjmp.S: Likewise.
10183 * sysdeps/m68k/setjmp.c: Likewise.
10184 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10185 * sysdeps/mach/hurd/opendir.c: Likewise.
10186 * sysdeps/posix/getcwd.c: Likewise.
10187 * sysdeps/posix/opendir.c: Likewise.
10188 * sysdeps/posix/profil.c: Likewise.
10189 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10190 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10191 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10192 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10193 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10194 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10195 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10196 * sysdeps/s390/dl-tls.h: Likewise.
10197 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10198 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10199 * sysdeps/sh/sh3/setjmp.S: Likewise.
10200 * sysdeps/sh/sh4/setjmp.S: Likewise.
10201 * sysdeps/unix/alpha/sysdep.h: Likewise.
10202 * sysdeps/unix/arm/sysdep.S: Likewise.
10203 * sysdeps/unix/i386/sysdep.S: Likewise.
10204 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10205 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10206 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10207 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10208 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10209 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10210 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10211 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10212 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10213 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10214 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10215 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10216 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10219 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10220 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10222 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10224 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10227 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10228 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10232 * sysdeps/x86_64/setjmp.S: Likewise.
10234 * include/math.h: Use IS_IN instead of IS_IN_libm.
10235 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10239 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10241 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10245 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10246 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10247 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10248 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10249 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10250 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10252 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10253 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10255 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10256 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10257 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10258 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10259 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10260 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10261 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10262 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10263 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10264 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10265 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10266 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10267 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10278 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10279 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10280 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10281 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10282 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10283 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10289 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10290 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10291 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10292 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10293 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10294 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10296 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10297 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10298 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10299 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10301 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10304 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10306 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10307 * nptl/pthreadP.h: Likewise.
10308 * nptl_db/structs.def: Likewise.
10309 * sysdeps/arm/sysdep.h: Likewise.
10310 * sysdeps/nptl/bits/libc-lock.h: Likewise.
10311 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10312 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10313 * sysdeps/unix/alpha/sysdep.h: Likewise.
10314 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10315 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10316 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10317 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10318 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10319 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10320 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10321 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10322 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10323 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10324 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10325 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10326 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10327 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10331 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10332 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10335 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10336 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10337 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10338 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10339 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10341 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10342 * nptl/pthreadP.h: Likewise.
10343 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10344 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10345 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10346 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10347 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10348 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10349 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10350 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10351 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10352 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10353 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10354 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10361 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10364 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10365 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10366 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10368 * dlfcn/dladdr.c: Use IS_IN.
10369 * dlfcn/dladdr1.c: Likewise.
10370 * dlfcn/dlclose.c: Likewise.
10371 * dlfcn/dlerror.c: Likewise.
10372 * dlfcn/dlinfo.c: Likewise.
10373 * dlfcn/dlmopen.c: Likewise.
10374 * dlfcn/dlopen.c: Likewise.
10375 * dlfcn/dlsym.c: Likewise.
10376 * dlfcn/dlvsym.c: Likewise.
10378 * include/ifaddrs.h: Use IS_IN.
10379 * inet/check_pf.c: Likewise.
10380 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10381 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10383 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10385 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10386 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10388 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10389 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10392 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10394 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10395 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10396 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10397 * include/libc-symbols.h (IS_IN_LIB): New macro.
10398 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10399 * include/netdb.h: Likewise.
10400 * include/stap-probe.h: Remove all uses of IN_LIB.
10402 * Makeconfig (module-cppflags-real): Define MODULE_NAME
10403 instead of IN_MODULE.
10404 * include/libc-symbols.h (IN_MODULE): Define using
10406 (PASTE_NAME, PASTE_NAME1): New macros.
10407 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10409 (STAP_PROBE_ASM): Likewise.
10411 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10413 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10414 __mach_init in dlopened libc.
10416 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10418 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10419 * sysdeps/arm/preconfigure: Regenerate.
10421 2014-11-21 Roland McGrath <roland@hack.frob.com>
10423 * nptl/pthread_create.c (__pthread_create_2_1): Set
10424 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10425 when copying values from IATTR into PD.
10427 2014-11-21 Will Newton <will.newton@linaro.org>
10428 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10430 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10431 Refactor inline-asm. Also add comment.
10433 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10434 ElfW macro instead of hardcoded Elf64 types.
10435 (la_aarch64_gnu_pltenter): Likewise.
10436 * sysdeps/aarch64/dl-machine.h
10437 (elf_machine_runtime_setup): Use ElfW(Addr).
10439 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10440 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10441 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10442 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10443 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10444 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10445 (R_AARCH64_TLS_DTPMOD): This.
10446 (R_AARCH64_TLS_DTPREL64): Rename to ...
10447 (R_AARCH64_TLS_DTPREL): This.
10448 (R_AARCH64_TLS_TPREL64): Rename to ...
10449 (R_AARCH64_TLS_TPREL): This.
10450 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10451 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10452 R_AARCH64_TLS_TPREL64.
10453 (elf_machine_rela): Likewise.
10455 2014-11-21 Torvald Riegel <triegel@redhat.com>
10457 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10458 by setting it to 0. 64b atomics are not supported currently.
10460 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10463 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10464 search domain names.
10466 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10470 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10472 * posix/tst-getaddrinfo5.c: New.
10473 * posix/Makefile (tests): Add it.
10475 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10479 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10480 after parsing line but before break_if_match.
10481 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10482 if there is a protocol mismatch.
10484 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10486 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10487 because the potential race is on the user-supplied stream.
10489 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10491 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10492 string literal if not passed a buffer.
10493 * manual/job.texi (ctermid): Update reasoning, note deviation
10494 from posix, suggest mtasurace when not passed a buffer, for
10495 future non-preliminary safety notes.
10497 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10499 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10500 of not passing it a buffer.
10501 Reported by Peng Haitao.
10503 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10505 * manual/Makefile ($(objpfx)stamp-summary): Require
10506 check-safety.sh to pass.
10507 * manual/check-safety.sh: Wish for verification that every
10508 @deftypefn and @deftypefun is followed by a @safety remark.
10510 2014-11-20 Roland McGrath <roland@hack.frob.com>
10512 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10514 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10515 PTHREAD_CANCEL_ASYNCHRONOUS.
10516 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10519 * nptl/default-sched.h: New file.
10520 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10521 * nptl/pthread_create.c: Include it.
10522 (__pthread_create_2_1): Use collect_default_sched instead of making
10523 Linux syscalls here directly.
10525 2014-11-20 Torvald Riegel <triegel@redhat.com>
10527 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10528 __pthread_once): Use C11 atomics.
10530 2014-11-20 Torvald Riegel <triegel@redhat.com>
10532 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10534 2014-11-20 Torvald Riegel <triegel@redhat.com>
10536 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10537 atomic_thread_fence_acquire, atomic_thread_fence_release,
10538 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10539 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10540 atomic_compare_exchange_weak_relaxed,
10541 atomic_compare_exchange_weak_acquire,
10542 atomic_compare_exchange_weak_release,
10543 atomic_exchange_acquire, atomic_exchange_release,
10544 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10545 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10546 atomic_fetch_and_acquire,
10547 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10549 2014-11-20 Torvald Riegel <triegel@redhat.com>
10551 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10552 USE_ATOMIC_COMPILER_BUILTINS): Define.
10553 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10555 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10557 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10559 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10561 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10563 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10564 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10565 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10566 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10567 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10568 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10569 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10570 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10571 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10572 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10573 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10574 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10575 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10577 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10579 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10580 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10581 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10583 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10584 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10585 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10586 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10587 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10588 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10589 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10591 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10594 2014-11-19 Roland McGrath <roland@hack.frob.com>
10596 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10597 the sched_priority value here. It was already checked when the user
10598 called pthread_attr_setschedparam.
10600 * nptl/tst-bad-schedattr.c: New file.
10601 * nptl/Makefile (tests): Add it.
10603 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10604 Florian Weimer <fweimer@redhat.com>
10605 Joseph Myers <joseph@codesourcery.com>
10606 Adam Conrad <adconrad@0c3.net>
10607 Andreas Schwab <schwab@suse.de>
10608 Brooks <bmoses@google.com>
10611 * wordexp-test.c (__dso_handle): Add prototype.
10612 (__register_atfork): Likewise.
10613 (__app_register_atfork): New function.
10614 (registered_forks): New global.
10615 (register_fork): New function.
10616 (test_case): Add 3 new tests for WRDE_CMDSUB.
10617 (main): Call __app_register_atfork.
10618 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10619 fork count is non-zero fail the test.
10620 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10622 (parse_dollars): Remove check for WRDE_NOCMD.
10623 (parse_dquote): Likewise.
10625 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10627 * Makeconfig (built-modules): List non-library modules to be
10629 (module-cppflags): Include libc-modules.h for
10630 everything except shlib-versions.v.i.
10631 (CPPFLAGS): Use it.
10632 (before-compile): Add libc-modules.h.
10633 ($(common-objpfx)libc-modules.h,
10634 $(common-objpfx)libc-modules.stmp): New targets.
10635 (common-generated): Add libc-modules.h and libc-modules.stmp.
10636 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10637 * include/libc-symbols.h: Don't include libc-modules.h.
10638 * include/libc-modules.h: Remove file.
10639 * scripts/gen-libc-modules.awk: New script to generate
10641 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10642 Depend on libc-modules.stmp.
10644 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10646 * Makeconfig (in-module): Get value of libof set for the
10648 (CPPFLAGS): Use $(in-module).
10649 * Makerules: Don't suffix routine names for nonlib.
10650 * include/libc-modules.h: New file.
10651 * include/libc-symbols.h: Include libc-modules.h
10652 (IS_IN): New macro to replace IS_IN_* macros.
10653 * elf/Makefile: Set libof-* for each routine.
10654 * elf/rtld-Rules: Likewise.
10655 * extra-modules.mk: Likewise.
10656 * iconv/Makefile: Likewise.
10657 * iconvdata/Makefile: Likewise.
10658 * locale/Makefile: Likewise.
10659 * malloc/Makefile: Likewise.
10660 * nss/Makefile: Likewise.
10661 * sysdeps/gnu/Makefile: Likewise.
10662 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10663 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10664 * sysdeps/s390/s390-64/Makefile: Likewise.
10665 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10666 CPPFLAGS for nscd instead of nonlib.
10668 2014-11-18 Roland McGrath <roland@hack.frob.com>
10670 * nptl/createthread.c: New file.
10672 * nptl/createthread.c: Moved ...
10673 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10675 * nptl/createthread.c: Add proper top-line comment.
10676 (do_clone): Folded into ...
10677 (create_thread): ... here. Take new arguments STOPPED_START and
10678 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10679 increment __nptl_threads, do event-reporting logic, do
10680 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10681 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10682 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10683 just send SIGCANCEL.
10684 * nptl/pthread_create.c: Forward-declare create_thread before
10685 including createthread.c.
10686 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10687 declaration, and new macro START_THREAD_SELF to replace argument.
10688 Remove return statement.
10689 (report_thread_creation): New function.
10690 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10691 synchronization logic, and __nptl_nthreads increment here, around
10692 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10693 PD->parent_cancelhandling here, before create_thread. When
10694 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10695 __deallocate_stack, and ENOMEM translation here.
10697 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10700 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10701 (mptwo): Rename to __mptwo.
10702 (__inv): Use __mptwo instead of mptwo.
10703 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10704 (mptwo): Rename to __mptwo.
10705 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10706 of mpone and __mptwo instead of mptwo.
10707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10710 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10711 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10712 of mpone and __mptwo instead of mptwo.
10713 (__mpranred): Use __mpone instead of mpone.
10714 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10716 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10717 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10718 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10719 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10720 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10721 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10722 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10723 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10724 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10725 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10726 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10727 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10728 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10729 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10730 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10731 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10732 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10733 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10734 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10736 2014-11-18 Tom de Vries <tom@codesoucery.com>
10738 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10739 replace BSD Handler xref with BSD Signal Handling.
10741 2014-11-17 Richard Henderson <rth@redhat.com>
10743 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10744 (_FP_PACK_RAW_2): Remove.
10745 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10746 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10747 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10748 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10749 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10750 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10751 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10752 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10753 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10754 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10755 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10756 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10757 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10758 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10759 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10760 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10762 2014-11-14 Roland McGrath <roland@hack.frob.com>
10764 * signal/signal.h [__USE_MISC]
10765 (struct sigvec): Remove type.
10766 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10767 (sigvec): Remove declaration.
10768 * sysdeps/posix/sigvec.c: Moved ...
10769 * signal/sigvec.c: ... here, replacing old file.
10770 (struct sigvec): New type, copied from old signal.h definition.
10771 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10772 (__sigvec): Convert definition to prototype.
10773 (sigvec): Replace weak_alias with compat_symbol.
10774 * signal/Versions (libc: GLIBC_2.21): New version set.
10775 * include/signal.h: Remove __sigvec declaration.
10776 * sysdeps/unix/bsd/sigvec.c: Remove file.
10777 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10778 * manual/signal.texi (BSD Handler): Remove subsection.
10779 Move siginterrupt up to ...
10780 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10781 (Blocking in BSD): Fold subsection into its parent.
10782 * NEWS: Mention sigvec removal.
10784 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10786 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10787 (DLA_FMS): Make definition conditional only on [__FMA4__].
10788 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10791 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10792 Make definition conditional only on [PROF].
10793 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10795 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10796 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10798 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10800 * include/signal.h (__sigpause): Move declaration above call to
10802 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10804 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10805 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10807 2014-11-14 David S. Miller <davem@davemloft.net>
10809 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10810 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10812 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10814 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10815 * configure: Regenerated.
10816 * manual/install.texi (Tools for Compilation): Document a
10817 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10818 compiler verified to work.
10819 * INSTALL: Regenerated.
10821 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10822 redeclare with asm name.
10823 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10824 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10825 including <string.h>.
10826 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10827 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10828 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10829 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10830 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10832 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10834 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10836 * stdlib/strtol.c (__strtol): Use prototype definition.
10839 * stdlib/strtol.c (SYM__): New macro.
10840 (SYM__1): Likewise.
10841 (__strtol): Likewise.
10842 (strtol): Rename to __strtol and define as weak alias of
10843 __strtol. Use libc_hidden_weak.
10845 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10847 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10848 Use numbered labels in inline assembly.
10850 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10852 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10853 Add setjmp LIBC_PROBE.
10854 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10856 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10857 Add longjmp, longjmp_target LIBC_PROBE.
10858 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10861 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10863 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10864 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10865 to get rid of unused variable warning.
10867 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10869 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10870 Check for unwind_backtrace == NULL only in SHARED case.
10871 (__backchain_backtrace): Compile only in SHARED case.
10872 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10874 (__backchain_backtrace): Declare as static.
10876 2014-11-12 Roland McGrath <roland@hack.frob.com>
10878 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10879 (__libc_multiple_threads_ptr): Variable moved ...
10880 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10882 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10884 * conform/GlibcConform.pm: New file.
10885 * conform/conformtest.pl: Use GlibcConform module.
10886 * conform/linknamespace.pl: New file.
10887 * conform/list-header-symbols.pl: Likewise.
10888 * conform/Makefile (linknamespace-symlists-base): New variable.
10889 (linknamespace-symlists-tests): Likewise.
10890 (linknamespace-header-base): Likewise.
10891 (linknamespace-header-tests): Likewise.
10892 (tests-special): Add new tests.
10893 ($(linknamespace-symlists-tests)): New rule.
10894 (linknamespace-libs): New variable.
10895 ($(objpfx)symlist-stdlibs): New rule.
10896 ($(linknamespace-header-tests)): Likewise.
10897 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10898 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10899 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10900 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10901 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10902 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10903 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10904 (test-xfail-ISO/math.h/linknamespace): Likewise.
10905 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10906 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10907 (test-xfail-ISO/time.h/linknamespace): Likewise.
10908 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10909 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10910 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10911 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10912 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10913 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10914 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10915 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10916 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10917 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10918 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10919 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10920 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10921 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10922 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10923 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10924 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10925 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10926 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10927 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10928 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10929 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10930 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10931 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10932 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10933 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10934 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10935 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10936 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10937 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10938 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10939 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10940 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10941 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10942 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10943 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10944 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10945 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10946 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10947 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10948 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10949 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10950 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10951 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10952 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10953 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10954 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10955 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10956 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10957 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10958 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10959 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10960 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10961 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10962 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10963 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10964 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10965 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10966 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10967 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10968 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10969 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10970 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10971 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10972 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10973 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10974 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10975 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10976 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10977 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10978 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10979 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10980 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10981 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10982 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10983 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10984 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10985 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10986 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10987 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10988 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10989 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10990 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10991 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10992 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10993 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10994 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10995 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10996 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10997 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10998 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10999 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11000 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11001 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11002 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11003 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11004 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11005 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11006 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11007 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11008 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11009 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11010 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11011 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11012 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11013 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11014 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11015 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11016 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11017 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11018 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11019 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11020 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11021 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11022 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11023 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11024 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11025 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11026 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11027 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11028 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11029 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11030 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11031 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11032 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11033 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11034 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11035 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11036 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11037 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11038 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11039 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11040 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11041 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11042 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11043 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11044 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11045 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11046 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11047 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11048 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11049 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11050 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11051 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11052 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11053 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11054 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11055 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11056 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11057 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11060 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11064 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11065 (memmem): Rename to __memmem and define as weak alias of
11066 __memmem. Use libc_hidden_weak.
11067 (__memmem): Use libc_hidden_def.
11068 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
11069 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11073 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11074 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
11075 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11076 and define as weak alias of __fgets_unlocked. Use
11078 (__fgets_unlocked): Use libc_hidden_def.
11079 * include/stdio.h (__fgets_unlocked): Declare. Use
11081 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11082 __fgets_unlocked instead of fgets_unlocked.
11083 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11084 (GET_NPROCS_CONF_PARSER): Likewise.
11085 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11086 (GET_NPROCS_CONF_PARSER): Likewise.
11089 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11090 weak alias of __wmemset. Use libc_hidden_weak.
11091 (__wmemset): Use libc_hidden_def.
11092 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
11093 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11097 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11098 with asm name __mempcpy.
11099 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11102 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11103 and define as weak alias of __rawmemchr.
11104 (__rawmemchr): Do not define as strong alias of rawmemchr.
11107 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11108 alias of __qsort_r.
11109 (qsort): Call __qsort_r instead of qsort_r.
11110 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11111 (__qsort_r): Declare. Call libc_hidden_proto.
11112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11113 instead of qsort_r.
11114 * nscd/gai.c (__qsort_r): Define to qsort_r.
11115 * posix/tst-rfc3484.c (__qsort_r): Likewise.
11116 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11117 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11120 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11121 define as weak alias of __malloc_info.
11124 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11125 as weak alias of __rewinddir. Don't use libc_hidden_def.
11126 (__rewinddir): Use libc_hidden_def.
11127 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11128 as weak alias of __rewinddir. Don't use libc_hidden_def.
11129 (__rewinddir): Use libc_hidden_def.
11130 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11131 weak alias of __rewinddir. Don't use libc_hidden_def.
11132 (__rewinddir): Use libc_hidden_def.
11133 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11134 (__rewinddir): Use libc_hidden_proto.
11135 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11137 (__getcwd): Use __rewinddir instead of rewinddir.
11140 * libio/fileno.c (fileno): Rename to __fileno and define as weak
11141 alias of __fileno. Use libc_hidden_weak.
11142 (__fileno): Use libc_hidden_def.
11143 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11144 * libio/ftello.c (ftello): Rename to __ftello and define as weak
11146 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11148 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11149 (__fread_unlocked): Define as strong alias of _IO_fread. Use
11151 (fread_unlocked): Don't use libc_hidden_ver.
11152 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11153 and define as weak alias of __fread_unlocked. Don't use
11155 (__fread_unlocked): Use libc_hidden_def.
11156 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
11157 (ftello): Don't use libc_hidden_proto.
11158 (__ftello): Declare. Use libc_hidden_proto.
11159 (fread_unlocked): Don't use libc_hidden_proto.
11160 (__fread_unlocked): Declare. Use libc_hidden_proto.
11161 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11162 and __ftello instead of fileno, fread_unlocked and ftello.
11164 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11166 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11168 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11170 (_dl_start_user): Likewise.
11171 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11173 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11174 Siddhesh Poyarekar <siddhesh@redhat.com>
11176 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11177 Move argv and envp down instead of moving argc up.
11178 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11180 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11183 * test-skeleton.c (main): Return successful if one of
11184 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11185 * string/tst-strcoll-overflow.c: Define expected status.
11187 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
11190 * locale/iso-639.def: Define Bhili and Tulu language codes.
11192 2014-11-11 Alan Hayward <alan.hayward@arm.com>
11194 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11196 2014-11-10 Renlin Li <Renlin.Li@arm.com>
11199 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11201 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11203 * configure.ac: Updated check of minimal required version to
11205 * manual/install.texi (Tools for Compilation): Updated version
11207 * configure: Regenerated.
11208 * INSTALL: Likewise.
11210 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
11212 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11215 2014-11-07 Joseph Myers <joseph@codesourcery.com>
11217 * include/sys/wait.h (__libc_waitpid): Remove declaration.
11218 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11219 (__waitpid): Don't define as alias. Use libc_hidden_def not
11221 (waitpid): Define as alias of __waitpid.
11222 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11224 (__waitpid): Don't define as alias. Use libc_hidden_def not
11226 (waitpid): Define as alias of __waitpid.
11227 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11228 __libc_waitpid alias.
11229 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11230 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11232 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11234 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11236 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11238 (__waitpid): Don't define as alias. Use libc_hidden_def not
11240 (waitpid): Define as alias of __waitpid.
11242 2014-11-06 Carlos O'Donell <carlos@redhat.com>
11244 * manual/llio.texi: Add comment that write safety has been
11247 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11248 (localplt-build-dso): Add elf/ld.so.
11249 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11250 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11251 and free for ld.so.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11253 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11258 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11259 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11260 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11261 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11262 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11263 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11264 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11265 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11266 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11267 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11270 2014-11-05 Joseph Myers <joseph@codesourcery.com>
11273 * include/libc-symbols.h (INTUSE): Remove macro.
11274 (INTDEF): Likewise.
11275 (INTVARDEF): Likewise.
11276 (_INTVARDEF): Likewise.
11277 (INTDEF2): Likewise.
11278 (INTVARDEF2): Likewise.
11279 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11280 rtld_hidden_def instead of INTVARDEF.
11281 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11282 (_dl_starting_up_internal): Remove declaration.
11283 (_dl_starting_up): Use rtld_hidden_proto.
11284 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11286 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11287 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11289 * elf/dl-writev.h (_dl_writev): Likewise.
11290 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11291 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11292 _dl_starting_up_internal.
11294 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11299 2014-11-05 Will Newton <will.newton@linaro.org>
11301 * benchtests/Makefile: (bench-malloc): Add malloc thread
11302 scalability benchmark.
11303 * benchtests/bench-malloc-threads.c: New file.
11305 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
11307 * sysdeps/aarch64/strchrnul.S: New file.
11309 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11313 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11319 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11321 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11324 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
11326 * catgets/test-gencat.c: Use test-skeleton.c.
11327 * catgets/tst-catgets.c: Likewise.
11328 * csu/tst-empty.c: Likewise.
11329 * elf/tst-audit2.c: Likewise.
11330 * elf/tst-global1.c: Likewise.
11331 * elf/tst-pathopt.c: Likewise.
11332 * elf/tst-piemod1.c: Likewise.
11333 * elf/tst-tls10.c: Likewise.
11334 * elf/tst-tls11.c: Likewise.
11335 * elf/tst-tls12.c: Likewise.
11336 * gnulib/tst-gcc.c: Likewise.
11337 * iconvdata/tst-e2big.c: Likewise.
11338 * iconvdata/tst-loading.c: Likewise.
11339 * iconv/tst-iconv1.c: Likewise.
11340 * iconv/tst-iconv2.c: Likewise.
11341 * inet/test-inet6_opt.c: Likewise.
11342 * inet/tst-gethnm.c: Likewise.
11343 * inet/tst-network.c: Likewise.
11344 * inet/tst-ntoa.c: Likewise.
11345 * intl/tst-codeset.c: Likewise.
11346 * intl/tst-gettext2.c: Likewise.
11347 * intl/tst-gettext3.c: Likewise.
11348 * intl/tst-ngettext.c: Likewise.
11349 * intl/tst-translit.c: Likewise.
11350 * io/test-stat.c: Likewise.
11351 * libio/test-fmemopen.c: Likewise.
11352 * libio/tst-freopen.c: Likewise.
11353 * libio/tst-sscanf.c: Likewise.
11354 * libio/tst-ungetwc1.c: Likewise.
11355 * libio/tst-ungetwc2.c: Likewise.
11356 * libio/tst-widetext.c: Likewise.
11357 * localedata/tst-ctype.c: Likewise.
11358 * localedata/tst-digits.c: Likewise.
11359 * localedata/tst-leaks.c: Likewise.
11360 * localedata/tst-mbswcs1.c: Likewise.
11361 * localedata/tst-mbswcs2.c: Likewise.
11362 * localedata/tst-mbswcs3.c: Likewise.
11363 * localedata/tst-mbswcs4.c: Likewise.
11364 * localedata/tst-mbswcs5.c: Likewise.
11365 * localedata/tst-setlocale.c: Likewise.
11366 * localedata/tst-trans.c: Likewise.
11367 * localedata/tst-wctype.c: Likewise.
11368 * localedata/tst-xlocale1.c: Likewise.
11369 * login/tst-grantpt.c: Likewise.
11370 * malloc/tst-calloc.c: Likewise.
11371 * malloc/tst-malloc.c: Likewise.
11372 * malloc/tst-mallocstate.c: Likewise.
11373 * malloc/tst-mcheck.c: Likewise.
11374 * malloc/tst-mtrace.c: Likewise.
11375 * malloc/tst-obstack.c: Likewise.
11376 * math/atest-exp2.c: Likewise.
11377 * math/atest-exp.c: Likewise.
11378 * math/atest-sincos.c: Likewise.
11379 * math/test-matherr.c: Likewise.
11380 * math/test-misc.c: Likewise.
11381 * math/test-powl.c: Likewise.
11382 * math/tst-definitions.c: Likewise.
11383 * misc/tst-dirname.c: Likewise.
11384 * misc/tst-efgcvt.c: Likewise.
11385 * misc/tst-fdset.c: Likewise.
11386 * misc/tst-hsearch.c: Likewise.
11387 * misc/tst-mntent2.c: Likewise.
11388 * nptl/tst-sem7.c: Likewise.
11389 * nptl/tst-sem8.c: Likewise.
11390 * nptl/tst-sem9.c: Likewise.
11391 * nss/test-netdb.c: Likewise.
11392 * posix/tst-fnmatch.c: Likewise.
11393 * posix/tst-getlogin.c: Likewise.
11394 * posix/tst-gnuglob.c: Likewise.
11395 * posix/tst-mmap.c: Likewise.
11396 * pwd/tst-getpw.c: Likewise.
11397 * resolv/tst-inet_ntop.c: Likewise.
11398 * rt/tst-timer.c: Likewise.
11399 * stdio-common/test-fseek.c: Likewise.
11400 * stdio-common/test-popen.c: Likewise.
11401 * stdio-common/test-vfprintf.c: Likewise.
11402 * stdio-common/tst-cookie.c: Likewise.
11403 * stdio-common/tst-fileno.c: Likewise.
11404 * stdio-common/tst-gets.c: Likewise.
11405 * stdio-common/tst-obprintf.c: Likewise.
11406 * stdio-common/tst-perror.c: Likewise.
11407 * stdio-common/tst-sprintf2.c: Likewise.
11408 * stdio-common/tst-sprintf3.c: Likewise.
11409 * stdio-common/tst-sprintf.c: Likewise.
11410 * stdio-common/tst-swprintf.c: Likewise.
11411 * stdio-common/tst-tmpnam.c: Likewise.
11412 * stdio-common/tst-unbputc.c: Likewise.
11413 * stdio-common/tst-wc-printf.c: Likewise.
11414 * stdlib/tst-environ.c: Likewise.
11415 * stdlib/tst-fmtmsg.c: Likewise.
11416 * stdlib/tst-limits.c: Likewise.
11417 * stdlib/tst-rand48-2.c: Likewise.
11418 * stdlib/tst-rand48.c: Likewise.
11419 * stdlib/tst-random2.c: Likewise.
11420 * stdlib/tst-random.c: Likewise.
11421 * stdlib/tst-strtol.c: Likewise.
11422 * stdlib/tst-strtoll.c: Likewise.
11423 * stdlib/tst-tls-atexit.c: Likewise.
11424 * stdlib/tst-xpg-basename.c: Likewise.
11425 * string/test-ffs.c: Likewise.
11426 * string/tst-bswap.c: Likewise.
11427 * string/tst-inlcall.c: Likewise.
11428 * string/tst-strtok.c: Likewise.
11429 * string/tst-strxfrm.c: Likewise.
11430 * sysdeps/x86_64/tst-audit10.c: Likewise.
11431 * sysdeps/x86_64/tst-audit3.c: Likewise.
11432 * sysdeps/x86_64/tst-audit4.c: Likewise.
11433 * sysdeps/x86_64/tst-audit5.c: Likewise.
11434 * time/tst-ftime_l.c: Likewise.
11435 * time/tst-getdate.c: Likewise.
11436 * time/tst-mktime3.c: Likewise.
11437 * time/tst-mktime.c: Likewise.
11438 * time/tst-posixtz.c: Likewise.
11439 * time/tst-strptime2.c: Likewise.
11440 * time/tst-strptime3.c: Likewise.
11441 * wcsmbs/tst-btowc.c: Likewise.
11442 * wcsmbs/tst-mbrtowc.c: Likewise.
11443 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11444 * wcsmbs/tst-wchar-h.c: Likewise.
11445 * wcsmbs/tst-wcpncpy.c: Likewise.
11446 * wcsmbs/tst-wcrtomb.c: Likewise.
11447 * wcsmbs/tst-wcsnlen.c: Likewise.
11448 * wcsmbs/tst-wcstof.c: Likewise.
11450 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11453 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11455 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11457 (_dl_mcount): Use rtld_hidden_proto.
11458 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11460 * elf/rtld.c (_rtld_global_ro): Likewise.
11463 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11464 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11465 of _dl_init_internal.
11466 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11467 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11468 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11469 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11470 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11471 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11472 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11473 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11474 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11475 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11476 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11477 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11478 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11479 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11480 * sysdeps/tile/dl-start.S (_start): Likewise.
11481 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11482 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11485 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11486 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11487 (rtld_progname): Make macro definition unconditional.
11488 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11490 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11491 (dl_main): Likewise.
11492 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11493 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11494 instead of _dl_argv_internal.
11495 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11496 __GI__dl_argv instead of INTUSE(_dl_argv).
11497 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11498 __GI__dl_argv instead of _dl_argv_internal.
11500 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11501 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11503 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11504 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11506 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11507 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11509 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11510 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11512 2014-11-04 Andreas Schwab <schwab@suse.de>
11514 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11516 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11518 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11519 mtvsrd instruction in binary form.
11521 2014-11-03 Andreas Schwab <schwab@suse.de>
11524 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11525 for less than MB_LEN_MAX use a local buffer of that size.
11526 * libio/tst-fputws.c: New file.
11527 * libio/Makefile (tests): Add tst-fputws.
11529 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11531 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11532 the size of the fpu_fr.fpu_dregs[] array.
11534 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11536 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11537 (__nanosleep): Do not define as alias.
11538 (nanosleep): Define as alias of __nanosleep.
11539 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11540 __libc_nanosleep name.
11542 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11544 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11545 install.texi in comment.
11547 2014-10-31 Torvald Riegel <triegel@redhat.com>
11549 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11550 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11551 ... add here and use lwsync or sync ...
11552 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11553 ... and add here using lwsync.
11555 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11557 * elf/dl-machine-reject-phdr.h: New file.
11558 * elf/dl-load.c: #include that.
11559 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11560 if that returned true.
11562 2014-10-31 Roland McGrath <roland@hack.frob.com>
11565 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11566 gen-as-const-headers chunk. Add a big scare comment after the last
11567 safe place to touch before-compile.
11569 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11571 * manual/install.texi (Tools for Compilation): Update autoconf
11572 version requirements.
11573 * INSTALL: Regenerated.
11575 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11576 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11577 (__libc_pselect): Likewise.
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11585 2014-10-31 Torvald Riegel <triegel@redhat.com>
11587 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11588 correct barrier instruction.
11589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11591 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11594 2014-10-30 Roland McGrath <roland@hack.frob.com>
11596 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11597 after defining inlines. Instead, just use parens to defeat macro
11598 expansion of __isctype in its declaration.
11600 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11602 * include/sys/uio.h (__libc_readv): Remove declaration.
11603 (__libc_writev): Likewise.
11604 * misc/readv.c (__libc_readv): Rename to __readv.
11605 (__readv): Do not define as alias.
11606 (readv): Define as alias of __readv.
11607 * misc/writev.c (__libc_writev): Rename to __writev.
11608 (__writev): Do not define as alias.
11609 (writev): Define as alias of __writev.
11610 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11611 (__readv): Do not define as alias.
11612 (readv): Define unconditionally as alias of __readv.
11613 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11614 (__writev): Do not define as alias.
11615 (writev): Define unconditionally as alias of __writev.
11616 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11618 (writev): Do not define __libc_writev name.
11620 2014-10-30 Roland McGrath <roland@hack.frob.com>
11622 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11623 (convert_charseq): New function, broken out of ...
11624 (use_from_charmap): ... here. Call it.
11625 (use_to_charmap): Use convert_charseq and free instead of duplicating
11626 its code with a variable-length stack struct.
11628 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11630 * include/fcntl.h (__libc_creat): Remove declaration.
11631 * io/creat.c (__libc_creat): Rename to creat.
11632 (creat): Do not define as alias.
11633 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11634 of creat instead of __libc_creat.
11635 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11637 (creat): Do not define as alias.
11638 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11640 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11642 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11645 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11647 * manual/llio.texi: Add comments discussing why write() may be
11648 considered MT-unsafe on Linux.
11650 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11652 * dl-load.c (local_strdup): Remove.
11653 (expand_dynamic_string_token): Use __strdup.
11654 (decompose_rpath): Likewise.
11655 (_dl_map_object): Likewise.
11657 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11660 * sysdeps/generic/unwind-dw2-fde.c
11661 (__register_frame_info_bases_internal): Do not declare.
11662 (__register_frame_info_table_bases_internal): Likewise.
11663 (__deregister_frame_info_bases_internal): Likewise.
11664 (__register_frame_info_bases): Declare and use hidden_proto before
11665 definition. Use hidden_def instead of INTDEF.
11666 (__register_frame_info_table_bases): Likewise.
11667 (__deregister_frame_info_bases): Likewise.
11668 (__register_frame_info): Do not use INTUSE.
11669 (__register_frame): Likewise.
11670 (__register_frame_info_table): Likewise.
11671 (__register_frame_table): Likewise.
11672 (__deregister_frame_info): Likewise.
11673 (__deregister_frame): Likewise.
11675 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11678 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11680 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11682 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11685 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11689 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11690 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11691 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11692 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11693 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11694 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11695 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11696 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11697 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11698 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11700 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11702 (setfsuid): Likewise.
11703 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11704 (setfsuid): Likewise.
11705 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11706 (setfsuid): Likewise.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11709 (setfsuid): Likewise.
11710 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11711 (setfsuid): Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11714 (setfsuid): Likewise.
11716 2014-10-27 Andreas Schwab <schwab@suse.de>
11719 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11720 check for Slow_SSE4_2 feature bit.
11721 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11722 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11723 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11724 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11726 2014-10-24 Roland McGrath <roland@hack.frob.com>
11728 * configure.ac: Validate compiler version with a empirical test of
11729 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11731 * configure: Regenerated.
11733 * inet/htons.c (htons): Prototypify.
11734 * inet/htonl.c (htonl): Likewise.
11736 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11738 * string/strncat.c (strncat): Improve performance by using strlen.
11740 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11742 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11744 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11746 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11747 Call libc_fetestexcept_aarch64.
11749 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11751 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11752 Call libc_feholdexcept_aarch64.
11754 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11756 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11757 Call get_rounding_mode.
11759 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11761 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11764 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11766 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11769 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11772 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11773 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11774 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11775 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11776 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11777 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11778 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11779 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11780 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11781 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11782 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11783 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11784 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11785 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11786 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11787 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11788 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11789 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11790 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11791 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11792 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11793 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11794 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11795 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11796 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11797 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11798 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11799 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11800 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11801 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11802 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11803 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11804 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11805 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11806 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11807 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11808 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11810 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11811 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11812 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11814 (geteuid): Likewise.
11815 (getgid): Likewise.
11816 (getuid): Likewise.
11817 (getresgid): Likewise.
11818 (getresuid): Likewise.
11819 (getgroups): Likewise.
11820 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11821 (geteuid): Likewise.
11822 (getgid): Likewise.
11823 (getuid): Likewise.
11824 (getresgid): Likewise.
11825 (getresuid): Likewise.
11826 (getgroups): Likewise.
11827 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11828 (geteuid): Likewise.
11829 (getgid): Likewise.
11830 (getuid): Likewise.
11831 (getresgid): Likewise.
11832 (getresuid): Likewise.
11833 (getgroups): Likewise.
11834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11836 (geteuid): Likewise.
11837 (getgid): Likewise.
11838 (getuid): Likewise.
11839 (getresgid): Likewise.
11840 (getresuid): Likewise.
11841 (getgroups): Likewise.
11842 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11843 (geteuid): Likewise.
11844 (getgid): Likewise.
11845 (getuid): Likewise.
11846 (getresgid): Likewise.
11847 (getresuid): Likewise.
11848 (getgroups): Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11851 (geteuid): Likewise.
11852 (getgid): Likewise.
11853 (getuid): Likewise.
11854 (getgroups): Likewise.
11857 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11858 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11859 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11860 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11861 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11862 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11863 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11864 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11865 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11868 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11869 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11871 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11872 (lchown): Likewise.
11873 (fchown): Likewise.
11874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11876 (lchown): Likewise.
11877 (fchown): Likewise.
11878 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11879 (lchown): Likewise.
11880 (fchown): Likewise.
11881 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11883 (lchown): Likewise.
11884 (fchown): Likewise.
11886 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11888 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11891 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11893 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11896 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11898 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11899 Remove unused include.
11901 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11903 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11904 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11905 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11906 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11908 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11909 Helge Deller <deller@gmx.de>
11912 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11913 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11914 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11916 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11919 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11920 Remove macro definition.
11921 (__ashrdi3_v_glibc20): Likewise.
11922 (__lshrdi3_v_glibc20): Likewise.
11923 (__cmpdi2_v_glibc20): Likewise.
11924 (__ucmpdi2_v_glibc20): Likewise.
11925 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11926 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11927 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11928 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11929 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11930 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11932 2014-10-22 Roland McGrath <roland@hack.frob.com>
11934 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11935 old GNU extension [0] syntax.
11936 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11937 alloca rather than an array member with variable length.
11938 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11939 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11940 (parse_opt): ... here. Likewise use alloca there.
11941 Validate the -i argument before checking for rootness.
11942 (send_shutdown): New function, broken out of ...
11943 (parse_opt): ... here.
11945 2014-10-22 Roland McGrath <roland@hack.frob.com>
11947 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11948 macro to get at the _rt_local_ro field.
11949 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11950 ([PIC] case) or _dl_hwcap ([!PIC] case).
11951 * sysdeps/arm/setjmp.S: Likewise.
11953 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11954 * sysdeps/arm/configure.ac: New check to define it.
11955 * sysdeps/arm/configure: Regenerated.
11956 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11957 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11958 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11959 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11960 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11961 Use move/movt pair instead of a load.
11962 (LDST_GLOBAL): Macro removed.
11963 (LDR_GLOBAL): New macro replaces it.
11964 (LDR_HIDDEN): New macro.
11965 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11966 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11968 * setjmp/tst-setjmp-static.c: New file.
11969 * setjmp/Makefile (tests): Add it.
11970 (tests-static): New variable.
11972 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11975 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11977 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11980 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11982 2014-10-21 Roland McGrath <roland@hack.frob.com>
11984 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11986 2014-10-20 Roland McGrath <roland@hack.frob.com>
11988 * io/fts.c (dirent_not_directory): New function.
11989 (fts_build): Call it.
11991 2014-10-20 Roland McGrath <roland@hack.frob.com>
11993 * nptl/version.c (__nptl_main): Use normal __write rather than
11995 (banner): Update copyright years.
11997 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11999 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12000 * nptl/pthread_cond_timedwait.c: Likewise.
12001 * nptl/pthread_mutex_timedlock.c: Likewise.
12002 * nptl/sem_timedwait.c: Likewise.
12004 * sysdeps/nptl/bits/libc-lock.h
12005 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12006 (__libc_lock_init_recursive): Return void, not 0.
12007 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12008 (__libc_rwlock_init): Likewise.
12009 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12011 2014-10-20 Torvald Riegel <triegel@redhat.com>
12014 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12015 (__pthread_once_slow): ... here.
12016 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12017 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12019 2014-10-20 Torvald Riegel <triegel@redhat.com>
12022 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12023 __PTHREAD_ONCE_FORK_GEN_INCR): New.
12024 * sysdeps/nptl/fork.c (__libc_fork): Use them.
12025 * nptl/pthread_once.c (__pthread_once): Likewise.
12028 2014-10-20 Joseph Myers <joseph@codesourcery.com>
12031 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12033 (writev): Use __libc_writev as strong name.
12034 * sysdeps/unix/sysv/linux/readv.c: Remove file.
12035 * sysdeps/unix/sysv/linux/writev.c: Likewise.
12037 2014-10-17 Roland McGrath <roland@hack.frob.com>
12039 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12041 * sysdeps/i386/nptl/tls.h
12042 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12043 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12045 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12046 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12047 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12048 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12049 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12050 Call CHECK_THREAD_SYSINFO instead of doing an assert.
12052 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12053 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12055 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12057 (__pthread_mutex_init): ... here. Call it.
12058 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12059 Conditionalize PI cases on [__NR_futex].
12060 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12061 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12062 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12064 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12065 conditional on [SIGSETXID].
12066 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12067 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12068 is defined. Likewise for SIGSETXID.
12069 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12070 Conditionalize definitions on [SIGSETXID].
12071 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12072 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12073 unblocking on [SIGCANCEL].
12075 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12076 [__NR_set_robust_list].
12078 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12080 * string/strcoll_l.c (get_next_seq): Fix up formatting.
12081 (do_compare): Likewise.
12083 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
12086 * string/strcoll_l.c: Don't include stdio.h.
12087 (coll_seq): Remove members idxarr and rulearr.
12088 (get_next_seq_cached): Remove function.
12089 (get_next_seq): Likewise.
12090 (get_next_seq_nocache): Rename to get_next_seq.
12091 (do_compare): Remove function.
12092 (do_compare_nocache): Rename to do_compare.
12093 (STRCOLL): Remove weight and rules cache.
12095 2014-10-16 Roland McGrath <roland@hack.frob.com>
12097 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12098 * sysdeps/arm/sfp-machine.h: ... to here.
12099 * sysdeps/arm/Implies: Remove arm/soft-fp.
12101 2014-10-14 Joseph Myers <joseph@codesourcery.com>
12103 * conform/data/sys/utsname.h-data (*_t): Allow.
12104 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12105 [POSIX] (WEXITED): Do not expect constant.
12106 [POSIX] (WSTOPPED): Likewise.
12107 [POSIX] (WNOHANG): Likewise.
12108 [POSIX] (WNOWAIT): Likewise.
12109 [POSIX] (siginfo_t): Do not expect type or elements.
12110 [POSIX] (pid_t): Do not expect type.
12111 [POSIX] (signal.h): Do not allow header.
12112 [POSIX] (sys/resource.h): Likewise.
12113 [POSIX] (si_*): Do not allow pattern.
12114 [POSIX] (W*): Likewise.
12115 [POSIX] (P_*): Likewise.
12116 [POSIX] (BUS_*): Likewise.
12117 [POSIX] (CLD_*): Likewise.
12118 [POSIX] (FPE_*): Likewise.
12119 [POSIX] (ILL_*): Likewise.
12120 [POSIX] (POLL_*): Likewise.
12121 [POSIX] (SEGV_*): Likewise.
12122 [POSIX] (SI_*): Likewise.
12123 [POSIX] (TRAP_*): Likewise.
12124 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12127 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
12130 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12131 infinite loop when __recvmsg returns 0.
12133 2014-10-10 Joseph Myers <joseph@codesourcery.com>
12135 * CANCEL-FCT-WAIVE: Remove file.
12136 * CANCEL-FILE-WAIVE: Likewise.
12139 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12140 instead of INTVARDEF.
12141 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12142 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12143 rtld_hidden_data_def instead of INTVARDEF.
12144 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12145 * elf/dl-deps.c (expand_dst): Likewise.
12146 * elf/dl-load.c (_dl_dst_count): Likewise.
12147 (_dl_dst_substitute): Likewise.
12148 (decompose_rpath): Likewise.
12149 (_dl_init_paths): Likewise.
12150 (open_path): Likewise.
12151 (_dl_map_object): Likewise.
12152 * elf/rtld.c (dl_main): Likewise.
12153 (process_dl_audit): Likewise.
12154 (process_envvars): Likewise.
12155 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12156 Remove declaration.
12157 (__libc_enable_secure): Use rtld_hidden_proto.
12159 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12162 (add_path): New function broken out of _dl_rtld_di_serinfo.
12163 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
12165 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12167 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12168 parentheses around macro arguments.
12169 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12170 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12171 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12172 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12173 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12174 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12175 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12176 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12177 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12178 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12179 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12180 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12181 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12182 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12183 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12184 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12185 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12186 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12187 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12188 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12189 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12190 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12191 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12192 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12193 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12195 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12196 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12197 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12198 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12199 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12200 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12201 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12202 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12203 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12204 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12208 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12213 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12214 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12215 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12216 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12217 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12218 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12222 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12225 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12227 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12229 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12230 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12231 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12232 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12233 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12234 (_FP_FRAC_SRS_1): Likewise.
12235 (_FP_FRAC_CLZ_1): Likewise.
12236 (_FP_MUL_MEAT_1_imm): Likewise.
12237 (_FP_MUL_MEAT_1_wide): Likewise.
12238 (_FP_MUL_MEAT_1_hard): Likewise.
12239 (_FP_SQRT_MEAT_1): Likewise.
12240 (_FP_FRAC_ASSEMBLE_1): Likewise.
12241 (_FP_FRAC_DISASSEMBLE_1): Likewise.
12242 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12243 (__FP_CLZ_2): Likewise.
12244 (_FP_MUL_MEAT_2_wide): Likewise.
12245 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12246 (_FP_MUL_MEAT_2_gmp): Likewise.
12247 (_FP_MUL_MEAT_2_120_240_double): Likewise.
12248 (_FP_SQRT_MEAT_2): Likewise.
12249 (_FP_FRAC_ASSEMBLE_2): Likewise.
12250 (_FP_FRAC_DISASSEMBLE_2): Likewise.
12251 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12252 (_FP_FRAC_CLZ_4): Likewise.
12253 (_FP_MUL_MEAT_4_wide): Likewise.
12254 (_FP_MUL_MEAT_4_gmp): Likewise.
12255 (_FP_SQRT_MEAT_4): Likewise.
12256 (_FP_FRAC_ASSEMBLE_4): Likewise.
12257 (_FP_FRAC_DISASSEMBLE_4): Likewise.
12258 * soft-fp/op-common.h (_FP_CMP): Likewise.
12259 (_FP_CMP_EQ): Likewise.
12260 (_FP_CMP_UNORD): Likewise.
12261 (_FP_TO_INT): Likewise.
12262 (_FP_FROM_INT): Likewise.
12263 [!__FP_CLZ] (__FP_CLZ): Likewise.
12264 (_FP_DIV_HELP_imm): Likewise.
12265 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12267 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12269 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12270 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12271 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12272 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12273 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12274 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12275 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12278 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12279 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12280 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12281 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12282 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12283 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12285 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12288 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12290 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12291 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12292 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12293 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12296 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12297 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12298 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12299 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12300 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12301 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12302 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12303 (FP_UNPACK_RAW_SP): Likewise.
12304 (FP_PACK_RAW_S): Likewise.
12305 (FP_PACK_RAW_SP): Likewise.
12306 (FP_UNPACK_S): Likewise.
12307 (FP_UNPACK_SP): Likewise.
12308 (FP_UNPACK_SEMIRAW_S): Likewise.
12309 (FP_UNPACK_SEMIRAW_SP): Likewise.
12310 (FP_PACK_S): Likewise.
12311 (FP_PACK_SP): Likewise.
12312 (FP_PACK_SEMIRAW_S): Likewise.
12313 (FP_PACK_SEMIRAW_SP): Likewise.
12314 (_FP_SQRT_MEAT_S): Likewise.
12315 (FP_CMP_S): Likewise.
12316 (FP_CMP_EQ_S): Likewise.
12317 (FP_CMP_UNORD_S): Likewise.
12318 (FP_TO_INT_S): Likewise.
12319 (FP_FROM_INT_S): Likewise.
12321 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12323 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12324 (FP_EX_INVALID_IMZ): Likewise.
12325 (FP_EX_INVALID_IMZ_FMA): Likewise.
12326 (FP_EX_INVALID_ISI): Likewise.
12327 (FP_EX_INVALID_ZDZ): Likewise.
12328 (FP_EX_INVALID_IDI): Likewise.
12329 (FP_EX_INVALID_SQRT): Likewise.
12330 (FP_EX_INVALID_CVI): Likewise.
12331 (FP_EX_INVALID_VC): Likewise.
12332 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12333 "invalid" exceptions.
12334 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12335 (_FP_ADD_INTERNAL): Likewise.
12336 (_FP_MUL): Likewise.
12337 (_FP_FMA): Likewise.
12338 (_FP_DIV): Likewise.
12339 (_FP_CMP_CHECK_NAN): Likewise.
12340 (_FP_SQRT): Likewise.
12341 (_FP_TO_INT): Likewise.
12342 (FP_EXTEND): Likewise.
12344 2014-10-09 Allan McRae <allan@archlinux.org>
12346 * po/fr.po: Update French translation from translation project.
12348 2014-10-09 Joseph Myers <joseph@codesourcery.com>
12351 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12353 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12354 (__cxa_atexit): Use libc_hidden_proto.
12355 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12358 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12360 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12361 [!_ISOMAC] (__iswspace_l_internal): Likewise.
12362 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12363 [!_ISOMAC] (__iswctype_internal): Likewise.
12364 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12365 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12367 (fcntl): Remove __fcntl_internal alias.
12368 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12369 __connect_internal alias.
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12373 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12374 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12376 (_FP_CHECK_FLUSH_ZERO): New macro.
12377 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12378 (_FP_CMP): Likewise.
12379 (_FP_CMP_EQ): Likewise.
12380 (_FP_TO_INT): Do not set inexact for subnormal arguments if
12382 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12383 (FP_TRUNC): Likewise.
12385 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12386 treated as invalid conversion, not as normal exponent.
12388 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12389 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
12390 (_FP_CMP_EQ): Likewise.
12391 (_FP_CMP_UNORD): Likewise.
12392 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12393 (FP_CMP_EQ_D): Likewise.
12394 (FP_CMP_UNORD_D): Likewise.
12395 * soft-fp/extended.h (FP_CMP_E): Likewise.
12396 (FP_CMP_EQ_E): Likewise.
12397 (FP_CMP_UNORD_E): Likewise.
12398 * soft-fp/quad.h (FP_CMP_Q): Likewise.
12399 (FP_CMP_EQ_Q): Likewise.
12400 (FP_CMP_UNORD_Q): Likewise.
12401 * soft-fp/single.h (FP_CMP_S): Likewise.
12402 (FP_CMP_EQ_S): Likewise.
12403 (FP_CMP_UNORD_S): Likewise.
12404 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12405 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12406 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12407 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12408 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12409 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12410 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12411 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12412 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12413 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12414 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12415 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12416 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12418 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12420 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12421 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12423 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12425 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12426 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12427 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12428 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12430 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12432 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12433 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12435 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12437 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12438 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12439 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12440 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12443 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12444 a subnormal result, set the underflow exception if trapping on
12445 underflow is enabled.
12446 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12447 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12448 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12450 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12451 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12452 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12453 * soft-fp/extendxftf2.c (__extendxftf2): Use
12454 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12456 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12457 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12458 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12459 FP_HANDLE_EXCEPTIONS.
12460 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12461 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12462 FP_HANDLE_EXCEPTIONS.
12463 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12464 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12465 FP_HANDLE_EXCEPTIONS.
12466 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12467 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12468 FP_HANDLE_EXCEPTIONS.
12470 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12473 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12474 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12476 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12477 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12479 (__adjtimex): Define using libc_hidden_ver.
12480 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12481 Remove declaration.
12482 (ntp_gettime): Call __adjtimex directly.
12483 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12484 Remove declaration.
12485 (ntp_gettimex): Call __adjtimex directly.
12486 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12487 __adjtimex_internal alias.
12489 2014-10-08 Roland McGrath <roland@hack.frob.com>
12492 * nscd/nscd.c (more_help): Rewrite list of tables collection
12493 using xstrdup and asprintf.
12495 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12497 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12498 Roland McGrath <roland@hack.frob.com>
12500 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12501 (do_lookup_unique): ... local function 'enter' here; update callers.
12503 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12505 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12506 compat_symbol calls on [SHARED].
12507 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12508 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12510 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12511 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12512 (oldsetrlimit): Remove.
12513 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12515 (lchown): New syscall entry.
12516 (oldsetrlimit): Remove.
12517 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12519 (oldsetrlimit): Remove.
12520 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12523 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12524 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12525 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12526 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12527 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12528 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12529 (fchown): Likewise.
12530 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12531 (fchown): Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12535 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12538 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12539 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12540 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12541 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12543 (__old_sem_post): Likewise.
12545 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12547 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12548 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12549 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12550 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12551 Use INLINE_VSYSCALL macro.
12552 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12553 __vdso_clock_gettime.
12554 * sysdeps/unix/sysv/linux/tile/init-first.c
12555 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12556 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12557 __vdso_clock_gettime.
12559 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12560 to set up frame more cleanly.
12562 * sysdeps/tile/memcmp.c: New file.
12564 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12566 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12567 * sysdeps/tile/tilegx/strcasestr.c: New file.
12568 * sysdeps/tile/tilegx/strnlen.c: New file.
12569 * sysdeps/tile/tilegx/strstr.c: New file.
12571 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12573 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12575 * nptl/tst-setuid3.c: Write errors to stdout.
12577 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12580 (preload): New functions broken out of _dl_map_object_deps.
12581 (_dl_map_object_deps): Remove a nested function. Update call sites.
12583 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12586 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12587 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12589 2014-10-01 Steve Ellcey <sellcey@mips.com>
12591 * sysdeps/mips/strcmp.S: New.
12593 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12596 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12597 (linkat): Likewise.
12598 (mkdirat): Likewise.
12599 (readlinkat): Likewise.
12600 (renameat): Likewise.
12601 (symlinkat): Likewise.
12602 (unlinkat): Likewise.
12603 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12604 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12605 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12606 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12607 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12608 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12609 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12611 2014-09-30 Will Newton <will.newton@linaro.org>
12613 * math/math.h: Define long double math functions if
12614 _LIBC_TEST is defined.
12615 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12617 * localedata/Makefile: Move assignment to tests-special
12618 into an ifdef testing run-built-tests.
12619 * timezone/Makefile: Likewise.
12621 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12623 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12624 with $(BASH) not $(SHELL).
12626 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12627 Matthew LeGendre <legendre1@llnl.gov>
12630 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12633 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12635 * stdio-common/printf_fp.c
12636 (hack_digit): New function, broken out of ...
12637 (__printf_fp): ... local function here. Update call sites.
12638 hack_digit now takes an additional parameter that is a pointer
12639 to a struct of the referenced locals. Those locals moved inside
12640 the struct and references updated.
12642 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12644 * aclocal.m4: Require autoconf 2.69.
12645 * configure: Regenerated.
12646 * sysdeps/aarch64/configure: Likewise.
12647 * sysdeps/alpha/configure: Likewise.
12648 * sysdeps/arm/armv7/configure: Likewise.
12649 * sysdeps/arm/configure: Likewise.
12650 * sysdeps/ia64/configure: Likewise.
12651 * sysdeps/mach/configure: Likewise.
12652 * sysdeps/mips/configure: Likewise.
12653 * sysdeps/s390/configure: Likewise.
12654 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12657 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12659 * sysdeps/ia64/configure.ac: Likewise.
12661 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12664 specify symbol version for ld.so. Do not include entry for
12666 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12668 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12671 * Makeconfig [$(build-shared) = yes]
12672 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12674 [$(build-shared) = yes && $(soversions.mk-done) = t]
12675 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12676 [$(build-shared) = yes && $(soversions.mk-done) = t]
12677 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12679 [$(build-shared) = yes && $(soversions.mk-done) = t]
12680 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12682 [$(build-shared) = yes && $(soversions.mk-done) = t]
12683 (common-generated): Don't append gnu/lib-names.h and
12684 gnu/lib-names.stmp here.
12685 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12686 (lib-names-h-abi): New variable.
12687 [$(build-shared) = yes && $(soversions.mk-done) = t]
12688 (lib-names-stmp-abi): Likewise.
12689 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12690 abi-variants] (before-compile): Append
12691 $(common-objpfx)$(lib-names-h-abi).
12692 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12693 abi-variants] (common-generated): Append gnu/lib-names.h.
12694 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12695 abi-variants] (install-others-nosubdir): Depend on
12696 $(inst_includedir)/$(lib-names-h-abi).
12697 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12698 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12699 [$(build-shared) = yes && $(soversions.mk-done) = t]
12700 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12701 [$(build-shared) = yes && $(soversions.mk-done) = t]
12702 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12703 [$(build-shared) = yes && $(soversions.mk-done) = t]
12704 (common-generated): Append $(lib-names-h-abi) and
12705 $(lib-names-stmp-abi).
12706 * scripts/lib-names.awk: Do not handle multi being set.
12707 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12709 (abi-lp64_be-ld-soname): Likewise.
12710 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12712 (abi-hard-ld-soname): Likewise.
12713 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12714 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12716 (abi-o32_hard-ld-soname): Likewise.
12717 (abi-o32_soft_2008-ld-soname): Likewise.
12718 (abi-o32_hard_2008-ld-soname): Likewise.
12719 (abi-n32_soft-ld-soname): Likewise.
12720 (abi-n32_hard-ld-soname): Likewise.
12721 (abi-n32_soft_2008-ld-soname): Likewise.
12722 (abi-n32_hard_2008-ld-soname): Likewise.
12723 (abi-n64_soft-ld-soname): Likewise.
12724 (abi-n64_hard-ld-soname): Likewise.
12725 (abi-n64_soft_2008-ld-soname): Likewise.
12726 (abi-n64_hard_2008-ld-soname): Likewise.
12727 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12729 (abi-64-v2-ld-soname): Likewise.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12732 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12734 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12736 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12738 (abi-64-ld-soname): Likewise.
12739 (abi-x32-ld-soname): Likewise.
12740 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12742 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12744 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12747 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12748 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12749 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12750 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12751 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12752 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12753 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12754 syscall entry for GLIBC_2.2 symbol version.
12755 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12758 (setrlimit): Likewise.
12759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12762 2014-09-23 Will Newton <will.newton@linaro.org>
12764 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12765 _LINUX_ARM_SYSDEP_H include guard too.
12766 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12769 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12771 * sysdeps/unix/sysv/linux/eventfd.c:
12772 Make first argument unsigned.
12773 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12774 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12776 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12778 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12779 * socket/sys/socket.h: Likewise
12780 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12782 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12784 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12786 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12788 * time/tst-ftime.c: New test.
12789 * time/Makefile (tests): Add tst-ftime.
12791 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12793 * soft-fp/extended.h: Fix comment formatting.
12794 * soft-fp/op-1.h: Likewise.
12795 * soft-fp/op-2.h: Likewise.
12796 * soft-fp/op-4.h: Likewise.
12797 * soft-fp/op-8.h: Likewise.
12798 * soft-fp/op-common.h: Likewise.
12799 * soft-fp/soft-fp.h: Likewise.
12801 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12803 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12806 * Makeconfig (soversions-default-setname): Remove variable.
12807 ($(common-objpfx)soversions.i): Don't pass default_setname to
12809 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12810 oldest_abi to abi-versions.awk.
12811 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12812 * config.make.in (oldest-abi): Remove variable.
12813 * configure.ac (--enable-oldest-abi): Remove configure option.
12814 * configure: Regenerated.
12815 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12817 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12818 * scripts/soversions.awk: Do not handle default_setname variable.
12819 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12821 * sysdeps/mach/hurd/configure: Regenerated.
12822 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12824 * sysdeps/unix/sysv/linux/configure: Regenerated.
12826 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12828 * elf/Makefile (CFLAGS-interp.c): Remove.
12829 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12831 * elf/interp.c: Include generated runtime-linker.h
12833 * Makerules (lib%.so): Don't include $(+interp) in
12835 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12836 * dlfcn/eval.c: Remove file.
12838 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12842 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12846 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12848 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12849 Jakub Jelinek <jakub@redhat.com>
12852 * libio/stdio.h: Check definition of __fortify_function
12853 instead of __extern_always_inline to include bits/stdio2.h.
12854 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12855 check if __extern_always_inline is defined.
12856 [__USE_MISC || __USE_XOPEN]: Likewise.
12857 [__USE_ISOC99] Likewise.
12858 * misc/sys/cdefs.h (__fortify_function): Define only if
12859 __extern_always_inline is defined.
12860 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12861 __extern_always_inline and __extern_inline only for g++-4.3
12862 and newer or a compatible gcc.
12864 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12867 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12868 last change to handle zero prefix length.
12870 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12872 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12875 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12876 _POSIX_RAW_SOCKETS.
12878 2014-09-13 Allan McRae <allan@archlinux.org>
12880 * po/ru.po: Update Russian translation from translation project.
12882 2014-09-12 Roland McGrath <roland@hack.frob.com>
12884 * locale/programs/locale.c (show_locale_vars): Inline local function
12885 into its sole call site. Clean up some style nits.
12886 (print_item): New function, broken out of ...
12887 (show_info): ... local function here. Clean up style nits.
12889 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12891 (set_class_defaults): ... local function set_default here.
12892 Define set_default as a macro locally to pass constant parameters.
12893 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12894 rather than a shared local.
12896 * stdlib/rpmatch.c (try): New function, broken out of ...
12897 (rpmatch): ... local function here. Also, prototypify definition.
12899 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12901 * scripts/soversions.awk: Do not handle configuration names.
12902 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12903 vendor and os variables to soversions.awk.
12904 * configure.ac: Do not modify gnu-* host_os.
12905 * configure: Regenerated
12906 * shlib-versions: Remove first column with configuration names.
12907 * nptl/shlib-versions: Likewise.
12908 * nptl_db/shlib-versions: Likewise.
12909 * sysdeps/hppa/shlib-versions: Likewise.
12910 * sysdeps/m68k/shlib-versions: Likewise.
12911 * sysdeps/mach/hurd/shlib-versions: Likewise.
12912 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12913 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12914 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12915 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12916 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12917 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12918 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12919 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12922 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12923 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12924 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12927 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12929 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12932 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12935 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12937 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12939 * shlib-versions: Remove OS-specific entries. Moved to files in
12941 * sysdeps/mach/hurd/shlib-versions: New file.
12942 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12944 * nptl/shlib-versions: Remove architecture-specific entries.
12945 Moved to files in sysdeps.
12946 * shlib-versions: Likewise.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12949 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12950 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12954 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12955 (UDP_NO_CHECK6_RX): Likewise.
12957 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12959 * sysdeps/posix/sysconf.c (__sysconf): Spell
12960 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12962 2014-08-12 Florian Weimer <fweimer@redhat.com>
12964 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12966 * iconv/Versions (__gconv_transliterate): Export for use from
12968 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12969 (struct __gconv_trans_data, __gconv_trans_fct,
12970 __gconv_trans_context_fct, __gconv_trans_query_fct,
12971 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12973 (struct __gconv_step_data): Remove __trans member.
12974 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12975 longer hidden. Remove unused trans_data argument.
12976 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12977 (__gconv_translit_find): Remove declaration.
12978 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12980 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12981 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12982 trans_data argument. Add hidden definition.
12983 (__gconv_translit_find): Remove.
12984 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12985 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12986 * iconv/skeleton.c: Remove transliteration initialization.
12987 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12988 __gconv_step_data initialization.
12989 * libio/iofwide.c (__libio_translit_): Remove.
12990 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12991 * wcsmbs/btowc.c (__btowc): Likewise.
12992 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12993 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12994 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12995 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12996 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12997 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12998 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12999 * wcsmbs/wctob.c (wctob): Likewise.
13001 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13004 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13005 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
13007 * sysdeps/x86/Makefile: Adjust.
13009 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13010 Roland McGrath <roland@hack.frob.com>
13012 * locale/weight.h: Add include guard.
13013 (findidx): Make static rather than auto; take new parameters
13014 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13015 * locale/weightwc.h: Likewise.
13016 * posix/fnmatch_loop.c
13017 (FCT): Change type of EXTRA from int32_t to wint_t.
13018 Don't include either header inside the function.
13019 Call FINDIDX rather than findidx, and pass new arguments.
13020 #undef FINDIDX at the end of the file.
13021 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13022 FINDIDX before including fnmatch_loop.c for the non-wide version.
13023 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13024 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13025 for the wide version.
13026 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13027 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13028 Pass new arguments to findidx.
13029 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13030 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13031 Don't #include it inside the function. Pass new arguments to findidx.
13032 * posix/regex_internal.h
13033 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13034 (re_string_elem_size_at): Don't #include it inside the function.
13035 Pass new arguments to findidx.
13036 * string/strcoll_l.c: #include WEIGHT_H at top level.
13037 (get_next_seq): Don't #include it inside the function.
13038 Pass new arguments to findidx.
13039 (get_next_seq_nocache): Likewise.
13040 * string/strxfrm_l.c: #include WEIGHT_H at top level.
13041 (STRXFRM): Don't #include it inside the function.
13042 Pass new arguments to findidx.
13044 2014-09-11 Florian Weimer <fweimer@redhat.com>
13047 * malloc/malloc.c (unlink): Turn asserts into a call to
13050 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
13053 * libio/wfileops (do_ftell_wide): Free OUT.
13055 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
13057 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13059 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13062 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13063 group if the current group is empty.
13065 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13067 * benchtests/bench-memset.c (test_main): Add more test from size
13068 from 32 to 512 bytes.
13069 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13070 Add POWER8 memset object.
13071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13072 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13073 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13075 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13077 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13078 multiarch POWER8 memset optimization.
13079 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13080 POWER8 memset optimization.
13082 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13083 Remove bzero multiarch objects.
13084 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13087 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13089 [__bzero]: Redefine to specific name.
13090 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13091 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13092 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13094 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13095 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13097 2014-09-10 Florian Weimer <fweimer@redhat.com>
13099 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13100 warnings into errors.
13102 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13103 __cxa_thread_atexit_impl prototype.
13105 2014-09-09 Steve Ellcey <sellcey@mips.com>
13107 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13108 Fix capitalization of error message.
13110 2014-09-09 Steve Ellcey <sellcey@mips.com>
13112 * sysdeps/mips/preconfigure: Modify ABI tests.
13114 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
13116 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13118 2014-09-07 Roland McGrath <roland@hack.frob.com>
13119 Carlos O'Donell <carlos@systemhalted.org>
13121 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13122 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13123 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13124 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13125 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13126 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13127 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13128 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13129 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13130 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13131 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13132 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13133 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13134 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13135 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13136 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13137 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13138 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13139 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13140 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13141 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13142 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13143 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13144 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13145 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13146 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13147 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13148 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13149 Deconditionalize the code that was previously under [RESET_PID].
13150 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13151 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13152 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13153 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13156 2014-09-08 Allan McRae <allan@archlinux.org>
13158 * version.h (RELEASE): Set to "development".
13159 (VERSION): Set to "2.20.90"
13161 2014-09-07 Allan McRae <allan@archlinux.org
13163 * version.h (RELEASE): Set to "stable".
13164 (VERSION): Set to "2.20"
13165 * include/features.h (__GLIBC_MINOR__): Set to 20.
13167 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13170 * po/ko.po: Update Korean translation from translation project.
13172 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13175 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13176 macro for handling signed relocations.
13178 2014-09-03 Florian Weimer <fweimer@redhat.com>
13181 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13182 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13184 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13185 * iconvdata/ibm935.c (BODY): Likewise.
13186 * iconvdata/ibm937.c (BODY): Likewise.
13187 * iconvdata/ibm939.c (BODY): Likewise.
13188 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13190 * iconvdata/Makefile (iconv-test.out): Pass module list to test
13192 * iconvdata/run-iconv-test.sh: New test loop for checking for
13195 2014-09-02 Khem Raj <raj.khem@gmail.com>
13197 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13200 2014-09-01 Allan McRae <allan@archlinux.org>
13202 * po/eo.po: Update Esperanto translation from translation project.
13204 * po/ca.po: Update Catalan translation from translation project.
13206 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13208 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13209 __proc_dostop call.
13211 2014-08-27 Mark Wielaard <mjw@redhat.com>
13214 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13215 to call set_thread_area instead of hand written asm.
13216 (__NR_set_thread_area): Removed define.
13217 (TLS_FLAG_WRITABLE): Likewise.
13218 (__ASSUME_SET_THREAD_AREA): Remove check.
13219 (TLS_EBX_ARG): Remove define.
13220 (TLS_LOAD_EBX): Likewise.
13222 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13224 Simplify atomicity of socket creation in bind.
13226 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13227 looking up the name after linking the file.
13229 2014-08-27 Allan McRae <allan@archlinux.org>
13231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13233 2014-08-26 Florian Weimer <fweimer@redhat.com>
13236 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13237 trans_compare, open_translit, __gconv_translit_find):
13238 Remove module loading code.
13240 2014-08-26 Allan McRae <allan@archlinux.org>
13242 * po/vi.po: Update Vietnamese translation from translation project.
13244 * po/uk.po: Update Ukrainian translation from translation project.
13246 * po/fr.po: Update French translation from translation project.
13248 * po/ru.po: Update Russian translation from translation project.
13250 * po/pl.po: Update Polish translation from translation project.
13252 * po/cs.po: Update Czech translation from translation project.
13254 * po/de.po: Update German translation from translation project.
13256 * po/bg.po: Update Bulgarian translation from translation project.
13258 * po/sv.po: Update Sweedish translation from translation project.
13260 * po/nl.po: Update Dutch translation from translation project.
13262 * po/es.po: Update Spanish translation from translation project.
13264 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13266 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13268 * catgets/Makefile (CPPFLAGS-gencat): Remove.
13269 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13270 (CPPFLAGS-iconvconfig): Likewise.
13271 * timezone/Makefile (CPPFLAGS-zic): Likewise.
13273 * include/libc-symbols.h: Remove unnecessary check for
13275 * nptl/pthreadP.h: Likewise.
13276 * sysdeps/aarch64/setjmp.S: Likewise.
13277 * sysdeps/alpha/setjmp.S: Likewise.
13278 * sysdeps/arm/sysdep.h: Likewise.
13279 * sysdeps/i386/setjmp.S: Likewise.
13280 * sysdeps/m68k/setjmp.c: Likewise.
13281 * sysdeps/posix/getcwd.c: Likewise.
13282 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13283 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13284 * sysdeps/s390/s390-32/setjmp.S: Likewise.
13285 * sysdeps/s390/s390-64/setjmp.S: Likewise.
13286 * sysdeps/sh/sh3/setjmp.S: Likewise.
13287 * sysdeps/sh/sh4/setjmp.S: Likewise.
13288 * sysdeps/unix/alpha/sysdep.h: Likewise.
13289 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13291 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13292 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13297 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13300 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13302 * sysdeps/x86_64/setjmp.S: Likewise.
13304 2014-08-13 Joseph Myers <joseph@codesourcery.com>
13307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13309 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13310 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13312 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13314 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13317 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13318 and __x86_64__ when disabling x87 inline functions.
13320 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
13323 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13324 asm statement with __cpuid_count.
13326 2014-08-12 Mike Frysinger <vapier@gentoo.org>
13328 * configure.ac: Change __ehdr_start code to dereference the struct.
13329 Run readelf on the output to look for relocations.
13330 * configure: Regenerated.
13332 2014-08-12 Joseph Myers <joseph@codesourcery.com>
13335 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13337 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13339 2014-08-12 Roland McGrath <roland@hack.frob.com>
13341 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13343 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
13346 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13347 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13349 2014-08-12 Sean Anderson <seanga2@gmail.com>
13351 * malloc/malloc.c: Fix typo in comment.
13353 2014-08-09 Allan McRae <allan@archlinux.org>
13355 * Regenerate libc.po.
13357 2014-08-08 Mike Frysinger <vapier@gentoo.org>
13359 * intl/tst-gettext2.sh: Check every lang file for creation.
13361 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13363 * sysdeps/aarch64/fpu/math_private.h
13364 (libc_feholdsetround_noex_aarch64_ctx): New function.
13366 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
13368 * sysdeps/arm/armv6/strcpy.S (strcpy):
13369 Fix performance issue in misaligned cases.
13371 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13373 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13374 Move definition from termios.h.
13375 (struct termio): Likewise.
13376 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13377 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13378 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13379 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13381 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13382 Move definition to ioctl-types.h
13383 (struct termio): Likewise.
13384 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13385 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13386 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13387 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13390 2014-08-05 Richard Henderson <rth@redhat.com>
13392 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13394 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13396 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13397 Use __feraiseexcept.
13398 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13399 Protect libm symbols with IS_IN_libm.
13401 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13403 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
13405 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13407 2014-08-04 Will Newton <will.newton@linaro.org>
13409 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13412 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13414 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13415 variants for each function.
13417 2014-08-04 Roland McGrath <roland@hack.frob.com>
13419 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13421 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13422 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13424 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13425 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13426 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13427 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13428 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13429 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13430 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13431 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13432 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13433 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13438 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13440 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13441 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13448 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13449 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13450 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13451 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13452 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13453 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13454 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13455 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13456 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13457 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13458 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13459 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13460 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13461 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13462 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13463 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13464 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13466 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13467 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13468 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13470 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13471 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13472 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13473 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13474 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13475 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13476 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13478 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13479 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13481 2014-08-04 Roland McGrath <roland@hack.frob.com>
13483 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13484 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13485 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13486 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13487 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13488 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13490 2014-08-04 Roland McGrath <roland@hack.frob.com>
13492 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13493 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13494 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13495 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13497 2014-08-04 Roland McGrath <roland@hack.frob.com>
13499 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13500 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13501 (__libc_vfork): Define function under this name.
13502 (__vfork): Define as an alias.
13503 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13504 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13506 2014-08-04 Roland McGrath <roland@hack.frob.com>
13508 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13509 that was previously under [RESET_PID].
13510 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13512 2014-08-04 Andreas Schwab <schwab@suse.de>
13514 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13516 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13518 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13521 2014-08-01 Roland McGrath <roland@hack.frob.com>
13523 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13525 2014-08-01 Richard Henderon <rth@redhat.com>
13527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13528 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13529 typo in exact zero test.
13530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13531 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13532 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13534 2014-08-01 Roland McGrath <roland@hack.frob.com>
13536 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13537 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13538 * sysdeps/arm/sysdep.h: ... here.
13539 [!__ASSEMBLER__]: Include <stdint.h>.
13541 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13543 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13544 (HAVE_WCTYPE_H): Likewise.
13545 (HAVE_ISWCTYPE): Likewise.
13546 (ENABLE_NLS): Likewise.
13547 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13548 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13550 * posix/regex_internal.c: Check if DEBUG is defined and is
13553 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13554 (HAVE_MBSRTOWCS): Likewise.
13555 * posix/fnmatch.c: Include string.h unconditionally.
13557 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13559 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13562 2014-07-31 Roland McGrath <roland@hack.frob.com>
13564 * sysdeps/generic/safe-fatal.h: New file.
13565 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13566 * nptl/forward.c: Include it.
13567 (__pthread_unwind): Use __safe_fatal as default action, rather
13568 than a bogus use of INTERNAL_SYSCALL that could never work.
13570 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13571 * configure.ac (libc_cv_builtin_trap): New test.
13572 * configure: Regenerated.
13573 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13574 (ABORT_INSTRUCTION): Define using __builtin_trap.
13576 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13577 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13578 * sysdeps/nptl/nptl-signals.h: New file.
13579 * nptl/pthreadP.h: Include <nptl-signals.h>.
13581 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13583 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13584 (ONE_DIRECTION): Define.
13585 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13586 (ONE_DIRECTION): Define.
13587 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13588 (ONE_DIRECTION): Define.
13590 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13592 * sysdeps/s390/Makefile: Delete file.
13593 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13594 * sysdeps/s390/__longjmp.c: Delete file.
13595 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13596 Remove fields __flags and __reserved.
13597 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13598 and add versioning.
13599 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13600 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13601 * sysdeps/s390/rtld-setjmp.S: Likewise.
13602 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13603 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13604 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13605 * sysdeps/s390/s390-32/setjmp.S: ... here.
13607 (__sigsetjmp): Remove setting __flags field.
13608 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13609 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13610 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13611 * sysdeps/s390/s390-64/setjmp.S: ... here.
13613 (__sigsetjmp): Remove setting __flags field.
13614 * sysdeps/s390/setjmp.S: Delete file.
13615 * sysdeps/s390/sigjmp.c: Likewise.
13616 * sysdeps/s390/v1-longjmp.c: Likewise.
13617 * sysdeps/s390/v1-setjmp.h: Likewise.
13618 * sysdeps/s390/v1-sigjmp.c: Likewise.
13619 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13620 Remove v1-longjmp_chk.
13621 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13622 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13623 Include debug/longjmp_chk.c and add versioning.
13624 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13625 Include nptl/pt-longjmp.c and add versioning.
13626 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13627 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13628 Include __longjmp.c.
13629 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13631 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13632 (__getcontext): Remove setting __flags field.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13635 Don't restore upper high grps.
13636 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13638 (__swapcontext): Remove setting uc_flags field.
13639 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13641 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13642 Include __longjmp.c.
13643 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13645 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13646 (__getcontext): Remove setting __flags field.
13648 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13649 (__swapcontext): Remove setting uc_flags field.
13650 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13651 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13652 Remove fields uc_high_gprs and __reserved.
13653 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13654 New file with reverted content.
13655 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13656 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13658 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13661 2014-07-31 Andreas Schwab <schwab@suse.de>
13663 * config.h.in (HAVE_IFUNC): Define to 0.
13664 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13667 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13670 memmove-avx-unaligned, memcpy-avx-unaligned and
13671 mempcpy-avx-unaligned.
13672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13673 Add tests for AVX memcpy functions.
13674 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13675 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13677 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13678 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13680 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13681 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13683 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13684 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13685 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13687 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13690 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13693 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13696 * manual/llio.texi: Add section about open file description locks.
13697 * manual/examples/ofdlocks.c: Example of open file description
13699 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13700 F_OFD_SETLK, and F_OFD_SETLKW.
13702 2014-07-23 Allan McRae <allan@archlinux.org>
13704 * po/es.po: Update Spanish translation from translation project.
13706 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13708 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13710 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13713 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13714 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13715 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13717 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13720 * math/fesetenv.c (__fesetenv)
13721 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13722 * math/feupdateenv.c (__feupdateenv)
13723 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13725 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13726 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13727 (__ASSUME_SOCKETCALL): Do not define.
13729 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13730 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13731 (__ASSUME_SOCKETCALL): Do not define.
13732 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13733 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13734 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13735 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13736 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13737 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13738 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13739 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13741 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13742 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13743 (__ASSUME_SOCKETCALL): Do not define.
13744 (__ASSUME_IPC64): Define unconditionally.
13745 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13746 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13747 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13748 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13749 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13750 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13751 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13754 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13755 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13756 (__ASSUME_SOCKETCALL): Do not define.
13757 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13758 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13759 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13760 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13761 (__ASSUME_REQUEUE_PI): Define unconditionally.
13762 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13763 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13764 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13765 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13766 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13767 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13769 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13770 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13771 (__ASSUME_SOCKETCALL): Do not define.
13772 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13773 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13774 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13775 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13776 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13777 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13779 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13780 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13781 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13782 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13783 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13784 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13785 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13786 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13787 (__ASSUME_GETCPU_SYSCALL): Likewise.
13789 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13790 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13791 cases for individual architectures.
13792 * sysdeps/gnu/configure: Regenerated.
13793 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13794 LIBC_SLIBDIR_RTLDDIR.
13795 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13796 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13797 LIBC_SLIBDIR_RTLDDIR.
13798 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13800 LIBC_SLIBDIR_RTLDDIR.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13803 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13804 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13806 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13807 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13809 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13810 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13811 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13812 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13814 * sysdeps/aarch64/shlib-versions: Move to ...
13815 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13816 * sysdeps/alpha/shlib-versions: Move to ...
13817 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13818 * sysdeps/arm/shlib-versions: Move to ...
13819 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13820 * sysdeps/hppa/shlib-versions: Move all contents except for
13821 libgcc_s entry to ...
13822 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13824 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13825 * sysdeps/ia64/shlib-versions: Move to ...
13826 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13828 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13829 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13830 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13831 * sysdeps/microblaze/shlib-versions: Move to ...
13832 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13833 * sysdeps/mips/shlib-versions: Move to ...
13834 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13836 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13837 * sysdeps/tile/shlib-versions: Move to ...
13838 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13839 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13841 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13842 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13844 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13846 2014-07-17 Will Newton <will.newton@linaro.org>
13848 * sysdeps/arm/bits/atomic.h
13849 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13850 (__arch_compare_and_exchange_bool_16_int): Likewise.
13851 (__arch_compare_and_exchange_bool_64_int): Likewise.
13853 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13854 into an #else block.
13856 2014-07-16 Roland McGrath <roland@hack.frob.com>
13858 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13859 just Linux configurations. Test empirically that the compiler sets
13860 __ARM_EABI__, rather than using the tuple to decide.
13861 * sysdeps/arm/preconfigure: Regenerated.
13862 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13863 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13864 contents appended ...
13865 * sysdeps/arm/configure.ac: ... here.
13866 * sysdeps/arm/configure: Regenerated.
13868 2014-07-15 Roland McGrath <roland@hack.frob.com>
13870 * nptl/pthread_kill.c: New file.
13871 * nptl/pthread_sigmask.c: New file.
13872 * nptl/pthread_sigqueue.c: New file.
13874 * sysdeps/nptl/lowlevellock.h: New file.
13875 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13876 * sysdeps/nptl/lowlevellock-futex.h: New file.
13878 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13879 Remove dead declarations.
13881 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13883 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13884 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13885 config-cflags-avx2.
13886 * sysdeps/x86_64/configure.ac: Likewise.
13887 * sysdeps/i386/configure: Regenerated.
13888 * sysdeps/x86_64/configure: Likewise.
13889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13890 memset-avx2 only if config-cflags-avx2 is yes.
13891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13892 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13894 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13895 only if HAVE_AVX2_SUPPORT is defined.
13896 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13898 2014-07-14 Alan Modra <amodra@gmail.com>
13901 * elf/elf.h (DT_PPC64_NUM): Correct value.
13902 * NEWS: Add to fixed bug list.
13904 2014-07-13 Jim Meyering <meyering@fb.com>
13907 regex: don't deref NULL upon heap allocation failure
13908 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13909 failure in one more place.
13910 To trigger the segfault, configure grep -with-included-regex,
13911 build it, and run these commands:
13912 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13914 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13916 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13918 2014-07-11 Richard Henderson <rth@redhat.com>
13920 * sysdeps/aarch64/libm-test-ulps: Update.
13922 2014-07-10 Florian Weimer <fweimer@redhat.com>
13925 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13926 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13927 (__nptl_setxid): Initialize error member. Call
13928 __nptl_setxid_error.
13929 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13930 * nptl/descr.h (struct xid_command): Add error member.
13931 * nptl/tst-setuid3.c: New file.
13932 * nptl/Makefile (tests): Add it.
13934 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13936 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13938 (__lll_trylock): Use __lll_base_trylock.
13939 (__lll_cond_trylock): Likewise.
13941 2014-07-10 Roland McGrath <roland@hack.frob.com>
13943 * nptl/pthread_create.c (start_thread): Use atomic_or and
13944 lll_futex_wake directly rather than lll_robust_dead.
13945 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13946 (lll_robust_dead): Macro removed.
13947 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13948 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13949 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13950 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13951 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13952 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13953 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13954 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13955 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13956 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13957 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13958 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13960 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13963 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13964 Use atomic_compare_and_exchange_val_acq directly rather than
13965 lll_robust_trylock.
13966 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13967 (__lll_robust_trylock, lll_robust_trylock): Removed.
13968 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13969 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13970 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13971 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13972 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13973 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13974 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13975 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13976 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13977 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13978 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13980 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13983 2014-07-02 Florian Weimer <fweimer@redhat.com>
13985 * manual/locale.texi (Locale Names): New section documenting
13986 locale name syntax. Adjust menu and node chaining accordingly.
13987 (Choosing Locale): Reference Locale Names, Locale Categories.
13988 Mention setting LC_ALL=C. Reflect that name syntax is now
13990 (Locale Categories): New section title. Reference Locale Names.
13991 LC_ALL is an environment variable, but not a category.
13992 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13993 description, now in Locale Name. Reference that section. Locale
13994 name syntax is now documented.
13996 2014-07-02 Florian Weimer <fweimer@redhat.com>
13999 * locale/findlocale.c (name_present, valid_locale_name): New
14001 (_nl_find_locale): Use the loc_name variable to store name
14002 candidates. Call name_present and valid_locale_name to check and
14003 validate locale names. Return an error if the locale is invalid.
14005 2014-07-02 Florian Weimer <fweimer@redhat.com>
14007 * locale/setlocale.c (setlocale): Use strdup for allocating
14008 composite name copy.
14010 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14012 Sync up with gnulib.
14013 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14014 [!_LIBC && ENABLE_NLS]: Include gettext.h.
14015 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14016 and _GL_ARG_NONNULL.
14017 [USE_UNLOCKED_IO]: Include unlocked-io.h.
14018 [!_LIBC]: Include code for Windows and Cygwin.
14019 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14020 Include prototype for int strerror_r.
14021 [!_LIBC] (is_open): New function.
14022 (flush_stdout): New function.
14023 (print_errno_message): Use it.
14025 (error_at_line): Likewise.
14026 (error_tail) Add function attribute macros. Use
14029 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14031 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14033 * io/ftw.c: Include sys/param.h unconditionally.
14035 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14038 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14040 (freecache): New function to free CACHE on exit.
14042 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14045 2014-07-09 David S. Miller <davem@davemloft.net>
14047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14049 * sysdeps/sparc/nptl/internaltypes.h: Delete.
14050 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14051 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14052 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14053 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14054 * sysdeps/sparc/nptl/sem_init.c: Likewise.
14055 * sysdeps/sparc/nptl/sem_post.c: Likewise.
14056 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14057 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14058 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14059 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14060 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14061 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14063 2014-07-09 Andreas Schwab <schwab@suse.de>
14065 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14067 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14068 (do_test): Likewise.
14070 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14072 2014-07-09 Will Newton <will.newton@linaro.org>
14074 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14075 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14076 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14077 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14078 * sysdeps/hppa/start.S (_start): Likewise.
14080 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14082 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14084 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14087 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14090 after checking that it is non-NULL.
14092 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14094 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14096 * sysdeps/powerpc/memmove.c: Remove file.
14097 * sysdeps/powerpc/powerpc32/power4/memcopy.h
14098 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14099 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14100 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14101 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14102 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14103 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14104 string memmove instead of removed powerpc one.
14106 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14107 [weak_alias]: Fix compiler warning due trailing data.
14108 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14109 [weak_alias]: Likewise.
14110 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14111 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14114 (__libc_ifunc_impl_list): Add memmove functions.
14116 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14118 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14120 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14122 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14124 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14126 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14128 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14130 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14132 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14134 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14136 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14138 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14140 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14142 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14144 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14146 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14148 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14150 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14153 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14156 to avoid alignment traps in non-cacheable memory.
14157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14162 file: multiarch power7 memmove.
14163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14164 multiarch default memmove.
14165 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14166 multiarch memove for powerpc32/power4.
14168 * string/bcopy.c: Use full path to include memmove.c.
14169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14171 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14172 bcopy for powerpc64.
14173 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14174 bcopy for powerpc64.
14175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14176 and memmove implementations.
14177 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14178 optimized multiarch memmove for POWER7/powerpc64.
14179 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14180 default multiarch memmove for powerpc64.
14181 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14182 multiarch for powerpc64.
14183 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14184 for POWER7/powerpc64.
14185 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14186 memmove for POWER7/powerpc64.
14188 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14191 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14192 __ELF_NATIVE_CLASS equal to 64.
14194 2014-07-07 Roland McGrath <roland@hack.frob.com>
14196 * sysdeps/nptl/lowlevellock.h: File removed.
14198 * NEWS: NPTL is no longer an add-on!
14199 * nptl/internaltypes.h: Moved ...
14200 * sysdeps/nptl/internaltypes.h: ... here.
14201 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14202 * sysdeps/nptl/fork.c: Likewise.
14203 * sysdeps/nptl/gai_misc.h: Likewise.
14204 * sysdeps/nptl/librt-cancellation.c: Likewise.
14205 * sysdeps/nptl/jmp-unwind.c: Likewise.
14206 * sysdeps/nptl/setxid.h: Likewise.
14207 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14208 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14209 * sysdeps/unix/sysv/linux/arm/Implies: New file.
14210 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14211 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14212 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14213 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14214 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14215 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14216 * sysdeps/unix/sysv/linux/mips/Implies: New file.
14217 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14218 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14219 * sysdeps/unix/sysv/linux/sh/Implies: New file.
14220 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14221 * sysdeps/unix/sysv/linux/tile/Implies: New file.
14222 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14223 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14224 * nptl/Makeconfig: Moved ...
14225 * sysdeps/nptl/Makeconfig: ... here.
14226 * nptl/configure: File removed.
14227 * nptl/ANNOUNCE: File removed.
14228 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14229 * sysdeps/unix/sysv/linux/configure: Regenerated.
14231 * nptl/Makefile (routines): Add libc_pthread_init,
14232 libc_multiple_threads, register-atfork and unregister-atfork.
14233 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14234 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14235 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14236 pthread-pi-defines.sym, structsem.sym.
14237 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14238 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14239 [$(subdir) = nptl] (tests): Add tst-setgetname.
14240 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14241 * sysdeps/unix/sysv/linux/sigaction.c: Just include
14242 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14243 [!LIBC_SIGACTION]: Remove aliases.
14244 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14245 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14246 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14247 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14248 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14249 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14252 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14253 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14254 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14255 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14256 __libc_allocate_rtsig_private.
14257 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14258 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14259 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14260 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14261 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14262 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14263 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14264 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14265 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14266 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14267 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14268 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14269 * nptl/internaltypes.h: ... here.
14270 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14271 * sysdeps/nptl/jmp-unwind.c: ... here.
14272 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14273 * nptl/libc-lowlevellock.c: ... here.
14274 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14275 * nptl/libc_multiple_threads.c: ... here.
14276 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14277 * nptl/libc_pthread_init.c: ... here.
14278 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14279 * nptl/lowlevelbarrier.sym: ... here.
14280 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14281 * nptl/lowlevelcond.sym: ... here.
14282 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14283 * nptl/lowlevellock.c: ... here.
14284 * nptl/lowlevellock.h: Moved ...
14285 * sysdeps/nptl/lowlevellock.h: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14287 * nptl/lowlevelrobustlock.c: ... here.
14288 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14289 * nptl/lowlevelrobustlock.sym: ... here.
14290 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14291 * nptl/lowlevelrwlock.sym: ... here.
14292 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14293 * nptl/pt-fork.c: ... here.
14294 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14295 * nptl/pthread-pi-defines.sym: ... here.
14296 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14297 * nptl/pthread_attr_getaffinity.c: ... here.
14298 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14299 * nptl/pthread_attr_setaffinity.c: ... here.
14300 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14301 * nptl/pthread_mutex_cond_lock.c: ... here.
14302 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14304 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14305 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14306 * nptl/pthread_once.c: ... here, replacing old file.
14307 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14308 * nptl/pthread_yield.c: ... here.
14309 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14310 * nptl/register-atfork.c: ... here.
14311 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14312 * nptl/sem_post.c: ... here.
14313 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14314 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14315 * nptl/sem_timedwait.c: ... here.
14316 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14317 * nptl/sem_trywait.c: ... here.
14318 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14319 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14320 * nptl/sem_wait.c: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14322 * nptl/structsem.sym: ... here.
14323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14324 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14325 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14326 * nptl/unregister-atfork.c: ... here.
14327 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14328 * nptl/unwindbuf.sym: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14330 * sysdeps/nptl/fork.c: ... here.
14331 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14332 * sysdeps/nptl/fork.h: ... here.
14333 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14334 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14335 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14336 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14337 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14338 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14339 * sysdeps/unix/sysv/linux/getpid.c: ... here.
14340 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14341 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14342 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14343 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14344 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14345 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14346 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14347 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14348 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14349 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14350 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14351 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14353 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14355 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14356 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14357 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14358 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14359 * sysdeps/unix/sysv/linux/raise.c: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14361 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14363 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14365 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14366 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14367 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14369 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14371 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14373 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14374 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14376 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14378 * sysdeps/generic/memcopy.h: Add comment for
14379 MEMCPY_OK_FOR_FWD_MEMMOVE.
14381 2014-07-04 Will Newton <will.newton@linaro.org>
14383 * string/memchr.c: Merge from gnulib.
14384 [_LIBC]: Remove conditionals.
14385 (__ptr_t): Remove define.
14386 (LONG_MAX_32_BITS): Likewise.
14387 (LONG_MAX): Likewise.
14388 (MEMCHR): Use ANSI prototype and optimize algorithm.
14390 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14392 2014-07-03 Roland McGrath <roland@hack.frob.com>
14394 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14395 (lll_futex_timed_wait_bitset): Fix syscall argument count.
14397 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14398 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14399 in a bare environment with no <stdlib.h> installed.
14400 * sysdeps/nptl/configure: Regenerated.
14402 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14404 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14405 AC_EGREP_CPP for kernel header checks, so they only succeed if
14406 including <linux/version.h> actually works right.
14407 * sysdeps/unix/sysv/linux/configure: Regenerated.
14409 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14410 value so it's not diagnosed as unused.
14412 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14413 thing) with "ifeq ($(subdir),rt)".
14415 2014-07-03 Richard Henderson <rth@redhat.com>
14417 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14418 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14419 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14421 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14422 (math_force_eval): New.
14424 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14425 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14427 * sysdeps/alpha/fpu/s_round.c: Remove file.
14428 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14430 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14431 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14432 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14433 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14434 (_dl_start, print_statistics): Likewise.
14435 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14436 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14438 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14439 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14440 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14441 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14442 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14443 (HP_SMALL_TIMING_AVAIL): Define.
14444 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14446 (HP_SMALL_TIMING_AVAIL): Define.
14447 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14448 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14450 * sysdeps/aarch64/hp-timing.h: New file.
14452 * sysdeps/generic/hp-timing.h: Remove dead comment.
14453 * sysdeps/generic/hp-timing-common.h: New file.
14454 * sysdeps/alpha/hp-timing.h: Include it.
14455 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14456 * sysdeps/i386/i686/hp-timing.h: Likewise.
14457 * sysdeps/ia64/hp-timing.h: Likewise.
14458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14459 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14460 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14461 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14462 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14463 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14464 (hp_timing_t): New.
14466 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14467 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14468 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14469 * elf/rtld.c (_dl_start_final): Likewise.
14470 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14471 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14472 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14473 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14474 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14475 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14476 (HP_TIMING_DIFF_INIT): Remove.
14477 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14478 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14479 (HP_TIMING_DIFF_INIT): Remove.
14480 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14481 * sysdeps/i386/i686/hp-timing.c: Remove file.
14482 * sysdeps/x86_64/hp-timing.c: Remove file.
14483 * sysdeps/ia64/hp-timing.c: Remove file.
14484 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14485 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14486 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14487 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14489 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14490 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14491 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14492 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14493 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14494 (HP_TIMING_ACCUM): Remove.
14495 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14496 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14497 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14499 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14500 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14501 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14502 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14504 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14506 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14508 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14510 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14512 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14514 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14516 Sync up with gettext.
14517 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14518 [_MSC_VER]: Include malloc.h
14519 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14520 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14521 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14522 TEMP_FAILURE_RETRY. Cast return of alloca.
14523 [!_LIBC] Call gl_rwlock_init.
14524 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14526 2014-07-02 Roland McGrath <roland@hack.frob.com>
14528 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14529 before checking its value.
14531 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14533 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14535 * debug/memcpy_chk.c: Don't include pagecopy.h.
14536 * debug/mempcpy_chk.c: Likewise.
14537 * string/memcpy.c: Likewise.
14538 * string/memmove.c: Likewise.
14539 * sysdeps/powerpc/memmove.c: Likewise.
14540 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14541 definition of PAGE_COPY_FWD_MAYBE here...
14542 * sysdeps/generic/pagecopy.h: ... from here.
14543 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14545 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14546 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14548 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14552 (__libc_ifunc_impl_list): Likewise.
14553 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14554 multiarch strcat for PPC64.
14555 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14556 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14558 2014-07-02 Roland McGrath <roland@hack.frob.com>
14560 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14562 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14564 * intl/loadmsgcat.c: Remove declaration of
14565 get_sysdep_segment_value.
14566 (get_sysdep_segment_value): Use ISO C style.
14567 (_nl_load_domain): Use ISO C style. Get rid of redundant
14568 semicolon. Fix typo and formatting in comment.
14569 (_nl_unload_domain): Use ISO C style.
14571 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14573 2014-07-02 Will Newton <will.newton@linaro.org>
14575 * malloc/obstack.c: Merge from gnulib master.
14576 [HAVE_CONFIG_H]: Remove conditional code.
14577 [!_LIBC]: Include config.h.
14578 [!ELIDE_CODE]: Don't include inttypes.h, include
14579 stdint.h unconditionally.
14580 (print_and_abort): Mark as _Noreturn.
14581 (_obstack_allocated_p): Mark as __attribute_pure__.
14582 (obstack_free): Rename to __obstack_free.
14583 [!__attribute__]: Remove conditional code.
14584 * malloc/obstack.h: Merge from gnulib master.
14585 [__cplusplus]: Move conditional down.
14586 [!__attribute_pure__]: Define __attribute_pure__ here
14587 if it is not already defined.
14588 (_obstack_memory_used): Mark as __attribute_pure__.
14589 [!__obstack_free]: Define as obstack_free.
14590 [__GNUC__]: Remove check for ancient NeXT gcc.
14592 2014-07-02 Will Newton <will.newton@linaro.org>
14593 Paul Eggert <eggert@cs.ucla.edu>
14595 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14597 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14599 * resolv/gethnamaddr.c: Add comment warning that the file is
14602 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14604 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14607 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14608 entry for aio_cancel and aio_cancel64.
14609 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14610 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14611 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14612 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14613 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14614 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14615 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14616 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14617 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14618 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14619 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14620 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14621 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14623 2014-07-01 Roland McGrath <roland@hack.frob.com>
14625 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14626 * nptl/pthread_mutex_lock.c: Likewise.
14627 * nptl/pthread_mutex_timedlock.c: Likewise.
14628 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14630 2014-07-01 Richard henderson <rth@redhat.com>
14632 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14633 (__isnan, __isnanl): Remove.
14634 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14636 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14638 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14640 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14642 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14644 * resolv/nss_dns/dns-host.c (getanswer_r)
14645 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14647 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14649 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14650 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14652 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14653 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14655 2014-07-01 Roland McGrath <roland@hack.frob.com>
14657 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14658 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14660 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14661 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14663 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14664 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14666 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14667 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14669 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14670 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14671 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14672 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14674 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14675 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14676 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14677 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14678 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14680 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14682 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14683 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14684 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14685 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14686 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14687 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14689 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14690 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14691 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14692 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14693 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14694 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14695 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14697 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14699 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14700 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14701 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14703 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14706 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14707 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14708 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14709 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14710 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14712 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14714 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14715 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14716 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14719 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14723 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14725 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14726 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14728 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14730 * sysdeps/arm/libm-test-ulps: Regenerated.
14732 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14733 Roland McGrath <roland@hack.frob.com>
14735 * test-skeleton.c (signal_handler): Kill the whole process group
14736 before killing the child individually.
14737 (main): Report any failure on `setpgid'.
14739 2014-06-30 Roland McGrath <roland@hack.frob.com>
14741 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14742 from _TLS_H to _ARM_NPTL_TLS_H.
14743 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14744 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14746 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14749 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14750 (__expm1l): Return argument unchanged when small but not
14753 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14754 include macro name.
14755 (_FP_UNPACK_RAW_1_P): Likewise.
14756 (_FP_PACK_RAW_1): Likewise.
14757 (_FP_PACK_RAW_1_P): Likewise.
14758 (_FP_MUL_MEAT_1_wide): Likewise.
14759 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14760 (_FP_MUL_MEAT_1_hard): Likewise.
14761 (_FP_DIV_MEAT_1_imm): Likewise.
14762 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14763 (_FP_DIV_MEAT_1_udiv): Likewise.
14764 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14765 (_FP_UNPACK_RAW_2): Likewise.
14766 (_FP_UNPACK_RAW_2_P): Likewise.
14767 (_FP_PACK_RAW_2): Likewise.
14768 (_FP_PACK_RAW_2_P): Likewise.
14769 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14770 (_FP_MUL_MEAT_2_wide): Likewise.
14771 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14772 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14773 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14774 (_FP_MUL_MEAT_2_gmp): Likewise.
14775 (_FP_DIV_MEAT_2_udiv): Likewise.
14776 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14777 (_FP_FRAC_SRL_4): Likewise.
14778 (_FP_FRAC_SRST_4): Likewise.
14779 (_FP_FRAC_SRS_4): Likewise.
14780 (_FP_UNPACK_RAW_4): Likewise.
14781 (_FP_UNPACK_RAW_4_P): Likewise.
14782 (_FP_PACK_RAW_4): Likewise.
14783 (_FP_PACK_RAW_4_P): Likewise.
14784 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14785 (_FP_MUL_MEAT_4_wide): Likewise.
14786 (_FP_MUL_MEAT_4_gmp): Likewise.
14787 (umul_ppppmnnn): Likewise.
14788 (_FP_DIV_MEAT_4_udiv): Likewise.
14789 (__FP_FRAC_ADD_4): Likewise.
14790 (__FP_FRAC_SUB_3): Likewise.
14791 (__FP_FRAC_SUB_4): Likewise.
14792 (__FP_FRAC_DEC_3): Likewise.
14793 (__FP_FRAC_DEC_4): Likewise.
14794 (__FP_FRAC_ADDI_4): Likewise.
14795 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14796 (_FP_FRAC_SRL_8): Likewise.
14797 (_FP_FRAC_SRS_8): Likewise.
14799 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14800 include macro name.
14801 (FP_UNPACK_RAW_EP): Likewise.
14802 (FP_PACK_RAW_E): Likewise.
14803 (FP_PACK_RAW_EP): Likewise.
14804 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14805 (_FP_ISSIGNAN): Likewise.
14806 (_FP_ADD_INTERNAL): Likewise.
14807 (_FP_FMA): Likewise.
14808 (_FP_CMP): Likewise.
14809 (_FP_SQRT): Likewise.
14810 (_FP_TO_INT): Likewise.
14811 (_FP_FROM_INT): Likewise.
14812 (FP_EXTEND): Likewise.
14813 (_FP_DIV_MEAT_N_loop): Likewise.
14815 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14817 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14820 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14823 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14824 result with correct sign in case of exponents that produce
14825 overflow except for X very close to 1.
14827 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14829 mktime: merge #if/#ifdef usage from glibc
14830 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14831 as that works with both Glibc's and Gnulib's style.
14832 See thread starting at Siddhesh Poyarekar's bug report at:
14833 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14835 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14837 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14838 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14839 * sysdeps/tile/tilegx/memmove.c: Remove file.
14841 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14843 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14844 abi-name definition.
14845 * scripts/soversions.awk: Do not handle or generate ABI lines.
14846 * shlib-versions: Remove ABI entries.
14847 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14848 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14850 2014-06-27 Roland McGrath <roland@hack.frob.com>
14852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14853 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14854 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14855 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14857 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14860 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14863 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14865 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14867 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14869 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14871 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14873 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14878 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14880 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14883 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14884 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14886 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14887 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14888 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14891 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14893 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14895 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14897 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14900 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14902 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14905 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14908 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14910 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14913 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14915 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14916 Identical file removed.
14917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14919 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14921 Identical file removed.
14922 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14923 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14924 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14926 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14928 Identical file removed.
14929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14930 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14931 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14932 Identical file removed.
14933 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14934 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14935 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14936 Identical file removed.
14937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14938 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14939 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14940 Identical file removed.
14941 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14943 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14944 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14945 Identical file removed.
14946 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14948 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14949 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14950 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14951 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14952 Identical file removed.
14953 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14955 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14957 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14958 Identical file removed.
14959 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14961 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14963 Identical file removed.
14964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14966 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14968 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14969 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14970 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14973 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14974 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14975 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14977 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14978 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14979 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14980 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14981 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14983 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14986 * nscd/nscd.c (monitor_child): Return exit status of child
14987 instead of return value from wait syscall.
14989 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14991 * configure.ac (libc_commonpagesize): Remove variable.
14992 (libc_relro_required): Likewise.
14993 (libc_cv_z_relro): Remove configure test.
14994 * configure: Regenerated.
14995 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14997 (libc_relro_required): Likewise.
14998 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14999 (libc_relro_required): Likewise.
15000 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15001 (libc_relro_required): Likewise.
15002 * sysdeps/arm/preconfigure: Regenerated.
15003 * sysdeps/ia64/preconfigure: Remove file.
15004 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15006 (libc_relro_required): Likewise.
15010 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15011 (__ieee754_yn): Set FE_TONEAREST mode internally and then
15012 recompute overflowing results in original rounding mode.
15013 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15014 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15015 recompute overflowing results in original rounding mode.
15016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15017 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15018 recompute overflowing results in original rounding mode.
15019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15020 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15021 recompute overflowing results in original rounding mode.
15022 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15023 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15024 recompute overflowing results in original rounding mode.
15025 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15026 (libc_feholdsetround_ctx): New macro.
15027 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15028 * sysdeps/i386/fpu/libm-test-ulps: Update.
15029 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15031 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15033 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15034 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15035 corresponding .cpsetup call.
15037 2014-06-26 Roland McGrath <roland@hack.frob.com>
15039 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15040 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15041 * sysdeps/arm/Makefile [$(subdir) = csu]
15042 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15043 (static-only-routines): Add aeabi_read_tp here.
15044 (shared-only-routines): Add libc-aeabi_read_tp here.
15045 (CFLAGS-libc-start.c): Add -fexceptions here.
15046 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15047 (sysdep_routines, static-only-routines, shared-only-routines):
15048 Don't add to these here.
15049 (CFLAGS-libc-start.c): Likewise.
15051 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15052 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15053 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15054 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15055 * sysdeps/arm/Makefile [$(subdir) = rt]
15056 (librt-sysdep_routines, librt-shared-only-routines):
15057 Append rt-aeabi_unwind_cpp_pr1 here.
15058 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15059 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15060 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15061 (libpthread-sysdep_routines, libpthread-shared-only-routines):
15062 Append nptl-aeabi_unwind_cpp_pr1 here.
15063 (tests): Filter out tst-cleanupx4 here.
15064 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15065 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15066 Don't do those here.
15068 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15070 * scripts/list-sources.sh: Do not handle ports specially.
15072 2014-06-26 Roland McGrath <roland@hack.frob.com>
15074 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15075 * sysdeps/arm/feupdateenv.c: Likewise.
15077 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15079 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15081 * manual/texinfo.tex: Update to version 2014-05-05.10 with
15082 trailing whitespace removed.
15083 * scripts/config.guess: Update to version 2014-03-23.
15084 * scripts/config.sub: Update to version 2014-05-01
15085 * scripts/install-sh: Update to version 2013-12-25.23.
15086 * scripts/move-if-change: Update from gnulib.
15088 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15090 * debug/memmove_chk.c: Remove pagecopy.h include.
15092 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
15094 * time/mktime.c (leapyear): Remove inline keyword. The code is now
15095 identical to gnulib mktime.
15097 2014-06-26 Joseph Myers <joseph@codesourcery.com>
15099 * configure.ac: Do not test for machine being rs6000. Do not test
15100 for powerpc*-*soft.
15101 * configure: Regenerated.
15104 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15106 * configure: Regenerated.
15107 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15108 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15109 Remove configure test.
15110 * sysdeps/arm/configure: Regenerated.
15111 * sysdeps/nptl/configure.ac: Do not check
15112 libc_cv_asm_cfi_directives.
15113 * sysdeps/nptl/configure: Regenerated.
15114 * sysdeps/x86_64/nptl/configure.ac: Remove file.
15115 * sysdeps/x86_64/nptl/configure: Remove generated file.
15116 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15118 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15120 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15122 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15123 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15124 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15127 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15128 instead of whether it is defined.
15129 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15130 * sysdeps/hppa/dl-machine.h: Likewise.
15131 * sysdeps/ia64/dl-machine.h: Likewise.
15132 * sysdeps/m68k/dl-machine.h: Likewise.
15133 * sysdeps/microblaze/dl-machine.h: Likewise.
15134 * sysdeps/mips/dl-machine.: Likewise.
15135 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15136 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15137 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15138 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15139 * sysdeps/sh/dl-machine.h: Likewise.
15140 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15141 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15142 * sysdeps/tile/dl-machine.h: Likewise.
15143 * sysdeps/x86_64/dl-machine.h: Likewise.
15145 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15147 (verify_persistent_db): Likewise.
15149 2014-06-26 Roland McGrath <roland@hack.frob.com>
15151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15152 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15154 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15157 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15160 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15162 Identical file removed.
15163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15164 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15166 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15168 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15170 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15172 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15175 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15177 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15179 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15182 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15184 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15186 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15188 Identical file removed.
15189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15190 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15192 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15195 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15198 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15200 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15202 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15204 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15206 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15209 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15212 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15214 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15217 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15219 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15221 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15223 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15224 * sysdeps/unix/sysv/linux/s390/Versions
15225 (libpthread: GLIBC_2.19): New version set.
15226 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15227 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15228 (librt: GLIBC_2.3.3): New version set.
15229 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15230 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15231 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15232 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15233 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15234 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15235 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15236 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15237 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15238 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15239 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15240 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15241 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15242 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15243 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15244 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15245 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15246 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15248 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15249 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15250 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15251 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15252 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15253 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15254 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15255 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15256 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15257 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15258 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15259 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15260 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15263 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15265 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15266 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15267 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15268 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15269 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15271 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15273 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15275 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15276 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15277 (__libc_vfork): Define the function under this name.
15278 [!NOT_IN_libc] (__vfork): Make this an alias.
15279 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15280 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15281 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15282 (__libc_vfork): Define the function under this name.
15283 [!NOT_IN_libc] (__vfork): Make this an alias.
15284 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15285 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15286 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15289 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15291 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15292 code that was previously under [RESET_PID].
15293 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15294 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15295 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15297 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15298 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15299 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15300 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15301 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15302 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15303 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15304 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15305 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15306 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15307 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15309 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15310 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15311 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15312 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15313 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15314 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15315 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15316 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15317 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15318 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15320 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15321 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15322 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15323 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15324 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15325 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15326 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15327 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15328 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15329 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15330 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15331 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15332 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15333 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15334 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15335 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15336 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15337 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15339 2014-06-25 Roland McGrath <roland@hack.frob.com>
15341 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15342 that was previously under [RESET_PID].
15343 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15345 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15347 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15348 not undefine and redefine.
15349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15350 [O_CLOEXEC]: Make code unconditional.
15351 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15352 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15353 <kernel-features.h>.
15354 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15355 conditional variable definition.
15356 (shm_open) [O_CLOEXEC]: Make code unconditional.
15357 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15360 * configure.ac (USE_REGPARMS): Don't define here.
15361 * configure: Regenerated.
15362 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15363 * sysdeps/i386/configure: Regenerated.
15365 * nptl/createthread.c: Don't include kernel-features.h.
15366 * nptl/pthread_cancel.c: Likewise.
15367 * nptl/pthread_condattr_setclock.c: Likewise.
15368 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15369 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15370 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15371 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15372 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15373 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15374 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15375 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15377 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15378 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15379 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15380 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15381 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15382 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15383 * nscd/gai.c: Likewise.
15384 * nss/nss_db/db-open.c: Likewise.
15385 * sysdeps/generic/ldsodefs.h: Likewise.
15386 * sysdeps/sh/nptl/tls.h: Likewise.
15387 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15388 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15389 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15390 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15391 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15392 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15393 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15394 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15396 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15397 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15398 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15399 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15400 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15401 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15402 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15403 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15404 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15405 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15406 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15408 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15409 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15410 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15413 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15414 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15415 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15416 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15417 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15418 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15419 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15420 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15421 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15422 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15423 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15424 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15425 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15426 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15427 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15428 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15429 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15430 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15431 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15432 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15433 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15434 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15435 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15436 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15437 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15438 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15439 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15440 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15441 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15442 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15443 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15444 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15467 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15468 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15469 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15470 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15471 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15473 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15474 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15475 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15476 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15477 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15478 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15479 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15480 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15481 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15482 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15483 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15485 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15486 * sysdeps/unix/sysv/linux/system.c: Likewise.
15487 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15488 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15489 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15490 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15491 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15492 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15493 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15495 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15496 * configure: Regenerated.
15497 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15499 * configure.ac (base_machine): Do not set specially for particular
15501 * configure: Regenerated.
15502 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15503 settings from configure.ac.
15504 * sysdeps/i386/preconfigure: New file.
15505 * sysdeps/s390/preconfigure: Likewise.
15506 * sysdeps/sh/preconfigure: Likewise.
15507 * sysdeps/sparc/preconfigure: Likewise.
15509 2014-06-25 Roland McGrath <roland@hack.frob.com>
15511 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15512 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15513 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15514 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15515 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15516 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15517 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15518 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15519 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15520 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15521 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15522 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15523 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15524 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15525 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15526 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15527 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15528 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15529 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15531 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15532 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15533 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15534 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15535 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15536 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15537 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15538 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15539 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15540 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15541 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15542 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15543 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15544 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15545 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15546 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15547 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15548 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15549 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15550 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15552 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15554 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15556 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15557 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15559 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15560 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15561 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15562 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15563 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15564 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15565 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15566 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15567 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15568 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15571 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15576 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15581 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15586 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15588 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15593 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15601 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15603 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15605 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15607 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15609 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15620 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15622 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15624 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15626 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15632 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15634 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15639 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15641 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15643 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15645 * timezone/checktab.awk: Update from tzcode 2014e.
15646 * timezone/private.h: Likewise.
15647 * timezone/tzfile.h: Likewise.
15648 * timezone/zdump.c: Likewise.
15649 * timezone/zic.c: Likewise.
15651 * sysdeps/unix/sysv/linux/kernel-features.h
15652 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15653 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15654 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15655 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15656 Remove conditional code.
15658 2014-06-25 Will Newton <will.newton@linaro.org>
15660 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15661 (_dl_arm_cap_flags): Add HWCAP2 values.
15662 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15663 (_DL_HWCAP_COUNT): Increase to 37.
15664 (_DL_HWCAP_LAST): New define.
15665 (_DL_HWCAP2_LAST): New define.
15666 (_dl_procinfo): Add support for printing
15668 (_dl_string_hwcap): Use _dl_hwcap_string.
15670 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15674 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15676 * README: Do not mention ports directory.
15678 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15680 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15681 <kernel-features.h>.
15682 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15683 conditional variable definition.
15684 (__futimes): Update comment.
15685 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15686 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15689 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15690 arguments close to 0.
15691 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15693 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15695 * math/auto-libm-test-in: Add more tests of exp10.
15696 * math/auto-libm-test-out: Regenerated.
15697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15699 * sysdeps/unix/sysv/linux/kernel-features.h
15700 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15701 * sysdeps/unix/sysv/linux/readv.c: Do not include
15702 <kernel-features.h>.
15703 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15704 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15705 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15707 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15709 * sysdeps/unix/sysv/linux/writev.c: Do not include
15710 <kernel-features.h>.
15711 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15712 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15713 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15715 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15718 2014-06-25 Will Newton <will.newton@linaro.org>
15720 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15721 comment changes throughout the file. Remove checks
15722 for HAVE_*_H definitions that are not required.
15723 (__gen_tempname): Call abort if an unknown kind value is
15726 2014-06-25 Andreas Schwab <schwab@suse.de>
15729 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15730 scalbln, scalblnf, scalblnl in libc.
15732 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15735 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15736 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15737 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15739 2014-06-24 Roland McGrath <roland@hack.frob.com>
15741 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15742 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15743 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15744 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15746 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15747 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15749 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15750 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15751 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15752 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15753 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15754 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15755 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15756 * sysdeps/x86/bits/semaphore.h: ... here.
15757 * sysdeps/x86/nptl/elide.h: Moved ...
15758 * sysdeps/x86/elide.h: ... here.
15759 * sysdeps/x86_64/nptl/Implies: File removed.
15760 * sysdeps/i386/nptl/Implies: File removed.
15762 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15765 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15766 return the argument for normal arguments with exponent below -64.
15767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15769 * math/auto-libm-test-in: Add another test of expm1.
15770 * math/auto-libm-test-out: Regenerated.
15773 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15774 calling __erfcl for arguments at least 16.
15775 * math/auto-libm-test-in: Add more tests of erf.
15776 * math/auto-libm-test-out: Regenerated.
15778 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15779 individual architectures.
15780 * sysdeps/unix/sysv/linux/configure: Regenerated.
15781 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15782 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15783 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15784 (ldd_rewrite_script): Define variable.
15785 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15790 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15791 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15792 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15793 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15794 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15795 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15796 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15797 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15799 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15802 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15803 Rename member __data.d to __data.__elision_data.
15805 2014-06-24 Wilco <wdijkstr@arm.com>
15807 * NEWS: Add 16918 to fixed bug list.
15809 2014-06-24 Wilco <wdijkstr@arm.com>
15811 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15813 2014-06-24 Wilco <wdijkstr@arm.com>
15815 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15816 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15817 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15818 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15819 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15820 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15821 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15824 2014-06-24 Wilco <wdijkstr@arm.com>
15826 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15828 2014-06-24 Wilco <wdijkstr@arm.com>
15830 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15831 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15832 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15833 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15835 2014-06-24 Wilco <wdijkstr@arm.com>
15838 * sysdeps/arm/feupdateenv.c (feupdateenv):
15839 Rewrite to reduce FPSCR accesses and fix return value.
15841 2014-06-24 Wilco <wdijkstr@arm.com>
15843 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15844 Optimize to avoid unnecessary FPSCR writes.
15845 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15846 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15847 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15848 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15850 2014-06-24 Wilco <wdijkstr@arm.com>
15852 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15853 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15854 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15855 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15856 Call libc_fetestexcept_vfp.
15857 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15858 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15859 __SOFTFP__ ifdef so that they can be built for softfp.
15861 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15864 argument type signed char.
15866 * Makerules (check-abi): Dump diff of symlist if the test
15869 2014-06-23 Roland McGrath <roland@hack.frob.com>
15871 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15874 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15875 Remove unused variable ST.
15877 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15881 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15882 small arguments before calling __expm1.
15883 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15884 small arguments before calling __expm1f.
15885 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15886 small arguments before calling __expm1l.
15887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15889 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15890 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15891 spurious underflow for some cosh tests.
15892 * math/auto-libm-test-out: Regenerated.
15893 * sysdeps/i386/fpu/libm-test-ulps: Update.
15896 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15897 (__ieee754_y1): Set errno if return value overflows.
15898 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15899 (__ieee754_y1f): Set errno if return value overflows.
15900 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15901 (__ieee754_y1l): Set errno if return value overflows.
15902 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15903 (__ieee754_y1l): Set errno if return value overflows.
15904 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15905 * math/auto-libm-test-out: Regenerated.
15907 * math/gen-auto-libm-tests.c: Document use of
15908 ignore-zero-inf-sign.
15909 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15910 (input_flags): Add ignore-zero-inf-sign.
15911 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15912 * math/gen-libm-test.pl (generate_testfile): Handle
15913 ignore-zero-inf-sign.
15914 * math/auto-libm-test-in: Mark some cpow tests with
15915 ignore-zero-inf-sign and some with xfail-rounding.
15916 * math/auto-libm-test-out: Regenerated.
15917 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15918 * sysdeps/i386/fpu/libm-test-ulps: Update.
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15922 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15923 overflowing or underflowing operations take place with sign of
15925 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15926 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15927 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15928 (__ieee754_pow): Recompute overflowing and underflowing results in
15929 original rounding mode.
15930 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15931 (__powl_helper): Allow negative argument X and scale negated value
15932 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15933 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15934 overflowing or underflowing operations take place with sign of
15936 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15938 * math/auto-libm-test-in: Add more tests of pow.
15939 * math/auto-libm-test-out: Regenerated.
15940 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15941 (pow_tonearest_test_data): Remove.
15942 (pow_test_tonearest): Likewise.
15943 (pow_towardzero_test_data): Likewise.
15944 (pow_test_towardzero): Likewise.
15945 (pow_downward_test_data): Likewise.
15946 (pow_test_downward): Likewise.
15947 (pow_upward_test_data): Likewise.
15948 (pow_test_upward): Likewise.
15949 (main): Don't call removed functions.
15950 * sysdeps/i386/fpu/libm-test-ulps: Update.
15951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15953 2014-06-23 Roland McGrath <roland@hack.frob.com>
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16129 2014-06-23 Will Newton <will.newton@linaro.org>
16130 Wilco <wdijkstr@arm.com>
16132 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16133 implementation. Include get-rounding-mode.h.
16134 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16135 [!libc_feholdsetround_noex_ctx]: Define
16136 libc_feholdsetround_noex_ctx.
16137 [!libc_feholdsetround_noexf_ctx]: Define
16138 libc_feholdsetround_noexf_ctx.
16139 [!libc_feholdsetround_noexl_ctx]: Define
16140 libc_feholdsetround_noexl_ctx.
16141 (libc_feholdsetround_ctx): New function.
16142 (libc_feresetround_ctx): New function.
16143 (libc_feholdsetround_noex_ctx): New function.
16144 (libc_feresetround_noex_ctx): New function.
16146 2014-06-23 Roland McGrath <roland@hack.frob.com>
16148 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16149 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16150 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16151 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16152 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16153 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16155 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16156 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16157 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16158 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16159 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16160 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16162 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16163 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16164 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16165 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16167 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16170 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16172 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16173 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16175 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16176 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16177 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16178 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16179 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16181 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16182 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16184 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16185 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16187 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16189 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16192 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16193 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16194 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16196 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16197 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16198 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16199 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16200 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16201 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16203 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16205 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16206 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16207 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16208 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16209 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16210 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16211 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16212 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16214 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16216 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16217 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16219 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16220 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16221 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16226 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16227 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16228 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16229 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16230 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16232 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16233 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16234 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16235 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16236 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16237 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16238 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16239 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16241 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16242 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16243 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16244 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16245 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16246 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16247 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16248 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16249 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16250 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16251 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16252 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16253 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16255 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16256 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16257 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16258 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16259 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16261 2014-06-23 Joseph Myers <joseph@codesourcery.com>
16263 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16264 (FALLOC_FL_COLLAPSE_RANGE): New macro.
16265 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16266 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16267 (IPV6_PMTUDISC_INTERFACE): Likewise.
16268 (IPV6_PMTUDISC_OMIT): Likewise.
16270 2014-06-23 Andreas Schwab <schwab@suse.de>
16272 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16273 Remove unused errout label.
16275 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16277 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16278 macro: hardware supports Vector Crypto instructions.
16280 2014-06-23 Will Newton <will.newton@linaro.org>
16282 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16283 rather than __builtin_expect.
16285 * elf/dl-lookup.c (undefined_msg): Remove variable.
16286 (_dl_lookup_symbol_x): Replace undefined_msg with string
16289 * elf/dl-lookup.c (do_lookup_unique): New function.
16290 (do_lookup_x): Move STB_GNU_UNIQUE handling code
16291 to a separate function.
16293 2014-06-23 Andreas Schwab <schwab@suse.de>
16296 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16297 before reading the next line.
16299 2014-06-23 Will Newton <will.newton@linaro.org>
16301 * test-skeleton.c (signal_handler): Use printf and %m
16302 rather than perror. Use printf rather than fprintf to
16303 stderr. Use puts rather than fputs to stderr.
16306 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16308 * nscd/nscd.c (thread_info_t): Remove typedef.
16309 (thread_info): Remove variable.
16311 2014-06-21 Allan McRae <allan@archlinux.org>
16313 * NEWS: Mention CVE-2014-4043.
16315 2014-06-20 Roland McGrath <roland@hack.frob.com>
16317 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16318 * nptl/smp.h: ... here.
16320 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16322 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16323 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16324 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16325 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16327 * nptl/allocatestack.c: Include <stack-aliasing.h>.
16328 * nptl/stack-aliasing.h: New file.
16329 * sysdeps/i386/i686/stack-aliasing.h: New file.
16330 * sysdeps/i386/i686/nptl/Makefile: File removed.
16331 * sysdeps/x86_64/stack-aliasing.h: New file.
16332 * sysdeps/x86_64/nptl/Makefile
16333 (CFLAGS-pthread_create.c): Variable removed.
16335 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16336 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16338 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16339 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16342 2014-06-21 Joseph Myers <joseph@codesourcery.com>
16344 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16345 (__ASSUME_SIGFRAME_V2): Remove macro.
16346 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16347 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16348 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16349 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16350 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16351 Declare as function. Remove conditional macro definitions.
16352 (__default_rt_sa_restorer): Likewise.
16353 (__default_sa_restorer_v1): Remove declaration.
16354 (__default_sa_restorer_v2): Likewise.
16355 (__default_rt_sa_restorer_v1): Likewise.
16356 (__default_rt_sa_restorer_v2): Likewise.
16357 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16358 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16359 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16361 2014-06-20 Roland McGrath <roland@hack.frob.com>
16363 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16364 (libpthread-routines): Add sysdep.
16365 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16366 * sysdeps/unix/sysv/linux/sparc/Versions
16367 (libpthread: GLIBC_2.3.3): New version set.
16368 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16369 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16370 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16371 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16372 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
16373 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16375 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16376 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16377 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16379 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16380 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16381 * sysdeps/sparc/nptl/sem_init.c: ... here.
16382 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16383 * sysdeps/sparc/nptl/sem_post.c: ... here.
16384 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16385 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16387 * sysdeps/sparc/nptl/sem_wait.c: ... here.
16388 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16389 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16390 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16391 (libpthread-routines): Add cpu_relax.
16392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16394 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16395 (librt: GLIBC_2.3.3): New version set.
16396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16397 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16399 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16402 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16405 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16407 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16409 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16411 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16413 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16416 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16424 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16428 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16432 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16436 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16439 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16445 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16447 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16450 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16452 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16454 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16456 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16458 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16459 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16460 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16461 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16462 * nscd/nscd.c: Likewise.
16463 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16464 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16465 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16466 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16468 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16469 <kernel-features.h>.
16470 (init_mq_netlink): Remove conditional have_sock_cloexec
16471 definitions. Remove code conditional on have_sock_cloexec < 0.
16472 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16473 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16474 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16475 <kernel-features.h>.
16476 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16477 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16479 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16481 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16482 Add tests for memset_chk and memset.
16484 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16487 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16490 * elf/tst-dl-iter-static.c: New file.
16491 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16493 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16496 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16498 * sysdeps/unix/sysv/linux/kernel-features.h
16499 (__ASSUME_F_GETOWN_EX): Remove macro.
16500 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16501 <kernel-features.h>.
16502 (miss_F_GETOWN_EX): Remove variable or macro.
16503 (do_fcntl): Do not check miss_F_GETOWN_EX.
16504 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16509 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16510 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16512 * sysdeps/unix/sysv/linux/kernel-features.h
16513 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16514 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16515 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16516 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16518 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16521 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16522 Fix calculation of the symbol's value.
16523 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16524 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16525 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16526 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16527 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16528 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16529 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16530 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16531 (modules-names): Add `tst-armtlsdescmod',
16532 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16533 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16534 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16535 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16536 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16537 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16538 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16539 ($(objpfx)tst-armtlsdescloc): New dependency.
16540 ($(objpfx)tst-armtlsdescextnow): Likewise.
16541 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16542 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16543 TLS scheme support.
16544 * sysdeps/arm/configure: Regenerate.
16546 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16548 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16549 (__atfct_seterrno_2): Likewise.
16550 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16551 <kernel-features.h>.
16552 (__ASSUME_ATFCTS): Do not undefine and redefine.
16553 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16554 (__have_atfcts): Remove conditional definition.
16555 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16556 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16557 unreachable if [__ASSUME_ATFCTS].
16558 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16559 not undefine and redefine.
16560 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16561 <kernel-features.h>.
16562 (faccessat) [__NR_faccessat]: Make code unconditional.
16563 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16564 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16565 <kernel-features.h>.
16566 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16567 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16568 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16569 <kernel-features.h>.
16570 (fchownat) [__NR_fchownat]: Make code unconditional.
16571 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16572 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16573 <kernel-features.h>.
16574 (futimesat) [__NR_futimesat]: Make code unconditional.
16575 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16576 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16577 <kernel-features.h>.
16578 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16579 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16580 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16581 <kernel-features.h>.
16582 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16583 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16584 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16585 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16586 <kernel-features.h>.
16587 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16588 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16590 <kernel-features.h>.
16591 (linkat) [__NR_linkat]: Make code unconditional.
16592 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16593 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16594 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16595 <kernel-features.h>.
16596 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16597 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16598 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16599 <kernel-features.h>.
16600 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16601 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16602 * sysdeps/unix/sysv/linux/openat.c: Do not include
16603 <kernel-features.h>.
16604 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16605 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16606 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16607 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16608 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16609 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16610 <kernel-features.h>.
16611 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16612 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16613 result of INLINE_SYSCALL directly, not via int variable.
16614 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16615 <kernel-features.h>.
16616 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16617 (renameat) [__NR_renameat]: Make code unconditional.
16618 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16620 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16621 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16622 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16623 (__ASSUME_ATFCTS): Do not undefine and redefine.
16624 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16625 <kernel-features.h>.
16626 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16627 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16628 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16629 <kernel-features.h>.
16630 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16631 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16632 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16633 (__ASSUME_ATFCTS): Do not undefine and redefine.
16634 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16635 <kernel-features.h>.
16636 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16637 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16638 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16639 <kernel-features.h>.
16640 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16641 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16643 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16645 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16647 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16650 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16651 constructed tree before returning error.
16652 * posix/bug-regexp36.c: Expand test case.
16654 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16657 * math/libm-test.inc (scalbln_test_date):
16658 Add errno expectations.
16659 * math/w_scalblnf.c: New File.
16660 Add wrapper which checks for setting errno to ERANGE.
16661 Add weak_alias for corresponding scalbln function.
16662 * math/w_scalbln.c: Likewise.
16663 * math/w_scalblnl.c: Likewise.
16664 * math/Makefile (libm-calls): Add w_scalbln.
16665 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16666 Remove weak_alias for corresponding scalbln function.
16667 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16669 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16670 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16671 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16672 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16673 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16674 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16675 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16676 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16677 Remove long_double_symbol for scalblnl function in libm, libc.
16678 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16679 Add wrapper which checks for setting errno to ERANGE.
16680 Add long_double_symbol for scalblnl function in libm, libc.
16681 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16682 Remove long_double_symbol for scalblnl in libm.
16683 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16684 Add wrapper which checks for setting errno to ERANGE.
16685 Add long_double_symbol for scalblnl function in libm.
16686 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16687 Do not use wrapper because of own implementation.
16689 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16691 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16692 3 bytes for __pad1 for x32.
16693 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16695 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16696 H.J. Lu <hongjiu.lu@intel.com>
16698 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16699 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16700 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16701 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16702 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16704 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16707 * posix/regcomp.c (parse_expression): Deallocate partially
16708 constructed tree before returning error.
16709 * posix/Makefile.c (tests): Add bug-regex36.
16710 (generated): Add bug-regex36.mtrace.
16711 (tests-special): Add $(objpfx)bug-regex36-mem.out
16712 (bug-regex36-ENV): New variable.
16713 ($(objpfx)bug-regex36-mem.out): New rule.
16714 * posix/bug-regex36.c: New file.
16716 2014-06-19 Will Newton <will.newton@linaro.org>
16718 * malloc/malloc.c (systrim): If extra is zero then return
16721 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16723 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16725 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16727 * sysdeps/aarch64/strchr.S: New file.
16729 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16732 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16733 from arguments -2 or below.
16734 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16735 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16737 2014-06-18 Andreas Schwab <schwab@suse.de>
16740 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16741 of a bracket expr not to run off the end of the string.
16742 * posix/Makefile (tests): Add tst-fnmatch3.
16743 * posix/tst-fnmatch3.c: New file.
16745 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16747 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16748 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16749 [$(cross-compiling) = no]: Likewise.
16750 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16751 [$(cross-compiling) = no]: Likewise.
16753 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16757 double, adjusted for any remainder from the high double.
16758 * math/libm-test.inc (nearbyint): Add tests.
16761 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16763 * nptl/sysdeps/powerpc/Makefile: Moved ...
16764 * sysdeps/powerpc/nptl/Makefile: ... here.
16765 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16766 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16767 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16768 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16769 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16770 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16771 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16772 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16773 * nptl/sysdeps/powerpc/tls.h: Moved ...
16774 * sysdeps/powerpc/nptl/tls.h: ... here.
16776 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16779 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16780 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16781 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16782 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16783 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16784 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16785 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16786 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16787 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16789 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16791 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16793 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16795 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16798 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16801 2014-06-16 Florian Weimer <fweimer@redhat.com>
16804 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16805 non-executed part of the test.
16807 2014-06-16 Andreas Schwab <schwab@suse.de>
16809 * string/bits/string2.h (strdup, strndup): Update feature guard.
16811 2014-06-14 David S. Miller <davem@davemloft.net>
16813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16815 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16817 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16818 that was previously under [RESET_PID].
16819 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16821 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16822 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16823 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16825 (__libc_vfork): New strong alias.
16826 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16828 2014-06-14 Andi Kleen <ak@linux.intel.com>
16830 * sysdeps/generic/elide.h: New file.
16832 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16834 * Makefile (installed-headers): Adjust path of pthread.h header.
16836 2014-06-13 Roland McGrath <roland@hack.frob.com>
16838 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16839 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16840 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16841 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16843 * nptl/sysdeps/s390/Makefile: Moved ...
16844 * sysdeps/s390/nptl/Makefile: ... here.
16845 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16846 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16847 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16848 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16849 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16850 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16851 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16852 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16853 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16854 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16855 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16856 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16857 * nptl/sysdeps/s390/tls.h: Moved ...
16858 * sysdeps/s390/nptl/tls.h: ... here.
16860 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16861 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16863 2014-06-13 David S. Miller <davem@davemloft.net>
16865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16868 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16872 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16873 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16874 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16875 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16876 Remove RESET_PID cpp guards.
16877 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16878 Remove RESET_PID cpp guards.
16879 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16881 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16883 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16886 2014-06-13 Andi Kleen <ak@linux.intel.com>
16888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16890 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16891 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16892 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16893 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16896 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16897 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16898 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16899 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16901 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16902 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16903 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16904 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16905 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16906 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16907 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16909 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16910 (pthread_rwlock_rdlock): Add elision.
16911 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16912 (pthread_rwlock_wrlock): Add elision.
16913 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16914 (pthread_rwlock_trywrlock): Add elision.
16915 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16916 (pthread_rwlock_tryrdlock): Add elision.
16917 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16918 (pthread_rwlock_tryrdlock): Add elision unlock.
16919 * nptl/sysdeps/pthread/pthread.h:
16920 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16921 (PTHREAD_RWLOCK_INITIALIZER,
16922 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16923 Handle new elision field.
16924 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16925 * sysdeps/arm/nptl/bits/pthreadtypes.h
16926 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16927 * sysdeps/sh/nptl/bits/pthreadtypes.h
16928 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16929 * sysdeps/tile/nptl/bits/pthreadtypes.h
16930 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16931 * sysdeps/a/nptl/bits/pthreadtypes.h
16932 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16933 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16935 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16936 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16937 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16938 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16939 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16941 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16943 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16945 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16947 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16948 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16949 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16950 (elision_init): Set try_xbegin to zero when no RTM.
16951 * sysdeps/x86/nptl/bits/pthreadtypes.h
16952 (pthread_rwlock_t): Change __pad1 to __rwelision.
16953 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16955 2014-06-13 Andi Kleen <ak@linux.intel.com>
16957 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16958 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16959 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16960 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16962 2014-06-13 Meador Inge <meadori@codesourcery.com>
16965 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16966 that the cached result has been set before returning it.
16968 2014-06-12 Roland McGrath <roland@hack.frob.com>
16970 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16971 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16972 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16973 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16975 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16977 * nptl/sysdeps/sparc/Makefile: Moved ...
16978 * sysdeps/sparc/nptl/Makefile: ... here.
16979 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16980 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16981 * nptl/sysdeps/sparc/tls.h: Moved ...
16982 * sysdeps/sparc/nptl/tls.h: ... here.
16983 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16984 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16985 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16986 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16987 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16988 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16989 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16990 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16991 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16992 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16993 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16994 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16995 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16996 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16997 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16998 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16999 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17000 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17002 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17003 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17005 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17008 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17009 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17012 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17014 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17015 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17017 * sysdeps/pthread/posix-timer.h: Include <list.h>.
17018 (struct list_links): Type removed.
17019 (struct thread_node, struct timer_node): Replace struct list_links
17020 with struct list_head.
17021 (list_unlink_ip): Likewise.
17022 * sysdeps/pthread/timer_routines.c
17023 (timer_free_list, thread_free_list, thread_active_list): Likewise.
17024 (list_append, list_insbefore): Likewise.
17025 (list_init): Function removed.
17026 (thread_init, init_module): Use INIT_LIST_HEAD instead.
17027 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17028 * sysdeps/pthread/Makefile: ... here, new file.
17030 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17031 * sysdeps/nptl/Implies: ... here.
17032 * sysdeps/unix/sysv/linux/Implies: Add nptl.
17033 * nptl/sysdeps/pthread/list.h: Moved ...
17034 * include/list.h: ... here.
17035 * nptl/sysdeps/pthread/createthread.c: Moved ...
17036 * nptl/createthread.c: ... here.
17037 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17038 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17039 * nptl/pt-longjmp.c: ... here.
17040 * nptl/sysdeps/pthread/Makefile: Moved ...
17041 * sysdeps/nptl/Makefile: ... here.
17042 * nptl/sysdeps/pthread/Subdirs: Moved ...
17043 * sysdeps/nptl/Subdirs: ... here.
17044 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17045 * sysdeps/nptl/aio_misc.h: ... here.
17046 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17047 * sysdeps/nptl/bits/libc-lock.h: ... here.
17048 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17049 * sysdeps/nptl/bits/libc-lockP.h: ... here.
17050 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17051 * sysdeps/nptl/bits/stdio-lock.h: ... here.
17052 * nptl/sysdeps/pthread/configure: Moved ...
17053 * sysdeps/nptl/configure: ... here.
17054 * nptl/sysdeps/pthread/configure.ac: Moved ...
17055 * sysdeps/nptl/configure.ac: ... here.
17056 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17057 * sysdeps/nptl/gai_misc.h: ... here.
17058 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17059 * sysdeps/nptl/librt-cancellation.c: ... here.
17060 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17061 * sysdeps/nptl/malloc-machine.h: ... here.
17062 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17063 * sysdeps/nptl/pthread-functions.h: ... here.
17064 * nptl/sysdeps/pthread/pthread.h: Moved ...
17065 * sysdeps/nptl/pthread.h: ... here.
17066 * nptl/sysdeps/pthread/setxid.h: Moved ...
17067 * sysdeps/nptl/setxid.h: ... here.
17068 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17069 * sysdeps/nptl/sigfillset.c: ... here.
17070 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17071 * sysdeps/nptl/tcb-offsets.h: ... here.
17072 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17073 * sysdeps/nptl/tst-mqueue8x.c: ... here.
17074 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17075 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17076 * nptl/sysdeps/pthread/allocalim.h: Moved ...
17077 * sysdeps/pthread/allocalim.h: ... here.
17078 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17079 * sysdeps/pthread/bits/sigthread.h: ... here.
17080 * nptl/sysdeps/pthread/flockfile.c: Moved ...
17081 * sysdeps/pthread/flockfile.c: ... here.
17082 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17083 * sysdeps/pthread/ftrylockfile.c: ... here.
17084 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17085 * sysdeps/pthread/funlockfile.c: ... here.
17086 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17087 * sysdeps/pthread/posix-timer.h: ... here.
17088 * nptl/sysdeps/pthread/timer_create.c: Moved ...
17089 * sysdeps/pthread/timer_create.c: ... here.
17090 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17091 * sysdeps/pthread/timer_delete.c: ... here.
17092 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17093 * sysdeps/pthread/timer_getoverr.c: ... here.
17094 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17095 * sysdeps/pthread/timer_gettime.c: ... here.
17096 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17097 * sysdeps/pthread/timer_routines.c: ... here.
17098 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17099 * sysdeps/pthread/timer_settime.c: ... here.
17100 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17101 * sysdeps/pthread/tst-timer.c: ... here.
17102 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17103 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17105 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17106 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17108 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17109 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17110 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17111 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17112 Update #include target.
17113 * nptl/sysdeps/i386/i686/Makefile: Moved ...
17114 * sysdeps/i386/i686/nptl/Makefile: ... here.
17115 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17116 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17117 Update #include target.
17118 * nptl/sysdeps/i386/i686/tls.h: Moved ...
17119 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
17120 * nptl/sysdeps/i386/Makefile: Moved ...
17121 * sysdeps/i386/nptl/Makefile: ... here.
17122 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17123 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17124 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17125 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17126 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17127 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17128 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17129 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17130 * sysdeps/i386/nptl/pthreaddef.h: ... here.
17131 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17132 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17133 * nptl/sysdeps/i386/tls.h: Moved ...
17134 * sysdeps/i386/nptl/tls.h: ... here.
17136 * sysdeps/sh/Makefile [$(subdir) = csu]
17137 (gen-as-const-headers): Add tcb-offsets.sym.
17138 * nptl/sysdeps/sh/Makefile: File removed.
17139 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17140 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17141 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17142 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17143 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17144 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17145 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17146 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17147 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17148 * sysdeps/sh/nptl/pthreaddef.h: ... here.
17149 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17150 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17151 * nptl/sysdeps/sh/tls.h: Moved ...
17152 * sysdeps/sh/nptl/tls.h: ... here.
17153 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17154 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17155 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17156 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17157 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17158 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17159 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17160 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17161 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17162 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17164 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17165 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17166 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17167 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17168 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17170 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17172 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17173 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17174 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17175 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17176 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17177 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17179 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17183 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17184 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17185 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17186 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17187 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17188 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17189 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17190 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17191 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17192 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17193 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17194 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17195 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17196 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17197 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17198 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17199 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17200 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17202 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17204 * posix/spawn_faction_addopen.c: Include string.h.
17206 2014-06-11 Roland McGrath <roland@hack.frob.com>
17208 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17209 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17210 * nptl/sysdeps/x86_64/Makefile: Moved ...
17211 * sysdeps/x86_64/nptl/Makefile: ... here.
17212 * nptl/sysdeps/x86_64/configure: Moved ...
17213 * sysdeps/x86_64/nptl/configure: ... here.
17214 * nptl/sysdeps/x86_64/configure.ac: Moved ...
17215 * sysdeps/x86_64/nptl/configure.ac: ... here.
17216 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17217 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17218 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17219 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17220 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17221 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17222 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17223 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17224 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17225 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17226 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17227 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17228 * nptl/sysdeps/x86_64/tls.h: Moved ...
17229 * sysdeps/x86_64/nptl/tls.h: ... here.
17230 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17231 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17232 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17233 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17235 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17237 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241 2014-06-11 Joseph Myers <joseph@codesourcery.com>
17243 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17245 [POSIX] (off_t): Likewise.
17246 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17247 [POSIX] (S_ISBLK): Require macro.
17248 [POSIX] (S_ISCHR): Likewise.
17249 [POSIX] (S_ISDIR): Likewise.
17250 [POSIX] (S_ISFIFO): Likewise.
17251 [POSIX] (S_ISREG): Likewise.
17252 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17254 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17256 [POSIX] (time_t): Likewise.
17257 [POSIX] (timer_t): Likewise.
17259 2014-06-11 Florian Weimer <fweimer@redhat.com>
17262 * posix/spawn_int.h (struct __spawn_action): Make the path string
17263 non-const to support deallocation.
17264 * posix/spawn_faction_addopen.c
17265 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17266 * posix/spawn_faction_destroy.c
17267 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
17268 path in all spawn_do_open actions.
17269 * posix/tst-spawn.c (do_test): Exercise the copy operation in
17270 posix_spawn_file_actions_addopen.
17272 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
17274 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17275 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17276 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17277 conditional code always true.
17278 (__libc_vfork): New alias.
17280 2014-06-11 Roland McGrath <roland@hack.frob.com>
17282 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17283 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17285 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17287 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17288 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17290 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17291 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17293 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17294 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17296 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17298 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17299 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17300 multiarch strcmp for PPC64.
17301 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17302 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17304 multiarch optimizations.
17305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17306 (__libc_ifunc_impl_list): Likewise.
17308 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17310 * benchtests/scripts/validate_benchout.py: New script.
17311 * benchtests/Makefile (bench-func): Call it.
17312 * benchtests/scripts/benchout.schema.json: New file.
17314 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
17316 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17317 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17318 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17319 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17320 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17321 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17322 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17323 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17324 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17325 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17326 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17327 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17328 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17329 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17330 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17331 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17436 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17438 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17441 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17443 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17444 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17445 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17446 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17448 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17450 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17452 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17454 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17455 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17457 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17460 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17462 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17465 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17466 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17469 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17470 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17471 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17473 2014-06-10 Wilco <wdijkstr@arm.com>
17475 * math/test-fenv-return.c: New file.
17476 * math/Makefile: Add new test test-fenv-return.
17478 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17481 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17482 when x - 1 is zero.
17483 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17484 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17485 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17486 0.0L for an argument of 1.0L.
17487 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17489 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17490 value when x - 1 is zero.
17491 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17492 * sysdeps/i386/fpu/libm-test-ulps: Update.
17493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17495 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17498 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17500 2014-06-09 Roland McGrath <roland@hack.frob.com>
17502 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17503 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17505 2014-06-09 Roland McGrath <roland@hack.frob.com>
17507 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17508 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17510 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17511 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17513 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17514 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17516 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17517 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17519 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17520 if not already defined.
17521 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17522 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17523 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17524 (TLS_INIT_TP): Use it.
17525 (TLS_DEFINE_INIT_TP): New macro.
17526 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17528 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17530 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17532 [POSIX] (IXANY): Likewise.
17533 [POSIX] (OLCUC): Likewise.
17534 [POSIX || POSIX2008] (CBAUD): Do not allow.
17535 [POSIX || POSIX2008] (DEFECHO): Likewise.
17536 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17537 [POSIX || POSIX2008] (ECHOKE): Likewise.
17538 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17539 [POSIX || POSIX2008] (EXTA): Likewise.
17540 [POSIX || POSIX2008] (EXTB): Likewise.
17541 [POSIX || POSIX2008] (FLUSHO): Likewise.
17542 [POSIX || POSIX2008] (LOBLK): Likewise.
17543 [POSIX || POSIX2008] (PENDIN): Likewise.
17544 [POSIX || POSIX2008] (SWTCH): Likewise.
17545 [POSIX || POSIX2008] (VDISCARD): Likewise.
17546 [POSIX || POSIX2008] (VDSUSP): Likewise.
17547 [POSIX || POSIX2008] (VLNEXT): Likewise.
17548 [POSIX || POSIX2008] (VREPRINT): Likewise.
17549 [POSIX || POSIX2008] (VSTATUS): Likewise.
17550 [POSIX || POSIX2008] (VWERASE): Likewise.
17551 (B*): Change to B[0123456789]*.
17552 * conform/data/time.h-data [POSIX || UNIX98]
17553 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17554 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17555 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17556 [POSIX] (tm_*): Do not allow.
17558 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17560 * Makefile (install): Don't set LANGUAGE.
17561 * Makefile.in (install): Likewise.
17562 * assert/Makefile (test-assert-ENV): Remove variable.
17563 (test-assert-perr-ENV): Likewise.
17564 * elf/Makefile (neededtest4-ENV): Likewise.
17565 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17566 [$(cross-compiling) = no]: Don't set LANGUAGE.
17567 * io/ftwtest-sh (LANG): Remove variable.
17568 * libio/Makefile (tst-widetext-ENV): Likewise.
17569 * manual/install.texi (Running make install): Don't refer to
17570 environment settings for make install.
17571 * INSTALL: Regenerated.
17572 * nptl/tst-tls6.sh: Don't set LANG.
17573 * posix/globtest.sh (LANG): Remove variable.
17574 * string/Makefile (tester-ENV): Likewise.
17575 (inl-tester-ENV): Likewise.
17576 (noinl-tester-ENV): Likewise.
17577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17578 [$(cross-compiling) = no]: Don't set LANGUAGE.
17579 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17580 without explicit environment settings.
17582 2014-06-06 Roland McGrath <roland@hack.frob.com>
17584 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17585 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17586 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17587 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17589 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17591 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17592 other files in the crypt directory.
17593 * crypt/crypt.c: Remove duplicate includes.
17594 * crypt/crypt-entry.c: Likewise.
17595 * crypt/crypt_util.c: Likewise.
17597 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17599 * Makeconfig (run-program-env): New variable.
17600 (run-program-prefix-before-env): Likewise.
17601 (run-program-prefix-after-env): Likewise.
17602 (run-program-prefix): Define in terms of new variables.
17603 (built-program-cmd-before-env): New variable.
17604 (built-program-cmd-after-env): Likewise.
17605 (built-program-cmd): Define in terms of new variables.
17606 (test-program-prefix-before-env): New variable.
17607 (test-program-prefix-after-env): Likewise.
17608 (test-program-prefix): Define in terms of new variables.
17609 (test-program-cmd-before-env): New variable.
17610 (test-program-cmd-after-env): Likewise.
17611 (test-program-cmd): Define in terms of new variables.
17612 * Rules (make-test-out): Use $(run-program-env).
17613 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17614 (help): Do not mention environment variables. Mention
17615 --timeoutfactor option.
17616 (timeoutfactor): New variable.
17617 (blacklist_exports): Remove function.
17618 (exports): Remove variable.
17619 (command): Do not include ${exports}.
17620 * manual/install.texi (Configuring and compiling): Do not mention
17621 test wrappers preserving environment variables. Mention that last
17622 assignment to a variable must take precedence.
17623 * INSTALL: Regenerated.
17624 * benchtests/Makefile (run-bench): Use $(run-program-env).
17625 * catgets/Makefile ($(objpfx)test1.cat): Use
17626 $(built-program-cmd-before-env), $(run-program-env) and
17627 $(built-program-cmd-after-env).
17628 ($(objpfx)test2.cat): Do not specify environment variables
17630 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17631 $(run-program-env) and $(built-program-cmd-after-env).
17632 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17633 $(run-program-env) and $(test-program-cmd-after-env).
17634 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17636 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17637 run_program_env and test_program_cmd_after_env arguments.
17638 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17639 * elf/tst-pathopt.sh: Use run_program_env argument.
17640 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17641 $(test-wrapper-env) and $(run-program-env).
17642 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17643 run_program_env arguments.
17644 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17645 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17646 $(test-program-prefix-before-env), $(run-program-env) and
17647 $(test-program-prefix-after-env).
17648 ($(objpfx)tst-gettext2.out): Likewise.
17649 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17650 run_program_env and test_program_prefix_after_env arguments.
17651 * intl/tst-gettext2.sh: Likewise.
17652 * intl/tst-gettext4.sh: Do not set environment variables
17654 * intl/tst-gettext6.sh: Likewise.
17655 * intl/tst-translit.sh: Likewise.
17656 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17657 $(test-program-prefix-before-env), $(run-program-env) and
17658 $(test-program-prefix-after-env).
17659 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17660 run_program_env and test_program_prefix_after_env arguments.
17661 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17662 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17663 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17664 explicitly with each use of ${test_wrapper_env}.
17665 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17666 $(test-program-prefix-before-env), $(run-program-env) and
17667 $(test-program-prefix-after-env).
17668 * posix/tst-getconf.sh: Do not set environment variables
17670 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17671 run_program_env and test_program_prefix_after_env arguments.
17672 * stdio-common/tst-printf.sh: Do not set environment variables
17674 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17675 $(test-program-prefix-before-env), $(run-program-env) and
17676 $(test-program-prefix-after-env).
17677 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17678 run_program_env and test_program_prefix_after_env arguments.
17679 Split $test calls into $test_pre and $test.
17680 * timezone/Makefile (build-testdata): Use
17681 $(built-program-cmd-before-env), $(run-program-env) and
17682 $(built-program-cmd-after-env).
17684 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17686 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17687 strlen for non SHARED builds.
17689 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17691 * nptl/allocatestack.c (check_list): Inlined function...
17692 (__reclaim_stacks): ... here.
17694 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17697 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17700 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17702 * Rules (make-test-out): Include
17703 LOCPATH=$(common-objpfx)localedata in default environment.
17704 * debug/Makefile (tst-chk1-ENV): Remove variable.
17705 (tst-chk2-ENV): Likewise.
17706 (tst-chk3-ENV): Likewise.
17707 (tst-chk4-ENV): Likewise.
17708 (tst-chk5-ENV): Likewise.
17709 (tst-chk6-ENV): Likewise.
17710 (tst-lfschk1-ENV): Likewise.
17711 (tst-lfschk2-ENV): Likewise.
17712 (tst-lfschk3-ENV): Likewise.
17713 (tst-lfschk4-ENV): Likewise.
17714 (tst-lfschk5-ENV): Likewise.
17715 (tst-lfschk6-ENV): Likewise.
17716 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17717 (tst-iconv7-ENV): Likewise.
17718 * intl/Makefile (LOCPATH-ENV): Likewise.
17719 (tst-codeset-ENV): Likewise.
17720 (tst-gettext3-ENV): Likewise.
17721 (tst-gettext5-ENV): Likewise.
17722 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17723 (tst-fopenloc-ENV): Likewise.
17724 (tst-fgetws-ENV): Remove variable.
17725 (tst-ungetwc1-ENV): Likewise.
17726 (tst-ungetwc2-ENV): Likewise.
17727 (bug-ungetwc2-ENV): Likewise.
17728 (tst-swscanf-ENV): Likewise.
17729 (bug-ftell-ENV): Likewise.
17730 (tst-fgetwc-ENV): Likewise.
17731 (tst-fseek-ENV): Likewise.
17732 (tst-ftell-partial-wide-ENV): Likewise.
17733 (tst-ftell-active-handler-ENV): Likewise.
17734 (tst-ftell-append-ENV): Likewise.
17735 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17736 (tst-regexloc-ENV): Likewise.
17737 (bug-regex1-ENV): Likewise.
17738 (tst-regex-ENV): Likewise.
17739 (tst-regex2-ENV): Likewise.
17740 (bug-regex5-ENV): Likewise.
17741 (bug-regex6-ENV): Likewise.
17742 (bug-regex17-ENV): Likewise.
17743 (bug-regex18-ENV): Likewise.
17744 (bug-regex19-ENV): Likewise.
17745 (bug-regex20-ENV): Likewise.
17746 (bug-regex22-ENV): Likewise.
17747 (bug-regex23-ENV): Likewise.
17748 (bug-regex25-ENV): Likewise.
17749 (bug-regex26-ENV): Likewise.
17750 (bug-regex30-ENV): Likewise.
17751 (bug-regex32-ENV): Likewise.
17752 (bug-regex33-ENV): Likewise.
17753 (bug-regex34-ENV): Likewise.
17754 (bug-regex35-ENV): Likewise.
17755 (tst-rxspencer-ENV): Likewise.
17756 (tst-rxspencer-no-utf8-ENV): Likewise.
17757 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17758 (tst-sscanf-ENV): Likewise.
17759 (tst-swprintf-ENV): Likewise.
17760 (tst-swscanf-ENV): Likewise.
17761 (test-vfprintf-ENV): Likewise.
17762 (scanf13-ENV): Likewise.
17763 (bug14-ENV): Likewise.
17764 (tst-grouping-ENV): Likewise.
17765 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17766 (tst-strtod3-ENV): Likewise.
17767 (tst-strtod4-ENV): Likewise.
17768 (tst-strtod5-ENV): Likewise.
17769 (testmb2-ENV): Likewise./
17770 * string/Makefile (tst-strxfrm-ENV): Likewise.
17771 (tst-strxfrm2-ENV): Likewise.
17772 (bug-strcoll1-ENV): Likewise.
17773 (test-strcasecmp-ENV): Likewise.
17774 (test-strncasecmp-ENV): Likewise.
17775 * time/Makefile (tst-strptime-ENV): Likewise.
17776 (tst-ftime_l-ENV): Likewise.
17777 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17778 (tst-mbrtowc-ENV): Likewise.
17779 (tst-wcrtomb-ENV): Likewise.
17780 (tst-mbrtowc2-ENV): Likewise.
17781 (tst-c16c32-1-ENV): Likewise.
17782 (tst-mbsnrtowcs-ENV): Likewise.
17784 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17786 * manual/resource.texi (How to get information about the memory
17787 subsystem?): Fix typo.
17788 Reported by Peon de la Parra Ivan <peon@keba.com>
17790 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17793 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17794 (pthread_spin_lock): Branch out of spin loop to proper location.
17795 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17796 (pthread_spin_lock): Likewise.
17798 * nptl/tst-spin4.c: New test.
17799 * nptl/Makefile (tests): Add tst-spin4.
17801 2014-06-03 Andreas Schwab <schwab@suse.de>
17804 * resolv/res_send.c (send_dg): Reload file descriptor after
17807 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17809 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17811 2014-06-03 Richard Henderson <rth@redhat.com>
17813 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17814 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17815 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17816 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17817 in the SAVE_PID block.
17818 (__libc_vfork): New alias.
17819 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17821 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17822 child in registers, not on the stack. Remove RESET_PID conditionals.
17823 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17825 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17827 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17829 2014-06-03 Wilco <wdijkstr@arm.com>
17831 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17832 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17833 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17834 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17835 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17838 2014-06-03 Wilco <wdijkstr@arm.com>
17840 * sysdeps/aarch64/fpu/math_private.h
17841 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17842 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17843 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17844 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17847 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17849 * crypt/crypt-private.h: Include ufc-crypt.h.
17850 (__b64_from_24bit): Declare extern.
17851 * crypt/crypt_util.c(__b64_from_24bit): New function.
17852 (b64t): New static const variable.
17853 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17854 (b64t): Remove variable.
17855 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17856 * crypt/sha256-crypt.c: Include crypt-private.h.
17857 (b64t): Remove variable.
17858 (__sha256_crypt_r): Remove b64_from_24bit and replace
17859 with __b64_from_24bit.
17860 * crypt/sha512-crypt.c: Likewise.
17862 2014-06-02 Roland McGrath <roland@hack.frob.com>
17864 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17865 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17866 Label the code __libc_vfork rather than __vfork.
17867 [!NOT_IN_libc] (vfork): Define as weak alias.
17868 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17869 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17870 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17872 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17874 * malloc/malloc.c (malloc_info): Fix format specifier for
17877 2014-06-02 Wilco <wdijkstr@arm.com>
17879 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17882 2014-06-02 Wilco <wdijkstr@arm.com>
17885 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17886 Rewrite to reduce FPCR/FPSR accesses.
17888 2014-06-01 David S. Miller <davem@davemloft.net>
17890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17892 2014-05-31 David S. Miller <davem@davemloft.net>
17894 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17895 to occur in round to nearest mode when |x| >= 2.0
17897 2014-05-30 Richard Henderson <rth@twiddle.net>
17899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17900 (PSEUDO_RET_NOERRNO): Remove.
17901 (ret): Don't redefine.
17902 (ret_NOERRNO): Define in terms of ret.
17903 (ret_ERRVAL): Likewise.
17905 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17906 use of PSEUDO_RET; perform the error check directly.
17908 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17910 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17913 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17915 * malloc/malloc (malloc_info): Fix formatting.
17917 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17918 Roland McGrath <roland@hack.frob.com>
17920 * malloc/malloc (malloc_info): Also print mmapped statistics.
17922 2014-05-30 Roland McGrath <roland@hack.frob.com>
17924 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17925 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17927 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17929 * malloc/malloc.c (malloc_info): Inline mi_arena.
17931 2014-05-29 Richard Henderson <rth@twiddle.net>
17933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17934 Remove comma before expanding ASM_ARGS_##nr.
17935 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17936 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17938 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17939 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17940 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17941 (ASM_ARGS_1): Add leading comma.
17943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17944 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17945 to __errno_location.
17946 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17947 Remove the expected plt for __errno_location.
17949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17950 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17954 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17955 it and break it down.
17956 (DOCARGS_0, DOCARGS_1): Do nothing.
17957 (DOCARGS_2): Update to store into the new stack frame.
17958 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17959 (UNDOCARGS_1): Update to restore from the new stack frame.
17960 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17961 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17964 (SINGLE_THREAD_P): New parameter for result regno.
17965 (PSEUDO): Update to match; use cbz instead of beq.
17967 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17968 Use ENTRY to define the _nocancel entry point. Share the syscall
17969 and syscall error check paths with the cancel path.
17972 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17973 whitespace; tabs before and after asm mnemonics.
17975 2014-05-29 Eric Wong <normalperson@yhbt.net>
17978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17979 Call fstat64 or stat64 internally, depending on arguments passed.
17980 Replace stat buffer argument with file descriptor argument.
17981 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17982 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17983 Pass fd to __internal_statvfs instead of calling fstat64.
17984 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17985 Pass fd to __internal_statvfs64 instead of calling fstat64.
17986 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17987 Pass -1 to __internal_statvfs instead of calling stat64.
17988 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17989 Pass -1 to __internal_statvfs64 instead of calling stat64.
17991 2014-05-28 Roland McGrath <roland@hack.frob.com>
17993 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17994 that was previously under [RESET_PID].
17995 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17997 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17998 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18000 2014-05-27 Roland McGrath <roland@hack.frob.com>
18002 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18004 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18005 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18007 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
18009 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18011 2014-05-27 Andreas Schwab <schwab@suse.de>
18013 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18015 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18016 * elf/rtld.c (init_tls, dl_main): Likewise.
18017 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18018 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18019 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18020 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18021 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18022 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18023 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18024 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18025 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18026 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18027 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18028 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18029 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18030 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18031 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18032 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18033 * sysdeps/generic/tls.h: Update description.
18035 2014-05-27 Will Newton <will.newton@linaro.org>
18038 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18039 and restore r2 rather than just restoring.
18041 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18044 * libio/tst-ftell-append.c: New test case.
18045 * libio/Makefile (tests): Add test case.
18046 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18048 * libio/wfileops.c (do_ftell_wide): Likewise.
18050 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18054 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18058 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18059 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18061 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18062 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18064 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18070 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18071 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18072 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18073 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18074 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18076 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18077 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18079 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18081 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18083 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18084 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18085 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18087 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18088 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18089 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18090 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18105 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18108 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18113 conditional [RESET_PID].
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18117 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18122 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18123 (__libc_vfork): New strong alias.
18124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18131 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18132 (__libc_vfork): New strong alias.
18133 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18138 2014-05-26 Carlos O'Donell <carlos@redhat.com>
18140 * malloc/malloc.c (mi_arena): New function.
18141 (malloc_info): Remove nested function mi_arena. Call non-nosted
18144 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18146 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18148 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18149 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18150 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18151 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18152 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18153 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18154 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18156 2014-05-26 Andreas Schwab <schwab@suse.de>
18159 * locale/programs/repertoire.c (repertoire_read): Add slash
18160 between I18NPATH element and file name.
18161 * locale/programs/locfile.c (locfile_read): Likewise.
18163 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18165 * nptl/pthread_mutexattr_settype.c
18166 (__pthread_mutexattr_settype):
18167 Disable lock elision for PTHREAD_MUTEX_NORMAL.
18169 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
18171 * nptl/tst-mutex5 (do_test):
18172 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18174 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18176 * benchtests/README: Document 'init' directive.
18177 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18179 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18180 (parse_file): Recognize 'init' directive.
18182 2014-05-26 Kyle McMartin <kyle@redhat.com>
18185 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18186 alignment of struct pthread.
18188 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18191 * nscd/netgroupcache.c (addgetnetgrentX): Look for
18192 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18193 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18194 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18196 2014-05-25 Richard Henderson <rth@twiddle.net>
18198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18199 (SINGLE_THREAD_P_PIC): Remove.
18200 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18201 (SINGLE_THREAD_P_PIC): Remove.
18203 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18204 branch to syscall error ...
18205 (PSEUDO): ... here.
18206 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18207 from __local_syscall_error to .Lsyscall_error.
18208 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18209 (SYSCALL_ERROR): Update label name.
18211 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18212 Do not use DOARGS/UNDOARGS.
18213 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18214 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18215 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18216 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18217 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18222 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18223 define if !NOT_IN_libc.
18224 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18225 define with non-default symbol versions.
18227 2014-05-23 Richard Henderson <rth@twiddle.net>
18229 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18230 (vfork, __vfork): Define via compat_symbol.
18232 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18233 [!HAVE_IFUNC] (vfork_compat): Remove.
18234 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18236 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18239 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18240 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18243 2014-05-23 Richard Henderson <rth@twiddle.net>
18245 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18246 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18247 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18248 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18250 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18251 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18252 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18253 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18254 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18255 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18256 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18257 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18258 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18259 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18260 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18261 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18262 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18263 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18264 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18265 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18266 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18267 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18268 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18269 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18270 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18271 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18272 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18273 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18274 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18275 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18278 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18279 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18281 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18282 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18283 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18285 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18287 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18288 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18289 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18290 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18291 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18292 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18293 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18294 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18295 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18296 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18297 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18298 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18299 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18300 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18301 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18302 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18303 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18304 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18305 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18307 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18308 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18309 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
18310 before exiting on error.
18311 (__libc_vfork): New strong alias.
18312 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18313 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18315 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18316 that was previously under [RESET_PID].
18317 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18319 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18321 2014-05-23 Joseph Myers <joseph@codesourcery.com>
18324 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18325 value when x - 1 is zero.
18326 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18327 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18328 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18329 0.0L for an argument of 1.0L.
18330 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18332 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18333 value when x - 1 is zero.
18334 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18335 * sysdeps/i386/fpu/libm-test-ulps: Update.
18336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
18340 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18341 alphasort and versionsort.
18343 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18345 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18347 [copysignf]: Likewise.
18349 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18351 * crypt/md5-crypt.c: Fix formatting.
18353 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
18355 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18356 (b64_from_24bit): New function.
18358 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18360 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18361 libc_hidden_builtin_def to ifunc.
18362 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18363 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18365 2014-05-21 Roland McGrath <roland@hack.frob.com>
18367 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18368 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18370 2014-05-21 Joseph Myers <joseph@codesourcery.com>
18372 * nscd/Depend (linuxthreads): Remove.
18374 * resolv/Depend (linuxthreads): Remove.
18375 * rt/Depend (linuxthreads): Remove.
18377 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18378 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18379 $(common-objpfx)elf/.
18380 (link-libc-before-gnulib): Likewise.
18381 (elfobjdir): Remove variable.
18382 * Makefile (install): Use $(elf-objpfx) instead of
18383 $(common-objpfx)elf/.
18384 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18386 (link-libc-deps): Likewise.
18387 ($(common-objpfx)libc.so): Likewise.
18388 ($(common-objpfx)linkobj/libc.so): Likewise.
18389 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18390 instead of $(common-objpfx)elf/.
18391 (symbolic-link-list): Likewise.
18392 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18393 [$(cross-compiling) = no]: Likewise.
18394 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18396 (static-gnulib-arch): Likewise.
18397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18398 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18399 $(common-objpfx)elf/.
18401 2014-05-21 Richard Henderson <rth@redhat.com>
18403 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18404 (SINGLE_THREAD_P): Use the correct width load. Fold
18405 into the ldr offset.
18407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18408 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18410 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18412 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18413 (libgcc_s_resume): Use __attribute_used__.
18414 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18417 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18419 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18420 optimization when used with float constants.
18422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18424 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18427 * locale/nl_langinfo_l.c: Make direct reference to every
18428 _nl_current_CATEGORY symbol.
18429 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18430 (tests-static): Add tst-langinfo-static.
18431 (tests-special): Add tst-langinfo-static.out.
18432 ($(objpfx)tst-langinfo.out): Redirect output.
18433 ($(objpfx)tst-langinfo-static.out): New.
18434 * localedata/tst-langinfo.sh: Send output to stdout.
18435 * localedata/tst-langinfo-static.c: New file.
18438 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18439 when the shift amount is modulo the limb size.
18441 2014-05-20 Richard Henderson <rth@redhat.com>
18444 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18445 Change type of sa_flags from unsigned int to int.
18448 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18450 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18452 2014-05-20 Will Newton <will.newton@linaro.org>
18454 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18455 Test the return value of the system call in the nocancel case.
18457 2014-05-20 Will Newton <will.newton@linaro.org>
18458 Yvan Roux <yvan.roux@linaro.org>
18460 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18461 #include of asm/ptrace.h.
18462 (PTRACE_GET_THREAD_AREA): Remove #undef.
18463 (PTRACE_GETHBPREGS): Likewise.
18464 (PTRACE_SETHBPREGS): Likewise.
18465 (struct user_regs_struct): New structure.
18466 (struct user_fpsimd_struct): New structure.
18467 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18468 #include of asm/ptrace.h and second #include of sys/user.h.
18469 (PTRACE_GET_THREAD_AREA): Remove #undef.
18470 (PTRACE_GETHBPREGS): Likewise.
18471 (PTRACE_SETHBPREGS): Likewise.
18472 (ELF_NGREG): Use new struct user_regs_struct.
18473 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18475 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18477 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18478 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18480 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18484 membar to avoid block loads/stores to overlap previous stores.
18486 2014-05-17 Richard Henderson <rth@redhat.com>
18488 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18489 Create the __##syscall_name##_nocancel entry point.
18490 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18491 Remove; let the sysdep-cancel.h code create it.
18493 2014-05-17 David S. Miller <davem@davemloft.net>
18495 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18496 Protect with __USE_GNU.
18497 (TIOCSET_TEMPT): Likewise.
18498 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18499 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18500 these are already provided in bits/ioctl-types.h
18502 2014-05-16 Roland McGrath <roland@hack.frob.com>
18504 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18505 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18507 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18508 Use wait4 regardless of [__NR_waitpid].
18510 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18513 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18514 (_FP_NANSIGN_Q): Set the quiet bit.
18516 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18518 * benchtests/Makefile
18519 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18520 not $(common-objpfx)math/libm.so.
18521 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18522 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18523 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18524 $(common-objpfx)dlfcn/libdl.so.
18525 ($(objpfx)tst-audit8): Depend on $(libm), not
18526 $(common-objpfx)math/libm.so.
18527 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18528 not $(common-objpfx)dlfcn/libdl.so.
18530 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18531 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18532 [$(build-shared) = yes].
18533 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18534 $(common-objpfx)nptl/libpthread.so.
18535 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18536 $(common-objpfx)math/libm.so$(libm.so-version) or
18537 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18538 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18539 $(common-objpfx)dlfcn/libdl.so.
18540 * setjmp/Makefile (link-libm): Remove variable.
18541 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18542 * stdio-common/Makefile (link-libm): Remove variable.
18543 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18544 * stdlib/Makefile (link-libm): Remove variable.
18545 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18546 ($(objpfx)tst-strtod-round): Likewise.
18547 ($(objpfx)tst-tininess): Likewise.
18548 ($(objpfx)tst-strtod-underflow): Likewise.
18549 ($(objpfx)tst-strtod6): Likewise.
18550 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18551 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18552 $(common-objpfx)dlfcn/libdl.so.
18554 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18556 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18557 BSD terminal modes definitions.
18559 2014-05-16 Roland McGrath <roland@hack.frob.com>
18561 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18562 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18564 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18565 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18566 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18567 Don't do #include_next.
18568 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18569 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18570 Don't do #include_next.
18571 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18572 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18573 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18574 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18576 2014-05-16 Allan McRae <allan@archlinux.org>
18578 * po/sv.po: Update Swedish translation from translation project.
18580 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18583 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18586 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18587 errno if the TIOCGPTN ioctl fails with an error different than
18589 * login/tst-ptsname.c: New file.
18590 * login/Makefile (tests): Add tst-ptsname.
18593 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18596 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18600 herrno to return EAI_AGAIN.
18602 2014-05-14 Roland McGrath <roland@hack.frob.com>
18604 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18605 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18606 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18607 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18608 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18609 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18610 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18611 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18613 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18614 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18615 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18617 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18618 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18619 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18620 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18621 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18622 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18623 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18625 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18626 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18627 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18628 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18629 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18630 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18631 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18632 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18633 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18635 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18637 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18640 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18642 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18644 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18646 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18652 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18656 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18658 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18660 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18664 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18666 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18669 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18671 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18673 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18675 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18677 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18679 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18681 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18683 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18685 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18687 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18690 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18692 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18694 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18695 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18696 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18697 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18698 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18699 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18700 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18701 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18702 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18703 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18704 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18705 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18706 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18707 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18708 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18709 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18710 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18711 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18712 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18713 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18714 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18715 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18716 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18717 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18718 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18719 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18720 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18721 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18722 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18723 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18724 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18726 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18727 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18729 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18730 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18731 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18732 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18733 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18734 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18736 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18737 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18739 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18740 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18742 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18743 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18745 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18746 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18747 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18750 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18751 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18752 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18753 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18754 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18755 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18756 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18759 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18764 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18765 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18766 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18767 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18770 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18772 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18774 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18775 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18776 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18777 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18778 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18779 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18781 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18782 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18784 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18785 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18787 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18788 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18790 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18791 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18792 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18795 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18796 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18797 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18798 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18799 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18800 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18801 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18804 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18809 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18810 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18811 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18812 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18815 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18817 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18819 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18820 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18821 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18822 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18823 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18824 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18825 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18826 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18827 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18828 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18830 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18831 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18833 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18834 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18836 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18837 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18840 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18841 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18842 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18843 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18844 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18846 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18847 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18848 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18849 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18851 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18852 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18853 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18855 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18856 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18858 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18860 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18861 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18862 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18863 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18864 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18866 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18871 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18872 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18873 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18874 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18875 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18876 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18877 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18878 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18879 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18880 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18882 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18883 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18885 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18886 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18888 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18889 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18890 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18891 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18892 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18893 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18894 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18895 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18896 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18897 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18898 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18899 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18900 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18901 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18902 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18904 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18905 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18907 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18909 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18910 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18912 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18914 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18916 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18918 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18924 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18925 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18926 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18928 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18930 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18931 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18932 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18933 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18934 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18935 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18936 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18937 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18938 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18939 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18940 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18942 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18943 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18944 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18945 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18946 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18948 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18949 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18950 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18951 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18952 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18953 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18954 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18955 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18956 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18957 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18960 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18962 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18963 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18964 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18965 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18966 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18967 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18968 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18969 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18970 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18971 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18972 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18973 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18974 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18975 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18976 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18978 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18980 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18982 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18984 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18998 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19001 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19002 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19003 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19004 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19005 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19007 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19008 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19009 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
19010 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
19012 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19013 that was previously under [RESET_PID].
19014 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19015 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19016 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19018 * sysdeps/i386/nptl/Implies: New file.
19019 * sysdeps/x86_64/nptl/Implies: New file.
19020 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19021 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19022 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19023 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19025 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19026 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19027 (__libc_vfork): New strong alias.
19028 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19029 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19031 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19032 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19033 (__libc_vfork): New strong alias.
19034 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19035 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19037 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19038 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19039 (__libc_vfork): New strong alias.
19040 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19041 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19042 * nptl/pt-vfork.c: New file.
19043 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19044 (libpthread: GLIBC_2.20): New version set (empty).
19046 2014-05-14 Will Newton <will.newton@linaro.org>
19048 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19051 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19054 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19055 arguments with exponent 65 or above.
19056 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19057 arguments 0x1p113L or above.
19058 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19059 to arguments 0x1p107L or above.
19060 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19061 positive arguments with exponent 65 or above.
19062 * math/auto-libm-test-in: Add more tests of log1p.
19063 * math/auto-libm-test-out: Regenerated.
19066 * math/s_cacos.c (__cacos): Ensure zero real part of result from
19067 non-finite arguments is +0.
19068 * math/s_cacosf.c (__cacosf): Likewise.
19069 * math/s_cacosl.c (__cacosl): Likewise.
19070 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19075 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19077 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19078 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19079 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19080 for explicit high bit of mantissa when testing for argument equal
19082 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19083 * sysdeps/i386/fpu/libm-test-ulps: Update.
19084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19087 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19088 (__erf): Scale by 16 instead of 8 in potentially underflowing
19089 case. Ensure exception if result actually underflows.
19090 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19091 (__erff): Scale by 16 instead of 8 in potentially underflowing
19092 case. Ensure exception if result actually underflows.
19093 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19094 (efx8): Remove variable.
19095 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19096 case. Ensure exception if result actually underflows.
19097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19098 (efx8): Remove variable.
19099 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19100 case. Ensure exception if result actually underflows.
19101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19102 (efx8): Remove variable.
19103 (__erfl): Scale by 16 instead of 8 in potentially underflowing
19104 case. Ensure exception if result actually underflows.
19105 * math/auto-libm-test-in: Add more tests of erf.
19106 * math/auto-libm-test-out: Regenerated.
19108 2014-05-14 Andreas Schwab <schwab@suse.de>
19110 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19111 Remove code conditionalized on USE___THREAD.
19113 * config.h.in (HAVE_PT_CHOWN): Define as 0.
19114 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19117 2014-05-14 Joseph Myers <joseph@codesourcery.com>
19119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19120 Define unconditionally.
19121 (__ASSUME_O_CLOEXEC): Likewise.
19122 (__ASSUME_SOCK_CLOEXEC): Likewise.
19123 (__ASSUME_IN_NONBLOCK): Likewise.
19124 (__ASSUME_PIPE2): Likewise.
19125 (__ASSUME_EVENTFD2): Likewise.
19126 (__ASSUME_SIGNALFD4): Likewise.
19127 (__ASSUME_DUP3): Likewise.
19128 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19129 (__ASSUME_DUP3): Do not define.
19130 (__ASSUME_EVENTFD2): Likewise.
19131 (__ASSUME_IN_NONBLOCK): Likewise.
19132 (__ASSUME_O_CLOEXEC): Likewise.
19133 (__ASSUME_PIPE2): Likewise.
19134 (__ASSUME_SIGNALFD4): Likewise.
19135 (__ASSUME_SOCK_CLOEXEC): Likewise.
19136 (__ASSUME_UTIMES): Undefine.
19137 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19138 (__ASSUME_UTIMES): Do not define.
19139 (__ASSUME_O_CLOEXEC): Likewise.
19140 (__ASSUME_SOCK_CLOEXEC): Likewise.
19141 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19142 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19144 (__ASSUME_PIPE2): Likewise.
19145 (__ASSUME_EVENTFD2): Likewise.
19146 (__ASSUME_SIGNALFD4): Likewise.
19147 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19148 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19150 (__ASSUME_EVENTFD2): Likewise.
19151 (__ASSUME_SIGNALFD4): Likewise.
19152 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19153 (__ASSUME_32BITUIDS): Likewise.
19154 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19155 (__ASSUME_IPC64): Likewise.
19156 (__ASSUME_ST_INO_64_BIT): Likewise.
19157 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19158 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19159 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19160 (__ASSUME_UTIMES): Do not define.
19161 (__ASSUME_PSELECT): Likewise.
19162 (__ASSUME_PPOLL): Likewise.
19163 (__ASSUME_O_CLOEXEC): Likewise.
19164 (__ASSUME_SOCK_CLOEXEC): Likewise.
19165 (__ASSUME_IN_NONBLOCK): Likewise.
19166 (__ASSUME_PIPE2): Likewise.
19167 (__ASSUME_EVENTFD2): Likewise.
19168 (__ASSUME_SIGNALFD4): Likewise.
19169 (__ASSUME_DUP3): Likewise.
19170 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19171 (__ASSUME_UTIMES): Likewise.
19172 (__ASSUME_O_CLOEXEC): Likewise.
19173 (__ASSUME_SOCK_CLOEXEC): Likewise.
19174 (__ASSUME_IN_NONBLOCK): Likewise.
19175 (__ASSUME_PIPE2): Likewise.
19176 (__ASSUME_EVENTFD2): Likewise.
19177 (__ASSUME_SIGNALFD4): Likewise.
19178 (__ASSUME_DUP3): Likewise.
19179 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19180 (__ASSUME_UTIMES): Likewise.
19181 (__ASSUME_O_CLOEXEC): Likewise.
19182 (__ASSUME_SOCK_CLOEXEC): Likewise.
19183 (__ASSUME_IN_NONBLOCK): Likewise.
19184 (__ASSUME_PIPE2): Likewise.
19185 (__ASSUME_EVENTFD2): Likewise.
19186 (__ASSUME_SIGNALFD4): Likewise.
19187 (__ASSUME_DUP3): Likewise.
19188 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19190 (__ASSUME_UTIMES): Likewise.
19191 (__ASSUME_EVENTFD2): Likewise.
19192 (__ASSUME_SIGNALFD4): Likewise.
19193 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19194 (__ASSUME_O_CLOEXEC): Likewise.
19195 (__ASSUME_SOCK_CLOEXEC): Likewise.
19196 (__ASSUME_IN_NONBLOCK): Likewise.
19197 (__ASSUME_PIPE2): Likewise.
19198 (__ASSUME_EVENTFD2): Likewise.
19199 (__ASSUME_SIGNALFD4): Likewise.
19200 (__ASSUME_DUP3): Likewise.
19201 (__ASSUME_UTIMES): Undefine.
19203 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19204 feclearexcept. Remove symbol versioning code.
19205 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
19206 symbol versioning code.
19207 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
19208 symbol versioning code.
19209 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19210 feupdateenv. Remove symbol versioning code.
19211 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19212 fegetexceptflag. Remove symbol versioning code.
19213 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19214 fesetexceptflag. Remove symbol versioning code.
19215 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19216 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
19217 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19218 (__posix_fadvise64_l32): Remove prototype.
19219 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19222 2014-05-13 Roland McGrath <roland@hack.frob.com>
19224 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19225 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19226 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19227 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19229 2014-05-13 Sami Kerola <kerolasa@iki.fi>
19231 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19232 current working directory
19234 2014-05-13 Roland McGrath <roland@hack.frob.com>
19236 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19237 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19238 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19239 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19240 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19241 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19242 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19243 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19244 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19245 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19246 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19247 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19248 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19249 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19250 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19251 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19252 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19253 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19254 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19255 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19256 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19257 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19258 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19259 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19260 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19261 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19262 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19263 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19264 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19265 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19266 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19267 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19268 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19269 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19270 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19271 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19272 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19273 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19274 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19275 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19276 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19277 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19279 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19280 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19282 * sysdeps/unix/sysv/linux/arm/Makefile
19283 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19284 Add rt-aeabi_unwind_cpp_pr1.
19285 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19286 Add nptl-aeabi_unwind_cpp_pr1.
19287 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19288 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19289 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19290 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19291 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19292 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19294 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19295 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19296 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19297 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19299 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19300 Deconditionalize the code that was previously under [RESET_PID].
19301 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19303 * sysdeps/generic/exit-thread.h: New file.
19304 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19305 * include/unistd.h (__exit_thread): Remove declaration.
19306 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19307 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19308 * csu/libc-start.c: Include <exit-thread.h>.
19309 (LIBC_START_MAIN): Pass no argument to __exit_thread.
19310 * nptl/pthread_create.c: Include <exit-thread.h>.
19311 (start_thread): Call __exit_thread in place of __exit_thread_inline.
19312 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19313 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19314 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19315 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19316 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19317 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19318 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19319 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19320 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19321 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19322 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19323 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19324 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19325 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19326 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19327 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19329 2014-05-13 Andreas Schwab <schwab@suse.de>
19331 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19333 2014-05-12 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19336 (__ASSUME_UTIMES): Do not condition on kernel version.
19337 (__ASSUME_PSELECT): Define unconditionally.
19338 (__ASSUME_PPOLL): Likewise.
19339 (__ASSUME_ATFCTS): Likewise.
19340 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19341 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19342 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19343 (__ASSUME_UTIMENSAT): Define unconditionally.
19344 (__ASSUME_PRIVATE_FUTEX): Likewise.
19345 (__ASSUME_FALLOCATE): Likewise.
19346 (__ASSUME_O_CLOEXEC): Likewise.
19347 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19348 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19349 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19350 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19351 (__ASSUME_IN_NONBLOCK): Likewise.
19352 (__ASSUME_PIPE2): Likewise.
19353 (__ASSUME_EVENTFD2): Likewise.
19354 (__ASSUME_SIGNALFD4): Likewise.
19355 (__ASSUME_DUP3): Likewise.
19356 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19357 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19358 (__ASSUME_AT_RANDOM): Likewise.
19359 (__ASSUME_PREADV): Likewise.
19360 (__ASSUME_PWRITEV): Likewise.
19361 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19362 (__ASSUME_F_GETOWN_EX): Define unconditionally.
19363 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19365 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19366 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19367 (__ASSUME_O_CLOEXEC): Define unconditionally.
19368 (__ASSUME_PSELECT): Do not undefine conditionally.
19369 (__ASSUME_PPOLL): Likewise.
19370 (__ASSUME_ATFCTS): Likewise.
19371 (__ASSUME_SET_ROBUST_LIST): Likewise.
19372 (__ASSUME_UTIMENSAT): Likewise.
19373 (__ASSUME_FDATASYNC): Define unconditionally.
19374 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19375 (__ASSUME_SIGFRAME_V2): Likewise.
19376 )__ASSUME_EVENTFD2): Likewise.
19377 (__ASSUME_SIGNALFD4): Likewise.
19378 (__ASSUME_PSELECT): Do not undefine conditionally.
19379 (__ASSUME_PPOLL): Likewise.
19380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19381 (__ASSUME_PSELECT): Define unconditionally.
19382 (__ASSUME_PPOLL): Likewise.
19383 (__ASSUME_O_CLOEXEC): Likewise.
19384 (__ASSUME_SOCK_CLOEXEC): Likewise.
19385 (__ASSUME_IN_NONBLOCK): Likewise.
19386 (__ASSUME_PIPE2): Likewise.
19387 (__ASSUME_EVENTFD2): Likewise.
19388 (__ASSUME_SIGNALFD4): Likewise.
19389 (__ASSUME_DUP3): Likewise.
19390 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19391 (__ASSUME_O_CLOEXEC): Likewise.
19392 (__ASSUME_SOCK_CLOEXEC): Likewise.
19393 (__ASSUME_IN_NONBLOCK): Likewise.
19394 (__ASSUME_PIPE2): Likewise.
19395 (__ASSUME_EVENTFD2): Likewise.
19396 (__ASSUME_SIGNALFD4): Likewise.
19397 (__ASSUME_DUP3): Likewise.
19398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19399 (__ASSUME_EVENTFD2): Likewise.
19400 (__ASSUME_SIGNALFD4): Likewise.
19401 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19403 2014-05-12 Andreas Schwab <schwab@suse.de>
19406 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19407 (_nss_nis_gethostbyname4_r): Return error if item length is larger
19408 than maximum RPC packet size.
19409 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19410 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19411 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19412 (_nss_nis_getservbyport_r): Likewise.
19414 2014-05-12 Will Newton <will.newton@linaro.org>
19416 * malloc/Makefile (tests): Add tst-mallopt.
19417 * malloc/tst-mallopt.c: New file.
19419 2014-05-09 Roland McGrath <roland@hack.frob.com>
19421 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19422 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19424 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19426 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19427 (tst-tlsmod6.so): Likewise.
19429 2014-05-09 Roland McGrath <roland@hack.frob.com>
19431 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19433 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19436 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19437 and <dl-procinfo.h>.
19438 (__fegetenv): Save SSE state in envp->__eip if supported.
19439 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19440 envp->__eip if supported.
19441 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19442 and <dl-procinfo.h>.
19443 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19444 __data_offset and __data_selector in environment to 0. Set SSE
19445 state if supported.
19446 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19448 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19450 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19452 2014-05-09 Will Newton <will.newton@linaro.org>
19454 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19455 and libc_relro_required for ARM.
19456 * sysdeps/arm/preconfigure: Regenerate.
19458 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19459 Stefan Liebler <stli@linux.vnet.ibm.com>
19461 * config.make.in (enable-lock-elision): New Makefile variable.
19462 * configure.ac: Likewise.
19463 * configure: Regenerate.
19464 * sysdeps/s390/configure.ac:
19465 Add check for gcc transactions support.
19466 * sysdeps/s390/configure: Regenerate.
19467 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19468 Build elision files if enabled.
19469 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19470 Add lock elision support for s390.
19471 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19472 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19473 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19474 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19475 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19476 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19483 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19485 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19486 (__lll_timedlock_elision, __lll_lock_elision)
19487 (__lll_unlock_elision, __lll_trylock_elision)
19488 (lll_timedlock_elision, lll_lock_elision)
19489 (lll_unlock_elision, lll_trylock_elision): Add.
19490 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19491 (pthread_mutex_t): Add lock elision support for s390.
19493 2014-05-14 Wilco <wdijkstr@arm.com>
19495 * sysdeps/arm/fclrexcpt.c: Cleanup.
19496 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19497 * sysdeps/arm/feenablxcpt.c: Cleanup.
19498 * sysdeps/arm/fegetenv.c: Cleanup.
19499 * sysdeps/arm/fegetexcept.c: Cleanup.
19500 * sysdeps/arm/fegetround.c: Cleanup.
19501 * sysdeps/arm/feholdexcpt.c: Cleanup.
19502 * sysdeps/arm/fesetenv.c: Cleanup.
19503 * sysdeps/arm/fesetround.c: Cleanup.
19504 * sysdeps/arm/feupdateenv.c: Cleanup.
19505 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19506 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19507 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19508 * sysdeps/arm/ftestexcept.c: Cleanup.
19509 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19510 * sysdeps/arm/setfpucw.c: Cleanup.
19512 2014-05-09 Will Newton <will.newton@linaro.org>
19514 * sysdeps/arm/armv7/strcmp.S: New file.
19515 * NEWS: Mention addition of ARMv7 optimized strcmp.
19517 2014-05-08 Roland McGrath <roland@hack.frob.com>
19519 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19520 look for %.ac rather than %.in.
19522 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19523 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19524 * sysdeps/mach/hurd/configure: Regenerated.
19525 * sysdeps/unix/sysv/linux/configure: Regenerated.
19527 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19529 2014-05-07 Steve Ellcey <sellcey@mips.com>
19532 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19536 2014-05-07 Andreas Schwab <schwab@suse.de>
19538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19539 when skipping over non-matching result from nscd.
19541 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19544 * nptl/sockperf.c (client): Check socket return value.
19547 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19548 nscd security class.
19550 2014-05-06 Roland McGrath <roland@hack.frob.com>
19552 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19553 * sysdeps/arm/unwind.h: ... here.
19555 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19558 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19561 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19563 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19564 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19565 multiarch strncpy for PPC64.
19566 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19567 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19569 multiarch optimizations.
19570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19571 (__libc_ifunc_impl_list): Likewise.
19572 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19573 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19574 multiarch stpncpy for PPC64.
19575 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19576 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19578 2014-05-06 Andreas Schwab <schwab@suse.de>
19581 * gmon/mcount.c (_MCOUNT_DECL): Use
19582 atomic_compare_and_exchange_bool_acq instead of
19583 catomic_compare_and_exchange_bool_acq.
19585 2014-05-05 Roland McGrath <roland@hack.frob.com>
19587 * elf/Makefile (others, install-bin): Remove pldd.
19588 (pldd-modules): Variable removed.
19589 ($(objpfx)pldd): Target removed.
19590 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19591 (others, install-bin): Append pldd here.
19592 ($(objpfx)pldd): New target.
19594 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19595 to 0, so the first #if test emitted later doesn't see it undefined.
19596 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19597 * sysdeps/gnu/errlist.c: Regenerated.
19599 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19602 [libc_hidden_builtin_def]: Define to empty value.
19603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19604 [libc_hidden_builtin_def]: Likewise.
19605 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19606 [libc_hidden_builtin_def]: Likewise.
19607 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19608 [libc_hidden_builtin_def]: Likewise.
19609 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19610 __redirect_memcpy and define ifunc as default hidden symbol.
19611 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19612 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19614 2014-05-04 Adam Conrad <adconrad@0c3.net>
19616 * locale/iso-4217.def: Reintroduce XDR currency.
19618 2014-05-04 Allan McRae <allan@archlinux.org>
19620 * po/eo.po: Update Esperanto translation from translation project.
19622 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19624 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19625 and FEATURE_INDEX_MAX to 1.
19626 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19628 2014-05-01 Steve Ellcey <sellcey@mips.com>
19630 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19631 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19632 * iconvdata/big5.c (ONE_DIRECTION): Define.
19633 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19634 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19635 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19636 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19637 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19638 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19639 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19640 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19641 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19642 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19643 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19644 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19645 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19646 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19647 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19648 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19649 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19650 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19651 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19652 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19653 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19654 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19655 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19656 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19657 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19658 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19659 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19660 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19661 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19662 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19663 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19664 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19665 * iconvdata/johab.c (ONE_DIRECTION): Define.
19666 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19667 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19668 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19669 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19670 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19671 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19672 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19673 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19674 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19675 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19677 2014-05-01 Roland McGrath <roland@hack.frob.com>
19679 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19680 (_IO_JUMPS_OFFSET): Define to 0.
19682 * nptl/sysdeps/pthread/bits/libc-lock.h
19683 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19684 (__libc_lock_define_initialized_recursive): Always define using
19685 initializer. Modern compilers treat uninitialized (implicit zero) and
19686 explicit zero initializers the same (i.e. put the datum in bss).
19688 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19690 * nscd/nscd-client.h: Include <string.h>.
19692 2014-05-01 David S. Miller <davem@davemloft.net>
19695 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19696 multiple zero bytes exist at the end of a string.
19697 Reported by Aurelien Jarno <aurelien@aurel32.net>
19699 * string/test-strcmp.c (check): Add explicit test for situations where
19700 there are multiple zero bytes after the first.
19702 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19705 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19706 when compiling wprintf.
19707 * stdio-common/tstdiomisc.c (t3): New function.
19710 2014-05-01 Steve Ellcey <sellcey@mips.com>
19712 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19713 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19714 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19715 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19717 2014-05-01 Steve Ellcey <sellcey@mips.com>
19719 * stdlib/longlong.h: Updated from GCC.
19721 2014-05-01 Will Newton <will.newton@linaro.org>
19722 Bernard Ogden <bernie.ogden@linaro.org>
19724 * NEWS: Update fixed bug list.
19727 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19729 2014-04-30 David S. Miller <davem@davemloft.net>
19731 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19732 (libc_feholdexcept_setround_sparc_ctx): New function.
19733 (libc_fesetenv_sparc_ctx): Likewise.
19734 (libc_feupdateenv_sparc_ctx): Likewise.
19735 (libc_feholdsetround_sparc_ctx): Likewise.
19736 (libc_feholdexcept_setround_ctx): Define.
19737 (libc_feholdexcept_setroundf_ctx): Likewise.
19738 (libc_feholdexcept_setroundl_ctx): Likewise.
19739 (libc_fesetenv_ctx): Likewise.
19740 (libc_fesetenvf_ctx): Likewise.
19741 (libc_fesetenvl_ctx): Likewise.
19742 (libc_feupdateenv_ctx): Likewise.
19743 (libc_feupdateenvf_ctx): Likewise.
19744 (libc_feupdateenvl_ctx): Likewise.
19745 (libc_feresetround_ctx): Likewise.
19746 (libc_feresetroundf_ctx): Likewise.
19747 (libc_feresetroundl_ctx): Likewise.
19748 (libc_feholdsetround_ctx): Likewise.
19749 (libc_feholdsetroundf_ctx): Likewise.
19750 (libc_feholdsetroundl_ctx): Likewise.
19752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19753 with __USE_GNU instead of XOPEN cpp guards.
19755 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19758 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19759 with XOPEN cpp guards.
19761 2014-04-30 Julian Brown <julian@codesourcery.com>
19764 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19767 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19770 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19772 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19773 * sysdeps/unix/sysv/linux/configure: Regenerated.
19774 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19775 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19776 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19777 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19778 * README: Update reference to required Linux kernel version.
19779 * manual/install.texi (Linux): Update reference to required Linux
19780 kernel headers version.
19781 * INSTALL: Regenerated.
19783 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19785 [POSIX] (limits.h): Likewise.
19786 [POSIX] (math.h): Likewise.
19787 [POSIX] (sys/wait.h): Likewise.
19788 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19790 [POSIX] (stddef.h): Do not allow header inclusion.
19792 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19794 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19796 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19798 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19799 Return immediately after lll_futex_wake.
19801 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19804 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19806 (datahead_init_pos): Call datahead_init_common early.
19807 (datahead_init_neg): Likewise.
19809 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19810 datahead_init_neg): New functions.
19811 * nscd/aicache.c (addhstaiX): Use them.
19812 * nscd/grpcache.c (cache_addgr): Likewise.
19813 * nscd/hstcache.c (cache_addhst): Likewise.
19814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19815 * nscd/netgroupcache.c (do_notfound): Likewise.
19816 (addgetnetgrentX): Likewise.
19817 (addinnetgrX): Likewise.
19818 * nscd/pwdcache.c (cache_addpw): Likewise.
19819 * nscd/servicescache.c (cache_addserv): Likewise.
19821 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19822 Atsushi Onoe <atsushi@onoe.org>
19827 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19828 one response is valid.
19829 * resolv/res_send.c (send_dg): Check for validity of other
19830 response if the current response is a referral.
19832 2014-04-29 Steve Ellcey <sellcey@mips.com>
19834 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19836 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19839 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19840 Always divide by positive zero when computing -Inf result.
19841 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19842 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19844 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19846 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19847 FPSCR if value do not change.
19848 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19849 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19850 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19851 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19852 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19853 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19856 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19858 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19859 * sysdeps/unix/sysv/linux/hppa: Move directory from
19860 ports/systeps/unix/sysv/linux/hppa.
19861 * README: Update listing for hppa-*-linux-gnu.
19863 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19866 * manual/stdio.texi (Hook functions): Fix types of stream hook
19869 * socket/sys/socket.h: Fix typo in comment.
19871 2014-04-28 Wilco <wdijkstr@arm.com>
19873 * sysdeps/arm/fenv_private.h: New file.
19874 * sysdeps/arm/math_private.h: New file.
19875 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19877 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19879 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19881 (La_x86_64_retval): Likewise.
19883 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19885 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19886 fpsr if value didn't change.
19887 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19888 to fpcr if value didn't change.
19889 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19890 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19891 fpsr or fpcr if value didn't change.
19892 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19893 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19894 fpcr if value didn't change.
19895 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19896 to fpsr if value didn't change.
19898 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19900 * nptl/tst-sem3.c: Use test-skeleton.c
19901 (main): Rename to do_test. Use return instead of
19903 * nptl/tst-sem4.c: Use test-skeleton.c
19904 (main): Rename to do_test.
19906 2014-04-22 David S. Miller <davem@davemloft.net>
19908 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19909 (struct sigaction): New struct member __glibc_reserved0, change
19910 type of sa_flags to int.
19912 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19914 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19915 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19917 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19919 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19920 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19922 2014-04-22 Will Newton <will.newton@linaro.org>
19923 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19925 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19926 (__longjmp): Add longjmp and longjmp_target SystemTap
19928 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19929 (__sigsetjmp): Add setjmp SystemTap probe.
19931 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19933 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19934 match manual order.
19936 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19938 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19940 * sysdeps/powerpc/fpu/fenv_private.h
19941 (libc_feholdexcept_setroundl_ctx): Define to
19942 libc_feholdexcept_setround_ppc_ctx.
19943 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19944 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19945 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19946 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19948 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19950 * sysdeps/aarch64/math-tests.h: New file.
19952 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19954 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19957 Check and set bit_AVX2_Usable.
19958 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19960 (bit_AVX2): Likewise.
19961 (index_AVX2_Usable): Likewise.
19962 (CPUID_AVX2): Likewise.
19963 (HAS_AVX2): Likewise.
19965 2014-04-17 Will Newton <will.newton@linaro.org>
19967 * manual/setjmp.texi (System V contexts): Add note that
19968 calling setcontext on a context created by a call to a
19969 signal handler is undefined. Update text to note that
19970 setcontext from a signal handler is possible but not
19974 * stdlib/tst-setcontext.c: Include signal.h.
19975 (main): Check that the signal stack before and
19976 after swapcontext is the same.
19978 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19979 Re-implement to restore registers in user code and avoid
19980 rt_sigreturn system call.
19982 2014-04-17 Wilco <wdijkstr@arm.com>
19984 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19985 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19986 * math/test-fenv.c: Skip exception trap tests on targets which only
19987 support non-stop mode.
19989 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19990 Wilco Dijkstra <wilco.dijkstra@arm.com>
19992 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19993 (libc_feholdsetround_aarch64_ctx)
19994 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19995 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19996 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19997 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19998 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19999 (libc_feresetround_noexl_ctx): Define.
20001 2014-04-16 Richard Henderson <rth@redhat.com>
20003 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20005 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20008 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20009 const from the non-libc, non-ldso copy.
20011 * sysdeps/alpha/libm-test-ulps: Regenerate.
20013 2014-04-16 Ian Bolton <ian.bolton@arm.com>
20014 Wilco Dijkstra <wilco.dijkstra@arm.com>
20016 * sysdeps/aarch64/fpu/math_private.h: New file.
20018 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
20020 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20022 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
20025 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20026 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20028 Intel MPX bound registers before _dl_profile_fixup.
20029 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20030 registers after _dl_profile_fixup. Save and restore bound
20031 registers bnd0/bnd1 when calling _dl_call_pltexit.
20032 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20033 (LR_BND_OFFSET): Likewise.
20034 (LRV_BND0_OFFSET): Likewise.
20035 (LRV_BND1_OFFSET): Likewise.
20037 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20039 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20041 * sysdeps/mach/hurd/i386/tls.h: ... here.
20042 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20043 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20046 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20048 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20050 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20052 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20054 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20057 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20058 * sysdeps/s390/configure: Regenerate.
20061 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20062 Set round-to-nearest internally to reduce error accumulation.
20064 2014-04-16 Alan Modra <amodra@gmail.com>
20068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20069 * math/libm-test.inc (frexp_test_data): Add tests.
20070 * NEWS: Update fixed bug list.
20072 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20074 * benchtests/Makefile: Depend on libraries in build directory.
20075 (bench-math): Separate out math tests.
20076 (bench-pthread): Separate out pthread tests.
20077 (bench): Include math and pthread tests.
20079 2014-04-14 Carlos O'Donell <carlos@redhat.com>
20082 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20083 _dl_debug_initialize.
20085 * configure.ac: Remove SELinux header check.
20086 * configure: Regenerate.
20087 * nscd/selinux.c (perms): Array of const char* to permission names.
20088 (nscd_request_avc_has_perm): Call security_deny_unknown to find
20089 default policy. Call string_to_security_class and string_to_av_perm to
20090 translate strings. Enforce default policy and call avs_has_perm with
20091 results of translated strings.
20093 2014-04-13 David S. Miller <davem@davemloft.net>
20095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20097 2014-04-12 Allan McRae <allan@archlinux.org>
20100 * manual/string.texi (Collation Functions): Fix qsort argument
20102 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20104 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
20106 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20107 Make the test a no-op if there are no exceptions defined.
20109 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20111 * elf/Makefile (tests): make tst-dlopen-aout conditional on
20112 enable-hardcoded-path-in-tests
20114 2014-04-11 Will Newton <will.newton@linaro.org>
20116 * benchtests/Makefile (extra-objs): Add json-lib.o.
20117 (bench-func): Tidy up JSON output.
20118 * benchtests/bench-skeleton.c: Include json-lib.h.
20119 (main): Use JSON library functions to do output of
20121 * benchtests/bench-timing-type.c (main): Output the
20122 timing type simply, leaving formatting to the user.
20123 * benchtests/json-lib.c: New file.
20124 * benchtests/json-lib.h: Likewise.
20126 2014-04-11 Torvald Riegel <triegel@redhat.com>
20129 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20130 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
20131 memory barriers. Add comments.
20132 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20133 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20134 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20135 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20136 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20137 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20139 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20141 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20142 * sysdeps/s390/s390-64/configure.ac: ... this ...
20143 * sysdeps/s390/configure.ac: ... to here.
20144 * sysdeps/s390/s390-32/configure: Delete file.
20145 * sysdeps/s390/s390-64/configure: Delete file.
20146 * sysdeps/s390/configure: Regenerate.
20148 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
20150 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20152 2014-04-11 Will Newton <will.newton@linaro.org>
20154 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20155 to zero if it is not defined elsewhere. (mtrim): Test
20156 the value of MALLOC_DEBUG with #if rather than #ifdef.
20158 2014-04-10 Torvald Riegel <triegel@redhat.com>
20160 * benchtests/pthread_once-inputs: New file.
20161 * benchtests/pthread_once-source.c: New file.
20162 * benchtests/README: Update documentation.
20164 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
20165 H.J. Lu <hongjiu.lu@intel.com>
20168 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20169 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20170 * sysdeps/x86_64/configure: Regenerated.
20171 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20173 (REGISTER_SAVE_RAX): Likewise.
20174 (REGISTER_SAVE_RCX): Likewise.
20175 (REGISTER_SAVE_RDX): Likewise.
20176 (REGISTER_SAVE_RSI): Likewise.
20177 (REGISTER_SAVE_RDI): Likewise.
20178 (REGISTER_SAVE_R8): Likewise.
20179 (REGISTER_SAVE_R9): Likewise.
20180 (REGISTER_SAVE_BND0): Likewise.
20181 (REGISTER_SAVE_BND1): Likewise.
20182 (REGISTER_SAVE_BND2): Likewise.
20183 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
20184 bound registers when calling _dl_fixup.
20186 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20189 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20191 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20192 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20193 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20194 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20195 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20196 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20197 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20199 2014-04-09 Peter Brett <peter@peter-b.co.uk>
20202 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20203 pathconf(_PC_NAME_MAX).
20205 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20207 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20208 Remove macro usage.
20209 (__PTHREAD_SPINS): Move definition to ...
20210 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20211 (__PTHREAD_SPINS): ... here.
20212 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20213 (__PTHREAD_SPIN): Likewise.
20214 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20215 (__PTHREAD_SPIN): Likewise.
20216 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20217 (__PTHREAD_SPIN): Likewise.
20218 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20219 (__PTHREAD_SPIN): Likewise.
20220 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20221 (__PTHREAD_SPIN): Likewise.
20222 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20223 (__PTHREAD_SPIN): Likewise.
20224 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20225 (__PTHREAD_SPIN): Likewise.
20226 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20227 (__PTHREAD_SPIN): Likewise.
20228 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20229 (__PTHREAD_SPIN): Likewise.
20230 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20231 (__PTHREAD_SPIN): Likewise.
20232 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20233 (__PTHREAD_SPIN): Likewise.
20234 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20235 (__PTHREAD_SPIN): Likewise.
20237 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20238 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20239 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20240 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20242 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20243 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20244 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20245 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20246 correct imply path.
20247 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20248 strlen symbol for non multi-arch builds.
20249 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20250 missing hidden_def and weak_alias.
20252 2014-04-08 Carlos O'Donell <carlos@redhat.com>
20254 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20256 2014-04-07 Will Newton <will.newton@linaro.org>
20258 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20259 and contents. [!_LIBC] Remove #ifndef and contents.
20260 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
20261 * string/memccpy.c (__memccpy): Use ANSI prototype.
20262 * string/memfrob.c (memfrob): Likewise.
20263 * string/strcoll.c (STRCOLL): Likewise.
20264 * string/strlen.c (strlen): Likewise.
20265 * string/strtok.c (STRTOK): Likewise.
20266 * string/strcat.c: Remove unused #include of memcopy.h.
20267 (strcat): Use ANSI prototype.
20268 * string/strchr.c: Remove unused #include of memcopy.h.
20269 (strchr): Use ANSI prototype.
20270 * string/strcmp.c: Remove unused #include of memcopy.h.
20271 (strcmp): Use ANSI prototype.
20272 * string/strcpy.c: Remove unused #include of memcopy.h.
20273 (strcpy): Use ANSI prototype.
20275 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20277 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20278 * config.make.in (config-extra-cppflags): Set it from
20279 libc_extra_cppflags.
20280 * configure.ac (libc_extra_cflags): Make it accumulate over
20281 configure fragments.
20282 (libc_extra_cppflags): New flag.
20283 * configure. Regenerate.
20284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20285 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20286 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20291 result for FE_DOWNWARD rounding mode.
20292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20296 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
20298 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20299 in function argument name.
20301 2014-04-03 David Svoboda <svoboda@cert.org>
20304 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20307 2014-04-03 Roland McGrath <roland@hack.frob.com>
20309 * elf/dl-unmap-segments.h: New file.
20310 * sysdeps/generic/ldsodefs.h
20311 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20312 * elf/dl-close.c: Include <dl-unmap-segments.h>.
20313 * elf/dl-fptr.c: Likewise.
20314 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20315 * sysdeps/aarch64/tlsdesc.c: Likewise.
20316 * sysdeps/arm/tlsdesc.c: Likewise.
20317 * sysdeps/i386/tlsdesc.c: Likewise.
20318 * sysdeps/tile/dl-runtime.c: Likewise.
20319 * sysdeps/x86_64/tlsdesc.c: Likewise.
20320 * elf/dl-load.h: New file.
20321 * elf/dl-load.c: Include it.
20322 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20323 Macros moved to dl-load.h.
20324 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20325 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20326 Use _dl_unmap_segments in place of __munmap.
20327 Break out segment-mapping loop into ...
20328 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20330 2014-04-03 Will Newton <will.newton@linaro.org>
20332 * elf/dl-lookup.c (do_lookup_x): Remove comment
20333 referring to nested function and move variable
20334 declarations down to before first use.
20336 2014-04-02 Joseph Myers <joseph@codesourcery.com>
20340 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20342 * math/s_catanf.c (__catanf): Likewise.
20343 * math/s_catanh.c (__catanh): Likewise.
20344 * math/s_catanhf.c (__catanhf): Likewise.
20345 * math/s_catanhl.c (__catanhl): Likewise.
20346 * math/s_catanl.c (__catanl): Likewise.
20347 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20348 by positive zero when computing -Inf result.
20349 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20350 (catanh_test): Likewise.
20351 * sysdeps/i386/fpu/libm-test-ulps: Update.
20352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20355 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20356 instead of using underflowing value in computing result.
20357 * math/s_clog10.c (__clog10): Likewise.
20358 * math/s_clog10f.c (__clog10f): Likewise.
20359 * math/s_clog10l.c (__clog10l): Likewise.
20360 * math/s_clogf.c (__clogf): Likewise.
20361 * math/s_clogl.c (__clogl): Likewise.
20362 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20363 (clog10_test): Likewise.
20364 * sysdeps/i386/fpu/libm-test-ulps: Update.
20365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20367 2014-04-02 Alan Modra <amodra@gmail.com>
20370 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20371 output when value is near a power of two. Use int64_t for lx and
20372 remove casts. Use decimal rather than hex exponent constants.
20373 Don't use long double multiplication when double will suffice.
20374 * math/libm-test.inc (nextafter_test_data): Add tests.
20375 * NEWS: Add 16739 and 16786 to bug list.
20377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20379 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20381 2014-04-01 Will Newton <will.newton@linaro.org>
20383 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20384 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
20386 2014-04-01 Florian Weimer <fweimer@redhat.com>
20389 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20390 * nptl/tst-setuid2.c: New file.
20391 * nptl/Makefile (xtests): Add tst-setuid2.
20393 2014-04-01 Alan Modra <amodra@gmail.com>
20396 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20398 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20402 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20403 set errno as appropriate.
20404 * math/w_scalbf.c (__scalbf): Likewise.
20405 * math/w_scalbl.c (__scalbl): Likewise.
20406 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20407 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20408 * math/libm-test.inc (scalb_test_data): Add errno expectations.
20409 Add more NaN tests.
20412 * math/w_atan2.c: Include <errno.h>.
20413 (__atan2): Set errno for result underflowing to zero.
20414 * math/w_atan2f.c: Include <errno.h>.
20415 (__atan2f): Set errno for result underflowing to zero.
20416 * math/w_atan2l.c: Include <errno.h>.
20417 (__atan2l): Set errno for result underflowing to zero.
20418 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20420 * math/auto-libm-test-out: Regenerated.
20422 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20424 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20425 Encode instruction correctly in little endian.
20426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20432 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20435 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20438 * sysdeps/unix/sysv/linux/kernel-features.h
20439 [__sparc__ && !__arch64__ && !__sparc_v9__]
20440 (__ASSUME_SET_ROBUST_LIST): Do not define.
20441 [__sparc__ && !__arch64__ && !__sparc_v9__]
20442 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20443 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20445 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20446 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20447 (__ASSUME_REQUEUE_PI): Likewise.
20448 (__ASSUME_SET_ROBUST_LIST): Likewise.
20449 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20450 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20452 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20453 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20455 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20457 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20459 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20460 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20462 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20463 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20469 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20471 2014-03-31 Will Newton <will.newton@linaro.org>
20473 * benchtests/Makefile (bench): Add ffs and ffsll to list
20475 * benchtests/ffs-inputs: New file.
20476 * benchtests/ffsll-inputs: Likewise.
20478 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20481 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20482 too large before casting to int.
20483 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20484 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20485 * math/libm-test.inc (scalb_test_data): Add more tests.
20487 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20489 * benchtests/Makefile (DETAILED_OPT): New make option.
20490 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20492 * benchtests/bench-skeleton.c: Include stdbool.h.
20493 (main): Store and print timings per input.
20494 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20495 member to each argument value.
20496 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20497 (_print_arg_data): Initialize per-input timing to 0.
20499 * benchtests/Makefile (timing-type): New binary.
20500 (bench-clean): Also remove bench-timing-type.
20501 (bench): New target for timing-type.
20502 (bench-func): Print output in JSON format.
20503 * benchtests/bench-skeleton.c (main): Print output in JSON
20505 * benchtests/bench-timing-type.c: New file.
20506 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20507 (TIMING_PRINT_STATS): Remove.
20508 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20511 * benchtests/bench-modf.c: Remove.
20512 * benchtests/modf-inputs: New inputs file.
20514 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20517 * math/s_clog10.c (M_PI_LOG10E): New macro.
20518 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20519 imaginary parts are 0.
20520 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20521 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20522 imaginary parts are 0.
20523 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20524 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20525 imaginary parts are 0.
20526 * math/libm-test.inc (clog10_test_data): Update expected results
20527 for when real and imaginary parts are 0.
20529 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20531 * elf/dl-load.c: Finish conversion of __builtin_expect into
20532 __glibc_{un}likely.
20534 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20538 1+x for argument with exponent below -67.
20539 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20541 * math/auto-libm-test-in: Add more tests of exp.
20542 * math/auto-libm-test-out: Regenerated.
20544 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20547 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20548 (nscd_getnetgrent): Use it.
20551 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20554 2014-03-27 Andi Kleen <ak@linux.intel.com>
20556 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20557 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20558 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20559 (lll_robust_unlock): Remove out of line section. Use cfi
20561 (LLL_STUB_UNWIND_INFO*): Remove.
20562 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20563 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20564 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20565 (lll_robust_unlock): Remove out of line section. Use cfi
20567 (LLL_STUB_UNWIND_INFO*): Remove.
20569 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20575 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20577 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20579 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20582 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20584 * math/test-fenv-preserve.c: New file.
20585 * math/Makefile (tests): Add test-fenv-preserve.
20587 2014-03-26 Will Newton <will.newton@linaro.org>
20589 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20591 2014-03-25 Roland McGrath <roland@hack.frob.com>
20593 * scripts/versionlist.awk: Partition the version sets and emit all
20594 GLIBC_* (sorted) before all others (sorted).
20596 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20598 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20599 GLIBC_2.2.5 version.
20601 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20603 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20606 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20611 2014-03-25 Andreas Schwab <schwab@suse.de>
20613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20614 label to be used after in6ailist is initialized.
20616 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20618 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20619 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20621 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20625 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20627 (fp_formats): Update initializers.
20628 (init_fp_formats): Initialize new field.
20629 (output_for_one_input_case): Allow underflow for results up to
20631 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20632 * math/auto-libm-test-in: Don't mark some underflows from asin and
20634 * math/auto-libm-test-out: Regenerated.
20635 * sysdeps/i386/fpu/libm-test-ulps: Update.
20636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20638 2014-03-25 Andreas Schwab <schwab@suse.de>
20640 * libio/Makefile (tst-ftell-partial-wide-ENV)
20641 (tst-ftell-active-handler-ENV): Define.
20643 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20645 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20647 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20649 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20651 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20654 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20655 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20657 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20660 * elf/dl-load.c (open_verify): Add mode parameter.
20661 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20662 (open_path): Change from boolean 'secure' to complete flag 'mode'
20663 (_dl_map_object): Adjust.
20664 * elf/Makefile (tests): Add tst-dlopen-aout.
20665 * elf/tst-dlopen-aout.c: New test.
20667 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20670 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20671 (struct stat): Rename member pad0 to __glibc_reserved0.
20674 * sysdeps/s390/s390-32/bits/wordsize.h
20675 (__WORDSIZE32_SIZE_ULONG): New define.
20676 * sysdeps/s390/s390-64/bits/wordsize.h
20677 (__WORDSIZE32_SIZE_ULONG): Likewise.
20678 * sysdeps/generic/stdint.h (SIZE_MAX):
20679 Define as UL if __WORDSIZE32_SIZE_ULONG.
20682 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20683 (__glibc_reserved0): New variable.
20684 (sa_flags): Change type to int.
20686 * posix/Makefile (before-compile): Use += before-compile instead
20689 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20690 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20692 2014-03-20 Andreas Schwab <schwab@suse.de>
20695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20696 non-matching result from nscd.
20698 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20700 * scripts/bench.py: Moved to ...
20701 * benchtests/scripts/bench.py: ... here.
20702 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20704 2014-03-24 Andreas Schwab <schwab@suse.de>
20707 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20708 alloca_account and account alloca use for struct in6ailist.
20710 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20713 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20714 rounding mode to recompute results that overflow to infinity or
20716 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20718 * math/auto-libm-test-out: Regenerated.
20719 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20720 (ccosh_test): Likewise.
20721 (csin_test_data): Use plus_oflow.
20722 (csin_test): Use ALL_RM_TEST.
20723 (csinh_test_data): Use plus_oflow.
20724 (csinh_test): Use ALL_RM_TEST.
20725 * sysdeps/i386/fpu/libm-test-ulps: Update.
20726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20728 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20730 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20731 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20732 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20735 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20736 when x - 1 is zero.
20737 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20738 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20739 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20742 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20743 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20745 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20746 * sysdeps/i386/fpu/libm-test-ulps: Update.
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20749 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20751 * scripts/bench.pl: Remove file.
20752 * scripts/bench.py: New benchmark script.
20753 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20754 * benchtests/README: Mention python dependency.
20755 * scripts/pylintrc: New file.
20756 * scripts/pylint: New file.
20758 * bits/mathdef.h: Use #ifdef instead of #if.
20759 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20760 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20761 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20762 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20763 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20764 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20766 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20767 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20769 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20771 and strpbrk-ppc64 objects.
20772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20773 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20774 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20775 multiarch strpbrk for POWER7.
20776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20777 multiarch strpbrk for PPC64.
20778 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20780 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20781 strpbrk for POWER7.
20783 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20785 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20786 (atan_test): Likewise.
20787 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20788 (atanh_test): Use ALL_RM_TEST.
20789 (atan2_test_data): Likewise.
20790 (cabs_test): Likewise.
20791 (cacosh_test): Likewise.
20792 (carg_test): Likewise.
20793 (casin_test): Likewise.
20794 (casinh_test): Likewise.
20795 (cbrt_test): Likewise.
20796 (csqrt_test): Likewise.
20797 (erf_test): Likewise.
20798 (erfc_test): Likewise.
20799 (pow10_test): Likewise.
20800 (exp2_test): Likewise.
20801 (hypot_test): Likewise.
20802 (j0_test): Likewise.
20803 (j1_test): Likewise.
20804 (lgamma_test): Likewise.
20805 (gamma_test): Likewise.
20806 (sincos_test): Likewise.
20807 (tanh_test): Likewise.
20808 (y0_test): Likewise.
20809 (y1_test): Likewise.
20810 * sysdeps/i386/fpu/libm-test-ulps: Update.
20811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20813 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20815 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20817 and strcspn-ppc64 objects.
20818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20819 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20820 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20821 multiarch strcspn for POWER7.
20822 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20823 multiarch strcspn for PPC64.
20824 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20826 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20827 strcspn for POWER7.
20829 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20831 * math/gen-libm-test.pl (generate_testfile): Expect only function
20832 name as argument to AUTO_TESTS_* and pass results for all rounding
20833 modes to parse_args.
20834 (parse_auto_input): Separate inputs of automatic tests from
20835 outputs before storing in %auto_tests.
20836 * math/libm-test.inc (acos_test_data): Update call to
20838 (acos_test): Use ALL_RM_TEST.
20839 (acos_tonearest_test_data): Remove.
20840 (acos_test_tonearest): Likewise.
20841 (acos_towardzero_test_data): Likewise.
20842 (acos_test_towardzero): Likewise.
20843 (acos_downward_test_data): Likewise.
20844 (acos_test_downward): Likewise.
20845 (acos_upward_test_data): Likewise.
20846 (acos_test_upward): Likewise.
20847 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20848 (asin_test_data): Likewise.
20849 (asin_test): Use ALL_RM_TEST.
20850 (asin_tonearest_test_data): Remove.
20851 (asin_test_tonearest): Likewise.
20852 (asin_towardzero_test_data): Likewise.
20853 (asin_test_towardzero): Likewise.
20854 (asin_downward_test_data): Likewise.
20855 (asin_test_downward): Likewise.
20856 (asin_upward_test_data): Likewise.
20857 (asin_test_upward): Likewise.
20858 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20859 (atan_test_data): Likewise.
20860 (atanh_test_data): Likewise.
20861 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20862 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20863 (carg_test_data): Likewise.
20864 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20865 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20866 (ccosh_test_data): Likewise.
20867 (cexp_test_data): Likewise.
20868 (clog_test_data): Likewise.
20869 (clog10_test_data): Likewise.
20870 (cos_test_data): Update call to AUTO_TESTS_f_f.
20871 (cos_test): Use ALL_RM_TEST.
20872 (cos_tonearest_test_data): Remove.
20873 (cos_test_tonearest): Likewise.
20874 (cos_towardzero_test_data): Likewise.
20875 (cos_test_towardzero): Likewise.
20876 (cos_downward_test_data): Likewise.
20877 (cos_test_downward): Likewise.
20878 (cos_upward_test_data): Likewise.
20879 (cos_test_upward): Likewise.
20880 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20881 (cosh_test): Use ALL_RM_TEST.
20882 (cosh_tonearest_test_data): Remove.
20883 (cosh_test_tonearest): Likewise.
20884 (cosh_towardzero_test_data): Likewise.
20885 (cosh_test_towardzero): Likewise.
20886 (cosh_downward_test_data): Likewise.
20887 (cosh_test_downward): Likewise.
20888 (cosh_upward_test_data): Likewise.
20889 (cosh_test_upward): Likewise.
20890 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20891 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20892 (ctan_test_data): Likewise.
20893 (ctan_test): Use ALL_RM_TEST.
20894 (ctan_tonearest_test_data): Remove.
20895 (ctan_test_tonearest): Likewise.
20896 (ctan_towardzero_test_data): Likewise.
20897 (ctan_test_towardzero): Likewise.
20898 (ctan_downward_test_data): Likewise.
20899 (ctan_test_downward): Likewise.
20900 (ctan_upward_test_data): Likewise.
20901 (ctan_test_upward): Likewise.
20902 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20903 (ctanh_test): Use ALL_RM_TEST.
20904 (ctanh_tonearest_test_data): Remove.
20905 (ctanh_test_tonearest): Likewise.
20906 (ctanh_towardzero_test_data): Likewise.
20907 (ctanh_test_towardzero): Likewise.
20908 (ctanh_downward_test_data): Likewise.
20909 (ctanh_test_downward): Likewise.
20910 (ctanh_upward_test_data): Likewise.
20911 (ctanh_test_upward): Likewise.
20912 (erf_test_data): Update call to AUTO_TESTS_f_f.
20913 (erfc_test_data): Likewise.
20914 (exp_test_data): Likewise.
20915 (exp_test): Use ALL_RM_TEST.
20916 (exp_tonearest_test_data): Remove.
20917 (exp_test_tonearest): Likewise.
20918 (exp_towardzero_test_data): Likewise.
20919 (exp_test_towardzero): Likewise.
20920 (exp_downward_test_data): Likewise.
20921 (exp_test_downward): Likewise.
20922 (exp_upward_test_data): Likewise.
20923 (exp_test_upward): Likewise.
20924 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20925 (exp10_test): Use ALL_RM_TEST.
20926 (exp10_tonearest_test_data): Remove.
20927 (exp10_test_tonearest): Likewise.
20928 (exp10_towardzero_test_data): Likewise.
20929 (exp10_test_towardzero): Likewise.
20930 (exp10_downward_test_data): Likewise.
20931 (exp10_test_downward): Likewise.
20932 (exp10_upward_test_data): Likewise.
20933 (exp10_test_upward): Likewise.
20934 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20935 (expm1_test_data): Likewise.
20936 (expm1_test): Use ALL_RM_TEST.
20937 (expm1_tonearest_test_data): Remove.
20938 (expm1_test_tonearest): Likewise.
20939 (expm1_towardzero_test_data): Likewise.
20940 (expm1_test_towardzero): Likewise.
20941 (expm1_downward_test_data): Likewise.
20942 (expm1_test_downward): Likewise.
20943 (expm1_upward_test_data): Likewise.
20944 (expm1_test_upward): Likewise.
20945 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20946 (fma_test): Use ALL_RM_TEST.
20947 (fma_towardzero_test_data): Remove.
20948 (fma_test_towardzero): Likewise.
20949 (fma_downward_test_data): Likewise.
20950 (fma_test_downward): Likewise.
20951 (fma_upward_test_data): Likewise.
20952 (fma_test_upward): Likewise.
20953 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20954 (j0_test_data): Update call to AUTO_TESTS_f_f.
20955 (j1_test_data): Likewise.
20956 (jn_test_data): Update call to AUTO_TESTS_if_f.
20957 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20958 (log_test_data): Update call to AUTO_TESTS_f_f.
20959 (log10_test_data): Likewise.
20960 (log1p_test_data): Likewise.
20961 (log2_test_data): Likewise.
20962 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20963 (pow_tonearest_test_data): Likewise.
20964 (sin_test_data): Update call to AUTO_TESTS_f_f.
20965 (sin_test): Use ALL_RM_TEST.
20966 (sin_tonearest_test_data): Remove.
20967 (sin_test_tonearest): Likewise.
20968 (sin_towardzero_test_data): Likewise.
20969 (sin_test_towardzero): Likewise.
20970 (sin_downward_test_data): Likewise.
20971 (sin_test_downward): Likewise.
20972 (sin_upward_test_data): Likewise.
20973 (sin_test_upward): Likewise.
20974 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20975 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20976 (sinh_test): Use ALL_RM_TEST.
20977 (sinh_tonearest_test_data): Remove.
20978 (sinh_test_tonearest): Likewise.
20979 (sinh_towardzero_test_data): Likewise.
20980 (sinh_test_towardzero): Likewise.
20981 (sinh_downward_test_data): Likewise.
20982 (sinh_test_downward): Likewise.
20983 (sinh_upward_test_data): Likewise.
20984 (sinh_test_upward): Likewise.
20985 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20986 (sqrt_test): Use ALL_RM_TEST.
20987 (sqrt_tonearest_test_data): Remove.
20988 (sqrt_test_tonearest): Likewise.
20989 (sqrt_towardzero_test_data): Likewise.
20990 (sqrt_test_towardzero): Likewise.
20991 (sqrt_downward_test_data): Likewise.
20992 (sqrt_test_downward): Likewise.
20993 (sqrt_upward_test_data): Likewise.
20994 (sqrt_test_upward): Likewise.
20995 (tan_test_data): Update call to AUTO_TESTS_f_f.
20996 (tan_test): Use ALL_RM_TEST.
20997 (tan_tonearest_test_data): Remove.
20998 (tan_test_tonearest): Likewise.
20999 (tan_towardzero_test_data): Likewise.
21000 (tan_test_towardzero): Likewise.
21001 (tan_downward_test_data): Likewise.
21002 (tan_test_downward): Likewise.
21003 (tan_upward_test_data): Likewise.
21004 (tan_test_upward): Likewise.
21005 (tanh_test_data): Update call to AUTO_TESTS_f_f.
21006 (tgamma_test_data): Likewise.
21007 (y0_test_data): Likewise.
21008 (y1_test_data): Likewise.
21009 (yn_test_data): Update call to AUTO_TESTS_if_f.
21010 (main): Do not call removed functions.
21012 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21014 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21015 (ldexp_test_data): Remove.
21016 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
21018 (scalb_test): Use ALL_RM_TEST.
21020 2014-03-19 Andreas Schwab <schwab@suse.de>
21022 * nscd/nscd.service: Also invalidate netgroup cache on reload.
21024 2014-03-19 Joseph Myers <joseph@codesourcery.com>
21027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21028 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21029 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21031 (__ASSUME_PREADV): Undefine.
21032 (__ASSUME_PWRITEV): Likewise.
21034 2014-03-18 Roland McGrath <roland@hack.frob.com>
21036 * bits/mman-linux.h: Add comment about non-Linux use.
21037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21038 bits/mman-linux.h resting place.
21040 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21041 * bits/mman-linux.h: ... here.
21043 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21045 * conform/conformtest.pl: Add standard definition when calling C
21046 preprocessor on data files.
21047 (checknamespace): Remove unused variable.
21049 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21051 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21052 minus_oflow, plus_uflow and minus_uflow in expected results.
21053 * math/libm-test.inc (scalbn_test_data): Add more tests of
21054 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
21056 (scalbn_test): Use ALL_RM_TEST.
21057 (scalbln_test_data): Add more tests of negative arguments. Use
21058 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21059 (scalbln_test): Use ALL_RM_TEST.
21061 2014-03-18 Roland McGrath <roland@hack.frob.com>
21063 * scripts/abilist.awk: Ignore symbols marked with .hidden.
21065 2014-03-18 Will Newton <will.newton@linaro.org>
21067 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21068 inaccurate comment.
21070 2014-03-18 Joseph Myers <joseph@codesourcery.com>
21072 * Makerules [!subdir] (check-abi): Exit with error status if a
21075 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21077 * math/libm-test.inc (nearbyint_test_data): Include all tests used
21078 for rint. Include results for all rounding modes.
21079 (nearbyint_test): Use ALL_RM_TEST.
21080 (rint_test_data): Include all tests used for nearbyint.
21082 2014-03-17 Will Newton <will.newton@linaro.org>
21084 * nptl/sysdeps/pthread/pthread.h: Revert previous
21087 * sysdeps/generic/ldsodefs.h: Revert previous
21090 * libio/genops.c: Revert previous change.
21091 * libio/libioP.h: Likewise.
21092 * stdio-common/vfprintf.c: Likewise.
21094 * sysdeps/generic/math_private.h: Revert previous
21097 * sysdeps/generic/math_private.h: Check whether
21098 HAVE_RM_CTX is defined with #ifdef rather
21101 * argp/argp-fmtstream.h: Check whether
21102 __STRICT_ANSI__ is defined with #ifdef rather
21104 * argp/argp.h: Likewise.
21106 * libio/genops.c: Check whether
21107 _IO_JUMPS_OFFSET is defined with #ifdef rather
21109 * libio/libioP.h: Likewise.
21110 * stdio-common/vfprintf.c: Likewise.
21112 * sysdeps/generic/ldsodefs.h: Check whether
21113 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21116 * nptl/sysdeps/pthread/pthread.h: Check
21117 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21120 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21122 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21124 * libio/tst-ftell-active-handler.c (do_append_test): Add a
21128 * libio/fileops.c (_IO_file_open): Seek to end of file but
21129 don't cache the offset.
21130 (get_file_offset): Remove function.
21131 (do_ftell): Use cached offset when available.
21132 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21133 don't cache the offset.
21134 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21136 (do_one_test): Call it.
21137 (do_ftell_test): Fix up expected old offset for a+ mode.
21138 * libio/wfileops.c (do_ftell_wide): Used cached offset when
21141 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21142 up test status with function return status.
21143 (do_write_test): Likewise.
21144 (do_append_test): Likewise.
21146 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21147 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21150 2014-03-17 Joseph Myers <joseph@codesourcery.com>
21152 * math/gen-libm-test.pl (parse_args): Handle results specified for
21153 each rounding mode separately.
21154 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21155 tests and results from lrint_tonearest_test_data,
21156 lrint_towardzero_test_data, lrint_downward_test_data and
21157 lrint_upward_test_data.
21158 (lrint_test): Use ALL_RM_TEST.
21159 (lrint_tonearest_test_data): Remove.
21160 (lrint_test_tonearest): Likewise.
21161 (lrint_towardzero_test_data): Likewise.
21162 (lrint_test_towardzero): Likewise.
21163 (lrint_downward_test_data): Likewise.
21164 (lrint_test_downward): Likewise.
21165 (lrint_upward_test_data): Likewise.
21166 (lrint_test_upward): Likewise.
21167 (llrint_test_data): Merge in per-rounding-mode tests and results
21168 from llrint_tonearest_test_data, llrint_towardzero_test_data,
21169 llrint_downward_test_data and llrint_upward_test_data.
21170 (llrint_test): Use ALL_RM_TEST.
21171 (llrint_tonearest_test_data): Remove.
21172 (llrint_test_tonearest): Likewise.
21173 (llrint_towardzero_test_data): Likewise.
21174 (llrint_test_towardzero): Likewise.
21175 (llrint_downward_test_data): Likewise.
21176 (llrint_test_downward): Likewise.
21177 (llrint_upward_test_data): Likewise.
21178 (llrint_test_upward): Likewise.
21179 (rint_test_data): Merge in per-rounding-mode tests and results
21180 from rint_tonearest_test_data, rint_towardzero_test_data,
21181 rint_downward_test_data and rint_upward_test_data. Add
21182 per-rounding-mode results for tests not in those arrays.
21183 (rint_test): Use ALL_RM_TEST.
21184 (rint_tonearest_test_data): Remove.
21185 (rint_test_tonearest): Likewise.
21186 (rint_towardzero_test_data): Likewise.
21187 (rint_test_towardzero): Likewise.
21188 (rint_downward_test_data): Likewise.
21189 (rint_test_downward): Likewise.
21190 (rint_upward_test_data): Likewise.
21191 (rint_test_upward): Likewise.
21192 (main): Don't call removed functions.
21194 2014-03-14 Roland McGrath <roland@hack.frob.com>
21196 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21197 "Compiled on ..." crapola. It is anti-useful.
21199 2014-03-14 Joseph Myers <joseph@codesourcery.com>
21201 * scripts/evaluate-test.sh: Handle fourth argument to determine
21202 whether test run should stop on failure.
21203 * Makeconfig (stop-on-test-failure): New variable.
21204 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21205 $(stop-on-test-failure).
21206 * Makefile (tests): Give a summary of results from testing and
21207 exit with failure status if they include an ERROR or FAIL.
21208 (xtests): Likewise.
21209 * manual/install.texi (Configuring and compiling): Mention
21210 stop-on-test-failure=y.
21211 * INSTALL: Regenerated.
21213 2014-03-14 Roland McGrath <roland@hack.frob.com>
21215 * scripts/versionlist.awk: New file.
21216 * Makerules [$(build-shared) = yes]
21217 (postclean-generated): Add Versions.def, not Versions.def.v and
21219 ($(common-objpfx)Versions.def.v.i): Target removed.
21220 ($(common-objpfx)Versions.def): New target.
21221 ($(common-objpfx)Versions.all): Depend on that rather that
21222 $(common-objpfx)Versions.def.v.
21223 * Versions.def: File removed.
21225 * Makeconfig (+gccwarn): Add -Wundef.
21226 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21227 a dl-sysdep.h breaking its contract.
21228 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21229 * include/stackinfo.h: New file.
21230 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21231 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21232 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21233 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21234 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21235 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21236 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21237 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21238 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21239 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21240 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21241 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21242 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21243 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21244 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21246 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21249 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21251 * math/libm-test.inc (round_test_data): Add more tests.
21254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21256 * math/libm-test.inc (nearbyint_test_data): Add more tests.
21259 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21261 * math/libm-test.inc (ceil_test_data): Add more tests.
21263 * math/libm-test.inc (trunc_test_data): Add more tests related to
21266 2014-03-14 Roland McGrath <roland@hack.frob.com>
21268 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21269 with #if rather than #ifdef.
21270 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21272 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
21274 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21275 first. Disable AVX-512 GCC support if assembler doesn't support
21277 * sysdeps/x86_64/configure: Regenerated.
21279 2014-03-13 Carlos O'Donell <carlos@redhat.com>
21281 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21282 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21283 (__old_pthread_attr_setstack): Likewise.
21284 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21285 [!_STACK_GROWS_DOWN]: Likewise.
21287 2014-03-13 Mike Frysinger <vapier@gentoo.org>
21289 * config.make.in (have-bash2): Delete.
21290 * configure.ac (libc_cv_have_bash2): Delete.
21291 * configure: Regenerate.
21292 * elf/Makefile (common-ldd-rewrite): Rename to ...
21293 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
21294 (sh-ldd-rewrite): Delete.
21295 (bash-ldd-rewrite): Delete.
21296 (have-bash2): Delete checks.
21297 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21300 * config.make.in (have-ksh): Delete.
21302 * configure.ac (libc_cv_have_ksh): Delete.
21303 * configure: Regenerate.
21305 * elf/Makefile: Delete $(have-ksh) check.
21306 ($(objpfx)sotruss): Change KSH to BASH.
21307 * elf/sotruss.ksh: Rename to ...
21308 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
21309 function style to match POSIX. Drop ksh vim mode setting.
21311 * manual/time.texi (Specifying the Time Zone with TZ): Change
21312 Tuesday to Thursday.
21314 * debug/tst-longjmp_chk2.c: Update header comment.
21315 (stackoverflow_handler): Add comment. Call assert on pass value.
21317 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
21320 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21321 (HAVE_AVX512_ASM_SUPPORT): Likewise.
21322 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21323 (La_x86_64_vector): Add zmm.
21324 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21325 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21326 ($(objpfx)tst-audit10): New target.
21327 ($(objpfx)tst-audit10.out): Likewise.
21328 (tst-audit10-ENV): New.
21329 (AVX512-CFLAGS): Likewise.
21330 (CFLAGS-tst-audit10.c): Likewise.
21331 (CFLAGS-tst-auditmod10a.c): Likewise.
21332 (CFLAGS-tst-auditmod10b.c): Likewise.
21333 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21334 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21335 * sysdeps/x86_64/configure: Regenerated.
21336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21337 AVX-512 zmm register support.
21338 (_dl_x86_64_save_sse): Likewise.
21339 (_dl_x86_64_restore_sse): Likewise.
21340 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21341 size vector registers.
21342 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21343 (ZMM_SIZE): Likewise.
21344 * sysdeps/x86_64/tst-audit10.c: New file.
21345 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21346 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21348 2014-03-13 Roland McGrath <roland@hack.frob.com>
21350 * configure.ac (HAVE_EHDR_START): New check.
21351 * configure: Regenerated.
21352 * config.h.in (HAVE_EHDR_START): New #undef.
21353 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21354 assuming the lowest-addressed segment maps the start of the file.
21356 2014-03-13 Joseph Myers <joseph@codesourcery.com>
21358 * INSTALL: Regenerated.
21360 2014-03-13 Will Newton <will.newton@linaro.org>
21362 * manual/setjmp.texi (System V contexts): Improve
21363 clarity and grammar of documentation.
21365 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21368 * elf/Makefile (tests): Add tst-pie2.
21369 (tests-pie): Add tst-pie2.
21370 * elf/tst-pie2.c: New file.
21371 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21373 * elf/rtld.c (map_doit): Load executable as lt_executable.
21374 (dl_main): Likewise.
21376 2014-03-12 Joseph Myers <joseph@codesourcery.com>
21379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21380 (__ASSUME_PSELECT): Undefine.
21382 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21386 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21388 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21389 selector for static builds.
21391 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21394 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21397 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21399 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21400 IFUNC selector for static builds.
21402 2014-03-11 Joseph Myers <joseph@codesourcery.com>
21404 * sysdeps/mips/math_private.h [__mips_hard_float]
21405 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21406 libc_feresetround_mips_ctx.
21407 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21408 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21409 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21412 * math/s_nextafter.c (__nextafter): Do not return value from
21413 overflowing computation.
21414 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21415 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21416 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21420 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21421 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21423 2014-03-11 Roland McGrath <roland@hack.frob.com>
21425 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21426 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21427 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21428 the new mov targetting sp.
21430 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21433 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21434 Define it for static builds as well.
21435 (NO_BZERO_IMPL): Likewise.
21437 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21439 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21440 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21441 multiarch strspn for PPC64.
21442 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21443 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21445 (__libc_ifunc_impl_list): Likewise.
21446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21447 multiarch optimizations
21448 * string/strspn.c (strspn): Using macro to redefine symbol name.
21450 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21451 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21454 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21455 multiarch strncat for PPC64.
21456 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21457 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21459 (__libc_ifunc_impl_list): Likewise.
21460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21461 multiarch optimizations
21463 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21466 * nscd/nscd.service: Make service type forking.
21468 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21470 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21471 sign in non default rounding modes.
21472 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21474 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21476 * math/libm-test.inc (ALL_RM_TEST): New macro.
21477 (ceil_test): Use ALL_RM_TEST.
21478 (cimag_test): Likewise.
21479 (conj_test): Likewise.
21480 (copysign_test): Likewise.
21481 (cproj_test): Likewise.
21482 (creal_test): Likewise.
21483 (fabs_test): Likewise.
21484 (floor_test): Likewise.
21485 (fmax_test): Likewise.
21486 (fmin_test): Likewise.
21487 (fmod_test): Likewise.
21488 (fpclassify_test): Likewise.
21489 (frexp_test): Likewise.
21490 (ilogb_test): Likewise.
21491 (isfinite_test): Likewise.
21492 (finite_test): Likewise.
21493 (isgreater_test): Likewise.
21494 (isgreaterequal_test): Likewise.
21495 (isinf_test): Likewise.
21496 (isless_test): Likewise.
21497 (islessequal_test): Likewise.
21498 (islessgreater_test): Likewise.
21499 (isnan_test): Likewise.
21500 (isnormal_test): Likewise.
21501 (issignaling_test): Likewise.
21502 (isunordered_test): Likewise.
21503 (logb_test): Likewise.
21504 (logb_downward_test_data): Remove.
21505 (logb_test_downward): Likewise.
21506 (lround_test): Use ALL_RM_TEST.
21507 (llround_test): Likewise.
21508 (modf_test): Likewise.
21509 (nexttoward_test): Likewise.
21510 (remainder_test): Likewise.
21511 (drem_test): Likewise.
21512 (remainder_tonearest_test_data): Likewise.
21513 (remainder_test_tonearest): Likewise.
21514 (drem_test_tonearest): Likewise.
21515 (remainder_towardzero_test_data): Likewise.
21516 (remainder_test_towardzero): Likewise.
21517 (drem_test_towardzero): Likewise.
21518 (remainder_downward_test_data): Likewise.
21519 (remainder_test_downward): Likewise.
21520 (drem_test_downward): Likewise.
21521 (remainder_upward_test_data): Likewise.
21522 (remainder_test_upward): Likewise.
21523 (drem_test_upward): Likewise.
21524 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21525 (round_test): Use ALL_RM_TEST.
21526 (signbit_test): Likewise.
21527 (trunc_test): Likewise.
21528 (significand_test): Likewise.
21529 (main): Don't call removed functions.
21531 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21534 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21535 || __USE_XOPEN2K8].
21536 (ILL_ILLOPN): Likewise.
21537 (ILL_ILLADR): Likewise.
21538 (ILL_ILLTRP): Likewise.
21539 (ILL_PRVOPC): Likewise.
21540 (ILL_PRVREG): Likewise.
21541 (ILL_COPROC): Likewise.
21542 (ILL_BADSTK): Likewise.
21543 (FPE_INTDIV): Likewise.
21544 (FPE_INTOVF): Likewise.
21545 (FPE_FLTDIV): Likewise.
21546 (FPE_FLTOVF): Likewise.
21547 (FPE_FLTUND): Likewise.
21548 (FPE_FLTRES): Likewise.
21549 (FPE_FLTINV): Likewise.
21550 (FPE_FLTSUB): Likewise.
21551 (SEGV_MAPERR): Likewise.
21552 (SEGV_ACCERR): Likewise.
21553 (BUS_ADRALN): Likewise.
21554 (BUS_ADRERR): Likewise.
21555 (BUS_OBJERR): Likewise.
21556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21557 (TRAP_TRACE): Likewise.
21558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21560 (CLD_KILLED): Likewise.
21561 (CLD_DUMPED): Likewise.
21562 (CLD_TRAPPED): Likewise.
21563 (CLD_STOPPED): Likewise.
21564 (CLD_CONTINUED): Likewise.
21565 (POLL_IN): Likewise.
21566 (POLL_OUT): Likewise.
21567 (POLL_MSG): Likewise.
21568 (POLL_ERR): Likewise.
21569 (POLL_PRI): Likewise.
21570 (POLL_HUP): Likewise.
21571 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21573 (ILL_ILLOPN): Likewise.
21574 (ILL_ILLADR): Likewise.
21575 (ILL_ILLTRP): Likewise.
21576 (ILL_PRVOPC): Likewise.
21577 (ILL_PRVREG): Likewise.
21578 (ILL_COPROC): Likewise.
21579 (ILL_BADSTK): Likewise.
21580 (FPE_INTDIV): Likewise.
21581 (FPE_INTOVF): Likewise.
21582 (FPE_FLTDIV): Likewise.
21583 (FPE_FLTOVF): Likewise.
21584 (FPE_FLTUND): Likewise.
21585 (FPE_FLTRES): Likewise.
21586 (FPE_FLTINV): Likewise.
21587 (FPE_FLTSUB): Likewise.
21588 (SEGV_MAPERR): Likewise.
21589 (SEGV_ACCERR): Likewise.
21590 (BUS_ADRALN): Likewise.
21591 (BUS_ADRERR): Likewise.
21592 (BUS_OBJERR): Likewise.
21593 (BUS_MCEERR_AR): Likewise.
21594 (BUS_MCEERR_AO): Likewise.
21595 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21596 (TRAP_TRACE): Likewise.
21597 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21599 (CLD_KILLED): Likewise.
21600 (CLD_DUMPED): Likewise.
21601 (CLD_TRAPPED): Likewise.
21602 (CLD_STOPPED): Likewise.
21603 (CLD_CONTINUED): Likewise.
21604 (POLL_IN): Likewise.
21605 (POLL_OUT): Likewise.
21606 (POLL_MSG): Likewise.
21607 (POLL_ERR): Likewise.
21608 (POLL_PRI): Likewise.
21609 (POLL_HUP): Likewise.
21610 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21611 (ILL_ILLOPN): Likewise.
21612 (ILL_ILLADR): Likewise.
21613 (ILL_ILLTRP): Likewise.
21614 (ILL_PRVOPC): Likewise.
21615 (ILL_PRVREG): Likewise.
21616 (ILL_COPROC): Likewise.
21617 (ILL_BADSTK): Likewise.
21618 (FPE_INTDIV): Likewise.
21619 (FPE_INTOVF): Likewise.
21620 (FPE_FLTDIV): Likewise.
21621 (FPE_FLTOVF): Likewise.
21622 (FPE_FLTUND): Likewise.
21623 (FPE_FLTRES): Likewise.
21624 (FPE_FLTINV): Likewise.
21625 (FPE_FLTSUB): Likewise.
21626 (SEGV_MAPERR): Likewise.
21627 (SEGV_ACCERR): Likewise.
21628 (BUS_ADRALN): Likewise.
21629 (BUS_ADRERR): Likewise.
21630 (BUS_OBJERR): Likewise.
21631 (BUS_MCEERR_AR): Likewise.
21632 (BUS_MCEERR_AO): Likewise.
21633 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21634 (TRAP_TRACE): Likewise.
21635 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21637 (CLD_KILLED): Likewise.
21638 (CLD_DUMPED): Likewise.
21639 (CLD_TRAPPED): Likewise.
21640 (CLD_STOPPED): Likewise.
21641 (CLD_CONTINUED): Likewise.
21642 (POLL_IN): Likewise.
21643 (POLL_OUT): Likewise.
21644 (POLL_MSG): Likewise.
21645 (POLL_ERR): Likewise.
21646 (POLL_PRI): Likewise.
21647 (POLL_HUP): Likewise.
21648 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21650 (ILL_ILLOPN): Likewise.
21651 (ILL_ILLADR): Likewise.
21652 (ILL_ILLTRP): Likewise.
21653 (ILL_PRVOPC): Likewise.
21654 (ILL_PRVREG): Likewise.
21655 (ILL_COPROC): Likewise.
21656 (ILL_BADSTK): Likewise.
21657 (ILL_BADIADDR): Likewise.
21658 (ILL_BREAK): Likewise.
21659 (FPE_INTDIV): Likewise.
21660 (FPE_INTOVF): Likewise.
21661 (FPE_FLTDIV): Likewise.
21662 (FPE_FLTOVF): Likewise.
21663 (FPE_FLTUND): Likewise.
21664 (FPE_FLTRES): Likewise.
21665 (FPE_FLTINV): Likewise.
21666 (FPE_FLTSUB): Likewise.
21667 (FPE_DECOVF): Likewise.
21668 (FPE_DECDIV): Likewise.
21669 (FPE_DECERR): Likewise.
21670 (FPE_INVASC): Likewise.
21671 (FPE_INVDEC): Likewise.
21672 (SEGV_MAPERR): Likewise.
21673 (SEGV_ACCERR): Likewise.
21674 (SEGV_PSTKOVF): Likewise.
21675 (BUS_ADRALN): Likewise.
21676 (BUS_ADRERR): Likewise.
21677 (BUS_OBJERR): Likewise.
21678 (BUS_MCEERR_AR): Likewise.
21679 (BUS_MCEERR_AO): Likewise.
21680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21681 (TRAP_TRACE): Likewise.
21682 (TRAP_BRANCH): Likewise.
21683 (TRAP_HWBKPT): Likewise.
21684 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21686 (CLD_KILLED): Likewise.
21687 (CLD_DUMPED): Likewise.
21688 (CLD_TRAPPED): Likewise.
21689 (CLD_STOPPED): Likewise.
21690 (CLD_CONTINUED): Likewise.
21691 (POLL_IN): Likewise.
21692 (POLL_OUT): Likewise.
21693 (POLL_MSG): Likewise.
21694 (POLL_ERR): Likewise.
21695 (POLL_PRI): Likewise.
21696 (POLL_HUP): Likewise.
21697 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21698 (ILL_ILLOPN): Likewise.
21699 (ILL_ILLADR): Likewise.
21700 (ILL_ILLTRP): Likewise.
21701 (ILL_PRVOPC): Likewise.
21702 (ILL_PRVREG): Likewise.
21703 (ILL_COPROC): Likewise.
21704 (ILL_BADSTK): Likewise.
21705 (FPE_INTDIV): Likewise.
21706 (FPE_INTOVF): Likewise.
21707 (FPE_FLTDIV): Likewise.
21708 (FPE_FLTOVF): Likewise.
21709 (FPE_FLTUND): Likewise.
21710 (FPE_FLTRES): Likewise.
21711 (FPE_FLTINV): Likewise.
21712 (FPE_FLTSUB): Likewise.
21713 (SEGV_MAPERR): Likewise.
21714 (SEGV_ACCERR): Likewise.
21715 (BUS_ADRALN): Likewise.
21716 (BUS_ADRERR): Likewise.
21717 (BUS_OBJERR): Likewise.
21718 (BUS_MCEERR_AR): Likewise.
21719 (BUS_MCEERR_AO): Likewise.
21720 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21721 (TRAP_TRACE): Likewise.
21722 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21724 (CLD_KILLED): Likewise.
21725 (CLD_DUMPED): Likewise.
21726 (CLD_TRAPPED): Likewise.
21727 (CLD_STOPPED): Likewise.
21728 (CLD_CONTINUED): Likewise.
21729 (POLL_IN): Likewise.
21730 (POLL_OUT): Likewise.
21731 (POLL_MSG): Likewise.
21732 (POLL_ERR): Likewise.
21733 (POLL_PRI): Likewise.
21734 (POLL_HUP): Likewise.
21735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21736 (ILL_ILLOPN): Likewise.
21737 (ILL_ILLADR): Likewise.
21738 (ILL_ILLTRP): Likewise.
21739 (ILL_PRVOPC): Likewise.
21740 (ILL_PRVREG): Likewise.
21741 (ILL_COPROC): Likewise.
21742 (ILL_BADSTK): Likewise.
21743 (FPE_INTDIV): Likewise.
21744 (FPE_INTOVF): Likewise.
21745 (FPE_FLTDIV): Likewise.
21746 (FPE_FLTOVF): Likewise.
21747 (FPE_FLTUND): Likewise.
21748 (FPE_FLTRES): Likewise.
21749 (FPE_FLTINV): Likewise.
21750 (FPE_FLTSUB): Likewise.
21751 (SEGV_MAPERR): Likewise.
21752 (SEGV_ACCERR): Likewise.
21753 (BUS_ADRALN): Likewise.
21754 (BUS_ADRERR): Likewise.
21755 (BUS_OBJERR): Likewise.
21756 (BUS_MCEERR_AR): Likewise.
21757 (BUS_MCEERR_AO): Likewise.
21758 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21759 (TRAP_TRACE): Likewise.
21760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21762 (CLD_KILLED): Likewise.
21763 (CLD_DUMPED): Likewise.
21764 (CLD_TRAPPED): Likewise.
21765 (CLD_STOPPED): Likewise.
21766 (CLD_CONTINUED): Likewise.
21767 (POLL_IN): Likewise.
21768 (POLL_OUT): Likewise.
21769 (POLL_MSG): Likewise.
21770 (POLL_ERR): Likewise.
21771 (POLL_PRI): Likewise.
21772 (POLL_HUP): Likewise.
21773 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21774 (ILL_ILLOPN): Likewise.
21775 (ILL_ILLADR): Likewise.
21776 (ILL_ILLTRP): Likewise.
21777 (ILL_PRVOPC): Likewise.
21778 (ILL_PRVREG): Likewise.
21779 (ILL_COPROC): Likewise.
21780 (ILL_BADSTK): Likewise.
21781 (FPE_INTDIV): Likewise.
21782 (FPE_INTOVF): Likewise.
21783 (FPE_FLTDIV): Likewise.
21784 (FPE_FLTOVF): Likewise.
21785 (FPE_FLTUND): Likewise.
21786 (FPE_FLTRES): Likewise.
21787 (FPE_FLTINV): Likewise.
21788 (FPE_FLTSUB): Likewise.
21789 (SEGV_MAPERR): Likewise.
21790 (SEGV_ACCERR): Likewise.
21791 (BUS_ADRALN): Likewise.
21792 (BUS_ADRERR): Likewise.
21793 (BUS_OBJERR): Likewise.
21794 (BUS_MCEERR_AR): Likewise.
21795 (BUS_MCEERR_AO): Likewise.
21796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21797 (TRAP_TRACE): Likewise.
21798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21800 (CLD_KILLED): Likewise.
21801 (CLD_DUMPED): Likewise.
21802 (CLD_TRAPPED): Likewise.
21803 (CLD_STOPPED): Likewise.
21804 (CLD_CONTINUED): Likewise.
21805 (POLL_IN): Likewise.
21806 (POLL_OUT): Likewise.
21807 (POLL_MSG): Likewise.
21808 (POLL_ERR): Likewise.
21809 (POLL_PRI): Likewise.
21810 (POLL_HUP): Likewise.
21811 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21812 (ILL_ILLOPN): Likewise.
21813 (ILL_ILLADR): Likewise.
21814 (ILL_ILLTRP): Likewise.
21815 (ILL_PRVOPC): Likewise.
21816 (ILL_PRVREG): Likewise.
21817 (ILL_COPROC): Likewise.
21818 (ILL_BADSTK): Likewise.
21819 (ILL_DBLFLT): Likewise.
21820 (ILL_HARDWALL): Likewise.
21821 (FPE_INTDIV): Likewise.
21822 (FPE_INTOVF): Likewise.
21823 (FPE_FLTDIV): Likewise.
21824 (FPE_FLTOVF): Likewise.
21825 (FPE_FLTUND): Likewise.
21826 (FPE_FLTRES): Likewise.
21827 (FPE_FLTINV): Likewise.
21828 (FPE_FLTSUB): Likewise.
21829 (SEGV_MAPERR): Likewise.
21830 (SEGV_ACCERR): Likewise.
21831 (BUS_ADRALN): Likewise.
21832 (BUS_ADRERR): Likewise.
21833 (BUS_OBJERR): Likewise.
21834 (BUS_MCEERR_AR): Likewise.
21835 (BUS_MCEERR_AO): Likewise.
21836 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21837 (TRAP_TRACE): Likewise.
21838 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21840 (CLD_KILLED): Likewise.
21841 (CLD_DUMPED): Likewise.
21842 (CLD_TRAPPED): Likewise.
21843 (CLD_STOPPED): Likewise.
21844 (CLD_CONTINUED): Likewise.
21845 (POLL_IN): Likewise.
21846 (POLL_OUT): Likewise.
21847 (POLL_MSG): Likewise.
21848 (POLL_ERR): Likewise.
21849 (POLL_PRI): Likewise.
21850 (POLL_HUP): Likewise.
21851 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21852 (ILL_ILLOPN): Likewise.
21853 (ILL_ILLADR): Likewise.
21854 (ILL_ILLTRP): Likewise.
21855 (ILL_PRVOPC): Likewise.
21856 (ILL_PRVREG): Likewise.
21857 (ILL_COPROC): Likewise.
21858 (ILL_BADSTK): Likewise.
21859 (FPE_INTDIV): Likewise.
21860 (FPE_INTOVF): Likewise.
21861 (FPE_FLTDIV): Likewise.
21862 (FPE_FLTOVF): Likewise.
21863 (FPE_FLTUND): Likewise.
21864 (FPE_FLTRES): Likewise.
21865 (FPE_FLTINV): Likewise.
21866 (FPE_FLTSUB): Likewise.
21867 (SEGV_MAPERR): Likewise.
21868 (SEGV_ACCERR): Likewise.
21869 (BUS_ADRALN): Likewise.
21870 (BUS_ADRERR): Likewise.
21871 (BUS_OBJERR): Likewise.
21872 (BUS_MCEERR_AR): Likewise.
21873 (BUS_MCEERR_AO): Likewise.
21874 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21875 (TRAP_TRACE): Likewise.
21876 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21878 (CLD_KILLED): Likewise.
21879 (CLD_DUMPED): Likewise.
21880 (CLD_TRAPPED): Likewise.
21881 (CLD_STOPPED): Likewise.
21882 (CLD_CONTINUED): Likewise.
21883 (POLL_IN): Likewise.
21884 (POLL_OUT): Likewise.
21885 (POLL_MSG): Likewise.
21886 (POLL_ERR): Likewise.
21887 (POLL_PRI): Likewise.
21888 (POLL_HUP): Likewise.
21889 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21890 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21893 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21894 before #include of <time.h>.
21895 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21896 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21897 (test-xfail-UNIX98/sched.h/conform): Likewise.
21899 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21901 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21902 error absence of trapping exception support.
21903 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21905 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21907 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21908 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21909 * timezone/Makefile (testdata): Move definition above include of
21911 (test-zones): New variable.
21912 (tests-special): Add zone files.
21913 (build-testdata): Use $(evaluate-test).
21915 * elf/Makefile (tests-special): Rename tests to end with .out.
21916 ($(objpfx)noload-mem): Likewise.
21917 ($(objpfx)tst-leaks1-mem): Likewise.
21918 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21919 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21920 $(objpfx)test-iconvconfig.out.
21921 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21922 set -e inside subshell and redirect output to file.
21923 * iconvdata/Makefile (generated): Rename tests to end with .out.
21925 (tests-special): Rename tests to end with .out.
21926 ($(objpfx)mtrace-tst-loading): Likewise.
21927 * intl/Makefile (generated): Likewise.
21928 (tests-special): Likewise.
21929 ($(objpfx)mtrace-tst-gettext): Likewise.
21930 * misc/Makefile (generated): Likewise.
21931 (tests-special): Likewise.
21932 ($(objpfx)tst-error1-mem): Likewise.
21933 * nptl/Makefile (tests-special): Likewise.
21934 ($(objpfx)tst-stack3-mem): Likewise.
21935 (generated): Likewise.
21936 * posix/Makefile (generated): Likewise.
21937 (tests-special): Likewise.
21938 (xtests-special): Likewise.
21939 ($(objpfx)tst-fnmatch-mem): Likewise.
21940 ($(objpfx)bug-regex2-mem): Likewise.
21941 ($(objpfx)bug-regex14-mem): Likewise.
21942 ($(objpfx)bug-regex21-mem): Likewise.
21943 ($(objpfx)bug-regex31-mem): Likewise.
21944 ($(objpfx)tst-vfork3-mem): Likewise.
21945 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21946 ($(objpfx)tst-pcre-mem): Likewise.
21947 ($(objpfx)tst-boost-mem): Likewise.
21948 ($(objpfx)bug-ga2-mem): Likewise.
21949 ($(objpfx)bug-glob2-mem): Likewise.
21950 * resolv/Makefile (generate): Likewise.
21951 (tests-special): Likewise.
21952 (xtests-special): Likewise.
21953 (generated): Likewise.
21954 ($(objpfx)mtrace-tst-leaks): Likewise.
21955 ($(objpfx)mtrace-tst-leaks2): Likewise.
21957 * scripts/merge-test-results.sh: New file.
21958 * Makefile (tests-special-notdir): New variable.
21959 (tests): Run merge-test-results.sh.
21960 (xtests): Likewise.
21961 * Rules (tests-special-notdir): New variable.
21962 (xtests-special-notdir): Likewise.
21963 (tests): Run merge-test-results.sh
21964 (xtests): Likewise.
21966 * Makeconfig (test-xfail-name): New variable.
21967 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21968 compute variable name for expected failures.
21969 * conform/Makefile (conformtest-headers-data): New variable.
21970 (conformtest-standards): Likewise.
21971 (conformtest-headers-ISO): Likewise.
21972 (conformtest-headers-ISO99): Likewise.
21973 (conformtest-headers-ISO11): Likewise.
21974 (conformtest-headers-POSIX): Likewise.
21975 (conformtest-headers-XPG3): Likewise.
21976 (conformtest-headers-XPG4): Likewise.
21977 (conformtest-headers-UNIX98): Likewise.
21978 (conformtest-headers-XOPEN2K): Likewise.
21979 (conformtest-headers-POSIX2008): Likewise.
21980 (conformtest-headers-XOPEN2K8): Likewise.
21981 (conformtest-header-list-base): Likewise.
21982 (conformtest-header-list-tests): Likewise.
21983 (conformtest-header-base): Likewise.
21984 (conformtest-header-tests): Likewise.
21985 (tests-special): Add $(conformtest-header-list-tests). If
21986 [$(fast-check) && !$(cross-compiling)], add
21987 $(conformtest-header-tests) instead of
21988 $(objpfx)run-conformtest.out.
21989 (generated): Add $(conformtest-header-list-base). If
21990 [$(fast-check) && !$(cross-compiling)], add
21991 $(conformtest-header-base). Remove previous setting.
21992 ($(conformtest-header-list-tests)): New target.
21993 (test-xfail-run-conformtest): Remove variable.
21994 ($(objpfx)run-conformtest.out): Remove target.
21995 (test-xfail-ISO11/complex.h/conform): New variable.
21996 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21997 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21998 (test-xfail-XPG3/varargs.h/conform): Likewise.
21999 (test-xfail-XPG4/varargs.h/conform): Likewise.
22000 (test-xfail-UNIX98/varargs.h/conform): Likewise.
22001 (test-xfail-XPG4/ndbm.h/conform): Likewise.
22002 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22003 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22004 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22005 (test-xfail-XPG3/fcntl.h/conform): Likewise.
22006 (test-xfail-XPG3/ftw.h/conform): Likewise.
22007 (test-xfail-XPG3/grp.h/conform): Likewise.
22008 (test-xfail-XPG3/langinfo.h/conform): Likewise.
22009 (test-xfail-XPG3/limits.h/conform): Likewise.
22010 (test-xfail-XPG3/pwd.h/conform): Likewise.
22011 (test-xfail-XPG3/search.h/conform): Likewise.
22012 (test-xfail-XPG3/signal.h/conform): Likewise.
22013 (test-xfail-XPG3/stdio.h/conform): Likewise.
22014 (test-xfail-XPG3/stdlib.h/conform): Likewise.
22015 (test-xfail-XPG3/string.h/conform): Likewise.
22016 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22017 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22018 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22019 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22020 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22021 (test-xfail-XPG3/sys/types.h/conform): Likewise.
22022 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22023 (test-xfail-XPG3/termios.h/conform): Likewise.
22024 (test-xfail-XPG3/time.h/conform): Likewise.
22025 (test-xfail-XPG3/unistd.h/conform): Likewise.
22026 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22027 (test-xfail-XPG4/fcntl.h/conform): Likewise.
22028 (test-xfail-XPG4/langinfo.h/conform): Likewise.
22029 (test-xfail-XPG4/netdb.h/conform): Likewise.
22030 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22031 (test-xfail-XPG4/signal.h/conform): Likewise.
22032 (test-xfail-XPG4/stdio.h/conform): Likewise.
22033 (test-xfail-XPG4/stdlib.h/conform): Likewise.
22034 (test-xfail-XPG4/stropts.h/conform): Likewise.
22035 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22036 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22037 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22038 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22039 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22040 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22041 (test-xfail-XPG4/sys/time.h/conform): Likewise.
22042 (test-xfail-XPG4/sys/types.h/conform): Likewise.
22043 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22044 (test-xfail-XPG4/termios.h/conform): Likewise.
22045 (test-xfail-XPG4/ucontext.h/conform): Likewise.
22046 (test-xfail-XPG4/unistd.h/conform): Likewise.
22047 (test-xfail-XPG4/utmpx.h/conform): Likewise.
22048 (test-xfail-POSIX/sched.h/conform): Likewise.
22049 (test-xfail-POSIX/signal.h/conform): Likewise.
22050 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22051 (test-xfail-POSIX/tar.h/conform): Likewise.
22052 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22053 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22054 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22055 (test-xfail-UNIX98/netdb.h/conform): Likewise.
22056 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22057 (test-xfail-UNIX98/sched.h/conform): Likewise.
22058 (test-xfail-UNIX98/signal.h/conform): Likewise.
22059 (test-xfail-UNIX98/stdio.h/conform): Likewise.
22060 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22061 (test-xfail-UNIX98/stropts.h/conform): Likewise.
22062 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22063 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22064 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22065 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22066 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22067 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22068 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22069 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22070 (test-xfail-UNIX98/unistd.h/conform): Likewise.
22071 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22072 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22073 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22074 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22075 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22076 (test-xfail-XOPEN2K/math.h/conform): Likewise.
22077 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22078 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22079 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22080 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22081 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22082 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22083 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22084 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22085 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22086 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22087 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22088 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22089 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22090 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22091 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22092 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22093 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22094 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22095 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22096 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22097 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22098 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22099 (test-xfail-POSIX2008/signal.h/conform): Likewise.
22100 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22101 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22102 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22103 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22104 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22105 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22106 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22107 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22108 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22109 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22110 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22111 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22112 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22113 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22114 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22115 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22116 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22117 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22118 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22119 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22120 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22121 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22122 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22123 (conformtest-cc-flags): Likewise.
22124 ($(conformtest-header-tests): New target.
22125 * conform/check-header-lists.sh: New file.
22126 * conform/run-conformtest.sh: Remove.
22128 * conform/conformtest.pl: Allow ' and \ in values given for
22130 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22132 [POSIX] (sys/types.h): Likewise.
22133 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22135 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22137 * conform/data/signal.h-data (SIGIO): Remove expectation.
22138 [XPG3] (SIGBUS): Do not expect.
22139 [POSIX || XPG3] (SIGPOLL): Likewise.
22140 [POSIX || XPG3] (SIGPROF): Likewise.
22141 [POSIX || XPG3] (SIGSYS): Likewise.
22142 [XPG3] (SIGTRAP): Likewise.
22143 [POSIX || XPG3] (SIGURG): Likewise.
22144 [POSIX || XPG3] (SIGVTALRM): Likewise.
22145 [POSIX || XPG3] (SIGXCPU): Likewise.
22146 [POSIX || XPG3] (SIGXFSZ): Likewise.
22147 [POSIX] (SA_SIGINFO): Expect.
22148 [XPG3] (siginfo_t): Do not expect type or contents.
22149 [POSIX] (si_pid): Do not expect element.
22150 [POSIX] (si_uid): Likewise.
22151 [POSIX] (si_addr): Likewise.
22152 [POSIX] (si_status): Likewise.
22153 [POSIX] (si_band): Likewise.
22154 [XPG4] (si_value): Likewise.
22155 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22156 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22157 [POSIX || XPG3] (ILL_ILLADR): Likewise.
22158 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22159 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22160 [POSIX || XPG3] (ILL_PRVREG): Likewise.
22161 [POSIX || XPG3] (ILL_COPROC): Likewise.
22162 [POSIX || XPG3] (ILL_BADSTK): Likewise.
22163 [POSIX || XPG3] (FPE_INTDIV): Likewise.
22164 [POSIX || XPG3] (FPE_INTOVF): Likewise.
22165 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22166 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22167 [POSIX || XPG3] (FPE_FLTUND): Likewise.
22168 [POSIX || XPG3] (FPE_FLTRES): Likewise.
22169 [POSIX || XPG3] (FPE_FLTINV): Likewise.
22170 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22171 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22172 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22173 [POSIX || XPG3] (BUS_ADRALN): Likewise.
22174 [POSIX || XPG3] (BUS_ADRERR): Likewise.
22175 [POSIX || XPG3] (BUS_OBJERR): Likewise.
22176 [POSIX || XPG3] (CLD_EXITED): Likewise.
22177 [POSIX || XPG3] (CLD_KILLED): Likewise.
22178 [POSIX || XPG3] (CLD_DUMPED): Likewise.
22179 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22180 [POSIX || XPG3] (CLD_STOPPED): Likewise.
22181 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22182 [POSIX || XPG3] (POLL_IN): Likewise.
22183 [POSIX || XPG3] (POLL_OUT): Likewise.
22184 [POSIX || XPG3] (POLL_MSG): Likewise.
22185 [POSIX || XPG3] (POLL_ERR): Likewise.
22186 [POSIX || XPG3] (POLL_PRI): Likewise.
22187 [POSIX || XPG3] (POLL_HUP): Likewise.
22188 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22189 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22190 (SIG*): Do not allow.
22191 [XPG3] (si_*): Likewise.
22192 [XPG3] (SI_*): Likewise.
22193 [XPG3 || XPG4] (sigev_*): Likewise.
22194 [XPG3 || XPG4] (SIGEV_*): Likewise.
22195 [XPG3 || XPG4] (sival_*): Likewise.
22196 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22197 [POSIX || XPG3] (BUS_*): Likewise.
22198 [POSIX || XPG3] (CLD_*): Likewise.
22199 [POSIX || XPG3] (FPE_*): Likewise.
22200 [POSIX || XPG3] (ILL_*): Likewise.
22201 [POSIX || XPG3] (POLL_*): Likewise.
22202 [POSIX || XPG3] (SEGV_*): Likewise.
22203 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22204 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22205 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22206 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22207 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22208 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22209 Specify type and value.
22210 (TVERSLEN): Likewise.
22211 (REGTYPE): Likewise.
22212 (AREGTYPE): Likewise.
22213 (LNKTYPE): Likewise.
22214 (SYMTYPE): Likewise.
22215 (CHRTYPE): Likewise.
22216 (BLKTYPE): Likewise.
22217 (DIRTYPE): Likewise.
22218 (FIFOTYPE): Likewise.
22219 (CONTTYPE): Likewise.
22223 (TUREAD): Likewise.
22224 (TUWRITE): Likewise.
22225 (TUEXEC): Likewise.
22226 (TGREAD): Likewise.
22227 (TGWRITE): Likewise.
22228 (TGEXEC): Likewise.
22229 (TOREAD): Likewise.
22230 (TOWRITE): Likewise.
22231 (TOEXEC): Likewise.
22232 [POSIX] (TSVTX): Expect constant.
22234 2014-03-06 Joseph Myers <joseph@codesourcery.com>
22236 * Makefile (tests): Change dependencies to ....
22237 (tests-special): ... additions to this variable.
22238 (tests): Depend on $(tests-special).
22239 * Makerules (check-abi-list): New variable.
22240 (check-abi): Depend on $(check-abi-list).
22241 [$(subdir) = elf] (tests-special): Add
22242 $(objpfx)check-abi-libc.out.
22243 [$(build-shared) = yes && subdir] (tests-special): Add
22245 [$(build-shared) = yes && subdir] (tests): Do not depend on
22247 * Rules (tests): Depend on $(tests-special).
22248 (xtests): Depend on $(xtests-special).
22249 * catgets/Makefile (tests): Change dependencies to ....
22250 (tests-special): ... additions to this variable.
22251 * conform/Makefile (tests): Change dependencies to ....
22252 (tests-special): ... additions to this variable.
22253 * elf/Makefile (tests): Change dependencies to ....
22254 (tests-special): ... additions to this variable.
22255 * grp/Makefile (tests): Change dependencies to ....
22256 (tests-special): ... additions to this variable.
22257 * iconv/Makefile (xtests): Change dependencies to ....
22258 (xtests-special): ... additions to this variable.
22259 * iconvdata/Makefile (tests): Change dependencies to ....
22260 (tests-special): ... additions to this variable.
22261 * intl/Makefile (tests): Change dependencies to ....
22262 (tests-special): ... additions to this variable. Also add
22263 $(objpfx)tst-gettext.out.
22264 * io/Makefile (tests): Change dependencies to ....
22265 (tests-special): ... additions to this variable.
22266 * libio/Makefile (tests): Change dependencies to ....
22267 (tests-special): ... additions to this variable.
22268 * malloc/Makefile (tests): Change dependencies to ....
22269 (tests-special): ... additions to this variable.
22270 * misc/Makefile (tests): Change dependencies to ....
22271 (tests-special): ... additions to this variable.
22272 * nptl/Makefile (tests): Change dependencies to ....
22273 (tests-special): ... additions to this variable.
22274 * nptl_db/Makefile (tests): Change dependencies to ....
22275 (tests-special): ... additions to this variable.
22276 * posix/Makefile (tests): Change dependencies to ....
22277 (tests-special): ... additions to this variable.
22278 (xtests): Change dependencies to ....
22279 (xtests-special): ... additions to this variable.
22280 * resolv/Makefile (tests): Change dependencies to ....
22281 (tests-special): ... additions to this variable.
22282 (xtests): Change dependencies to ....
22283 (xtests-special): ... additions to this variable.
22284 * stdio-common/Makefile (tests): Change dependencies to ....
22285 (tests-special): ... additions to this variable.
22286 (do-tst-unbputc): Remove target.
22287 (do-tst-printf): Likewise.
22288 * stdlib/Makefile (tests): Change dependencies to ....
22289 (tests-special): ... additions to this variable.
22290 * string/Makefile (tests): Change dependencies to ....
22291 (tests-special): ... additions to this variable.
22292 * sysdeps/x86/Makefile (tests): Change dependencies to ....
22293 (tests-special): ... additions to this variable.
22295 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22297 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22299 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22300 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22302 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22303 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22304 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22305 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22306 * conform/data/libgen.h-data [XPG3]: Likewise.
22307 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22308 * conform/data/ndbm.h-data [XPG3]: Likewise.
22309 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22310 * conform/data/netdb.h-data [XPG3]: Likewise.
22311 * conform/data/netinet/in.h-data [XPG3]: Likewise.
22312 * conform/data/poll.h-data [XPG3]: Likewise.
22313 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22314 * conform/data/strings.h-data [XPG3]: Likewise.
22315 * conform/data/stropts.h-data [XPG3]: Likewise.
22316 * conform/data/sys/mman.h-data [XPG3]: Likewise.
22317 * conform/data/sys/resource.h-data [XPG3]: Likewise.
22318 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22320 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22321 * conform/data/sys/time.h-data [XPG3]: Likewise.
22322 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22323 * conform/data/sys/uio.h-data [XPG3]: Likewise.
22324 * conform/data/sys/un.h-data [XPG3]: Likewise.
22325 * conform/data/syslog.h-data [XPG3]: Likewise.
22326 * conform/data/ucontext.h-data [XPG3]: Likewise.
22327 * conform/data/utmpx.h-data [XPG3]: Likewise.
22328 * conform/data/varargs.h-data [UNIX98]: Enable file.
22330 * manual/Makefile (INSTALL_INFO): Remove variable setting.
22332 * math/libm-test.inc (struct test_f_f_data): Move expected results
22333 into structure for each rounding mode.
22334 (struct test_ff_f_data): Likewise.
22335 (struct test_ff_f_data_nexttoward): Likewise.
22336 (struct test_fi_f_data): Likewise.
22337 (struct test_fl_f_data): Likewise.
22338 (struct test_if_f_data): Likewise.
22339 (struct test_fff_f_data): Likewise.
22340 (struct test_c_f_data): Likewise.
22341 (struct test_f_f1_data): Likewise.
22342 (struct test_fF_f1_data): Likewise.
22343 (struct test_ffI_f1_data): Likewise.
22344 (struct test_c_c_data): Likewise.
22345 (struct test_cc_c_data): Likewise.
22346 (struct test_f_i_data): Likewise.
22347 (struct test_ff_i_data): Likewise.
22348 (struct test_f_l_data): Likewise.
22349 (struct test_f_L_data): Likewise.
22350 (struct test_fFF_11_data): Likewise.
22352 (RM_FE_DOWNWARD): Likewise.
22353 (RM_FE_TONEAREST): Likewise.
22354 (RM_FE_TOWARDZERO): Likewise.
22355 (RM_FE_UPWARD): Likewise.
22356 (RUN_TEST_LOOP_f_f): Update references to expected results.
22357 (RUN_TEST_LOOP_2_f): Likewise.
22358 (RUN_TEST_LOOP_fff_f): Likewise.
22359 (RUN_TEST_LOOP_c_f): Likewise.
22360 (RUN_TEST_LOOP_f_f1): Likewise.
22361 (RUN_TEST_LOOP_fF_f1): Likewise.
22362 (RUN_TEST_LOOP_fI_f1): Likewise.
22363 (RUN_TEST_LOOP_ffI_f1): Likewise.
22364 (RUN_TEST_LOOP_c_c): Likewise.
22365 (RUN_TEST_LOOP_cc_c): Likewise.
22366 (RUN_TEST_LOOP_f_i): Likewise.
22367 (RUN_TEST_LOOP_f_i_tg): Likewise.
22368 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22369 (RUN_TEST_LOOP_f_b): Likewise.
22370 (RUN_TEST_LOOP_f_b_tg): Likewise.
22371 (RUN_TEST_LOOP_f_l): Likewise.
22372 (RUN_TEST_LOOP_f_L): Likewise.
22373 (RUN_TEST_LOOP_fFF_11): Likewise.
22374 * math/gen-libm-test.pl (parse_args): Output four copies of
22375 expected results for each test.
22377 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22378 (__ASSUME_UTIMES): Remove.
22379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22380 (__ASSUME_UTIMES): Likewise.
22382 * math/gen-auto-libm-tests.c: Update comment on output format.
22383 (output_for_one_input_case): Generate before-rounding and
22384 after-rounding information as conditions on output flags not
22385 floating-point format.
22386 * math/auto-libm-test-out: Regenerated.
22387 * math/gen-libm-test.pl (cond_value): New function.
22388 (or_cond_value): Use cond_value.
22389 (generate_testfile): Handle conditional exceptions.
22391 2014-03-05 Joseph Myers <joseph@codesourcery.com>
22393 * math/libm-test.inc (max_valid_error): New variable.
22394 (init_max_error): Take new argument specifying whether function
22395 results are exactly determined. Set max_valid_error and bound
22396 other variables for errors based on this argument.
22397 (set_max_error): Do not record results above max_valid_error.
22398 (check_float_internal): Only accept errors of up to 0.5ulps if
22399 also at most max_valid_error.
22400 (START): Take new argument EXACT and pass it to init_max_error.
22401 (acos_test): Update call to START.
22402 (acos_test_tonearest): Likewise.
22403 (acos_test_towardzero): Likewise.
22404 (acos_test_downward): Likewise.
22405 (acos_test_upward): Likewise.
22406 (acosh_test): Likewise.
22407 (asin_test): Likewise.
22408 (asin_test_tonearest): Likewise.
22409 (asin_test_towardzero): Likewise.
22410 (asin_test_downward): Likewise.
22411 (asin_test_upward): Likewise.
22412 (asinh_test): Likewise.
22413 (atan_test): Likewise.
22414 (atanh_test): Likewise.
22415 (atan2_test): Likewise.
22416 (cabs_test): Likewise.
22417 (cacos_test): Likewise.
22418 (cacosh_test): Likewise.
22419 (carg_test): Likewise.
22420 (casin_test): Likewise.
22421 (casinh_test): Likewise.
22422 (catan_test): Likewise.
22423 (catanh_test): Likewise.
22424 (cbrt_test): Likewise.
22425 (ccos_test): Likewise.
22426 (ccosh_test): Likewise.
22427 (ceil_test): Likewise.
22428 (cexp_test): Likewise.
22429 (cimag_test): Likewise.
22430 (clog_test): Likewise.
22431 (clog10_test): Likewise.
22432 (conj_test): Likewise.
22433 (copysign_test): Likewise.
22434 (cos_test): Likewise.
22435 (cos_test_tonearest): Likewise.
22436 (cos_test_towardzero): Likewise.
22437 (cos_test_downward): Likewise.
22438 (cos_test_upward): Likewise.
22439 (cosh_test): Likewise.
22440 (cosh_test_tonearest): Likewise.
22441 (cosh_test_towardzero): Likewise.
22442 (cosh_test_downward): Likewise.
22443 (cosh_test_upward): Likewise.
22444 (cpow_test): Likewise.
22445 (cproj_test): Likewise.
22446 (creal_test): Likewise.
22447 (csin_test): Likewise.
22448 (csinh_test): Likewise.
22449 (csqrt_test): Likewise.
22450 (ctan_test): Likewise.
22451 (ctan_test_tonearest): Likewise.
22452 (ctan_test_towardzero): Likewise.
22453 (ctan_test_downward): Likewise.
22454 (ctan_test_upward): Likewise.
22455 (ctanh_test): Likewise.
22456 (ctanh_test_tonearest): Likewise.
22457 (ctanh_test_towardzero): Likewise.
22458 (ctanh_test_downward): Likewise.
22459 (ctanh_test_upward): Likewise.
22460 (erf_test): Likewise.
22461 (erfc_test): Likewise.
22462 (exp_test): Likewise.
22463 (exp_test_tonearest): Likewise.
22464 (exp_test_towardzero): Likewise.
22465 (exp_test_downward): Likewise.
22466 (exp_test_upward): Likewise.
22467 (exp10_test): Likewise.
22468 (exp10_test_tonearest): Likewise.
22469 (exp10_test_towardzero): Likewise.
22470 (exp10_test_downward): Likewise.
22471 (exp10_test_upward): Likewise.
22472 (pow10_test): Likewise.
22473 (exp2_test): Likewise.
22474 (expm1_test): Likewise.
22475 (expm1_test_tonearest): Likewise.
22476 (expm1_test_towardzero): Likewise.
22477 (expm1_test_downward): Likewise.
22478 (expm1_test_upward): Likewise.
22479 (fabs_test): Likewise.
22480 (fdim_test): Likewise.
22481 (floor_test): Likewise.
22482 (fma_test): Likewise.
22483 (fma_test_towardzero): Likewise.
22484 (fma_test_downward): Likewise.
22485 (fma_test_upward): Likewise.
22486 (fmax_test): Likewise.
22487 (fmin_test): Likewise.
22488 (fmod_test): Likewise.
22489 (fpclassify_test): Likewise.
22490 (frexp_test): Likewise.
22491 (hypot_test): Likewise.
22492 (ilogb_test): Likewise.
22493 (isfinite_test): Likewise.
22494 (finite_test): Likewise.
22495 (isgreater_test): Likewise.
22496 (isgreaterequal_test): Likewise.
22497 (isinf_test): Likewise.
22498 (isless_test): Likewise.
22499 (islessequal_test): Likewise.
22500 (islessgreater_test): Likewise.
22501 (isnan_test): Likewise.
22502 (isnormal_test): Likewise.
22503 (issignaling_test): Likewise.
22504 (isunordered_test): Likewise.
22505 (j0_test): Likewise.
22506 (j1_test): Likewise.
22507 (jn_test): Likewise.
22508 (ldexp_test): Likewise.
22509 (lgamma_test): Likewise.
22510 (gamma_test): Likewise.
22511 (lrint_test): Likewise.
22512 (lrint_test_tonearest): Likewise.
22513 (lrint_test_towardzero): Likewise.
22514 (lrint_test_downward): Likewise.
22515 (lrint_test_upward): Likewise.
22516 (llrint_test): Likewise.
22517 (llrint_test_tonearest): Likewise.
22518 (llrint_test_towardzero): Likewise.
22519 (llrint_test_downward): Likewise.
22520 (llrint_test_upward): Likewise.
22521 (log_test): Likewise.
22522 (log10_test): Likewise.
22523 (log1p_test): Likewise.
22524 (log2_test): Likewise.
22525 (logb_test): Likewise.
22526 (logb_test_downward): Likewise.
22527 (lround_test): Likewise.
22528 (llround_test): Likewise.
22529 (modf_test): Likewise.
22530 (nearbyint_test): Likewise.
22531 (nextafter_test): Likewise.
22532 (nexttoward_test): Likewise.
22533 (pow_test): Likewise.
22534 (pow_test_tonearest): Likewise.
22535 (pow_test_towardzero): Likewise.
22536 (pow_test_downward): Likewise.
22537 (pow_test_upward): Likewise.
22538 (remainder_test): Likewise.
22539 (drem_test): Likewise.
22540 (remainder_test_tonearest): Likewise.
22541 (drem_test_tonearest): Likewise.
22542 (remainder_test_towardzero): Likewise.
22543 (drem_test_towardzero): Likewise.
22544 (remainder_test_downward): Likewise.
22545 (drem_test_downward): Likewise.
22546 (remainder_test_upward): Likewise.
22547 (drem_test_upward): Likewise.
22548 (remquo_test): Likewise.
22549 (rint_test): Likewise.
22550 (rint_test_tonearest): Likewise.
22551 (rint_test_towardzero): Likewise.
22552 (rint_test_downward): Likewise.
22553 (rint_test_upward): Likewise.
22554 (round_test): Likewise.
22555 (scalb_test): Likewise.
22556 (scalbn_test): Likewise.
22557 (scalbln_test): Likewise.
22558 (signbit_test): Likewise.
22559 (sin_test): Likewise.
22560 (sin_test_tonearest): Likewise.
22561 (sin_test_towardzero): Likewise.
22562 (sin_test_downward): Likewise.
22563 (sin_test_upward): Likewise.
22564 (sincos_test): Likewise.
22565 (sinh_test): Likewise.
22566 (sinh_test_tonearest): Likewise.
22567 (sinh_test_towardzero): Likewise.
22568 (sinh_test_downward): Likewise.
22569 (sinh_test_upward): Likewise.
22570 (sqrt_test): Likewise.
22571 (sqrt_test_tonearest): Likewise.
22572 (sqrt_test_towardzero): Likewise.
22573 (sqrt_test_downward): Likewise.
22574 (sqrt_test_upward): Likewise.
22575 (tan_test): Likewise.
22576 (tan_test_tonearest): Likewise.
22577 (tan_test_towardzero): Likewise.
22578 (tan_test_downward): Likewise.
22579 (tan_test_upward): Likewise.
22580 (tanh_test): Likewise.
22581 (tgamma_test): Likewise.
22582 (trunc_test): Likewise.
22583 (y0_test): Likewise.
22584 (y1_test): Likewise.
22585 (yn_test): Likewise.
22586 (significand_test): Likewise.
22588 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22589 individual tests in comment.
22590 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22591 (prev_max_error): New variable.
22592 (prev_real_max_error): Likewise.
22593 (prev_imag_max_error): Likewise.
22594 (compare_ulp_data): Don't refer to test names in comment.
22595 (find_test_ulps): Remove function.
22596 (find_function_ulps): Likewise.
22597 (find_complex_function_ulps): Likewise.
22598 (init_max_error): Take function name as argument. Look up ulps
22600 (print_ulps): Remove function.
22601 (print_max_error): Use prev_max_error instead of calling
22602 find_function_ulps.
22603 (print_complex_max_error): Use prev_real_max_error and
22604 prev_imag_max_error instead of calling find_complex_function_ulps.
22605 (check_float_internal): Take max_ulp parameter instead of calling
22606 find_test_ulps. Don't call print_ulps.
22607 (check_float): Update call to check_float_internal.
22608 (check_complex): Update calls to check_float_internal.
22609 (START): Pass argument to init_max_error.
22610 * math/gen-libm-test.pl (%results): Don't include "kind"
22612 (parse_ulps): Don't handle ulps of individual tests.
22613 (print_ulps_file): Likewise.
22614 (output_ulps): Likewise.
22615 * math/README.libm-test: Update.
22616 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22618 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22619 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22620 * sysdeps/arm/libm-test-ulps: Likewise.
22621 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22622 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22623 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22624 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22625 * sysdeps/microblaze/libm-test-ulps: Likewise.
22626 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22627 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22628 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22629 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22630 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22631 * sysdeps/sh/libm-test-ulps: Likewise.
22632 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22633 * sysdeps/tile/libm-test-ulps: Likewise.
22634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22636 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22638 * math/libm-test.inc (print_complex_max_error): Check separately
22639 whether real and imaginary errors are within allowed range and
22640 pass 0 to print_complex_function_ulps instead of value within
22643 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22645 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22647 (get_handles_fopen): Likewise.
22648 (do_write_test): Likewise.
22650 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22652 * libio/fileops.c (do_ftell): Use cached offset when
22654 * libio/iofwide.c (do_ftell_wide): Likewise.
22655 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22657 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22660 * libio/libioP.h (get_file_offset): New function.
22661 * libio/fileops.c (get_file_offset): Likewise.
22662 (do_ftell): Likewise.
22663 (_IO_new_file_seekoff): Split out ftell logic.
22664 * libio/wfileops.c (do_ftell_wide): Likewise.
22665 (_IO_wfile_seekoff): Split out ftell logic.
22666 * libio/tst-ftell-active-handler.c: New test case.
22667 * libio/Makefile (tests): Add it.
22669 2014-03-03 Roland McGrath <roland@hack.frob.com>
22671 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22672 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22674 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22677 * nscd/connections.c (nscd_init): Call do_exit.
22678 (start_threads): Call do_exit and notify_parent.
22679 (begin_drop_privileges): Call do_exit.
22680 (finish_drop_privileges): Likewise.
22681 * nscd/selinux.c (preserve_capabilities): Likewise.
22682 (install_real_capabilities): Likewise.
22683 (nscd_selinux_enabled): Likewise.
22684 (avc_create_thread): Likewise.
22685 (avc_alloc_lock): Likewise.
22686 (nscd_avc_init): Likewise.
22687 * nscd/nscd.c (parent_fd): New static variable.
22688 (main): Create a pipe between parent and child processes.
22689 Skip closing parent_fd.
22690 (monitor_child): New function.
22691 (do_exit): Likewise.
22692 (notify_parent): Likewise.
22693 * nscd/nscd.h (notify_parent): Likewise.
22694 (do_exit): Likewise.
22696 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22698 * malloc/malloc.c (__libc_calloc): Revert last change.
22700 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22704 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22706 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22710 (__libc_ifunc_impl_list): Likewise.
22711 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22712 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22713 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22714 * string/strrchr.c: Define STRRCHR.
22716 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22718 * benchtest/bench-strtok.c (simple_strtok): Delete.
22719 (strtok_string): Use as benchmark.
22720 * string/strtok (STRTOK): New macro.
22722 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22724 * manual/threads.texi: Add header and standard comments to all
22727 * elf/dl-lookup.c (check_match): New function.
22728 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22729 (do_lookup_x): Remove nested function check_match. Use non-nested
22730 function check_match.
22732 2014-02-28 Roland McGrath <roland@hack.frob.com>
22734 * csu/Makefile (generated, before-compile): Use += rather than =.
22735 * catgets/Makefile (generated, generated-dirs): Likewise.
22736 * debug/Makefile (generated): Likewise.
22737 * dlfcn/Makefile (generated): Likewise.
22738 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22739 * iconvdata/Makefile (before-compile, generated): Likewise.
22740 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22741 * libio/Makefile (generated): Likewise.
22742 * malloc/Makefile (generated): Likewise.
22743 * manual/Makefile (generated, generated-dirs): Likewise.
22744 * misc/Makefile (generated): Likewise.
22745 * posix/Makefile (generated): Likewise.
22746 * resolv/Makefile (generated): Likewise.
22747 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22748 * timezone/Makefile (generated, generated-dirs): Likewise.
22750 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22752 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22755 power8 implementation.
22756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22757 file: POWER8 llround ifunc implementation.
22758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22759 (__lllround): Add POWER8 implementation.
22760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22761 POWER8 llround implementation.
22763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22764 power8 implementation.
22765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22766 file: POWER8 llrint ifunc implementation.
22767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22768 Add POWER8 implementation.
22769 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22770 POWER8 llrint implementation.
22772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22773 power8 implementation.
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22775 file: POWER8 finite ifunc implementation.
22776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22777 Add POWER8 implementation.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22780 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22781 POWER8 finite implementation.
22782 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22785 power8 implementation.
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22787 file: POWER8 isinf ifunc implementation.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22789 POWER8 implementation.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22793 isinf implementation.
22794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22796 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22797 (INIT_ARCH): Add hwcap2 initialization.
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22799 power8 implementation.
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22801 file: POWER8 isnan ifunc implementation.
22802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22803 POWER8 implementation.
22804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22807 isnan implementation.
22808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22810 2014-02-27 Joey Ye <joey.ye@arm.com>
22812 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22813 (_FP_NANFRAC_Q): Set to zero.
22815 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22818 * math/auto-libm-test-in: New test inputs.
22819 * math/auto-libm-test-out: Regenerate.
22820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22823 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22825 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22827 * scripts/evaluate-test.sh: Take new argument indicating whether
22828 failure is expected.
22829 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22830 indicating whether failure is expected.
22831 * conform/Makefile (test-xfail-run-conformtest): New variable.
22832 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22834 * posix/Makefile (test-xfail-annexc): New variable.
22835 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22837 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22839 * argp/Makefile: Include Makeconfig immediately after defining
22841 * assert/Makefile: Likewise.
22842 * benchtests/Makefile: Likewise.
22843 * catgets/Makefile: Likewise.
22844 * conform/Makefile: Likewise.
22845 * crypt/Makefile: Likewise.
22846 * csu/Makefile: Likewise.
22847 (all): Remove target.
22848 * ctype/Makefile: Include Makeconfig immediately after defining
22850 * debug/Makefile: Likewise.
22851 * dirent/Makefile: Likewise.
22852 * dlfcn/Makefile: Likewise.
22853 * gmon/Makefile: Likewise.
22854 * gnulib/Makefile: Likewise.
22855 * grp/Makefile: Likewise.
22856 * gshadow/Makefile: Likewise.
22857 * hesiod/Makefile: Likewise.
22858 * hurd/Makefile: Likewise.
22859 (all): Remove target.
22860 * iconvdata/Makefile: Include Makeconfig immediately after
22862 * inet/Makefile: Likewise.
22863 * intl/Makefile: Likewise.
22864 * io/Makefile: Likewise.
22865 * libio/Makefile: Likewise.
22866 (all): Remove target.
22867 * locale/Makefile: Include Makeconfig immediately after defining
22869 * login/Makefile: Likewise.
22870 * mach/Makefile: Likewise.
22871 (all): Remove target.
22872 * malloc/Makefile: Include Makeconfig immediately after defining
22874 (all): Remove target.
22875 * manual/Makefile: Include Makeconfig immediately after defining
22877 * math/Makefile: Likewise.
22878 * misc/Makefile: Likewise.
22879 * nis/Makefile: Likewise.
22880 * nss/Makefile: Likewise.
22881 * po/Makefile: Likewise.
22882 (all): Remove target.
22883 * posix/Makefile: Include Makeconfig immediately after defining
22885 * pwd/Makefile: Likewise.
22886 * resolv/Makefile: Likewise.
22887 * resource/Makefile: Likewise.
22888 * rt/Makefile: Likewise.
22889 * setjmp/Makefile: Likewise.
22890 * shadow/Makefile: Likewise.
22891 * signal/Makefile: Likewise.
22892 * socket/Makefile: Likewise.
22893 * soft-fp/Makefile: Likewise.
22894 * stdio-common/Makefile: Likewise.
22895 * stdlib/Makefile: Likewise.
22896 * streams/Makefile: Likewise.
22897 * string/Makefile: Likewise.
22898 * sunrpc/Makefile: Likewise.
22899 (all): Remove target.
22900 * sysvipc/Makefile: Include Makeconfig immediately after defining
22902 * termios/Makefile: Likewise.
22903 * time/Makefile: Likewise.
22904 * timezone/Makefile: Likewise.
22905 (all): Remove target.
22906 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22908 * wctype/Makefile: Likewise.
22910 2014-02-26 Steve Ellcey <sellcey@mips.com>
22912 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22913 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22914 (libc_feholdexcept_setround_mips): Ditto.
22915 (libc_feholdsetround): New.
22916 (libc_feholdsetroundf): New.
22917 (libc_feholdsetroundl): New.
22918 (libc_feupdateenv_test_mips): New.
22919 (libc_feupdateenv_test): New.
22920 (libc_feupdateenv_testf): New.
22921 (libc_feupdateenv_testl): New.
22922 (libc_feresetround): New.
22923 (libc_feresetroundf): New.
22924 (libc_feresetroundl): New.
22925 (libc_fetestexcept_mips): New.
22926 (libc_fetestexcept): New.
22927 (libc_fetestexceptf): New.
22928 (libc_fetestexceptl): New.
22929 (HAVE_RM_CTX): New.
22930 (libc_feholdexcept_setround_mips_ctx): New.
22931 (libc_feholdexcept_setround_ctx): New.
22932 (libc_feholdexcept_setroundf_ctx): New.
22933 (libc_feholdexcept_setroundl_ctx): New.
22934 (libc_fesetenv_mips_ctx): New.
22935 (libc_fesetenv_ctx): New.
22936 (libc_fesetenv_ctxf): New.
22937 (libc_fesetenv_ctxl): New.
22938 (libc_feupdateenv_mips_ctx): New.
22939 (libc_feupdateenv_ctx): New.
22940 (libc_feupdateenvf_ctx): New.
22941 (libc_feupdateenvl_ctx): New.
22942 (libc_feholdsetround_mips_ctx): New.
22943 (libc_feholdsetround_ctx): New.
22944 (libc_feholdsetroundf_ctx): New.
22945 (libc_feholdsetroundl_ctx): New.
22946 (libc_feresetround_mips_ctx): New.
22947 (libc_feresetround_ctx): New.
22948 (libc_feresetroundf_ctx): New.
22949 (libc_feresetroundl_ctx): New.
22951 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22953 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22955 * manual/ipc.texi: New file.
22956 * manual/Makefile (chapters): Add ipc.
22957 * manual/job.texi: Add "Inter-Process Communication" to next.
22958 * manual/process.texi: Add "Inter-Process Communication" to prev.
22960 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22964 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22966 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22968 * manual/arith.texi: Fix spaces after sentences.
22969 * manual/charset.texi: Likewise.
22970 * manual/errno.texi: Likewise.
22971 * manual/install.texi: Likewise.
22972 * manual/llio.texi: Likewise.
22973 * manual/locale.texi: Likewise.
22974 * manual/maint.texi: Likewise.
22975 * manual/math.texi: Likewise.
22976 * manual/memory.texi: Likewise.
22977 * manual/message.texi: Likewise.
22978 * manual/probes.texi: Likewise.
22979 * manual/resource.texi: Likewise.
22980 * manual/signal.texi: Likewise.
22981 * manual/socket.texi: Likewise.
22982 * manual/stdio.texi: Likewise.
22983 * manual/string.texi: Likewise.
22984 * manual/time.texi: Likewise.
22985 * manual/users.texi: Likewise.
22987 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22990 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22991 _DEFAULT_SOURCE is defined.
22993 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22994 Carlos O'Donell <carlos@redhat.com>
22997 * elf/dl-tls.c (_dl_count_modids): New function.
22998 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22999 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23000 audit library and increment generation counter.
23001 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23002 * elf/tst-audit9.c: New file.
23003 * elf/tst-auditmod9a.c: New file.
23004 * elf/tst-auditmod9b.c: New file.
23005 * elf/Makefile: Add rules to build and run tst-audit9.
23007 2014-02-25 Florian Weimer <fweimer@redhat.com>
23010 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23012 2014-02-25 Will Newton <will.newton@linaro.org>
23014 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23015 (__longjmp): Restore sp and lr before restoring callee
23016 saved registers. Add longjmp and longjmp_target
23017 SystemTap probe point.
23018 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23019 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23020 Define to zero to match jmpbuf layout.
23021 * sysdeps/arm/setjmp.S: Include stap-probe.h.
23022 (__sigsetjmp): Save sp and lr before saving callee
23023 saved registers. Add setjmp SystemTap probe point.
23025 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23027 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23029 2014-02-24 Andreas Schwab <schwab@suse.de>
23032 * elf/pldd.c (wait_for_ptrace_stop): New function.
23033 (main): Call it after attaching.
23035 2014-02-22 Roland McGrath <roland@hack.frob.com>
23037 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23038 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23039 Versions files is now verboten.
23040 * hurd/Versions (libc: GLIBC_2.0):
23041 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23042 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23043 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23044 * mach/Versions: Likewise.
23046 * csu/Versions: Remove unused %include.
23047 * resolv/Versions: Likewise.
23049 2014-02-21 Joseph Myers <joseph@codesourcery.com>
23051 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23052 ($(objpfx)check-local-headers.out): Likewise.
23053 ($(objpfx)begin-end-check.out): Likewise.
23054 * Makerules (check-abi-%.out): Likewise.
23055 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23056 ($(objpfx)test2.cat): Likewise.
23057 ($(objpfx)de/libc.cat): Likewise.
23058 ($(objpfx)test-gencat.out): Likewise.
23059 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23060 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23061 ($(objpfx)noload-mem): Likewise.
23062 ($(objpfx)tst-pathopt.out): Likewise.
23063 ($(objpfx)tst-rtld-load-self.out): Likewise.
23064 ($(objpfx)tst-array1-cmp.out): Likewise.
23065 ($(objpfx)tst-array1-static-cmp.out): Likewise.
23066 ($(objpfx)tst-array2-cmp.out): Likewise.
23067 ($(objpfx)tst-array3-cmp.out): Likewise.
23068 ($(objpfx)tst-array4-cmp.out): Likewise.
23069 ($(objpfx)tst-array5-cmp.out): Likewise.
23070 ($(objpfx)tst-array5-static-cmp.out): Likewise.
23071 ($(objpfx)check-textrel.out): Likewise.
23072 ($(objpfx)check-execstack.out): Likewise.
23073 ($(objpfx)check-localplt.out): Likewise.
23074 ($(objpfx)order2-cmp.out): Likewise.
23075 ($(objpfx)tst-leaks1-mem): Likewise.
23076 ($(objpfx)tst-leaks1-static-mem): Likewise.
23077 ($(objpfx)tst-initorder-cmp.out): Likewise.
23078 ($(objpfx)tst-initorder2-cmp.out): Likewise.
23079 ($(objpfx)tst-unused-dep.out): Likewise.
23080 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23081 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23082 * iconv/Makefile (test-iconvconfig): Likewise.
23083 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23084 ($(objpfx)iconv-test.out): Likewise.
23085 ($(objpfx)tst-tables.out): Likewise.
23086 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23087 ($(objpfx)tst-gettext.out): Likewise.
23088 ($(objpfx)tst-translit.out): Likewise.
23089 ($(objpfx)tst-gettext2.out): Likewise.
23090 ($(objpfx)tst-gettext4.out): Likewise.
23091 ($(objpfx)tst-gettext6.out): Likewise.
23092 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23093 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23094 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23095 ($(objpfx)tst-fopenloc-mem.out): Likewise.
23096 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23097 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23098 * posix/Makefile ($(objpfx)globtest.out): Likewise.
23099 ($(objpfx)wordexp-tst.out): Likewise.
23100 ($(objpfx)annexc.out): Likewise.
23101 ($(objpfx)tst-fnmatch-mem): Likewise.
23102 ($(objpfx)bug-regex2-mem): Likewise.
23103 ($(objpfx)bug-regex14-mem): Likewise.
23104 ($(objpfx)bug-regex21-mem): Likewise.
23105 ($(objpfx)bug-regex31-mem): Likewise.
23106 ($(objpfx)tst-vfork3-mem): Likewise.
23107 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23108 ($(objpfx)tst-pcre-mem): Likewise.
23109 ($(objpfx)tst-boost-mem): Likewise.
23110 ($(objpfx)tst-getconf.out): Likewise.
23111 ($(objpfx)bug-ga2-mem): Likewise.
23112 ($(objpfx)bug-glob2-mem): Likewise.
23113 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23114 ($(objpfx)mtrace-tst-leaks2): Likewise.
23115 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23116 ($(objpfx)tst-printf.out): Likewise.
23117 ($(objpfx)tst-setvbuf1.out): Likewise.
23118 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23119 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23120 ($(objpfx)tst-fmtmsg.out): Likewise.
23121 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23122 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23124 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23125 * bits/sigaction.h [__USE_MISC]: Likewise.
23126 * bits/waitstatus.h: Update #endif comments.
23127 * ctype/ctype.h: Likewise.
23128 * dirent/dirent.h: Likewise.
23129 [__USE_MISC]: Remove redundant conditionals.
23130 * grp/grp.h: Update #endif comments.
23131 [__USE_GNU]: Remove redundant conditionals.
23132 [__USE_MISC]: Likewise.
23133 * inet/netinet/in.h [__USE_GNU]: Likewise.
23134 * io/sys/stat.h [__USE_MISC]: Likewise.
23135 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23136 * libio/bits/stdio.h: Update #endif comments.
23137 [__USE_MISC]: Remove redundant conditionals.
23138 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23139 * libio/stdio.h: Update #endif comments.
23140 [__USE_MISC]: Remove redundant conditionals.
23141 * math/bits/math-finite.h [__USE_MISC]: Likewise.
23142 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23143 * math/math.h: Update #else and #endif comments.
23144 [__USE_MISC]: Remove redundant conditionals.
23145 * misc/sys/uio.h: Update #endif comments.
23146 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23147 * posix/glob.h [__USE_MISC]: Likewise.
23148 * posix/sys/types.h: Update #endif comments.
23149 [__USE_MISC]: Remove redundant conditionals.
23150 * posix/sys/wait.h: Update #endif comments.
23151 [__USE_MISC]: Remove redundant conditionals.
23152 * posix/unistd.h: Update #endif comments.
23153 [__USE_MISC]: Remove redundant conditionals.
23154 * pwd/pwd.h [__USE_GNU]: Likewise.
23155 [__USE_MISC]: Likewise.
23156 * resolv/netdb.h [__USE_GNU]: Likewise.
23157 * signal/signal.h: Update #endif comments.
23158 [__USE_MISC]: Remove redundant conditionals.
23159 * stdlib/stdlib.h: Update #else and #endif comments.
23160 [__USE_MISC]: Remove redundant conditionals.
23161 [__USE_GNU]: Likewise.
23162 * string/bits/string2.h [__USE_MISC]: Likewise.
23163 * string/string.h: Update #endif comments.
23164 [__USE_MISC]: Remove redundant conditionals.
23165 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23167 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23168 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23169 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23171 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23173 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23175 [__USE_MISC]: Remove redundant conditionals.
23176 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23177 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23178 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23179 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23180 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23182 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23183 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23185 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23186 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23188 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23190 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23191 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23193 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23195 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23196 * sysdeps/x86/bits/string.h: Update #endif comments.
23197 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23199 * time/sys/time.h: Update #endif comments.
23200 * time/time.h: Likewise.
23201 [__USE_MISC]: Remove redundant conditionals.
23203 2014-02-21 Yury Gribov <y.gribov@samsung.com>
23206 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23208 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
23210 * Versions.def (librt): Add GLIBC_2.17.
23212 2014-02-21 Adam Conrad <adconrad@0c3.net>
23214 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23215 synonym for _SYS_AUXV_H to allow direct inclusion.
23216 * sysdeps/sparc/bits/hwcap.h: Likewise.
23217 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23218 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23219 * sysdeps/sparc/sysdep.h: Likewise.
23221 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23223 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23225 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23227 * benchtests/bench-strrchr.c: Print length instead of position.
23229 2014-02-20 Joseph Myers <joseph@codesourcery.com>
23232 * sysdeps/unix/sysv/linux/kernel-features.h
23233 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23234 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23235 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23236 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23238 [__i386__ || __powerpc__ || __sh__ || __sparc__]
23239 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23240 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23241 (__ASSUME_SENDMMSG): Define instead of using previous
23242 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23243 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23244 (__ASSUME_SENDMMSG_SYSCALL): Define.
23245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23246 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23248 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23249 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23251 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23252 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23254 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23255 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23256 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23257 [__ASSUME_SENDMMSG]: Change conditionals to
23258 [__ASSUME_SENDMMSG_SOCKETCALL].
23259 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23260 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23262 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23263 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23265 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23266 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23267 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23268 [!__ASSUME_SENDMMSG]: Change conditional to
23269 [!__ASSUME_SENDMMSG_SOCKETCALL].
23270 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23271 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23275 * sysdeps/unix/sysv/linux/kernel-features.h
23276 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23277 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23278 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23279 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23280 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23281 [__i386__ || __sparc__]
23282 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23283 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23284 (__ASSUME_RECVMMSG): Define instead of using previous
23285 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23287 (__ASSUME_RECVMMSG_SYSCALL): Define.
23288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23289 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23291 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23292 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23294 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23295 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23297 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23298 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23299 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23300 [__ASSUME_RECVMMSG]: Change condition to
23301 [__ASSUME_RECVMMSG_SOCKETCALL].
23302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23306 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23307 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23309 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23310 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23311 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23312 [!__ASSUME_RECVMMSG]: Change condition to
23313 [!__ASSUME_RECVMMSG_SOCKETCALL].
23314 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23315 (__ASSUME_RECVMMSG_SYSCALL): Define.
23318 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23319 __powerpc__ || __s390__ || __sh__ || __sparc__]
23320 (__ASSUME_SOCKETCALL): Define.
23321 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23322 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23323 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23324 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23325 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23326 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23327 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23328 (__ASSUME_ACCEPT4): Define instead of using previous
23329 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23330 __powerpc__ || __sparc__ || __s390__)] condition.
23331 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23332 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23333 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23334 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23335 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23336 [!__ASSUME_ACCEPT4]: Change condition to
23337 [!__ASSUME_ACCEPT4_SOCKETCALL].
23338 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23339 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
23340 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23341 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23342 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23343 __ASSUME_ACCEPT4_SYSCALL.
23344 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23345 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23346 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23347 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23348 __ASSUME_ACCEPT4_SYSCALL.
23349 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23350 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23351 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23352 [__ASSUME_ACCEPT4]: Change condition to
23353 [__ASSUME_ACCEPT4_SOCKETCALL].
23354 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23355 (__ASSUME_SOCKETCALL): Define.
23356 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23358 (__ASSUME_SOCKETCALL): Define.
23359 (__ASSUME_ACCEPT4): Remove.
23360 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23362 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23363 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23365 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23366 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23368 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23370 (HWCAP_ARM_LPAE): Likewise.
23371 (HWCAP_ARM_EVTSTRM): Likewise.
23372 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23373 Add vpfd32, lpae and evtstrm.
23374 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23377 2014-02-19 Joseph Myers <joseph@codesourcery.com>
23379 * math/auto-libm-test-in: Add tests of clog10.
23380 * math/auto-libm-test-out: Regenerated.
23381 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update.
23383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23385 2014-02-18 Andreas Schwab <schwab@suse.de>
23388 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23389 Store non-zero if the second buffer was newly allocated.
23390 (send_dg): Likewise.
23391 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23392 to send_vc and send_dg.
23393 (res_nsend): Pass NULL for ansp2_malloced.
23394 * resolv/res_query.c (__libc_res_nquery): Add parameter
23395 answerp2_malloced and pass it down to __libc_res_nsend.
23396 (res_nquery): Pass additional NULL to __libc_res_nquery.
23397 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23398 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
23399 second answer buffer if answerp2_malloced was set.
23400 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23401 (__libc_res_nquerydomain): Add parameter
23402 answerp2_malloced and pass it down to __libc_res_nquery.
23403 (res_nquerydomain): Pass additional NULL to
23404 __libc_res_nquerydomain.
23405 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23406 additional NULL to __libc_res_nsend and __libc_res_nquery.
23407 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23408 additional NULL to __libc_res_nsearch.
23409 (_nss_dns_gethostbyname4_r): Revert last change. Use new
23410 parameter of __libc_res_nsearch to check for separately allocated
23412 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23414 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23415 additional NULL to __libc_res_nquery.
23416 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23417 __libc_res_nsearch.
23418 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23419 * include/resolv.h: Update prototypes of __libc_res_nquery,
23420 __libc_res_nsearch, __libc_res_nsend.
23422 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23424 * math/auto-libm-test-in: Add tests of fma.
23425 * math/auto-libm-test-out: Regenerated.
23426 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23427 (fma_towardzero_test_data): Likewise.
23428 (fma_downward_test_data): Likewise.
23429 (fma_upward_test_data): Likewise.
23430 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23432 (rounding_modes): Add values for new field.
23433 (func_calc_method): Add value mpfr_fff_f.
23434 (func_calc_desc): Add mpfr_fff_f union field.
23435 (test_function): Add field exact_args.
23436 (FUNC): Add macro argument EXACT_ARGS.
23437 (FUNC_mpfr_f_f): Update call to FUNC.
23438 (FUNC_mpfr_f_f): Likewise.
23439 (FUNC_mpfr_ff_f): Likewise.
23440 (FUNC_mpfr_if_f): Likewise.
23441 (FUNC_mpc_c_f): Likewise.
23442 (FUNC_mpc_c_c): Likewise.
23443 (test_functions): Add fma. Update calls to FUNC.
23444 (handle_input_arg): Add argument exact_args.
23445 (add_test): Update call to handle_input_arg.
23446 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23447 (output_for_one_input_case): Update call to calc_generic_results.
23448 Recalculate exact zero results in each rounding mode.
23450 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23451 non-negative before setting low bit.
23452 * math/auto-libm-test-in: Mark one asin test possibly having
23453 spurious underflow.
23454 * math/auto-libm-test-out: Regenerated.
23455 * sysdeps/i386/fpu/libm-test-ulps: Update.
23456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23458 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23460 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23461 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23462 ports/sysdeps/unix/sysv/linux/microblaze.
23463 * README: Add missing listing for microblaze*-*-linux-gnu.
23465 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23467 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23470 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23472 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23473 * sysdeps/unix/sysv/linux/ia64: Move directory from
23474 ports/sysdeps/unix/sysv/linux/ia64.
23475 * README: Update listing for ia64-*-linux-gnu.
23477 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23478 Joseph Myers <joseph@codesourcery.com>
23480 * Makeconfig (test-name): New variable.
23481 (evaluate-test): Likewise.
23482 * Makerules (do-test-clean): Remove .test-result files.
23483 (common-mostlyclean): Likewise.
23484 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23485 * scripts/evaluate-test.sh: New file.
23487 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23489 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23490 separate $(objpfx)tst-fopenloc-cmp.out and
23491 $(objpfx)tst-fopenloc-mem.out targets.
23492 (tests): Update dependencies.
23493 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23494 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23495 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23496 (tst-rxspencer-no-utf8-ARGS): New variable.
23497 (tst-rxspencer-no-utf8-ENV): Likewise.
23498 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23499 instead of $(objpfx)tst-rxspencer-mem.
23500 ($(objpfx)tst-rxspencer-mem): Change target to
23501 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23502 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23503 * posix/tst-rxspencer-no-utf8.c: New file.
23505 * elf/Makefile ($(objpfx)order.out): Remove rule.
23506 [$(run-built-tests) = yes] (tests): Depend on
23507 $(objpfx)order-cmp.out.
23508 ($(objpfx)order-cmp.out): New rule.
23509 [$(run-built-tests) = yes] (tests): Depend on
23510 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23511 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23512 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23513 $(objpfx)tst-array5-static-cmp.out.
23514 ($(objpfx)tst-array1.out): Remove rule.
23515 ($(objpfx)tst-array1-cmp.out): New rule.
23516 ($(objpfx)tst-array1-static.out): Remove rule.
23517 ($(objpfx)tst-array1-static-cmp.out): New rule.
23518 ($(objpfx)tst-array2.out): Remove rule.
23519 ($(objpfx)tst-array2-cmp.out): New rule.
23520 ($(objpfx)tst-array3.out): Remove rule.
23521 ($(objpfx)tst-array3-cmp.out): New rule.
23522 ($(objpfx)tst-array4.out): Remove rule.
23523 ($(objpfx)tst-array4-cmp.out): New rule.
23524 ($(objpfx)tst-array5.out): Remove rule.
23525 ($(objpfx)tst-array5-cmp.out): New rule.
23526 ($(objpfx)tst-array5-static.out): Remove rule.
23527 ($(objpfx)tst-array5-static-cmp.out): New rule.
23528 [$(run-built-tests) = yes] (tests): Depend on
23529 $(objpfx)order2-cmp.out.
23530 ($(objpfx)order2.out): Remove rule.
23531 ($(objpfx)order2-cmp.out): New rule.
23532 ($(objpfx)tst-initorder.out): Remove rule.
23533 [$(run-built-tests) = yes] (tests): Depend on
23534 $(objpfx)tst-initorder-cmp.out.
23535 ($(objpfx)tst-initorder-cmp.out): New rule.
23536 ($(objpfx)tst-initorder2.out): Remove rule.
23537 [$(run-built-tests) = yes] (tests): Depend on
23538 $(objpfx)tst-initorder2-cmp.out.
23539 ($(objpfx)tst-initorder2-cmp.out): New rule.
23540 [$(run-built-tests) = yes] (tests): Depend on
23541 $(objpfx)tst-unused-dep-cmp.out.
23542 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23543 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23544 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23545 on $(objpfx)tst-setvbuf1-cmp.out.
23546 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23547 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23548 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23549 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23550 ($(objpfx)tst-svc.out): Remove rule.
23551 ($(objpfx)tst-svc-cmp.out): New rule.
23553 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23555 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23556 * ctype/ctype.h [__USE_MISC]: Likewise.
23557 * dirent/dirent.h [__USE_MISC]: Likewise.
23558 * grp/grp.h [__USE_MISC]: Likewise.
23559 * io/fcntl.h [__USE_MISC]: Likewise.
23560 * io/sys/stat.h [__USE_MISC]: Likewise.
23561 * libio/stdio.h [__USE_MISC]: Likewise.
23562 * posix/unistd.h [__USE_MISC]: Likewise.
23563 * pwd/pwd.h [__USE_MISC]: Likewise.
23564 * stdlib.h [__USE_MISC]: Likewise.
23565 * string/bits/string2.h [__USE_MISC]: Likewise.
23566 * string/string.h [__USE_MISC]: Likewise.
23567 * time/time.h [__USE_MISC]: Likewise.
23569 2014-02-13 Andreas Schwab <schwab@suse.de>
23572 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23573 second answer buffer if it was separately allocated.
23575 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23577 * sysdeps/mips/math-tests.h: Include <features.h>.
23578 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23579 (ROUNDING_TESTS_long_double): Do not define.
23580 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23581 (EXCEPTION_TESTS_long_double): Likewise.
23582 * sysdeps/mips/mips64/libm-test-ulps: Update.
23584 * include/features.h (__USE_BSD): Remove macro definitions.
23585 (__USE_SVID): Likewise.
23586 (_BSD_SOURCE): Likewise.
23587 (_SVID_SOURCE): Likewise.
23588 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23589 from definition of _DEFAULT_SOURCE.
23590 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23592 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23593 * bits/mman.h [__USE_BSD]: Likewise.
23594 * bits/termios.h [__USE_BSD]: Likewise.
23595 * bits/waitstatus.h [__USE_BSD]: Likewise.
23596 * ctype/ctype.h [__USE_SVID]: Likewise.
23597 * dirent/dirent.h [__USE_BSD]: Likewise.
23598 * grp/grp.h [__USE_SVID]: Likewise.
23599 [__USE_BSD]: Likewise.
23600 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23601 * io/fcntl.h [__USE_BSD]: Likewise.
23602 * io/ftw.h [__USE_BSD]: Likewise.
23603 * io/sys/stat.h [__USE_BSD]: Likewise.
23604 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23605 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23606 * libio/stdio.h [__USE_SVID]: Likewise.
23607 [__USE_BSD]: Likewise.
23608 * math/math.h [__USE_SVID]: Likewise.
23609 [__USE_BSD]: Likewise.
23610 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23611 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23612 * misc/search.h [__USE_SVID]: Likewise.
23613 * misc/sys/mman.h [__USE_BSD]: Likewise.
23614 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23615 * misc/sys/uio.h [__USE_BSD]: Likewise.
23616 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23617 * posix/glob.h [__USE_BSD]: Likewise.
23618 * posix/regex.h [__USE_BSD]: Likewise.
23619 * posix/sys/types.h [__USE_BSD]: Likewise.
23620 [__USE_SVID]: Likewise.
23621 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23622 * posix/sys/wait.h [__USE_BSD]: Likewise.
23623 [__USE_SVID]: Likewise.
23624 * posix/unistd.h [__USE_BSD]: Likewise.
23625 [__USE_SVID]: Likewise.
23626 * pwd/pwd.h [__USE_SVID]: Likewise.
23627 * resolv/netdb.h [__USE_BSD]: Likewise.
23628 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23629 * signal/signal.h [__USE_BSD]: Likewise.
23630 [__USE_SVID]: Likewise.
23631 * socket/sys/socket.h [__USE_BSD]: Likewise.
23632 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23633 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23634 [__USE_SVID]: Likewise.
23635 * string/bits/string2.h [__USE_BSD]: Likewise.
23636 [__USE_SVID]: Likewise.
23637 * string/bits/string3.h [__USE_BSD]: Likewise.
23638 * string/endian.h [__USE_BSD]: Likewise.
23639 * string/string.h [__USE_SVID]: Likewise.
23640 [__USE_BSD]: Likewise.
23641 * string/strings.h [__USE_BSD]: Likewise.
23642 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23643 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23644 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23645 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23646 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23647 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23651 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23652 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23654 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23655 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23657 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23659 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23660 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23661 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23665 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23666 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23667 * termios/termios.h [__USE_BSD]: Likewise.
23668 * time/sys/time.h [__USE_BSD]: Likewise.
23669 * time/time.h [__USE_BSD]: Likewise.
23670 [__USE_SVID]: Likewise.
23672 * Makefile (subdir_targets): Remove subdir_lint.out.
23674 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23675 (do-tst-printf): Likewise.
23676 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23677 $(objpfx)tst-printf.out.
23679 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23681 * Makerules (check-abi-%): Change target to
23682 $(objpfx)check-abi-%.out.
23683 (check-abi target): Update dependencies.
23684 (check-abi-pattern variable): Redirect output of diff to $@.
23685 (check-abi variable): Likewise.
23686 * elf/Makefile (check-abi): Update dependencies.
23688 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23690 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23691 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23693 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23694 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23695 value has largest subnormal exponent.
23696 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23697 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23698 * sysdeps/aarch64/soft-fp/sfp-machine.h
23699 (_FP_TININESS_AFTER_ROUNDING): New macro.
23700 * sysdeps/alpha/soft-fp/sfp-machine.h
23701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23702 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23704 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23706 * sysdeps/mips/soft-fp/sfp-machine.h
23707 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23708 * sysdeps/powerpc/soft-fp/sfp-machine.h
23709 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23710 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23713 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23714 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23715 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23716 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23719 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23722 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23725 2014-02-12 Richard Henderson <rth@redhat.com>
23727 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23728 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23729 * sysdeps/unix/sysv/linux/alpha: Move directory from
23730 ports/sysdeps/unix/sysv/linux/alpha.
23731 * README: Update listing for alpha-*-linux-gnu.
23733 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23735 * include/features.h: Update comment documenting feature test
23737 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23739 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23740 (_SVID_SOURCE): Likewise.
23741 (_DEFAULT_SOURCE): Update description of default features.
23742 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23744 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23745 (S_ISVTX): Likewise.
23746 * manual/math.texi (Mathematical Constants): Likewise.
23747 * manual/signal.texi (Interrupted Primitives): Likewise.
23748 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23749 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23750 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23751 Don't refer to _SVID_SOURCE in warning text.
23753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23755 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23757 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23758 * sysdeps/mips/dl-lookup.c: Remove.
23759 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23761 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23764 * math/auto-libm-test-in: Add testcase for expl.
23765 * math/auto-libm-test-out: Regenerate.
23766 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23767 calculation of unsafe.
23768 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23770 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23772 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23773 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23774 ports/sysdeps/unix/sysv/linux/aarch64.
23775 * README: Update listing for aarch64*-*-linux-gnu.
23777 2014-02-11 Will Newton <will.newton@linaro.org>
23779 * manual/probes.texi (Mathematical Function Probes): Use
23780 "triggered" instead of "hit".
23782 * manual/probes.texi (Internal Probes): Add documentation
23783 of setjmp, longjmp and longjmp_target probes.
23785 * include/stap-probe.h: Add comment about probe argument
23788 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23789 definition. (tr_where, tr_freehook, tr_mallochook,
23790 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23792 2014-02-11 David S. Miller <davem@davemloft.net>
23794 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23795 processing int_tests.
23797 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23799 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23800 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23801 * sysdeps/unix/sysv/linux/mips: Move directory from
23802 ports/sysdeps/unix/sysv/linux/mips.
23803 * README: Update listing for mips-*-linux-gnu and
23804 mips64-*-linux-gnu.
23806 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23808 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23809 * sysdeps/unix/sysv/linux/m68k: Move directory from
23810 ports/sysdeps/unix/sysv/linux/m68k.
23811 * README: Update listing for m68k-*-linux-gnu.
23813 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23815 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23816 * sysdeps/unix/sysv/linux/generic: Move directory from
23817 ports/sysdeps/unix/sysv/linux/generic.
23818 * sysdeps/unix/sysv/linux/tile: Move directory from
23819 ports/sysdeps/unix/sysv/linux/tile.
23820 * README: Update listing for tile*-*-linux-gnu.
23822 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23824 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23826 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23827 * catgets/open_catalog.c (__open_catalog): Likewise.
23828 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23829 * debug/confstr_chk.c: Likewise.
23830 * debug/fread_chk.c (__fread_chk): Likewise.
23831 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23832 * debug/getgroups_chk.c: Likewise.
23833 * debug/mbsnrtowcs_chk.c: Likewise.
23834 * debug/mbsrtowcs_chk.c: Likewise.
23835 * debug/mbstowcs_chk.c: Likewise.
23836 * debug/memcpy_chk.c: Likewise.
23837 * debug/memmove_chk.c: Likewise.
23838 * debug/mempcpy_chk.c: Likewise.
23839 * debug/memset_chk.c: Likewise.
23840 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23841 * debug/strcat_chk.c (__strcat_chk): Likewise.
23842 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23843 * debug/strncat_chk.c (__strncat_chk): Likewise.
23844 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23845 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23846 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23847 * debug/wcpncpy_chk.c: Likewise.
23848 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23849 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23850 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23851 * debug/wcsncpy_chk.c: Likewise.
23852 * debug/wcsnrtombs_chk.c: Likewise.
23853 * debug/wcsrtombs_chk.c: Likewise.
23854 * debug/wcstombs_chk.c: Likewise.
23855 * debug/wmemcpy_chk.c: Likewise.
23856 * debug/wmemmove_chk.c: Likewise.
23857 * debug/wmempcpy_chk.c: Likewise.
23858 * debug/wmemset_chk.c: Likewise.
23859 * dirent/scandirat.c (SCANDIRAT): Likewise.
23860 * dlfcn/dladdr1.c (dladdr1): Likewise.
23861 * dlfcn/dladdr.c (dladdr): Likewise.
23862 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23863 * dlfcn/dlerror.c (__dlerror): Likewise.
23864 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23865 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23866 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23867 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23868 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23869 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23870 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23871 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23873 * elf/dl-conflict.c: Likewise.
23874 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23875 * elf/dl-dst.h: Likewise.
23876 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23877 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23878 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23879 * elf/dl-init.c (call_init, _dl_init): Likewise.
23880 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23881 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23882 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23884 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23886 * elf/dl-minimal.c (__libc_memalign): Likewise.
23887 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23888 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23889 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23890 * elf/dl-sym.c (do_sym): Likewise.
23891 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23892 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23893 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23894 * elf/dl-writev.h (_dl_writev): Likewise.
23895 * elf/ldconfig.c (search_dir): Likewise.
23896 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23897 (dl_main): Likewise.
23898 * elf/setup-vdso.h (setup_vdso): Likewise.
23899 * grp/compat-initgroups.c (compat_call): Likewise.
23900 * grp/fgetgrent.c (fgetgrent): Likewise.
23901 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23902 * grp/putgrent.c (putgrent): Likewise.
23903 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23905 * hurd/hurdinit.c: Likewise.
23906 * iconvdata/8bit-gap.c (struct): Likewise.
23907 * iconvdata/ansi_x3.110.c : Likewise.
23908 * iconvdata/big5.c : Likewise.
23909 * iconvdata/big5hkscs.c : Likewise.
23910 * iconvdata/cp1255.c: Likewise.
23911 * iconvdata/cp1258.c : Likewise.
23912 * iconvdata/cp932.c : Likewise.
23913 * iconvdata/euc-cn.c: Likewise.
23914 * iconvdata/euc-jisx0213.c : Likewise.
23915 * iconvdata/euc-jp.c: Likewise.
23916 * iconvdata/euc-jp-ms.c : Likewise.
23917 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23918 * iconvdata/gb18030.c : Likewise.
23919 * iconvdata/gbbig5.c (const): Likewise.
23920 * iconvdata/gbgbk.c: Likewise.
23921 * iconvdata/gbk.c : Likewise.
23922 * iconvdata/ibm1364.c : Likewise.
23923 * iconvdata/ibm930.c : Likewise.
23924 * iconvdata/ibm932.c: Likewise.
23925 * iconvdata/ibm933.c : Likewise.
23926 * iconvdata/ibm935.c : Likewise.
23927 * iconvdata/ibm937.c : Likewise.
23928 * iconvdata/ibm939.c : Likewise.
23929 * iconvdata/ibm943.c: Likewise.
23930 * iconvdata/iso_11548-1.c: Likewise.
23931 * iconvdata/iso-2022-cn.c : Likewise.
23932 * iconvdata/iso-2022-cn-ext.c : Likewise.
23933 * iconvdata/iso-2022-jp-3.c: Likewise.
23934 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23935 * iconvdata/iso-2022-kr.c : Likewise.
23936 * iconvdata/iso646.c (gconv_end): Likewise.
23937 * iconvdata/iso_6937-2.c : Likewise.
23938 * iconvdata/iso_6937.c : Likewise.
23939 * iconvdata/iso8859-1.c: Likewise.
23940 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23941 * iconvdata/shift_jisx0213.c : Likewise.
23942 * iconvdata/sjis.c : Likewise.
23943 * iconvdata/t.61.c : Likewise.
23944 * iconvdata/tcvn5712-1.c : Likewise.
23945 * iconvdata/tscii.c: Likewise.
23946 * iconvdata/uhc.c : Likewise.
23947 * iconvdata/unicode.c (gconv_end): Likewise.
23948 * iconvdata/utf-16.c (gconv_end): Likewise.
23949 * iconvdata/utf-32.c (gconv_end): Likewise.
23950 * iconvdata/utf-7.c (base64): Likewise.
23951 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23952 * iconv/gconv_close.c (__gconv_close): Likewise.
23953 * iconv/gconv_open.c (__gconv_open): Likewise.
23954 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23955 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23956 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23957 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23958 (ucs4le_internal_loop_single): Likewise.
23959 * iconv/iconv.c (iconv): Likewise.
23960 * iconv/iconv_close.c: Likewise.
23961 * iconv/loop.c (SINGLE): Likewise.
23962 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23963 * include/atomic.h: Likewise.
23964 * inet/inet6_option.c (option_alloc): Likewise.
23965 * intl/bindtextdom.c (set_binding_values): Likewise.
23966 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23967 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23968 * intl/localealias.c (read_alias_file): Likewise.
23969 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23970 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23971 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23972 * libio/fmemopen.c (fmemopen): Likewise.
23973 * libio/iofgets.c (_IO_fgets): Likewise.
23974 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23975 * libio/iofgetws.c (fgetws): Likewise.
23976 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23977 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23978 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23979 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23980 * locale/findlocale.c (_nl_find_locale): Likewise.
23981 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23982 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23984 * locale/setlocale.c (setlocale): Likewise.
23985 * login/programs/pt_chown.c (main): Likewise.
23986 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23987 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23988 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23989 (mmap, mmap64, mremap, munmap): Likewise.
23990 * math/e_exp2l.c: Likewise.
23991 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23992 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23993 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23994 * math/s_catan.c (__catan): Likewise.
23995 * math/s_catanf.c (__catanf): Likewise.
23996 * math/s_catanh.c (__catanh): Likewise.
23997 * math/s_catanhf.c (__catanhf): Likewise.
23998 * math/s_catanhl.c (__catanhl): Likewise.
23999 * math/s_catanl.c (__catanl): Likewise.
24000 * math/s_ccosh.c (__ccosh): Likewise.
24001 * math/s_ccoshf.c (__ccoshf): Likewise.
24002 * math/s_ccoshl.c (__ccoshl): Likewise.
24003 * math/s_cexp.c (__cexp): Likewise.
24004 * math/s_cexpf.c (__cexpf): Likewise.
24005 * math/s_cexpl.c (__cexpl): Likewise.
24006 * math/s_clog10.c (__clog10): Likewise.
24007 * math/s_clog10f.c (__clog10f): Likewise.
24008 * math/s_clog10l.c (__clog10l): Likewise.
24009 * math/s_clog.c (__clog): Likewise.
24010 * math/s_clogf.c (__clogf): Likewise.
24011 * math/s_clogl.c (__clogl): Likewise.
24012 * math/s_csin.c (__csin): Likewise.
24013 * math/s_csinf.c (__csinf): Likewise.
24014 * math/s_csinh.c (__csinh): Likewise.
24015 * math/s_csinhf.c (__csinhf): Likewise.
24016 * math/s_csinhl.c (__csinhl): Likewise.
24017 * math/s_csinl.c (__csinl): Likewise.
24018 * math/s_csqrt.c (__csqrt): Likewise.
24019 * math/s_csqrtf.c (__csqrtf): Likewise.
24020 * math/s_csqrtl.c (__csqrtl): Likewise.
24021 * math/s_ctan.c (__ctan): Likewise.
24022 * math/s_ctanf.c (__ctanf): Likewise.
24023 * math/s_ctanh.c (__ctanh): Likewise.
24024 * math/s_ctanhf.c (__ctanhf): Likewise.
24025 * math/s_ctanhl.c (__ctanhl): Likewise.
24026 * math/s_ctanl.c (__ctanl): Likewise.
24027 * math/w_pow.c: Likewise.
24028 * math/w_powf.c: Likewise.
24029 * math/w_powl.c: Likewise.
24030 * math/w_scalb.c (sysv_scalb): Likewise.
24031 * math/w_scalbf.c (sysv_scalbf): Likewise.
24032 * math/w_scalbl.c (sysv_scalbl): Likewise.
24033 * misc/error.c (error_tail): Likewise.
24034 * misc/pselect.c (__pselect): Likewise.
24035 * nis/nis_callback.c (__nis_create_callback): Likewise.
24036 * nis/nis_call.c (__nisfind_server): Likewise.
24037 * nis/nis_creategroup.c (nis_creategroup): Likewise.
24038 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24039 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24040 * nis/nis_getservlist.c (nis_getservlist): Likewise.
24041 * nis/nis_lookup.c (nis_lookup): Likewise.
24042 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24043 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24044 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24045 * nis/nis_xdr.c (xdr_endpoint): Likewise.
24046 * nis/nss_compat/compat-grp.c (getgrent_next_file)
24047 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24048 * nis/nss_compat/compat-initgroups.c (add_group)
24049 (internal_getgrent_r): Likewise.
24050 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24051 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24052 * nis/nss_compat/compat-spwd.c (getspent_next_file)
24053 (internal_getspnam_r): Likewise.
24054 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24055 (_nss_nis_getaliasbyname_r): Likewise.
24056 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24057 (_nss_nis_getntohost_r): Likewise.
24058 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24059 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24060 (_nss_nis_getgrgid_r): Likewise.
24061 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24062 (internal_nis_gethostent_r, internal_gethostbyname2_r)
24063 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24064 (_nss_nis_gethostbyname4_r): Likewise.
24065 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24066 (initgroups_netid): Likewise.
24067 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24068 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24069 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24070 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24071 (_nss_nis_getprotobynumber_r): Likewise.
24072 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24073 (_nss_nis_getsecretkey): Likewise.
24074 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24075 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24076 (_nss_nis_getpwuid_r): Likewise.
24077 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24078 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24079 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24080 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24081 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24082 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24083 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24085 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24086 (_nss_nisplus_getntohost_r): Likewise.
24087 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24088 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24089 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24090 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24092 * nis/nss_nisplus/nisplus-initgroups.c
24093 (_nss_nisplus_initgroups_dyn): Likewise.
24094 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24095 (_nss_nisplus_getnetbyaddr_r): Likewise.
24096 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24097 (_nss_nisplus_getprotobynumber_r): Likewise.
24098 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24099 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24100 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24102 * nis/nss_nisplus/nisplus-service.c
24103 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24104 (_nss_nisplus_getservbyport_r): Likewise.
24105 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24106 (_nss_nisplus_getspnam_r): Likewise.
24107 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24109 * nscd/aicache.c (addhstaiX): Likewise.
24110 * nscd/cache.c (cache_search, prune_cache): Likewise.
24111 * nscd/connections.c (register_traced_file, send_ro_fd)
24112 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24113 (main_loop_epoll): Likewise.
24114 * nscd/grpcache.c (addgrbyX): Likewise.
24115 * nscd/hstcache.c (addhstbyX): Likewise.
24116 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24117 * nscd/mem.c (gc, mempool_alloc): Likewise.
24118 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24119 (addinnetgrX): Likewise.
24120 * nscd/nscd-client.h (__nscd_acquire_maplock)
24121 (__nscd_drop_map_ref): Likewise.
24122 * nscd/nscd_getai.c (__nscd_getai): Likewise.
24123 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24126 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24127 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24128 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24129 (__nscd_get_map_ref): Likewise.
24130 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24131 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24133 * nscd/pwdcache.c (addpwbyX): Likewise.
24134 * nscd/selinux.c (preserve_capabilities): Likewise.
24135 * nscd/servicescache.c (addservbyX): Likewise.
24136 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24137 * posix/fnmatch.c (fnmatch): Likewise.
24138 * posix/getopt.c (_getopt_internal_r): Likewise.
24139 * posix/glob.c (glob, glob_in_dir): Likewise.
24140 * posix/wordexp.c (exec_comm_child): Likewise.
24141 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24142 (getanswer_r, gaih_getanswer_slice): Likewise.
24143 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24144 * resolv/res_init.c: Likewise.
24145 * resolv/res_mkquery.c (res_nmkquery): Likewise.
24146 * resolv/res_query.c (__libc_res_nquery): Likewise.
24147 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24149 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24150 * stdio-common/perror.c (perror): Likewise.
24151 * stdio-common/printf_fp.c (___printf_fp): Likewise.
24152 * stdio-common/tmpnam.c (tmpnam): Likewise.
24153 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24154 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24155 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24157 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24158 * stdlib/putenv.c (putenv): Likewise.
24159 * stdlib/setenv.c (__add_to_environ): Likewise.
24160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24161 * stdlib/strtol_l.c (INTERNAL): Likewise.
24162 * string/memmem.c (memmem): Likewise.
24163 * string/strerror.c (strerror): Likewise.
24164 * string/strnlen.c (__strnlen): Likewise.
24165 * string/test-memmem.c (simple_memmem): Likewise.
24166 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24167 * sunrpc/pm_getport.c (__get_socket): Likewise.
24168 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24169 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24170 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24171 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24173 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24175 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24176 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24177 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24178 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24180 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24182 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24183 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24184 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24185 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24186 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24188 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24189 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24190 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24191 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24192 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24193 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24197 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24199 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24201 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24202 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24203 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24204 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24205 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24214 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24216 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24218 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24220 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24222 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24224 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24226 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24227 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24228 * sysdeps/posix/opendir.c (__opendirat): Likewise.
24229 * sysdeps/posix/sleep.c: Likewise.
24230 * sysdeps/posix/tempname.c: Likewise.
24231 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24232 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24234 * sysdeps/powerpc/powerpc32/dl-machine.h
24235 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24236 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24238 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24239 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24241 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24243 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24245 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24246 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24247 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24248 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24250 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24252 (elf_machine_lazy_rel): Likewise.
24253 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24254 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24255 (elf_machine_lazy_rel): Likewise.
24256 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24257 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24258 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24259 * sysdeps/unix/grantpt.c (grantpt): Likewise.
24260 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24261 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24262 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24265 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24266 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24267 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24268 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24269 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24270 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24271 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24272 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24273 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24274 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24275 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24277 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24278 (__posix_fallocate64_l64): Likewise.
24279 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24280 (posix_fallocate): Likewise.
24281 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24284 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24285 (getifaddrs_internal): Likewise.
24286 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24287 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24288 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24289 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24290 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24291 (__posix_fallocate64_l64): Likewise.
24292 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24294 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24296 (__get_clockfreq): Likewise.
24297 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24298 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24299 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24300 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24301 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24302 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24303 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24304 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24306 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24307 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24308 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24309 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24310 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24311 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24312 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24314 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24315 (posix_fallocate): Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24317 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24318 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24319 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24320 (elf_machine_rela, elf_machine_rela_relative)
24321 (elf_machine_lazy_rel): Likewise.
24322 * time/asctime.c (asctime_internal): Likewise.
24323 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24324 * time/tzset.c (__tzset_parse_tz): Likewise.
24325 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24326 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24327 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24328 * wcsmbs/wcsmbsload.h: Likewise.
24331 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24333 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24334 (arena_get2): Remove THREAD_STATS conditionals.
24335 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24336 (__malloc_stats, int): Likewise.
24338 2014-02-08 Mike Frysinger <vapier@gentoo.org>
24340 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24341 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
24343 * manual/setjmp.texi: Fix typos/grammar errors.
24345 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24346 Only return early when n is <= 0. Delete unused return statement.
24348 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24349 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24350 * debug/tst-longjmp_chk3.c: New file.
24352 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24353 (test_main): Replace code with set_fortify_handler call.
24354 * debug/test-strcpy_chk.c: Likewise.
24355 * debug/tst-chk1.c: Likewise.
24356 * debug/tst-longjmp_chk.c: Likewise.
24357 * test-skeleton.c: Include fcntl.h & paths.h
24358 (set_fortify_handler): Define.
24360 * debug/tst-longjmp_chk.c: Add header comment and include
24361 ../test-skeleton.c.
24362 (do_test): Mark static.
24363 (TEST_FUNCTION): Define.
24365 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24366 (IP_PMTUDISC_INTERFACE): Likewise.
24367 (IP_MULTICAST_IF): Likewise.
24368 (IP_MULTICAST_TTL): Likewise.
24369 (IP_MULTICAST_LOOP): Likewise.
24370 (IP_ADD_MEMBERSHIP): Likewise.
24371 (IP_DROP_MEMBERSHIP): Likewise.
24372 (IP_UNBLOCK_SOURCE): Likewise.
24373 (IP_BLOCK_SOURCE): Likewise.
24374 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24375 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24376 (IP_MSFILTER): Likewise.
24377 (MCAST_JOIN_GROUP): Likewise.
24378 (MCAST_BLOCK_SOURCE): Likewise.
24379 (MCAST_UNBLOCK_SOURCE): Likewise.
24380 (MCAST_LEAVE_GROUP): Likewise.
24381 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24382 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24383 (MCAST_MSFILTER): Likewise.
24384 (IP_MULTICAST_ALL): Likewise.
24385 (IP_UNICAST_IF): Likewise.
24387 * timezone/Makefile: Delete $(have-ksh) check.
24388 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24389 * timezone/tzselect.ksh: Add +x mode bits.
24391 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24392 (ANON_INODE_FS_MAGIC): Likewise.
24393 (BDEVFS_MAGIC): Likewise.
24394 (BINFMTFS_MAGIC): Likewise.
24395 (BTRFS_TEST_MAGIC): Likewise.
24396 (CRAMFS_MAGIC_WEND): Likewise.
24397 (DEBUGFS_MAGIC): Likewise.
24398 (ECRYPTFS_SUPER_MAGIC): Likewise.
24399 (EXT3_SUPER_MAGIC): Likewise.
24400 (EXT4_SUPER_MAGIC): Likewise.
24401 (FUTEXFS_SUPER_MAGIC): Likewise.
24402 (HOSTFS_SUPER_MAGIC): Likewise.
24403 (HUGETLBFS_MAGIC): Likewise.
24404 (MINIX3_SUPER_MAGIC): Likewise.
24405 (MTD_INODE_FS_MAGIC): Likewise.
24406 (NILFS_SUPER_MAGIC): Likewise.
24407 (OPENPROM_SUPER_MAGIC): Likewise.
24408 (PIPEFS_MAGIC): Likewise.
24409 (PSTOREFS_MAGIC): Likewise.
24410 (QNX6_SUPER_MAGIC): Likewise.
24411 (RAMFS_MAGIC): Likewise.
24412 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24413 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24414 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24415 (SECURITYFS_MAGIC): Likewise.
24416 (SELINUX_MAGIC): Likewise.
24417 (SMACK_MAGIC): Likewise.
24418 (SOCKFS_MAGIC): Likewise.
24419 (SQUASHFS_MAGIC): Likewise.
24420 (STACK_END_MAGIC): Likewise.
24421 (TMPFS_MAGIC): Likewise.
24422 (USBDEVICE_SUPER_MAGIC): Likewise.
24423 (V9FS_MAGIC): Likewise.
24424 (XENFS_SUPER_MAGIC): Likewise.
24425 (CRAMFS_MAGIC): Fix typo in comment.
24426 (EXT2_SUPER_MAGIC): Update comment.
24427 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24429 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24431 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24432 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24433 * sysdeps/unix/sysv/linux/arm: Move directory from
24434 ports/sysdeps/unix/sysv/linux/arm.
24435 * README: Update listing for arm-*-linux-gnueabi.
24437 * README: Remove mention of am33.
24439 2014-02-07 Roland McGrath <roland@hack.frob.com>
24441 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24442 than the comma operator, to avoid "rhs of comma has no effect"
24444 (__sigfillset, __sigandset, __sigorset): Likewise.
24445 * include/signal.h (__sigemptyset): Likewise.
24446 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24448 2014-02-07 Allan McRae <allan@archlinux.org>
24450 * version.h (RELEASE): Set to "development".
24451 (VERSION): Set to "2.19.90"
24452 * NEWS: Add 2.20 section.
24454 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24457 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24459 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24461 * manual/contrib.texi: Update entry for Carlos O'Donell,
24462 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24464 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24466 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24468 * sysdeps/unix/sysv/linux/kernel-features.h
24469 [__LINUX_KERNEL_VERSION >= 0x020621]
24470 (__ASSUME_PROC_PID_TASK_COMM): Define.
24472 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24475 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24476 conversion when destination buffer does not have enough space.
24477 * libio/tst-ftell-partial-wide.c: New test case.
24478 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24480 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24481 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24482 Leonard and Allan McRae.
24484 2014-02-04 David S. Miller <davem@davemloft.net>
24486 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24489 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24518 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24520 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24521 * shlib-versions: Likewise.
24523 2014-02-04 Roland McGrath <roland@hack.frob.com>
24524 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24526 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24527 (abilist-pattern): New variable, set to %-le.abilist.
24529 * Makerules (abilist-pattern): New variable.
24530 (vpath): Use $(abilist-pattern) in place of %.abilist.
24531 (check-abi-% pattern rule): Likewise.
24532 (check-abi, update-abi): Likewise.
24534 2014-02-04 Eric Wong <normalperson@yhbt.net>
24536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24538 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24540 * manual/startup.texi: Add next, previous, and top entries for
24541 the `Program Arguments' and `Environment Variables' nodes.
24543 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24545 * manual/macros.texi: Add comments before MTASC-safety macros.
24547 * manual/users.texi: Document MTASC-safety properties.
24549 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24550 (pthread_getspecific, pthread_setspecific): Format with
24551 @deftypefun, and add @safety note.
24552 * manual/signal.texi: Move comments that analyze the above
24553 functions to their home place.
24555 2014-02-03 Allan McRae <allan@archlinux.org>
24557 * po/sl.po: Update Slovenian translation from translation project.
24559 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24561 * manual/time.texi (timegm): Add missing blank after @c.
24562 Reported by Joseph Myers <joseph@codesourcery.com>.
24564 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24566 * manual/check-safety.sh: New.
24567 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24569 * manual/terminal.texi: Document MTASC-safety properties.
24571 * manual/filesys.texi: Document MTASC-safety properties.
24573 * manual/errno.texi: Document MTASC-safety properties.
24575 * manual/intro.texi: Document safety identifiers and
24578 * manual/string.texi (wcstok): Fix prototype.
24579 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24581 * manual/time.texi: Document MTASC-safety properties.
24583 * manual/string.texi: Document MTASC-safety properties.
24585 * manual/threads.texi: Document MTASC-safety properties.
24587 * manual/stdio.texi: Document MTASC-safety properties.
24589 * manual/syslog.texi: Document MTASC-safety properties.
24591 * manual/sysinfo.texi: Document MTASC-safety properties.
24593 * manual/startup.texi: Document MTASC-safety properties.
24595 * manual/socket.texi: Document MTASC-safety properties.
24597 * manual/signal.texi: Document MTASC-safety properties.
24599 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24601 * manual/setjmp.texi: Document MTASC-safety properties.
24603 * manual/search.texi: Document MTASC-safety properties.
24605 * manual/resource.texi: Document MTASC-safety properties.
24607 * manual/process.texi: Document MTASC-safety properties.
24609 * manual/platform.texi: Document MTASC-safety properties.
24611 * manual/pipe.texi: Document MTASC-safety properties.
24613 * manual/pattern.texi: Document MTASC-safety properties.
24615 * manual/message.texi: Document MTASC-safety properties.
24618 * manual/memory.texi: Document MTASC-safety properties.
24620 * manual/math.texi: Document MTASC-safety properties.
24622 * manual/locale.texi: Document MTASC-safety properties.
24624 * manual/llio.texi: Document MTASC-safety properties.
24626 * manual/libdl.texi: New.
24628 * manual/lang.texi: Document MTASC-safety properties.
24630 * manual/job.texi: Document MTASC-safety properties.
24632 * manual/getopt.texi: Document MTASC-safety properties.
24634 * manual/ctype.texi: Document MTASC-safety properties.
24636 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24639 * csu/libc-tls.c (static_map): Remove variable.
24640 (__libc_setup_tls): Use main executable's link map for TLS data.
24641 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24642 casing for LM_ID_BASE and GL(dl_nns).
24643 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24644 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24645 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24646 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24647 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24649 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24652 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24654 * manual/debug.texi: Document MTASC-safety properties.
24656 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24659 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24660 of __x86_64__ when disabling x87 inline functions.
24662 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24664 * manual/charset.texi: Document MTASC-safety properties.
24666 * manual/crypt.texi: Document MTASC-safety properties.
24668 * manual/conf.texi: Document MTASC-safety properties.
24670 * manual/arith.texi: Document MTASC-safety properties.
24672 * manual/argp.texi: Document MTASC-safety properties.
24674 * manual/macros.texi: Introduce macros to document multi
24675 thread, asynchronous signal and asynchronous cancellation
24677 * manual/intro.texi: Introduce the properties themselves.
24679 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24681 * sysdeps/sh/sh4/Makefile: New file.
24683 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24685 * math/gen-libm-test.pl ($srcdir): New variable.
24686 ($auto_input): Use it.
24688 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24691 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24692 access beyond array bounds when parsing netgroups file.
24694 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24695 the old buffer before realloc.
24697 2014-01-27 Allan McRae <allan@archlinux.org>
24699 * po/fr.po: Update French translation from translation project.
24701 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24703 * sysdeps/sh/libm-test-ulps: Regenerate.
24705 2014-01-24 David S. Miller <davem@davemloft.net>
24707 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24709 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24712 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24714 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24717 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24718 string pointers after reallocation.
24720 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24722 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24723 __SH4A__ instead of __SH_FPU_ANY__.
24725 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24727 * sysdeps/sh/fpu_control.h: New file.
24728 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24729 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24730 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24731 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24732 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24733 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24734 * sysdeps/sh/sys/ucontext.h: Remove.
24735 * sysdeps/sh/sys: Remove directory.
24737 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24739 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24740 s390/sys/ucontext.h.
24741 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24742 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24744 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24747 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24749 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24753 Adjust the vDSO correctly for internal calls.
24754 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24756 2014-01-20 Allan McRae <allan@archlinux.org>
24758 * po/ca.po: Update Catalan translation from translation project.
24760 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24762 * sysdeps/s390/sotruss-lib.c: New file.
24764 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24767 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24768 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24769 local calls issues by not having a PLT stub required for IFUNC calls.
24770 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24772 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24774 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24775 * math/test-fpucw-static.c: Likewise.
24777 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24780 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24782 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24784 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24785 implementation for powerpc.
24787 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24790 * sysdeps/posix/system.c (__libc_system): Do not enable
24791 asynchronous cancellation.
24793 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24796 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24797 handling only for numbers special also in the IEEE case.
24799 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24801 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24803 2014-01-11 Allan McRae <allan@archlinux.org>
24805 * po/bg.po: Update Bulgarian translation from translation project.
24807 * po/de.po: Update German translation from translation project.
24809 2014-01-10 Roland McGrath <roland@hack.frob.com>
24811 * sysdeps/generic/gcc-compat.h: New file.
24813 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24815 * benchtests/asin-inputs: Correct slow inputs.
24816 * benchtests/acos-inputs: Likewise.
24818 2014-01-10 Allan McRae <allan@archlinux.org>
24820 * po:sv.po: Update Swedish translation from translation project.
24822 * po/vi.po: Update Vietnamese translation from translation project.
24824 * po/eo.po: Update Esperanto translation from translation project.
24826 * po/cs.po: Update Czech translation from translation project.
24828 * po/nl.po: Update Dutch translation from translation project.
24830 * po/pl.po: Update Polish translation from translation project.
24832 * po/ru.po: Update Russian translation from translation project.
24834 * po/uk.po: Update Ukrainian translation from translation project.
24836 2014-01-08 Brooks Moses <bmoses@google.com>
24838 * elf/dl-load.c: Fix comment typo.
24840 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24842 * po/header.pot: Rename to...
24843 * po/pot.header: ... this.
24844 * po/Makefile: Use pot.header.
24846 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24847 Maxim Kuvyrkov <maxim@kugelworks.com>
24850 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24851 SRC and DEST against LEN.
24853 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24856 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24858 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24860 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24864 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24867 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24868 for large positive arguments.
24870 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24872 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24874 * math/auto-libm-test-in: Mark various tests with
24875 xfail-rounding:ldbl-128ibm.
24876 * math/auto-libm-test-out: Regenerated.
24879 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24880 Increase overflow threshold.
24882 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24885 * stdio-common/vfprintf.c: Check for integer overflow.
24887 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24889 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24890 the first argument and return value of __tls_get_addr_internal.
24892 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24894 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24895 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24897 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24899 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24900 * sysdeps/s390/rtld-global-offsets.sym: New file.
24901 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24903 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24904 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24905 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24907 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24908 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24914 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24915 halfs of GPRs for high_gprs contexts.
24916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24917 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24923 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24924 for high GPRs (uc_high_gprs) and for future extensions
24926 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24927 for future extensions (__reserved).
24928 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24930 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24931 SC_HIGHGPRS offset definition.
24932 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24933 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24935 * Versions.def: Add GLIBC_2.19 for libpthread.
24936 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24937 siglongjmp for libpthread with GLIBC_2.19 symver.
24938 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24939 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24940 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24941 * sysdeps/s390/__longjmp.c: New file.
24942 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24943 * sysdeps/s390/longjmp.c: New file.
24944 * sysdeps/s390/setjmp.S: New file.
24945 * sysdeps/s390/sigjmp.S: New file.
24946 * sysdeps/s390/v1-longjmp.c: New file.
24947 * sysdeps/s390/v1-setjmp.h: New file.
24948 * sysdeps/s390/v1-sigjmp.c: New file.
24949 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24950 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24951 GLIBC_2.19 version.
24952 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24953 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24954 versioned symbols for ____longjmp_chk.
24955 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24965 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24966 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24967 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24968 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24969 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24970 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24971 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24972 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24973 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24974 * sysdeps/s390/rtld-__longjmp.c: New file.
24975 * sysdeps/s390/rtld-setjmp.S: New file.
24977 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24980 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24981 Return -__logl (x) for small positive arguments without evaluating
24984 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24986 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24988 (__ptrace_peeksiginfo_args): ... this.
24989 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24990 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24991 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24993 2014-01-06 Allan McRae <allan@archlinux.org>
24995 * inet/netinet/in.h: Fix typo in comment.
24997 2014-01-05 Andreas Jaeger <aj@suse.de>
24999 * sysdeps/i386/fpu/libm-test-ulps: Update.
25001 2014-01-05 Allan McRae <allan@archlinux.org>
25003 * po/libc.pot: Regenerated.
25005 * malloc/memusagestat.c: Fix gettext call formatting.
25007 2014-01-04 Sami Kerola <kerolasa@iki.fi>
25009 * nscd/nscd.c: Improve usage() output.
25011 2014-01-04 Mike Frysinger <vapier@gentoo.org>
25013 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25014 * sysdeps/unix/sysv/linux/configure: Regenerated.
25015 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25016 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25018 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25021 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25022 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25024 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25026 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25027 extra tokens at end of #undef directive.
25028 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25029 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25032 2014-01-03 Joseph Myers <joseph@codesourcery.com>
25034 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25036 * math/auto-libm-test-in: Mark various tests with
25037 xfail-rounding:ldbl-128ibm.
25038 * math/auto-libm-test-out: Regenerated.
25040 2014-01-02 Joseph Myers <joseph@codesourcery.com>
25043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25044 numbers with subnormal high part when calculating exponent.
25047 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25051 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25053 (__ieee754_acoshl): Use __log1pl not __log1p.
25055 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
25057 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25058 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25059 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25060 (grow_heap, heap_trim, _int_new_arena, get_free_list)
25061 (reused_arena, arena_get2): Convert to GNU style.
25062 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25063 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25064 (memalign_check, __malloc_set_state): Likewise.
25065 * malloc/mallocbug.c (main): Likewise.
25066 * malloc/malloc.c (__malloc_assert, malloc_init_state)
25067 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25068 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25069 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25070 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25071 (__posix_memalign, malloc_info): Likewise.
25072 * malloc/malloc.h: Likewise.
25073 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25074 (mallochook, memalignhook, reallochook, mabort): Likewise.
25075 * malloc/mcheck.h: Likewise.
25076 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25077 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25078 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25079 * malloc/morecore.c (__default_morecore): Likewise.
25080 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25081 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25082 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25083 (print_and_abort): Likewise.
25084 * malloc/obstack.h: Likewise.
25085 * malloc/set-freeres.c (__libc_freeres): Likewise.
25086 * malloc/tst-mallocstate.c (main): Likewise.
25087 * malloc/tst-mtrace.c (main): Likewise.
25088 * malloc/tst-realloc.c (do_test): Likewise.
25090 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25093 * nscd/netgroupcache.c (do_notfound): New function.
25094 (addgetnetgrentX): Use it.
25097 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25098 NSS_STATUS_NOTFOUND.
25100 2014-01-01 Joseph Myers <joseph@codesourcery.com>
25102 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25105 2014-01-01 Allan McRae <allan@archlinux.org>
25107 * scripts/update-copyrights: Update configure input file suffix.
25109 * NEWS: Update copyright year.
25110 * catgets/gencat.c: Likewise.
25111 * csu/version.c: Likewise.
25112 * debug/catchsegv.sh: Likewise.
25113 * debug/pcprofiledump.c: Likewise.
25114 * debug/xtrace.sh: Likewise.
25115 * elf/ldconfig.c: Likewise.
25116 * elf/ldd.bash.in: Likewise.
25117 * elf/pldd.c: Likewise.
25118 * elf/sotruss.ksh: Likewise.
25119 * elf/sprof.c: Likewise.
25120 * iconv/iconv_prog.c: Likewise.
25121 * iconv/iconvconfig.c: Likewise.
25122 * locale/programs/locale.c: Likewise.
25123 * locale/programs/localedef.c: Likewise.
25124 * login/programs/pt_chown.c: Likewise.
25125 * malloc/memusage.sh: Likewise.
25126 * malloc/memusagestat.c: Likewise.
25127 * malloc/mtrace.pl: Likewise.
25128 * manual/libc.texinfo: Likewise.
25129 * nscd/nscd.c: Likewise.
25130 * nss/getent.c: Likewise.
25131 * nss/makedb.c: Likewise.
25132 * posix/getconf.c: Likewise.
25133 * scripts/test-installation.pl: Likewise.
25135 * All files with FSF copyright notices: Update copyright dates
25136 using scripts/update-copyrights.
25137 * intl/plural.c: Regenerated.
25138 * locale/programs/charmap-kw.h: Likewise.
25139 * locale/programs/locfile-kw.h: Likewise.
25141 2013-12-31 Mike Frysinger <vapier@gentoo.org>
25143 * sysdeps/unix/sysv/linux/configure: Regenerated.
25144 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25145 the linux/fanotify.h header.
25146 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25147 HAVE_LINUX_FANOTIFY_H is defined.
25149 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25151 * benchtests/cos-inputs: New inputs.
25152 * benchtests/sin-inputs: Likewise.
25154 * benchtests/atan-inputs: New inputs. Fix name of multiple
25155 precision fallback inputs.
25157 * benchtests/atanh-inputs: New inputs.
25158 * benchtests/tanh-inputs: Likewise.
25160 * benchtests/acosh-inputs: New inputs.
25161 * benchtests/asinh-inputs: Likewise.
25163 * benchtests/cosh-inputs: New inputs.
25164 * benchtests/sinh-inputs: Likewise.
25166 * benchtests/acos-inputs: Add more inputs.
25167 * benchtests/asin-inputs: Likewise.
25169 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
25172 * manual/arith.texi: Fix spelling.
25173 * manual/charset.texi: Likewise.
25174 * manual/errno.texi: Likewise.
25175 * manual/filesys.texi: Likewise.
25176 * manual/lang.texi: Likewise.
25177 * manual/llio.texi: Likewise.
25178 * manual/locale.texi: Likewise.
25179 * manual/message.texi: Likewise.
25180 * manual/resource.texi: Likewise.
25181 * manual/search.texi: Likewise.
25182 * manual/setjmp.texi: Likewise.
25183 * manual/stdio.texi: Likewise.
25184 * manual/string.texi: Likewise.
25185 * manual/sysinfo.texi: Likewise.
25186 * manual/time.texi: Likewise.
25188 2013-12-27 Carlos O'Donell <carlos@redhat.com>
25190 * po/sl.po: New file.
25192 2013-12-27 Mike Frysinger <vapier@gentoo.org>
25194 * .gitignore: Add core/.gdbinit/.gdb_history.
25196 2013-12-27 Allan McRae <allan@archlinux.org>
25199 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25200 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25202 2013-12-24 Brooks Moses <bmoses@google.com>
25204 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25205 all compilers that claim C++98 compliance, not just GCC.
25206 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25209 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25211 * NEWS: Restore accidentally deleted bug-fix entries.
25213 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
25214 Ondřej Bílka <neleai@seznam.cz>
25217 * malloc/malloc.c (_int_free): Perform sanity check only if we
25220 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
25223 * manual/stdio.texi (String Input Conversions): Clarify that character
25224 classes are not supported.
25226 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25230 2013-12-22 Joseph Myers <joseph@codesourcery.com>
25233 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25234 Calculate results for small negative arguments directly rather
25235 than using reflection formula with special underflow handling.
25237 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25238 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25239 sysdeps/unix/bsd/bsd4.4/syscalls.list.
25240 (fchflags): Likewise.
25241 (revoke): Likewise.
25242 (setlogin): Likewise.
25243 (sigaltstack): Likewise.
25245 (sigblock): Remove.
25246 (sigsetmask): Likewise.
25248 (waitpid): Likewise.
25249 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25250 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25252 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25253 * sysdeps/unix/bsd/Makefile: ... here.
25254 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25255 * sysdeps/unix/bsd/Versions: ... here.
25256 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25257 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25258 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25259 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25260 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25261 * sysdeps/unix/bsd/sigblock.c: ... here.
25262 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25263 * sysdeps/unix/bsd/sigsetmask.c: ... here.
25264 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25265 * sysdeps/unix/bsd/sigvec.c: ... here.
25266 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25267 * sysdeps/unix/bsd/tcdrain.c: ... here.
25268 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25269 * sysdeps/unix/bsd/tcgetattr.c: ... here.
25270 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25271 * sysdeps/unix/bsd/tcsetattr.c: ... here.
25272 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25273 * sysdeps/unix/bsd/wait.c: ... here.
25274 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25275 * sysdeps/unix/bsd/wait3.c: ... here.
25276 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25277 * sysdeps/unix/bsd/waitpid.c: ... here.
25279 2013-12-21 Joseph Myers <joseph@codesourcery.com>
25282 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25283 round-to-nearest for [!USE_AS_EXPM1L].
25284 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25285 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
25286 more tests of exp and exp10. Expect some exp10 tests to miss
25287 exceptions or fail in directed rounding modes.
25288 * math/auto-libm-test-out: Regenerated.
25289 * math/libm-test.inc (exp10_tonearest_test_data): New array.
25290 (exp10_test_tonearest): New function.
25291 (exp10_towardzero_test_data): New array.
25292 (exp10_test_towardzero): New function.
25293 (exp10_downward_test_data): New array.
25294 (exp10_test_downward): New function.
25295 (exp10_upward_test_data): New array.
25296 (exp10_test_upward): New function.
25297 (main): Call the new functions.
25298 * sysdeps/i386/fpu/libm-test-ulps: Update.
25299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25301 2013-12-20 Joseph Myers <joseph@codesourcery.com>
25303 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25304 asinh, atan, atan2, atanh, cbrt, cos and cosh.
25305 * math/auto-libm-test-out: Regenerated.
25306 * math/libm-test.inc (acosh_test_data): Add more tests.
25307 (atanh_test_data): Likewise.
25308 (ceil_test_data): Likewise.
25309 (copysign_test_data): Likewise.
25310 * sysdeps/i386/fpu/libm-test-ulps: Update.
25311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25313 * timezone/checktab.awk: Update from tzcode 2013i.
25314 * timezone/private.h: Likewise.
25315 * timezone/scheck.c: Likewise.
25316 * timezone/tzfile.h: Likewise.
25317 * timezone/tzselect.ksh: Likewise.
25318 * timezone/zdump.c: Likewise.
25319 * timezone/zic.c: Likewise.
25321 * math/auto-libm-test-in: Add tests of cpow.
25322 * math/auto-libm-test-out: Regenerated.
25323 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25324 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25326 (func_calc_desc): Add mpc_cc_c union field.
25327 (test_functions): Add cpow.
25328 (special_fill_2pi): New function.
25329 (special_real_inputs): Add 2pi.
25330 (calc_generic_results): Handle mpc_cc_c.
25331 * sysdeps/i386/fpu/libm-test-ulps: Update.
25332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25334 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25335 csqrt, ctan and ctanh.
25336 * math/auto-libm-test-out: Regenerated.
25337 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25338 (TEST_COND_x86): Likewise.
25339 (ccos_test_data): Use AUTO_TESTS_c_c.
25340 (ccosh_test_data): Likewise.
25341 (cexp_test_data): Likewise.
25342 (clog_test_data): Likewise.
25343 (csqrt_test_data): Likewise.
25344 (ctan_test_data): Likewise.
25345 (ctan_tonearest_test_data): Likewise.
25346 (ctan_towardzero_test_data): Likewise.
25347 (ctan_downward_test_data): Likewise.
25348 (ctan_upward_test_data): Likewise.
25349 (ctanh_test_data): Likewise.
25350 (ctanh_tonearest_test_data): Likewise.
25351 (ctanh_towardzero_test_data): Likewise.
25352 (ctanh_downward_test_data): Likewise.
25353 (ctanh_upward_test_data): Likewise.
25354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25356 (func_calc_desc): Add mpc_c_c union field.
25357 (FUNC_mpc_c_c): New macro.
25358 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25359 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25361 (special_fill_min_subnorm_p120): New function.
25362 (special_real_inputs): Add min_subnorm_p120.
25363 (calc_generic_results): Handle mpc_c_c.
25364 * sysdeps/i386/fpu/libm-test-ulps: Update.
25365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25367 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25369 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25370 (do_sin_slow): New functions.
25371 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25372 (cslow2, csloww1, csloww2): Use the new functions.
25374 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25375 Use M to change sign of result instead of X. Assume X is
25377 (csloww1): Likewise.
25381 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25382 arguments A and DA.
25386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25388 (sloww1): Don't adjust sign of DX.
25389 (csloww1): Likewise.
25390 (sloww2): Use X directly and don't adjust sign of DX.
25391 (csloww2): Likewise.
25393 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25395 * math/auto-libm-test-in: Add tests of cabs and carg.
25396 * math/auto-libm-test-out: Regenerated.
25397 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25398 (carg_test_data): Likewise.
25399 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25401 (func_calc_desc): Add mpc_c_f union field.
25402 (test_functions): Add cabs and carg.
25403 (calc_generic_results): Handle mpc_c_f.
25405 * sysdeps/powerpc/powerpc32/libgcc-compat.S
25406 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25407 as a macro and a compat symbol.
25408 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25409 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25410 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25411 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25412 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25413 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25423 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25425 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25426 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25429 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25433 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25435 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25436 trailing whitespace removed.
25437 * scripts/config.guess: Update to version 2013-11-29.
25438 * scripts/config.sub: Update to version 2013-10-01.
25440 * math/auto-libm-test-in: Add tests of sincos.
25441 * math/auto-libm-test-out: Regenerated.
25442 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25443 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25445 (func_calc_desc): Add mpfr_f_11 union field.
25446 (test_functions): Add sincos.
25447 (calc_generic_results): Handle mpfr_f_11.
25448 * sysdeps/i386/fpu/libm-test-ulps: Update.
25449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25451 2013-12-19 Andreas Schwab <schwab@suse.de>
25453 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25455 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25456 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25457 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25459 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25461 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25462 * sysdeps/i386/fpu/libm-test-ulps: Update.
25463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25466 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25467 round-to-nearest mode when using frndint.
25468 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25469 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25472 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25474 * math/auto-libm-test-out: Regenerated.
25475 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25476 (TEST_COND_x86): Likewise.
25477 (expm1_tonearest_test_data): New array.
25478 (expm1_test_tonearest): New function.
25479 (expm1_towardzero_test_data): New array.
25480 (expm1_test_towardzero): New function.
25481 (expm1_downward_test_data): New array.
25482 (expm1_test_downward): New function.
25483 (expm1_upward_test_data): New array.
25484 (expm1_test_upward): New function.
25485 (main): Run the new test functions.
25486 * sysdeps/i386/fpu/libm-test-ulps: Update.
25487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25489 * include/features.h: Update comment documenting feature test
25490 macros. Mention _DEFAULT_SOURCE in comment.
25491 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25492 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25493 _BSD_SOURCE and _SVID_SOURCE.
25494 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25495 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25496 !_SVID_SOURCE]: Likewise.
25497 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25498 (__USE_POSIX_IMPLICITLY): Define.
25499 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25500 (_POSIX_SOURCE): Undefine and redefine.
25501 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25502 (_POSIX_C_SOURCE): Likewise.
25503 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25504 (Feature Test Macros): Update documentation of default features.
25506 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25508 * benchtests/Makefile: Add bench-strtok.
25509 * benchtests/bench-strtok.c: New file: strtok benchtest.
25511 2013-12-19 Allan McRae <allan@archlinux.org>
25513 * manual/install.texi: Suppress menu for plain text output.
25514 * INSTALL: Regenerated.
25516 2013-12-18 Brooks Moses <bmoses@google.com>
25519 * misc/getauxval.c: Include errno.h.
25520 (__getauxval): Set errno to ENOENT if the requested type is not
25522 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25523 don't declare with __attribute_const__.
25524 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25525 * manual/startup.texi: Document that getauxval sets errno.
25527 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25529 * math/auto-libm-test-in: Add tests of jn and yn.
25530 * math/auto-libm-test-out: Regenerated.
25531 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25532 (yn_test_data): Likewise.
25533 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25535 (func_calc_desc): Add mpfr_if_f union field.
25536 (FUNC_mpfr_if_f): New macro.
25537 (test_functions): Add jn and yn.
25538 (calc_generic_results): Assert type of second input for
25539 mpfr_ff_f. Handle mpfr_if_f.
25540 (output_for_one_input_case): Disable all checking for arguments
25541 fitting floating-point types in case of an integer argument.
25542 * sysdeps/i386/fpu/libm-test-ulps: Update.
25543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25546 Don't expect fegetround reference in libm.so.
25548 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25550 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25551 $(config-cflags-nofma).
25553 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25555 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25556 * math/auto-libm-test-out: Regenerated.
25559 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25560 to determine exponent and adjust argument to have exponent of -1.
25561 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25563 * math/auto-libm-test-out: Regenerated.
25564 * sysdeps/i386/fpu/libm-test-ulps: Update.
25565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25569 * manual/probes.texi: Remove cases when per-thread arenas are
25572 2013-12-18 Andreas Schwab <schwab@suse.de>
25574 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25575 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25576 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25577 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25578 * sysdeps/i386/i686/multiarch/Makefile: Update.
25579 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25581 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25583 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25584 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25586 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25589 Support TZ transition times < 00:00:00.
25590 This is needed for version-3 tz-format files; it supports time
25591 stamps past 2037 for America/Godthab (the only entry in the tz
25592 database for which this change is relevant).
25593 * manual/time.texi (TZ Variable): Document transition times
25594 from -167:59:59 through -00:00:01.
25595 * time/tzset.c (tz_rule): Time of day is now signed.
25596 (__tzset_parse_tz): Parse negative time of day.
25598 Document TZ transition times >= 25:00:00.
25599 * manual/time.texi (TZ Variable): Document transition times from
25600 25:00:00 through 167:59:59. These are already supported, and this
25601 support will help with version-3 tz-format files.
25603 * manual/time.texi (TZ Variable): Modernize North America example
25604 to reflect current (i.e., 2007-and-later) daylight saving rules.
25606 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25608 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25610 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25611 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25614 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25615 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25616 * sysdeps/unix/bsd/clock.c: Likewise.
25617 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25618 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25619 * sysdeps/unix/bsd/init-posix.c: Likewise.
25620 * sysdeps/unix/bsd/poll.c: Likewise.
25621 * sysdeps/unix/bsd/ptsname.c: Likewise.
25622 * sysdeps/unix/bsd/seekdir.c: Likewise.
25623 * sysdeps/unix/bsd/setegid.c: Likewise.
25624 * sysdeps/unix/bsd/seteuid.c: Likewise.
25625 * sysdeps/unix/bsd/setgid.c: Likewise.
25626 * sysdeps/unix/bsd/setrgid.c: Likewise.
25627 * sysdeps/unix/bsd/setruid.c: Likewise.
25628 * sysdeps/unix/bsd/setsid.c: Likewise.
25629 * sysdeps/unix/bsd/setuid.c: Likewise.
25630 * sysdeps/unix/bsd/sigaction.c: Likewise.
25631 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25632 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25633 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25634 * sysdeps/unix/bsd/telldir.c: Likewise.
25635 * sysdeps/unix/bsd/times.c: Likewise.
25636 * sysdeps/unix/bsd/usleep.c: Likewise.
25638 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25639 ($(objpfx)libbsd-compat.a): Remove rule.
25641 * include/features.h (__FAVOR_BSD): Do not define.
25642 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25643 features conflicting with POSIX.
25644 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25645 (_BSD_SOURCE): Remove description of not being a subset of other
25646 feature test macros.
25647 * manual/job.texi (getpgrp): Do not document BSD version.
25648 (getpgid): Do not document by reference to BSD getpgrp.
25649 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25650 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25651 * signal/signal.h [__FAVOR_BSD]: Likewise.
25652 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25653 instead of making contents conditional on [__FAVOR_BSD].
25654 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25656 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25660 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25663 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25664 values below 2**-450, not 2**-500.
25665 * math/auto-libm-test-in: Don't allow spurious underflow from
25667 * math/auto-libm-test-out: Regenerated.
25671 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25672 values of ha and hb and sort them after adjusting subnormal
25674 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25676 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25677 values of ea and eb and sort them after adjusting subnormal
25679 * math/auto-libm-test-in: Do not expect some hypot tests of
25680 subnormals to fail. Add more hypot tests.
25681 * math/auto-libm-test-out: Regenerated.
25683 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25686 * sysdeps/sh/s_fma.c: New file.
25687 * sysdeps/sh/s_fmaf.c: New file.
25688 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25690 * sysdeps/sh/Implies: Add sh/soft-fp.
25692 2013-12-16 Roland McGrath <roland@hack.frob.com>
25694 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25695 level of indirection to members `objname', `errstring', `malloced'.
25696 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25697 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25698 it as the __longjmp argument (just pass 1 instead).
25699 (_dl_catch_error): Initialize C with argument pointers and address of
25700 volatile local ERRCODE rather than copying values out of C at return.
25702 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25704 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25705 * math/auto-libm-test-out: Regenerated.
25706 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25707 (hypot_test_data): Likewise.
25708 (pow_test_data): Likewise.
25709 (pow_tonearest_test_data): Likewise.
25710 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25712 (func_calc_desc): Add mpfr_ff_f union field.
25713 (FUNC_mpfr_ff_f): New macro.
25714 (test_functions): Add atan2, hypot and pow.
25715 (special_fill_min): New function.
25716 (special_fill_minus_min): Likewise.
25717 (special_fill_min_subnorm): Likewise.
25718 (special_fill_minus_min_subnorm): Likewise.
25719 (special_real_inputs): Add min, -min, min_subnorm and
25721 (calc_generic_results): Handle mpfr_ff_f.
25722 * sysdeps/i386/fpu/libm-test-ulps: Update.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25725 2013-12-16 Will Newton <will.newton@linaro.org>
25727 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25728 (Aligned Memory Blocks): Add documentation for aligned_alloc
25729 and suggest it as an alternative to posix_memalign.
25730 (Hooks for Malloc): Document __memalign_hook is also called
25731 for aligned_alloc. (Summary of Malloc): Add summary for
25732 aligned alloc. Document __memalign_hook is also called
25735 2013-12-16 Will Newton <will.newton@linaro.org>
25737 * manual/memory.texi (Malloc Examples): Clarify default
25738 alignment documentation. Suggest posix_memalign rather
25739 than memalign or valloc.
25740 (Aligned Memory Blocks): Remove suggestion to use memalign
25741 or valloc. Remove obsolete comment about BSD.
25742 Document memalign errno values and mark the function obsolete.
25743 Document posix_memalign returned error codes. Mark valloc
25744 as obsolete. (Hooks for Malloc): __memalign_hook is also
25745 called for posix_memalign and valloc.
25746 (Summary of Malloc): Add posix_memalign to function summary.
25747 __memalign_hook is also called for posix_memalign and valloc.
25749 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25751 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25755 (sloww): Use mynumber union. Expand ternary operator into
25756 if-else statements.
25757 (cslow): use mynumber union.
25759 2013-12-16 Allan McRae <allan@archlinux.org>
25761 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25762 * configure: Regenerated.
25764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25767 * configure.ac: Added --enable-maintainer-mode. Check for
25768 autoconf when enabled.
25769 * configure: Regenerated.
25771 * nscd/nscd.service: New file.
25772 * nscd/nscd.tmpfiles: New file.
25774 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25777 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25778 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25779 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25780 (strstr): Add __strstr_sse2_unaligned ifunc.
25781 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25782 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25783 (strcasestr): Remove __strcasestr_sse42 ifunc.
25784 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25788 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25790 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25791 * sysdeps/sh/bits/fenv.h: ... here.
25792 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25794 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25796 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25799 hypotf multiarch implementations.
25800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25801 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25803 multiarch hypot for PPC64.
25804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25807 multiarch hypotf for PPC64.
25809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25810 modff multiarch implementations.
25811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25814 multiarch modf for PPC64.
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25818 multiarch modff for PPC64.
25820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25821 and logl multiarch implementations.
25822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25825 multiarch logb for PPC64.
25826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25829 multiarch logb for PPC64.
25830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25833 multiarch logb for PPC64.
25835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25836 isinff multiarch implementation.
25837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25841 multiarch isinf for PPC64.
25842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25845 multiarch isinff for PPC64.
25847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25848 finitef multiarch implementation.
25849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25853 multiarch finite for PPC64.
25854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25857 multiarch finitef for PPC64.
25859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25860 lrint multiarch implementation.
25861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25865 multiarch llrint for PPC64.
25866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25867 multiarch lrint for PPC64.
25869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25870 copysignf multiarch implementation.
25871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25876 multiarch copysign for PPC64.
25877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25878 multiarch copysignf for PPC64.
25880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25881 multiarch implementation.
25882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25890 multiarch llround for PPC64.
25891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25892 multiarch trunc for PPC64.
25893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25894 multiarch truncf for PPC64.
25896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25897 multiarch implementation.
25898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25906 multiarch llround for PPC64.
25907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25908 multiarch round for PPC64.
25909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25910 multiarch roundf for PPC64.
25912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25913 multiarch implementation.
25914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25922 multiarch llround for PPC64.
25923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25924 multiarch floor for PPC64.
25925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25926 multiarch floorf for PPC64.
25928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25929 multiarch implementation.
25930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25938 multiarch llround for PPC64.
25939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25940 multiarch ceil for PPC64.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25942 multiarch ceilf for PPC64.
25944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25945 multiarch implementation.
25946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25953 multiarch llround for PPC64.
25954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25955 multiarch lround for PPC64.
25957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25958 multiarch implementation.
25959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25966 multiarch isnan for PPC64.
25967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25968 multiarch isnanf for PPC64.
25970 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25971 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25972 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25973 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25974 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25977 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25978 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25983 multiarch implementations.
25984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25985 (__libc_ifunc_impl_list): Likewise.
25986 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25987 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25988 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25989 multiarch stpcpy for PPC64.
25991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25992 multiarch implementations.
25993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25994 (__libc_ifunc_impl_list): Likewise.
25995 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25996 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25997 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25998 multiarch strcpy for PPC64.
26000 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26001 redefine function name.
26002 (_wordcopy_fwd_dest_aligned): Likewise.
26003 (_wordcopy_bwd_aligned): Likewise.
26004 (_wordcopy_bwd_dest_aligned): Likewise.
26005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26006 multiarch implementations.
26007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26008 (__libc_ifunc_impl_list): Likewise.
26009 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26010 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26011 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26012 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26013 multiarch wcscpy for PPC64.
26015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26016 multiarch implementations.
26017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26018 (__libc_ifunc_impl_list): Likewise.
26019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26020 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26021 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26022 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26023 multiarch wcscpy for PPC64.
26025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26026 multiarch implementations.
26027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26028 (__libc_ifunc_impl_list): Likewise.
26029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26031 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26032 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26033 multiarch wcsrchr for PPC64.
26035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26036 multiarch implementations.
26037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26038 (__libc_ifunc_impl_list): Likewise.
26039 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26040 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26041 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26042 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26043 multiarch wcschr for PPC64.
26045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26046 multiarch implementations.
26047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26048 (__libc_ifunc_impl_list): Likewise.
26049 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26050 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26051 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26052 multiarch strchrnul for PPC64.
26054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26057 (__libc_ifunc_impl_list): Likewise.
26058 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26059 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26060 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26061 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26067 (__libc_ifunc_impl_list): Likewise.
26068 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26069 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26070 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26071 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26075 multiarch implementations.
26076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26077 (__libc_ifunc_impl_list): Likewise.
26078 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26079 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26080 strncasecmp for PPC64.
26081 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26082 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26083 multiarch strncasecmp_l for PPC64.
26085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26086 multiarch implementations.
26087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26088 (__libc_ifunc_impl_list): Likewise.
26089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26090 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26091 multiarch strcasecmp for PPC64.
26092 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26094 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26095 multiarch strcasecmp_l for PPC64.
26097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26100 (__libc_ifunc_impl_list): Likewise.
26101 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26102 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26103 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26109 (__libc_ifunc_impl_list): Likewise.
26110 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26111 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26112 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26118 (__libc_ifunc_impl_list): Likewise.
26119 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26120 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26121 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26122 rawmemrchr for PPC64.
26124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26127 (__libc_ifunc_impl_list): Likewise.
26128 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26129 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26130 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26136 (__libc_ifunc_impl_list): Likewise.
26137 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26138 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26139 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26145 (__libc_ifunc_impl_list): Likewise.
26146 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26147 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26151 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26152 avoid cretion of __bzero symbol.
26153 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26155 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26157 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26160 multiarch implementations.
26161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26162 (__libc_ifunc_impl_list): Likewise.
26163 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26164 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26165 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26166 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26168 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26169 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26170 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26171 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26172 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26174 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26176 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26180 (__libc_ifunc_impl_list): Likewise.
26181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26182 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26183 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26184 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26188 multiarch for POWER/PPC64.
26189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26190 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26197 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26200 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26201 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26202 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26203 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26204 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26205 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26206 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26207 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26208 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26209 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26210 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26211 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26212 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26213 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26214 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26223 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26227 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26229 * benchtests/Makefile (bench): Add exp2 and log2.
26230 (LDLIBS-bench-exp2): Add -lm.
26231 (LDLIBS-bench-log2): Likewise.
26232 * benchtests/exp2-inputs: New inputs file.
26233 * benchtests/log2-inputs: New inputs file.
26234 * benchtests/log-inputs: Add new inputs.
26235 * benchtests/tan-inputs: Likewise.
26237 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26239 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26241 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26242 (csloww2): ... from here.
26244 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26245 instead of structures.
26246 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26247 (POLYNOMIAL): Likewise.
26248 (TAYLOR_SLOW): Likewise.
26254 (sloww1); Likewise.
26255 (sloww2): Likewise.
26256 (bsloww1): Likewise.
26257 (bsloww2): Likewise.
26258 (cslow2): Likewise.
26259 (csloww): Likewise.
26260 (csloww1): Likewise.
26261 (csloww2): Likewise.
26263 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
26265 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26266 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26267 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26268 * malloc/hooks.c (realloc_check): Likewise.
26270 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26271 * malloc/arena.c: Remove PER_THREAD conditional.
26272 [!PER_THREAD]: Remove code.
26273 (ptmalloc_unlock_all2): Likewise.
26274 (ptmalloc_init): Likewise.
26275 (_int_new_arena): Likewise.
26276 (arena_get2): Likewise.
26277 * malloc/hooks.c (__malloc_get_state): Likewise.
26278 (__malloc_set_state): Likewise.
26279 * malloc/malloc.c: Likewise.
26280 (struct malloc_state): Likewise.
26281 (struct malloc_par): Likewise.
26282 (__libc_realloc): Likewise.
26283 (__libc_mallopt): Likewise.
26285 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26287 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26289 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
26291 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26292 macro to a function. Check for zero perturb_byte.
26293 (_int_malloc, _int_free): Remove zero perturb_byte checks.
26295 * malloc/malloc.c: (force_reg): Remove.
26296 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26297 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26298 force_reg by atomic_forced_read.
26299 * malloc/arena.c (ptmalloc_init): Likewise.
26300 * malloc/hooks.c (top_check): Likewise.
26302 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26306 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
26308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26310 2013-12-08 Joseph Myers <joseph@codesourcery.com>
26312 * math/auto-libm-test-in: Add tests of lgamma.
26313 * math/auto-libm-test-out: Regenerated.
26314 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26315 (M_LOG_2_SQRT_PIl): Likewise.
26316 (lgamma_test_data): Use AUTO_TESTS_f_f1.
26317 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26319 (func_calc_desc): Add mpfr_f_f1 union field.
26320 (ARGS1): New macro.
26328 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26329 (test_functions): Add lgamma.
26330 (calc_generic_results): Handle mpfr_f_f1.
26331 * sysdeps/i386/fpu/libm-test-ulps: Update.
26332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26334 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26337 __mpn_add_n for PowerPC64/POWER7.
26338 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26339 __mpn_sub_n for PowerPC64/POWER7.
26341 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26342 __mpn_addmul_1 for PowerPC64.
26343 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26344 __mpn_submul_1 for PowerPC64.
26345 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26347 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26350 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
26353 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26355 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26357 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26359 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26360 add multiarch folders.
26361 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26362 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26363 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26364 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26365 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26366 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26367 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26368 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26369 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26370 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26371 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26380 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26386 multiarch __ieee754_hypot for PowerPC32.
26387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26392 multiarch __ieee754_hypotf for PowerPC32.
26394 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26395 long_double_symbol only if __logbl is defined.
26396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26397 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26399 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26401 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26403 path for implementation.
26404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26405 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26407 logb, and logbl multiarch implementations for PowerPC32.
26408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26413 multiarch logb for PowerPC32.
26414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26419 multiarch logbf for PowerPC32.
26420 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26424 multiarch logbl implementation for PowerPC32.
26426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26427 and modff multiarch implementations.
26428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26433 multiarch modf for PowerPC32.
26434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26439 multiarch modff for PowerPC32.
26441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26442 and lrintf multiarch implementations.
26443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26448 multiarch lrint for PowerPC32.
26449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26450 file: multiarch lrintf for PowerPC32.
26452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26453 and lroundf multiarch implementations.
26454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26461 multiarch lround for PowerPC32.
26462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26463 file: multiarch lroundf for PowerPC32.
26465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26466 copysign and copysignf multiarch implementations.
26467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26472 file: multiarch copysign for PowerPC32.
26473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26474 file: multiarch copysignf for PowerPC32.
26476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26477 and truncf multiarch implementations.
26478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26483 multiarch trunc for PowerPC32.
26484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26489 multiarch truncf for PowerPC32.
26491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26492 and roundf multiarch implementations.
26493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26498 multiarch round for PowerPC32.
26499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26504 multiarch roundf for PowerPC32.
26506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26507 and floorf multiarch implementations.
26508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26513 multiarch floor for PowerPC32.
26514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26519 multiarch floorf for PowerPC32.
26521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26522 and ceilf multiarch implementations.
26523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26528 multiarch ceil for PowerPC32.
26529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26534 multiarch ceilf for PowerPC32.
26536 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26538 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26539 FINITEF is defined.
26540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26541 and finitef multiarch implementations.
26542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26547 multiarch finite for PowerPC32.
26548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26551 file: multiarch finitef for PowerPC32.
26553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26554 and isinff multiarch implementations.
26555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26560 multiarch isinf for PowerPC32.
26561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26564 multiarch isinff for PowerPC32.
26566 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26567 alias when __isnan is defined.
26568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26569 and isnanf multiarch implementations.
26570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26579 multiarch isnan for PowerPC32.
26580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26585 multiarch isnanf for PowerPC32.
26587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26588 and sqrtf multiarch implementations.
26589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26594 multiarch sqrt for PowerPC32.
26595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26600 multiarch sqrtf for PowerPC32.
26602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26603 and llroundf multiarch implementations.
26604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26611 file: multiarch llround for PowerPC32.
26612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26613 file: multiarch llroundf for PowerPC32.
26615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26616 multiarch PowerPC32 fpu implementations.
26617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26622 multiarch llrint for PowerPC32.
26623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26632 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26634 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26636 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26638 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26639 multiarch wordcopy for PPC32.
26640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26643 (__libc_ifunc_impl_list): Likewise.
26644 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26645 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26647 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26648 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26649 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26651 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26656 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26659 multiarch wcscpy for PPC32.
26660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26663 (__libc_ifunc_impl_list): Likewise.
26664 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26665 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26666 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26667 sysdeps/powerpc/power6/wcscpy.c.
26669 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26677 multiarch wcsrchr for PPC32.
26678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26681 (__libc_ifunc_impl_list): Likewise.
26682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26684 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26685 sysdeps/powerpc/power6/wcsrchr.c.
26687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26693 multiarch wcschr for PPc32.
26694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26697 (__libc_ifunc_impl_list): Likewise.
26698 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26699 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26700 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26701 sysdeps/powerpc/power6/wcschr.c.
26703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26704 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26706 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26707 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26708 file: multiarch strchr for PPC32.
26709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26712 (__libc_ifunc_impl_list): Likewise.
26714 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26716 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26718 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26720 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26721 multiarch strchrnul for PPC32.
26722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26725 (__libc_ifunc_impl_list): Likewise.
26727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26730 multiarch strncasecmp for PPC32.
26731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26733 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26734 multiarch strncasecmp_l for PPC32.
26735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26736 strncasecmp multiarch objects.
26737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26738 (__libc_ifunc_impl_list): Likewise.
26740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26743 multiarch strncasecmp for PPC32.
26744 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26746 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26747 multiarch strcasecmp_l for PPC32.
26748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26751 (__libc_ifunc_impl_list): Likewise.
26753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26758 multiarch strncmp for PPC32.
26759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26762 (__libc_ifunc_impl_list): Likewise.
26764 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26765 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26767 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26768 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26772 (__libc_ifunc_impl_list): Likewise.
26774 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26776 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26778 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26782 (__libc_ifunc_impl_list): Likewise.
26784 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26786 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26788 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26789 multiarch rawmemchr for PPC32.
26790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26793 (__libc_ifunc_impl_list): Likewise.
26795 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26797 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26799 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26800 file: memrchr multiarch for PPC32.
26801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26804 (__libc_ifunc_impl_list): Likewise.
26806 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26807 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26809 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26810 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26811 multiarch memchr for PPC32.
26812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26815 (__libc_ifunc_impl_list): Likewise.
26817 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26818 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26820 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26822 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26823 file: multiarch mempcpy for PPC32.
26824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26827 (__libc_ifunc_impl_list): Likewise.
26829 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26831 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26832 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26833 multiarch bzero for PPC32.
26834 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26836 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26838 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26839 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26840 file: multiarch memset for PPC32.
26841 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26843 memset multiarch objects.
26844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26845 (__libc_ifunc_impl_list): Likewise.
26847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26849 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26850 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26852 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26856 (__libc_ifunc_impl_list): Likewise.
26858 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26860 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26862 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26864 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26866 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26867 multiarch memcpy for PPC32.
26868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26871 (__libc_ifunc_impl_list): Likewise.
26873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26874 support multiarch for POWER/PPC32.
26875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26877 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26879 Implies file to make multiarch folder appers before the fpu and
26880 default folder for power4 configuration.
26882 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26884 * scripts/bench.pl: Append volatile keyword to type.
26886 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26888 * sysdeps/sh/sotruss-lib.c: New file.
26889 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26891 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26895 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26898 * math/w_tgamma.c: Include <errno.h>.
26899 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26900 * math/w_tgammaf.c: Include <errno.h>.
26901 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26902 * math/w_tgammal.c: Include <errno.h>.
26903 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26904 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26905 underflow. Add more tgamma tests.
26906 * math/auto-libm-test-out: Regenerated.
26907 * sysdeps/i386/fpu/libm-test-ulps: Update.
26908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26910 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26911 sin, sinh, tan, tanh, tgamma, y0 and y1.
26912 * math/auto-libm-test-out: Regenerated.
26913 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26914 (TEST_COND_x86): Likewise.
26915 (M_E2l): Remove macro.
26917 (M_2_SQRT_PIl): Likewise.
26918 (M_SQRT_PIl): Likewise.
26919 (M_1_DIV_El): Likewise.
26920 (log_test_data): Use AUTO_TESTS_f_f.
26921 (log10_test_data): Likewise.
26922 (log1p_test_data): Likewise.
26923 (log2_test_data): Likewise.
26924 (sin_test_data): Likewise.
26925 (sin_tonearest_test_data): Likewise.
26926 (sin_towardzero_test_data): Likewise.
26927 (sin_downward_test_data): Likewise.
26928 (sin_upward_test_data): Likewise.
26929 (sinh_test_data): Likewise.
26930 (sinh_tonearest_test_data): Likewise.
26931 (sinh_towardzero_test_data): Likewise.
26932 (sinh_downward_test_data): Likewise.
26933 (sinh_upward_test_data): Likewise.
26934 (tan_test_data): Likewise.
26935 (tan_tonearest_test_data): Likewise.
26936 (tan_towardzero_test_data): Likewise.
26937 (tan_downward_test_data): Likewise.
26938 (tan_upward_test_data): Likewise.
26939 (tanh_test_data): Likewise.
26940 (tgamma_test_data): Likewise.
26941 (y0_test_data): Likewise.
26942 (y1_test_data): Likewise.
26943 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26944 (special_real_inputs): Add pi/4.
26945 * sysdeps/i386/fpu/libm-test-ulps: Update.
26946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26948 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26950 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26951 "longjmp_target" static probes.
26952 (__longjmp): Rename to __longjmp_symbol.
26953 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26954 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26955 on which longjmp to generate.
26956 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26957 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26959 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26960 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26961 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26962 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26963 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26964 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26966 __longjmp_symbol based on which __longjmp to generate.
26967 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26969 (setjmp): Rename to setjmp_symbol.
26970 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26971 (_setjmp): Rename to _setjmp_symbol.
26972 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26973 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26974 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26975 which setjmp to generate.
26976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26977 "longjmp_target" static probes.
26979 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 * benchtests/README: Add note about output arguments.
26982 * benchtests/bench-sincos.c: Remove file.
26983 * benchtests/sincos-inputs: New file.
26984 * scripts/bench.pl: Identify output arguments and define
26985 static variables for them.
26987 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26990 * Makefile (INSTALL): Add install-plain.texi as the primary
26992 * manual/install-plain.texi: New file.
26993 * manual/install.texi: Include node directive only for
26994 non-plaintext output.
26996 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26998 * stdlib/longlong.h: Update from GCC.
27002 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27003 * math/w_j0f.c (y0f): Likewise.
27004 * math/w_j0l.c (__y0l): Likewise.
27005 * math/w_j1.c (y1): Likewise.
27006 * math/w_j1f.c (y1f): Likewise.
27007 * math/w_j1l.c (__y1l): Likewise
27008 * math/w_jn.c (yn): Likewise.
27009 * math/w_jnf.c (ynf): Likewise.
27010 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27011 Bessel function pole errors in _POSIX_ mode. Use NAN as return
27012 value for Bessel function domain errors outside _SVID_ mode.
27013 Adjust sign of return value for yn (negative integer, 0).
27014 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27015 by zero in return for negative x and set sign appropriately for
27017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27019 * math/libm-test.inc (y0_test_data): Add more tests and adjust
27020 expectations in error cases.
27021 (y1_test_data): Likewise.
27022 (yn_test_data): Likewise.
27023 * sysdeps/i386/fpu/libm-test-ulps: Update.
27024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27026 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27028 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27029 "64" to "64-v1". Add "64-v2".
27030 (abi-64-options): Rename to ...
27031 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
27032 (abi-64-condition): Rename to ...
27033 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
27034 (abi-64-ld-soname): Rename to ...
27035 (abi-64-v1-ld-soname): ... this.
27036 (abi-64-v2-options): Define.
27037 (abi-64-v2-condition): Likewise.
27038 (abi-64-v2-ld-soname): Likewise.
27039 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27040 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27045 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27046 Alan Modra <amodra@gmail.com>
27048 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27049 New versions for use with the ELFv2 ABI.
27050 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27051 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27053 (struct La_ppc64v2_retval): Likewise.
27054 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27055 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27056 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27057 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27058 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27059 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27060 Do not save or restore CR.
27061 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27062 (_dl_profile_resolve): Do no save or restore CR. Support extended
27063 return values for ELFv2 ABI. Fix location of FPR return registers.
27064 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27065 updated values for _CALL_ELF == 2.
27066 (La_regs, La_retval, int_retval): Likewise.
27068 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27070 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27071 (FRAME_MIN_SIZE_PARM): Likewise.
27072 (FRAME_BACKCHAIN): Likewise.
27073 (FRAME_CR_SAVE): Likewise.
27074 (FRAME_LR_SAVE): Likewise.
27075 (FRAME_TOC_SAVE): Likewise.
27076 (FRAME_PARM_SAVE): Likewise.
27077 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27078 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27079 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27080 (call_mcount_parm_offset): New macro.
27081 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27082 (PROF): Use symbolic stack frame offsets.
27083 (TAIL_CALL_SYSCALL_ERROR): Likewise.
27084 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27085 Redefine in terms of FRAME_MIN_SIZE.
27086 (_dl_runtime_resolve): Use symbolic stack frame offsets.
27087 (_dl_profile_resolve): Likewise. Update comment.
27088 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27089 symbols stack frame offsets.
27090 (__sigsetjmp): Likewise.
27091 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27092 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27093 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27094 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27097 (FRAME_BACKCHAIN): Remove.
27098 (FRAME_CR_SAVE): Likewise.
27099 (FRAME_LR_SAVE): Likewise.
27100 (FRAME_COMPILER_DW): Likewise.
27101 (FRAME_LINKER_DW): Likewise.
27102 (FRAME_TOC_SAVE): Likewise.
27103 (FRAME_PARM_SAVE): Likewise.
27104 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27105 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27106 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27108 (CHECK_SP): Use symbolic stack frame offsets.
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27110 zone" instead of caller's parameter save area for temp storage.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27112 Likewise. Also, use symbolic stack frame offsets.
27113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27114 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27115 our own stack frame instead of the caller's.
27116 (__socket): Use symbolic stack frame offsets.
27118 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27119 Alan Modra <amodra@gmail.com>
27121 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27123 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27124 (PPC64_LOCAL_ENTRY_OFFSET): Define.
27125 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27127 (elf_machine_fixup_plt): Call it.
27128 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
27130 (elf_machine_rela): Update call to elf_machine_plt_conflict.
27131 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27132 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27133 r2 before calling target.
27135 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27136 Alan Modra <amodra@gmail.com>
27138 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27139 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27140 versions of macros to support ELFv2 ABI.
27141 (LOCALENTRY): New macro.
27142 (ENTRY, EALIGN): Use it.
27143 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27144 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27145 fall through into ENTRY entry point.
27146 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27147 Only define if _CALL_ELF != 2.
27149 (elf_machine_matches_host): Verify ABI version matches.
27150 (RTLD_START): Use LOCALENTRY.
27151 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27152 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27153 (PLT_ENTRY_WORDS): New macro.
27154 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27155 (elf_machine_runtime_setup): Support ELFv2 ABI.
27156 (elf_machine_fixup_plt): Likewise.
27157 (elf_machine_plt_conflict): Likewise.
27158 (resolve_ifunc): Likewise.
27159 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27163 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27165 (makecontext): Support ELFv2 ABI.
27166 * elf/elf.h (EF_PPC64_ABI): Define.
27168 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27170 * sysdeps/powerpc/powerpc64/sysdep.h
27171 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27172 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27173 (ENTRY) [ASSEMBLER]: ... but instead here ...
27174 (EALIGN) [ASSEMBLER]: ... and here.
27175 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27176 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27177 (ENTRY_2) [!ASSEMBLER]: Use it.
27178 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27179 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
27180 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27181 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27182 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27184 Use PPC64_LOAD_FUNCPTR.
27186 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27188 2013-12-04 Alan Modra <amodra@gmail.com>
27190 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27191 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27192 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27193 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27196 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27197 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27198 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27199 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27200 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27202 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27205 (__makecontext): Fix incorrect CFI when backtracing out of
27206 context created via makecontext.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27208 (__setcontext): Fix incorrect CFI during switch to new context.
27209 (__novec_setcontext): Likewise.
27211 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27214 * time/strptime_l.c (__strptime_internal): Allow modifiers
27216 * time/tst-strptime.c (day_tests): Add testcase.
27218 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27220 * scripts/bench.pl: Skip over blank lines.
27222 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
27225 * manual/time.texi (Calendar Time): Clarify what timezone functions
27228 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27232 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
27234 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27236 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27237 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27238 * debug/memset_chk.c (__memset_chk): Likewise.
27239 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27240 * debug/strncpy_chk.c: Likewise.
27242 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27247 (__ieee754_exp): For possibly underflowing results, check size of
27248 result and force underflow exception if required.
27249 * math/auto-libm-test-in: Add more tests of exp.
27250 * math/auto-libm-test-out: Regenerated.
27251 * sysdeps/i386/fpu/libm-test-ulps: Update.
27252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27255 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27256 * math/w_exp2f.c (__exp2f): Likewise.
27257 * math/w_exp2l.c (__exp2l): Likewise.
27258 * math/auto-libm-test-in: Do not allow missing errno on exp2
27260 * math/auto-libm-test-out: Regenerated.
27262 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
27265 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27266 handle filename validation.
27267 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27270 2013-12-03 Joseph Myers <joseph@codesourcery.com>
27273 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27274 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27275 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27277 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27279 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27281 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27283 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27284 * math/auto-libm-test-in: Don't allow missing errno from erfc.
27285 Add more erfc tests.
27286 * math/auto-libm-test-out: Regenerated.
27287 * sysdeps/i386/fpu/libm-test-ulps: Update.
27288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27290 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27291 exp2, expm1, j0 and j1.
27292 * math/auto-libm-test-out: Regenerated.
27293 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27294 (erfc_test_data): Likewise.
27295 (exp_test_data): Likewise.
27296 (exp_tonearest_test_data): Likewise.
27297 (exp_towardzero_test_data): Likewise.
27298 (exp_downward_test_data): Likewise.
27299 (exp_upward_test_data): Likewise.
27300 (exp10_test_data): Likewise.
27301 (exp2_test_data): Likewise.
27302 (expm1_test_data): Likewise.
27303 (j0_test_data): Likewise.
27304 (j1_test_data): Likewise.
27305 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27306 (input_flag_type): Add flag_xfail_rounding.
27307 (input_flags): Add xfail-rounding.
27308 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27309 (output_for_one_input_case): Handle flag_xfail_rounding.
27310 * sysdeps/i386/fpu/libm-test-ulps: Update.
27311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27313 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
27316 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27319 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27322 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27323 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27324 (STAP_PROBE0): New macro.
27325 (STAP_PROBE1): Likewise.
27326 (STAP_PROBE2): Likewise.
27327 (STAP_PROBE3): Likewise.
27328 (STAP_PROBE4): Likewise.
27330 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
27332 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27334 2013-12-02 Steve Ellcey <sellcey@mips.com>
27336 * benchtests/Makefile (bench): Add sqrt.
27337 (LDLIBS-bench-sqrt): New.
27338 * benchtests/sqrt-input: New.
27340 2013-12-02 Pavel Simerda <psimerda@redhat.com>
27342 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27343 (GAIH_EAI): Likewise.
27344 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27345 (gaih_inet): Likewise.
27346 (getaddrinfo): Don't use GAIH_EAI.
27348 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27349 (struct gaih): Remove definition.
27351 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27353 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27354 Use HERRNOP directly.
27356 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27360 2013-11-30 Joseph Myers <joseph@codesourcery.com>
27362 * math/gen-auto-libm-tests.c (test_functions): Add more
27363 single-argument functions.
27364 (special_fill_pi_2): New function.
27365 (special_fill_minus_pi_2): Likewise.
27366 (special_fill_pi_6): Likewise.
27367 (special_fill_minus_pi_6): Likewise.
27368 (special_fill_pi_3): Likewise.
27369 (special_fill_2pi_3): Likewise.
27370 (special_fill_e): Likewise.
27371 (special_fill_1_e): Likewise.
27372 (special_fill_e_minus_1): Likewise.
27373 (special_real_inputs): Add more special inputs.
27374 (output_for_one_input_case): Do not require ERANGE on underflow to
27375 zero if round-to-nearest result does not underflow to zero, unless
27376 exact results required.
27377 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27378 atan, atanh, cbrt, cos and cosh.
27379 * math/auto-libm-test-out: Regenerated.
27380 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27381 (acos_tonearest_test_data): Likewise.
27382 (acos_towardzero_test_data): Likewise.
27383 (acos_downward_test_data): Likewise.
27384 (acos_upward_test_data): Likewise.
27385 (acosh_test_data): Likewise.
27386 (asin_test_data): Likewise.
27387 (asin_tonearest_test_data): Likewise.
27388 (asin_towardzero_test_data): Likewise.
27389 (asin_upward_test_data): Likewise.
27390 (asinh_test_data): Likewise.
27391 (atan_test_data): Likewise.
27392 (atanh_test_data): Likewise.
27393 (cbrt_test_data): Likewise.
27394 (cos_test_data): Likewise.
27395 (cos_tonearest_test_data): Likewise.
27396 (cos_towardzero_test_data): Likewise.
27397 (cos_downward_test_data): Likewise.
27398 (cos_upward_test_data): Likewise.
27399 (cosh_test_data): Likewise.
27400 (cosh_tonearest_test_data): Likewise.
27401 (cosh_towardzero_test_data): Likewise.
27402 (cosh_downward_test_data): Likewise.
27403 (cosh_upward_test_data): Likewise.
27404 * sysdeps/i386/fpu/libm-test-ulps: Update.
27405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27407 2013-11-29 Joseph Myers <joseph@codesourcery.com>
27410 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27411 * math/w_exp10f.c (__exp10f): Likewise.
27412 * math/w_exp10l.c (__exp10l): Likewise.
27413 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27414 errno settings in existing tests.
27417 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27418 precision control set to double precision.
27419 * sysdeps/i386/fpu/w_sqrt.c: New file.
27420 * math/auto-libm-test-in: Add more tests.
27421 * math/auto-libm-test-out: Update.
27423 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27424 (sqrt_test_tonearest): New function.
27425 (sqrt_towardzero_test_data): New variable.
27426 (sqrt_test_towardzero): New function.
27427 (sqrt_downward_test_data): New variable.
27428 (sqrt_test_downward): New function.
27429 (sqrt_upward_test_data): New variable.
27430 (sqrt_test_upward): New function.
27431 (main): Call the new functions.
27433 * math/gen-auto-libm-tests.c: New file.
27434 * math/auto-libm-test-in: Likewise.
27435 * math/auto-libm-test-out: New generated file.
27436 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27438 (%beautify): Add generated representations of zero.
27439 (top level): Set $auto_input and call parse_auto_input.
27440 (beautify): Remove trailing "f" from hex float constants.
27441 (parse_args): Handle XFAIL_TEST.
27442 (convert_condition): New function.
27443 (or_value): Likewise.
27444 (or_cond_value): Likewise.
27445 (generate_testfile): Handle AUTO_TESTS_* lines.
27446 (parse_auto_input): New function.
27447 * math/libm-test.inc (XFAIL_TEST): New macro.
27448 (ERRNO_UNCHANGED): Update value.
27449 (ERRNO_EDOM): Likewise.
27450 (ERRNO_ERANGE): Likewise.
27451 (IGNORE_RESULT): Likewise.
27452 (TEST_COND_flt_32): New macro.
27453 (TEST_COND_dbl_64): Likewise.
27454 (TEST_COND_ldbl_96_intel): Likewise.
27455 (TEST_COND_ldbl_96_m68k): Likewise.
27456 (TEST_COND_ldbl_128): Likewise.
27457 (TEST_COND_ldbl_128ibm): Likewise.
27458 (TEST_COND_long32): Likewise.
27459 (TEST_COND_long64): Likewise.
27460 (TEST_COND_before_rounding): Likewise.
27461 (TEST_COND_after_rounding): Likewise.
27462 (enable_test): Handle XFAIL_TEST flag.
27463 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27464 with finite results.
27465 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27466 auto-libm-test-out.
27468 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27469 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27472 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27473 __tls_get_addr_internal instead of __tls_get_offset in order to
27474 avoid GOT pointer dependency. Make rtld export
27475 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27476 __tls_get_addr since we are a __tls_get_offset platform.
27477 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27478 GOT pointer being set up before.
27479 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27481 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27483 * manual/math.texi (Errors in Math Functions): Document accuracy
27487 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27488 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27504 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27505 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27506 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27507 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27508 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27510 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27512 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27514 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27515 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27516 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27517 atomic-feupdateenv and flt-rounds.
27518 * sysdeps/powerpc/nofpu/Versions (libc): Add
27519 __atomic_feholdexcept, __atomic_feclearexcept,
27520 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27521 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27522 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27523 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27524 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27529 * manual/arith.texi (FP Exceptions): Document that exceptions may
27530 not be raised when matherr is used.
27531 (Math Error Reporting): Document overflow in directed rounding
27532 modes. Document that errno may not be set when finite values are
27533 returned on overflow. Document intent to set errno on underflow
27534 only for underflow to zero.
27537 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27538 round-to-nearest then adjust result for other rounding modes.
27539 * include/fenv.h (fegetround): Use libm_hidden_proto.
27540 * math/fegetround.c (fegetround): Use libm_hidden_def.
27541 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27542 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27543 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27544 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27546 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27547 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27548 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27549 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27551 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27554 * nss/Versions (libnss_files): Add
27555 _nss_files_gethostbyname3_r.
27556 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27558 (HOST_DB_LOOKUP): Remove macro.
27559 (_nss_files_gethostbyname_r): Implement function without the
27560 HOST_DB_LOOKUP macro.
27561 (_nss_files_gethostbyname2_r): Likewise.
27563 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27565 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27567 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27569 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27570 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27573 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27575 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27576 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27577 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27578 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27579 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27580 __fe_nomask_env_priv and attribute_hidden.
27581 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27582 (libc_feupdateenv_test_ppc): Likewise.
27583 (libc_feresetround_ppc): Likewise.
27584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27585 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27586 compat_symbol macro.
27587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27588 (__fe_nomask_env): Likewise.
27589 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27591 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27593 * string/Makefile: Remove ifunc tests.
27594 * string/test-string.h: Define TEST_IFUNC.
27595 * string/test-bcopy-ifunc.c: Remove.
27596 * string/test-bzero-ifunc.c: Likewise.
27597 * string/test-memccpy-ifunc.c: Likewise.
27598 * string/test-memchr-ifunc.c: Likewise.
27599 * string/test-memcmp-ifunc.c: Likewise.
27600 * string/test-memcpy-ifunc.c: Likewise.
27601 * string/test-memmem-ifunc.c: Likewise.
27602 * string/test-memmove-ifunc.c: Likewise.
27603 * string/test-mempcpy-ifunc.c: Likewise.
27604 * string/test-memrchr-ifunc.c: Likewise.
27605 * string/test-memset-ifunc.c: Likewise.
27606 * string/test-rawmemchr-ifunc.c: Likewise.
27607 * string/test-stpcpy-ifunc.c: Likewise.
27608 * string/test-stpncpy-ifunc.c: Likewise.
27609 * string/test-strcasecmp-ifunc.c: Likewise.
27610 * string/test-strcasestr-ifunc.c: Likewise.
27611 * string/test-strcat-ifunc.c: Likewise.
27612 * string/test-strchr-ifunc.c: Likewise.
27613 * string/test-strchrnul-ifunc.c: Likewise.
27614 * string/test-strcmp-ifunc.c: Likewise.
27615 * string/test-strcpy-ifunc.c: Likewise.
27616 * string/test-strcspn-ifunc.c: Likewise.
27617 * string/test-strlen-ifunc.c: Likewise.
27618 * string/test-strncasecmp-ifunc.c: Likewise.
27619 * string/test-strncat-ifunc.c: Likewise.
27620 * string/test-strncmp-ifunc.c: Likewise.
27621 * string/test-strncpy-ifunc.c: Likewise.
27622 * string/test-strnlen-ifunc.c: Likewise.
27623 * string/test-strpbrk-ifunc.c: Likewise.
27624 * string/test-strrchr-ifunc.c: Likewise.
27625 * string/test-strspn-ifunc.c: Likewise.
27626 * string/test-strstr-ifunc.c: Likewise.
27628 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27630 * benchtests/Makefile: Remove ifunc tests.
27631 * benchtests/bench-string.h: Define TEST_IFUNC.
27632 * benchtests/bench-bcopy-ifunc.c: Remove.
27633 * benchtests/bench-bzero-ifunc.c: Likewise.
27634 * benchtests/bench-memccpy-ifunc.c: Likewise.
27635 * benchtests/bench-memchr-ifunc.c: Likewise.
27636 * benchtests/bench-memcmp-ifunc.c: Likewise.
27637 * benchtests/bench-memcpy-ifunc.c: Likewise.
27638 * benchtests/bench-memmem-ifunc.c: Likewise.
27639 * benchtests/bench-memmove-ifunc.c: Likewise.
27640 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27641 * benchtests/bench-memrchr-ifunc.c: Likewise.
27642 * benchtests/bench-memset-ifunc.c: Likewise.
27643 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27644 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27645 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27646 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27647 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27648 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27649 * benchtests/bench-strcat-ifunc.c: Likewise.
27650 * benchtests/bench-strchr-ifunc.c: Likewise.
27651 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27652 * benchtests/bench-strcmp-ifunc.c: Likewise.
27653 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27654 * benchtests/bench-strcpy-ifunc.c: Likewise.
27655 * benchtests/bench-strcspn-ifunc.c: Likewise.
27656 * benchtests/bench-strlen-ifunc.c: Likewise.
27657 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27658 * benchtests/bench-strncat-ifunc.c: Likewise.
27659 * benchtests/bench-strncmp-ifunc.c: Likewise.
27660 * benchtests/bench-strncpy-ifunc.c: Likewise.
27661 * benchtests/bench-strnlen-ifunc.c: Likewise.
27662 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27663 * benchtests/bench-strrchr-ifunc.c: Likewise.
27664 * benchtests/bench-strsep-ifunc.c: Likewise.
27665 * benchtests/bench-strspn-ifunc.c: Likewise.
27666 * benchtests/bench-strstr-ifunc.c: Likewise.
27668 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27670 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27672 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27674 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27675 * rt/aio.h: Likewise.
27676 * sysdeps/gnu/bits/utmp.h: Likewise.
27677 * sysdeps/gnu/bits/utmpx.h: Likewise.
27678 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27679 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27680 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27681 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27682 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27683 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27684 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27685 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27686 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27687 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27688 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27689 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27690 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27692 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27693 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27694 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27695 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27696 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27697 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27698 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27699 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27700 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27701 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27702 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27706 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27707 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27708 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27709 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27710 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27711 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27712 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27713 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27714 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27715 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27716 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27717 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27718 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27719 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27721 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27724 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27725 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27727 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27729 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27730 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27733 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27735 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27736 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27737 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27738 (__fesetround): Remove define.
27739 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27740 rounding and exceptions handling.
27741 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27743 (__fe_nomask_env): Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27745 __fegetround instead of fegetround.
27746 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27749 2013-11-21 Roland McGrath <roland@hack.frob.com>
27751 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27754 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27756 2013-11-21 Meador Inge <meadori@codesourcery.com>
27759 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27760 (encrypt_r): Likewise.
27761 * malloc/obstack.h (obstack_free): Likewise.
27762 * posix/unistd.h (encrypt): Likewise.
27764 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27766 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27767 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27768 DL_CALL_DT_FINI() that call the functions directly.
27769 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27770 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27771 * elf/dl-fini.c: Likewise.
27773 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27775 * malloc/hooks.c (memalign_check): Add alignment rounding.
27776 * malloc/malloc.c (_mid_memalign): New function.
27777 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27778 Implement by calling _mid_memalign.
27779 * manual/probes.texi (Memory Allocation Probes): Remove
27780 memory_valloc_retry and memory_pvalloc_retry.
27782 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27784 * locale/programs/locarchive.c (open_archive): Add const
27785 qualifier to ARCHIVEFNAME and copy default fname to
27789 * libio/tst-widetext.input: Rename Oriya to Odia.
27790 * locale/iso-639.def: Likewise.
27792 * manual/probes.texi (Mathematical Function Probes): Add
27793 documentation for sin, cos, asin and acos probes.
27794 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27795 (__sin32): Add slowasin probe.
27796 (__cos32): Add slowacos probe.
27797 (__mpsin): Add slowsin probe.
27798 (__mpcos): Add slowcos probe.
27800 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27803 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27804 thread-local __sim_exceptions_thread and global
27805 __sim_exceptions_global.
27806 (__sim_disabled_exceptions): Change to thread-local
27807 __sim_disabled_exceptions_thread and global
27808 __sim_disabled_exceptions_global.
27809 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27810 and global __sim_round_mode_global.
27811 (__simulate_exceptions): Use thread-local floating-point state and
27812 set global state from it as needed.
27813 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27814 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27815 __sim_round_mode_thread.
27816 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27817 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27818 and global __sim_exceptions_global.
27819 (__sim_disabled_exceptions): Change to thread-local
27820 __sim_disabled_exceptions_thread and global
27821 __sim_disabled_exceptions_global.
27822 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27823 and global __sim_round_mode_global.
27824 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27825 (SIM_SET_GLOBAL): Likewise.
27826 * sysdeps/powerpc/soft-fp/sfp-machine.h
27827 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27828 __sim_round_mode_thread.
27829 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27830 __sim_disabled_exceptions_thread.
27831 (__sim_exceptions): Change to __sim_exceptions_thread.
27832 (__sim_disabled_exceptions): Change to
27833 __sim_disabled_exceptions_thread.
27834 (__sim_round_mode): Change to __sim_round_mode_thread.
27835 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27836 thread-local floating-point state and set global state from it as
27838 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27839 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27840 (__sim_disabled_exceptions): Remove extern declaration.
27841 (feenableexcept): Use thread-local floating-point state and set
27842 global state from it as needed.
27843 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27844 extern declaration.
27845 (__sim_disabled_exceptions): Likewise.
27846 (__sim_round_mode): Likewise.
27847 (__fegetenv): Use thread-local floating-point state.
27848 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27849 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27850 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27851 floating-point state and set global state from it as needed.
27852 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27853 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27854 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27856 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27857 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27859 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27860 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27861 Use __sim_round_mode_thread.
27862 * math/test-fenv-tls.c: New file.
27863 * math/Makefile (tests): Add test-fenv-tls.
27864 ($(objpfx)test-fenv-tls): Depend on
27865 $(common-objpfx)nptl/libpthread.so.
27867 2013-11-19 Andreas Schwab <schwab@suse.de>
27869 * locale/programs/locale.c (show_info): Decode wordarray elements.
27870 * locale/categories.def (LC_MONETARY): Add element for
27871 _NL_MONETARY_CRNCYSTR.
27872 * locale/C-monetary.c (conversion_rate): New variable.
27873 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27876 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27878 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27879 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27881 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27883 * elf/Makefile (tst-auxv): New test.
27884 * elf/tst-auxv.c: New
27885 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27887 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27889 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27890 (hidden_proto): Caller changed.
27891 (hidden_tls_proto): New macro.
27892 (libc_hidden_tls_proto): Likewise.
27893 (rtld_hidden_tls_proto): Likewise.
27894 (libm_hidden_tls_proto): Likewise.
27895 (libresolv_hidden_tls_proto): Likewise.
27896 (librt_hidden_tls_proto): Likewise.
27897 (libdl_hidden_tls_proto): Likewise.
27898 (libnss_files_hidden_tls_proto): Likewise.
27899 (libnsl_hidden_tls_proto): Likewise.
27900 (libnss_nisplus_hidden_tls_proto): Likewise.
27901 (libutil_hidden_tls_proto): Likewise.
27903 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27906 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27907 (decompose_rpath): Defer expansion to fillin_rpath.
27908 (_dl_init_paths): Pass linkmap to fillin_rpath.
27910 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27912 * benchtests/Makefile: Add strsep.
27913 * benchtests/bench-strsep.c: New file: strsep benchtest.
27914 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27916 2013-11-18 Andreas Schwab <schwab@suse.de>
27918 * locale/programs/locale.c (show_info) [case byte]: Check for
27919 '\377' instead of '\177'.
27920 * locale/C-monetary.c (not_available): Always use "\377".
27921 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27922 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27923 detect unavailable sign_posn locale elements.
27924 * locale/localeconv.c (__localeconv): For grouping and
27925 mon_grouping handle "\177" and "\377" like no grouping.
27926 (INT_ELEM): New macro. Use it to set all numeric members.
27927 * locale/programs/ld-monetary.c (monetary_read)
27928 <tok_mon_grouping>: Normalize single -1 to the empty string.
27929 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27932 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27936 when we match (nil).
27937 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27939 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27941 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27942 (NO_TEST_INLINE): Update value.
27943 (ERRNO_UNCHANGED): Likewise.
27944 (ERRNO_EDOM): Likewise.
27945 (ERRNO_ERANGE): Likewise.
27946 (IGNORE_RESULT): Likewise.
27947 (check_float_internal): Check signs of NaN results if
27948 TEST_NAN_SIGN used.
27949 (check_complex): Pass TEST_NAN_SIGN flag through to second
27950 check_float_internal call.
27951 (copysign_test_data): Add tests with quiet NaNs as second
27952 argument. Use TEST_NAN_SIGN.
27953 (fabs_test_data): Add test of negative quiet NaN argument. Use
27955 (signbit_test_data): Add tests of quiet NaN argument.
27956 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27958 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27960 (parse_args): Handle function results specified as IGNORE.
27961 * math/libm-test.inc (IGNORE_RESULT): New macro.
27962 (check_float_internal): Do not check numerical result if flag
27964 (check_complex): Pass through IGNORE_RESULT to second
27965 check_float_internal call.
27966 (check_int): Do not check numerical result if flag IGNORE_RESULT
27968 (check_long): Likewise.
27969 (check_bool): Likewise.
27970 (check_longlong): Likewise.
27971 (lrint_test_data): Add tests of infinite and NaN arguments.
27972 (lrint_tonearest_test_data): Likewise.
27973 (lrint_towardzero_test_data): Likewise.
27974 (lrint_downward_test_data): Likewise.
27975 (lrint_upward_test_data): Likewise.
27976 (llrint_test_data): Likewise.
27977 (llrint_tonearest_test_data): Likewise.
27978 (llrint_towardzero_test_data): Likewise.
27979 (llrint_downward_test_data): Likewise.
27980 (llrint_upward_test_data): Likewise.
27981 (lround_test_data): Likewise.
27982 (llround_test_data): Likewise.
27984 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27985 (ERRNO_UNCHANGED): Update value.
27986 (ERRNO_EDOM): Likewise.
27987 (ERRNO_ERANGE): Likewise.
27988 (NO_TEST_INLINE_FLOAT): New macro.
27989 (NO_TEST_INLINE_DOUBLE): Likewise.
27990 (enable_test): New function.
27991 (RUN_TEST_f_f): Check enable_test before running test.
27992 (RUN_TEST_2_f): Likewise.
27993 (RUN_TEST_fff_f): Likewise.
27994 (RUN_TEST_c_f): Likewise.
27995 (RUN_TEST_f_f1): Likewise.
27996 (RUN_TEST_fF_f1): Likewise.
27997 (RUN_TEST_fI_f1): Likewise.
27998 (RUN_TEST_ffI_f1): Likewise.
27999 (RUN_TEST_c_c): Likewise.
28000 (RUN_TEST_cc_c): Likewise.
28001 (RUN_TEST_f_i): Likewise.
28002 (RUN_TEST_f_i_tg): Likewise.
28003 (RUN_TEST_ff_i_tg): Likewise.
28004 (RUN_TEST_f_b): Likewise.
28005 (RUN_TEST_f_b_tg): Likewise.
28006 (RUN_TEST_f_l): Likewise.
28007 (RUN_TEST_f_L): Likewise.
28008 (RUN_TEST_fFF_11): Likewise.
28009 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28011 (cosh_test_data): Likewise.
28012 (exp_test_data): Likewise.
28013 (expm1_test_data): Likewise.
28014 (hypot_test_data): Likewise.
28015 (pow_test_data): Likewise.
28016 (sinh_test_data): Likewise.
28017 (tanh_test_data): Likewise.
28018 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28021 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28022 tests with quiet NaN input and output.
28023 (acosh_test_data): Likewise.
28024 (asin_test_data): Likewise.
28025 (asinh_test_data): Likewise.
28026 (atan_test_data): Likewise.
28027 (atanh_test_data): Likewise.
28028 (atan2_test_data): Likewise.
28029 (cbrt_test_data): Likewise.
28030 (cos_test_data): Likewise.
28031 (cosh_test_data): Likewise.
28032 (erf_test_data): Likewise.
28033 (erfc_test_data): Likewise.
28034 (exp_test_data): Likewise.
28035 (exp10_test_data): Likewise.
28036 (exp2_test_data): Likewise.
28037 (expm1_test_data): Likewise.
28038 (hypot_test_data): Likewise.
28039 (j0_test_data): Likewise.
28040 (j1_test_data): Likewise.
28041 (jn_test_data): Likewise.
28042 (lgamma_test_data): Likewise.
28043 (log_test_data): Likewise.
28044 (log10_test_data): Likewise.
28045 (log1p_test_data): Likewise.
28046 (log2_test_data): Likewise.
28047 (pow_test_data): Likewise.
28048 (scalb_test_data): Likewise.
28049 (sin_test_data): Likewise.
28050 (sincos_test_data): Likewise.
28051 (sinh_test_data): Likewise.
28052 (tan_test_data): Likewise.
28053 (tanh_test_data): Likewise.
28054 (tgamma_test_data): Likewise.
28055 (y0_test_data): Likewise.
28056 (y1_test_data): Likewise.
28057 (yn_test_data): Likewise.
28060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28061 argument being NaN and avoid computations with second argument in
28063 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28064 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28065 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28067 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
28069 * locale/iso-639.def: Add Chitwani Tharu (the).
28071 2013-11-14 Andreas Schwab <schwab@suse.de>
28073 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28074 word instead of empty string.
28076 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28079 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28081 (__fe_nomask_env): Likewise.
28083 2013-11-13 Steve Ellcey <sellcey@mips.com>
28085 * benchtests/bench-timing.h: Include time.h.
28087 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
28090 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28092 * sysdeps/unix/sysv/linux/configure: Regenerated.
28094 2013-11-13 Joseph Myers <joseph@codesourcery.com>
28097 * stdlib/strtod_l.c (round_and_return): Do not consider
28098 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28099 exponent one less than half the least subnormal exponent.
28100 * stdlib/test-strtod-round-data: Add more tests.
28101 * stdlib/tst-strtod-round.c (tests): Regenerated.
28103 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28106 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28107 (__fe_mask_env): Likewise.
28108 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28109 libm_hidden_proto and add function prototype.
28110 (__fe_mask_env): Add function prototype.
28111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28112 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28114 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28116 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28118 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28120 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28121 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28123 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28125 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28126 of htab_find_slot().
28128 2013-11-11 David S. Miller <davem@davemloft.net>
28131 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28132 symbol in the non-vis3 case in static builds.
28133 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28134 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28135 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28136 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28138 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
28141 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28144 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28146 * benchtests/Makefile: Add bench-strtod.
28147 * benchtests/bench-strtod.c: New file: strtod benchtest
28149 2013-11-11 Andreas Schwab <schwab@suse.de>
28152 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28153 terminating NUL in key length.
28155 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28158 Add artificial ODP entry for vDSO symbol for PPC64.
28159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28160 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28162 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
28165 * nss/getent.c (services_keys): Recognize services starting with digit.
28167 2013-11-06 David S. Miller <davem@davemloft.net>
28170 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28171 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28173 2013-11-06 Will Newton <will.newton@linaro.org>
28175 * manual/memory.texi (Malloc Examples): Remove register
28176 keyword from examples.
28178 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
28180 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28182 2013-11-04 Joseph Myers <joseph@codesourcery.com>
28185 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28186 depending on [__GCC_IEC_559 > 0].
28187 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28188 depending on [__GCC_IEC_559_COMPLEX > 0].
28190 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
28192 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28195 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
28197 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28199 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
28202 * malloc/malloc (malloc_info): Do not handle first bin as
28205 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
28207 * locale/iso-639.def: Add Central Nahuatl (nhn).
28209 2013-11-01 Bruno Haible <bruno@clisp.org>
28212 * manual/math.texi (BSD Random): Specify range upper bound as
28215 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
28217 * locale/iso-639.def: Add Meadow Mari (mhr).
28219 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
28221 [BZ #14752], [BZ #15763]
28222 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28224 * rt/tst_shm.c: Add test for escaping directory.
28226 2013-10-31 Andreas Schwab <schwab@suse.de>
28229 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28230 followed by 'x' as part of digit sequence.
28231 * stdio-common/tst-sscanf.c (double_tests2): New tests.
28233 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28236 * configure.ac: allow GNU Make 4.0 and greater.
28237 * configure: Regenerated.
28239 2013-10-30 Will Newton <will.newton@linaro.org>
28242 * malloc/hooks.c (memalign_check): Limit alignment to the
28243 maximum representable power of two.
28244 * malloc/malloc.c (__libc_memalign): Likewise.
28245 * malloc/tst-memalign.c (do_test): Add test for very
28246 large alignment values.
28247 * malloc/tst-posix_memalign.c (do_test): Likewise.
28249 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28252 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28253 (munmap_chunk): Likewise.
28254 (mremap_chunk): Likewise.
28256 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
28259 * stdlib/div.c (div): Remove obsolete code.
28260 * stdlib/ldiv.c (ldiv): Likewise.
28261 * stdlib/lldiv.c (lldiv): Likewise.
28263 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28266 * nss/nss_files/files-XXX.c (get_contents_ret): New
28268 (get_contents): New function.
28269 (internal_getent): Use it. Expand size of LINEBUFLEN.
28271 2013-10-30 Mike Frysinger <vapier@gentoo.org>
28273 * configure.in: Moved to ...
28274 * configure.ac: ... here. Change reference to configure.in
28276 * sysdeps/arm/preconfigure.ac: ... here.
28277 configure.in to configure.ac.
28278 * sysdeps/gnu/configure.in: Moved to ...
28279 * sysdeps/gnu/configure.ac: ... here.
28280 * sysdeps/i386/configure.in: Moved to ...
28281 * sysdeps/i386/configure.ac: ... here.
28282 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28283 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28284 * sysdeps/mach/configure.in: Moved to ...
28285 * sysdeps/mach/configure.ac: ... here.
28286 * sysdeps/mach/hurd/configure.in: Moved to ...
28287 * sysdeps/mach/hurd/configure.ac: ... here.
28288 * sysdeps/powerpc/configure.in: Moved to ...
28289 * sysdeps/powerpc/configure.ac: ... here.
28290 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28291 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28292 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28293 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28294 * sysdeps/s390/s390-32/configure.in: Moved to ...
28295 * sysdeps/s390/s390-32/configure.ac: ... here.
28296 * sysdeps/s390/s390-64/configure.in: Moved to ...
28297 * sysdeps/s390/s390-64/configure.ac: ... here.
28298 * sysdeps/sh/configure.in: Moved to ...
28299 * sysdeps/sh/configure.ac: ... here.
28300 * sysdeps/sparc/configure.in: Moved to ...
28301 * sysdeps/sparc/configure.ac: ... here.
28302 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28303 * sysdeps/unix/sysv/linux/configure.ac: ... here.
28304 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28305 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28306 * sysdeps/x86_64/configure.in: Moved to ...
28307 * sysdeps/x86_64/configure.ac: ... here.
28308 * sysdeps/x86_64/preconfigure.in: Moved to ...
28309 * sysdeps/x86_64/preconfigure.ac: ... here.
28310 * aclocal.m4: Change reference to configure.in to configure.ac.
28311 * config.h.in: Likewise.
28312 * manual/install.texi: Likewise.
28313 * manual/maint.texi: Likewise.
28314 * Makefile: Likewise.
28315 * malloc/Makefile: Likewise.
28316 * nscd/Makefile: Likewise.
28317 * Makeconfig: Change reference to configure.in and
28318 preconfigure.in to configure.ac and preconfigure.ac
28320 * INSTALL: Regenerated.
28321 * configure: Likewise.
28322 * sysdeps/gnu/configure: Likewise.
28323 * sysdeps/i386/configure: Likewise.
28324 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28325 * sysdeps/mach/configure: Likewise.
28326 * sysdeps/mach/hurd/configure: Likewise.
28327 * sysdeps/powerpc/configure: Likewise.
28328 * sysdeps/powerpc/powerpc32/configure: Likewise.
28329 * sysdeps/powerpc/powerpc64/configure: Likewise.
28330 * sysdeps/s390/s390-32/configure: Likewise.
28331 * sysdeps/s390/s390-64/configure: Likewise.
28332 * sysdeps/sh/configure: Likewise.
28333 * sysdeps/sparc/configure: Likewise.
28334 * sysdeps/unix/sysv/linux/configure: Likewise.
28335 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28336 * sysdeps/x86_64/configure: Likewise.
28337 * sysdeps/x86_64/preconfigure: Likewise.
28339 2013-10-29 Andreas Schwab <schwab@suse.de>
28341 * stdio-common/Makefile (tst-swscanf-ENV): Define.
28343 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28345 * benchtests/pow-inputs: Add new inputs.
28347 * benchtests/exp-inputs: Add new inputs.
28349 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28350 conditional check for return value.
28351 (__cos32): Likewise.
28353 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28355 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28356 to provide a boost for large inputs with word alignment.
28357 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28358 implementation based on optimized PPC64 strcpy.
28359 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28360 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28361 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28362 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28364 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28367 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28369 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28372 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28373 * time/tst-strptime.c (day_tests): Add testcase.
28375 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
28378 * manual/pattern.texi: Acknowledge that fnmatch can fail.
28380 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
28383 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28384 MAP_FAILED on error.
28386 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28389 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28390 heap for large requests.
28392 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
28395 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28396 result if the result has no associated interface.
28397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28398 interface for all 127.X.Y.Z addresses.
28400 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
28402 * locale/iso-639.def: Add Ligurian (lij)
28404 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
28407 * sunrpc/rpc_main.c: Document rpcgen -5.
28409 2013-10-19 Michael Stahl <mstahl@redhat.com>
28411 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28413 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28416 * posix/glob.c: Match only directories when trailing slash is present.
28417 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28418 (main): Add testcase.
28420 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28423 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28425 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28427 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28428 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28429 AUTH_DES and cindex for FIPS 140-2.
28430 (DES Encryption): Add cindex FIPS 46-3.
28432 * locale/locarchive.h (struct locarhandle): Add fname.
28433 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28434 if an optional argument was specified to --list-archive,
28436 * locale/programs/locarchive.c (show_archive_content): Take new
28437 argument fname and pass it via ah.fname to open_archive.
28438 * locale/programs/localedef.h: Update decl.
28439 (open_archive): If AH->fname is non-null, open that file
28440 rather than the default file name, and don't ignore ENOENT.
28441 (create_archive): Set AH.fname to NULL.
28442 (delete_locales_from_archive): Likewise.
28443 (add_locales_to_archive): Likewise.
28444 * locale/programs/locfile.c (write_all_categories): Likewise.
28446 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28447 Aldy Hernandez <aldyh@redhat.com>
28449 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28450 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28451 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28452 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28453 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28454 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28455 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28456 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28457 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28458 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28459 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28460 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28461 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28462 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28463 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28465 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28467 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28469 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28471 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28472 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28474 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28475 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28476 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28477 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28479 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28480 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28481 * sysdeps/powerpc/preconfigure: Likewise.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28484 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28485 Replace contents of file by #include of <fenv_libc.h>.
28486 * sysdeps/powerpc/soft-fp/sfp-machine.h
28487 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28489 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28490 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28491 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28496 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28497 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28498 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28499 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28500 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28502 Allow copysignl PLT reference to be missing.
28504 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28505 Joseph Myers <joseph@codesourcery.com
28508 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28510 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28512 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28514 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28515 * elf/tst-tls1.c: Likewise.
28516 * elf/tst-tls10.h: Likewise.
28517 * elf/tst-tls14.c: Likewise.
28518 * elf/tst-tls2.c: Likewise.
28519 * elf/tst-tls3.c: Likewise.
28520 * elf/tst-tls4.c: Likewise.
28521 * elf/tst-tls5.c: Likewise.
28522 * elf/tst-tls6.c: Likewise.
28523 * elf/tst-tls7.c: Likewise.
28524 * elf/tst-tls8.c: Likewise.
28525 * elf/tst-tls9.c: Likewise.
28526 * elf/tst-tlsmod1.c: Likewise.
28527 * elf/tst-tlsmod13.c: Likewise.
28528 * elf/tst-tlsmod13a.c: Likewise.
28529 * elf/tst-tlsmod14a.c: Likewise.
28530 * elf/tst-tlsmod16a.c: Likewise.
28531 * elf/tst-tlsmod16b.c: Likewise.
28532 * elf/tst-tlsmod2.c: Likewise.
28533 * elf/tst-tlsmod3.c: Likewise.
28534 * elf/tst-tlsmod4.c: Likewise.
28535 * elf/tst-tlsmod5.c: Likewise.
28536 * elf/tst-tlsmod6.c: Likewise.
28538 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28541 * malloc/malloc.c: remove checks for statistics.
28543 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28546 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28547 * inet/tst-network.c: Add testcase.
28549 2013-10-17 Andreas Schwab <schwab@suse.de>
28552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28553 to determine canonical name.
28555 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28557 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28558 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28559 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28580 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28581 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28582 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28583 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28584 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28586 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28589 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28590 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28591 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28592 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28593 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28594 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28595 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28597 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28598 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28599 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28600 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28601 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28603 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28604 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28605 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28607 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28609 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28610 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28611 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28612 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28614 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28616 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28619 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28620 make result into a quiet NaN.
28622 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28624 * soft-fp/adddf3.c: Fix horizontal whitespace.
28625 * soft-fp/addsf3.c: Likewise.
28626 * soft-fp/addtf3.c: Likewise.
28627 * soft-fp/divdf3.c: Likewise.
28628 * soft-fp/divsf3.c: Likewise.
28629 * soft-fp/divtf3.c: Likewise.
28630 * soft-fp/double.h: Likewise.
28631 * soft-fp/eqdf2.c: Likewise.
28632 * soft-fp/eqsf2.c: Likewise.
28633 * soft-fp/eqtf2.c: Likewise.
28634 * soft-fp/extenddftf2.c: Likewise.
28635 * soft-fp/extended.h: Likewise.
28636 * soft-fp/extendsfdf2.c: Likewise.
28637 * soft-fp/extendsftf2.c: Likewise.
28638 * soft-fp/extendxftf2.c: Likewise.
28639 * soft-fp/fixdfdi.c: Likewise.
28640 * soft-fp/fixdfsi.c: Likewise.
28641 * soft-fp/fixdfti.c: Likewise.
28642 * soft-fp/fixsfdi.c: Likewise.
28643 * soft-fp/fixsfsi.c: Likewise.
28644 * soft-fp/fixsfti.c: Likewise.
28645 * soft-fp/fixtfdi.c: Likewise.
28646 * soft-fp/fixtfsi.c: Likewise.
28647 * soft-fp/fixtfti.c: Likewise.
28648 * soft-fp/fixunsdfdi.c: Likewise.
28649 * soft-fp/fixunsdfsi.c: Likewise.
28650 * soft-fp/fixunsdfti.c: Likewise.
28651 * soft-fp/fixunssfdi.c: Likewise.
28652 * soft-fp/fixunssfsi.c: Likewise.
28653 * soft-fp/fixunssfti.c: Likewise.
28654 * soft-fp/fixunstfdi.c: Likewise.
28655 * soft-fp/fixunstfsi.c: Likewise.
28656 * soft-fp/fixunstfti.c: Likewise.
28657 * soft-fp/floatdidf.c: Likewise.
28658 * soft-fp/floatdisf.c: Likewise.
28659 * soft-fp/floatditf.c: Likewise.
28660 * soft-fp/floatsidf.c: Likewise.
28661 * soft-fp/floatsisf.c: Likewise.
28662 * soft-fp/floatsitf.c: Likewise.
28663 * soft-fp/floattidf.c: Likewise.
28664 * soft-fp/floattisf.c: Likewise.
28665 * soft-fp/floattitf.c: Likewise.
28666 * soft-fp/floatundidf.c: Likewise.
28667 * soft-fp/floatundisf.c: Likewise.
28668 * soft-fp/floatunditf.c: Likewise.
28669 * soft-fp/floatunsidf.c: Likewise.
28670 * soft-fp/floatunsisf.c: Likewise.
28671 * soft-fp/floatunsitf.c: Likewise.
28672 * soft-fp/floatuntidf.c: Likewise.
28673 * soft-fp/floatuntisf.c: Likewise.
28674 * soft-fp/floatuntitf.c: Likewise.
28675 * soft-fp/fmadf4.c: Likewise.
28676 * soft-fp/fmasf4.c: Likewise.
28677 * soft-fp/fmatf4.c: Likewise.
28678 * soft-fp/gedf2.c: Likewise.
28679 * soft-fp/gesf2.c: Likewise.
28680 * soft-fp/getf2.c: Likewise.
28681 * soft-fp/ledf2.c: Likewise.
28682 * soft-fp/lesf2.c: Likewise.
28683 * soft-fp/letf2.c: Likewise.
28684 * soft-fp/muldf3.c: Likewise.
28685 * soft-fp/mulsf3.c: Likewise.
28686 * soft-fp/multf3.c: Likewise.
28687 * soft-fp/negdf2.c: Likewise.
28688 * soft-fp/negsf2.c: Likewise.
28689 * soft-fp/negtf2.c: Likewise.
28690 * soft-fp/op-1.h: Likewise.
28691 * soft-fp/op-2.h: Likewise.
28692 * soft-fp/op-4.h: Likewise.
28693 * soft-fp/op-8.h: Likewise.
28694 * soft-fp/op-common.h: Likewise.
28695 * soft-fp/quad.h: Likewise.
28696 * soft-fp/single.h: Likewise.
28697 * soft-fp/soft-fp.h: Likewise.
28698 * soft-fp/sqrtdf2.c: Likewise.
28699 * soft-fp/sqrtsf2.c: Likewise.
28700 * soft-fp/sqrttf2.c: Likewise.
28701 * soft-fp/subdf3.c: Likewise.
28702 * soft-fp/subsf3.c: Likewise.
28703 * soft-fp/subtf3.c: Likewise.
28704 * soft-fp/truncdfsf2.c: Likewise.
28705 * soft-fp/trunctfdf2.c: Likewise.
28706 * soft-fp/trunctfsf2.c: Likewise.
28707 * soft-fp/trunctfxf2.c: Likewise.
28708 * soft-fp/unorddf2.c: Likewise.
28709 * soft-fp/unordsf2.c: Likewise.
28710 * soft-fp/unordtf2.c: Likewise.
28712 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28714 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28715 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28717 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28719 * elf/dl-libc.c: Clear initfini list after freeing.
28721 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28723 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28724 * soft-fp/addsf3.c: Likewise.
28725 * soft-fp/addtf3.c: Likewise.
28726 * soft-fp/divdf3.c: Likewise.
28727 * soft-fp/divsf3.c: Likewise.
28728 * soft-fp/divtf3.c: Likewise.
28729 * soft-fp/double.h: Likewise.
28730 * soft-fp/eqdf2.c: Likewise.
28731 * soft-fp/eqsf2.c: Likewise.
28732 * soft-fp/eqtf2.c: Likewise.
28733 * soft-fp/extenddftf2.c: Likewise.
28734 * soft-fp/extended.h: Likewise.
28735 * soft-fp/extendsfdf2.c: Likewise.
28736 * soft-fp/extendsftf2.c: Likewise.
28737 * soft-fp/extendxftf2.c: Likewise.
28738 * soft-fp/fixdfdi.c: Likewise.
28739 * soft-fp/fixdfsi.c: Likewise.
28740 * soft-fp/fixdfti.c: Likewise.
28741 * soft-fp/fixsfdi.c: Likewise.
28742 * soft-fp/fixsfsi.c: Likewise.
28743 * soft-fp/fixsfti.c: Likewise.
28744 * soft-fp/fixtfdi.c: Likewise.
28745 * soft-fp/fixtfsi.c: Likewise.
28746 * soft-fp/fixtfti.c: Likewise.
28747 * soft-fp/fixunsdfdi.c: Likewise.
28748 * soft-fp/fixunsdfsi.c: Likewise.
28749 * soft-fp/fixunsdfti.c: Likewise.
28750 * soft-fp/fixunssfdi.c: Likewise.
28751 * soft-fp/fixunssfsi.c: Likewise.
28752 * soft-fp/fixunssfti.c: Likewise.
28753 * soft-fp/fixunstfdi.c: Likewise.
28754 * soft-fp/fixunstfsi.c: Likewise.
28755 * soft-fp/fixunstfti.c: Likewise.
28756 * soft-fp/floatdidf.c: Likewise.
28757 * soft-fp/floatdisf.c: Likewise.
28758 * soft-fp/floatditf.c: Likewise.
28759 * soft-fp/floatsidf.c: Likewise.
28760 * soft-fp/floatsisf.c: Likewise.
28761 * soft-fp/floatsitf.c: Likewise.
28762 * soft-fp/floattidf.c: Likewise.
28763 * soft-fp/floattisf.c: Likewise.
28764 * soft-fp/floattitf.c: Likewise.
28765 * soft-fp/floatundidf.c: Likewise.
28766 * soft-fp/floatundisf.c: Likewise.
28767 * soft-fp/floatunsidf.c: Likewise.
28768 * soft-fp/floatunsisf.c: Likewise.
28769 * soft-fp/floatuntidf.c: Likewise.
28770 * soft-fp/floatuntisf.c: Likewise.
28771 * soft-fp/floatuntitf.c: Likewise.
28772 * soft-fp/fmadf4.c: Likewise.
28773 * soft-fp/fmasf4.c: Likewise.
28774 * soft-fp/fmatf4.c: Likewise.
28775 * soft-fp/gedf2.c: Likewise.
28776 * soft-fp/gesf2.c: Likewise.
28777 * soft-fp/getf2.c: Likewise.
28778 * soft-fp/ledf2.c: Likewise.
28779 * soft-fp/lesf2.c: Likewise.
28780 * soft-fp/letf2.c: Likewise.
28781 * soft-fp/muldf3.c: Likewise.
28782 * soft-fp/mulsf3.c: Likewise.
28783 * soft-fp/multf3.c: Likewise.
28784 * soft-fp/negdf2.c: Likewise.
28785 * soft-fp/negsf2.c: Likewise.
28786 * soft-fp/negtf2.c: Likewise.
28787 * soft-fp/op-1.h: Likewise.
28788 * soft-fp/op-2.h: Likewise.
28789 * soft-fp/op-4.h: Likewise.
28790 * soft-fp/op-8.h: Likewise.
28791 * soft-fp/op-common.h: Likewise.
28792 * soft-fp/quad.h: Likewise.
28793 * soft-fp/single.h: Likewise.
28794 * soft-fp/soft-fp.h: Likewise.
28795 * soft-fp/sqrtdf2.c: Likewise.
28796 * soft-fp/sqrtsf2.c: Likewise.
28797 * soft-fp/sqrttf2.c: Likewise.
28798 * soft-fp/subdf3.c: Likewise.
28799 * soft-fp/subsf3.c: Likewise.
28800 * soft-fp/subtf3.c: Likewise.
28801 * soft-fp/truncdfsf2.c: Likewise.
28802 * soft-fp/trunctfdf2.c: Likewise.
28803 * soft-fp/trunctfsf2.c: Likewise.
28804 * soft-fp/trunctfxf2.c: Likewise.
28805 * soft-fp/unorddf2.c: Likewise.
28806 * soft-fp/unordsf2.c: Likewise.
28807 * soft-fp/unordtf2.c: Likewise.
28809 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28812 * misc/error.c (error_tail): Fix possible buffer overflow.
28814 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28817 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28820 2013-10-14 P. J. McDermott <pj@pehjota.net>
28823 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28824 testing pipefail option.
28826 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28828 * soft-fp/double.h: Indent preprocessor directives inside #if.
28829 * soft-fp/extended.h: Likewise.
28830 * soft-fp/op-2.h: Likewise.
28831 * soft-fp/op-4.h: Likewise.
28832 * soft-fp/op-common.h: Likewise.
28833 * soft-fp/quad.h: Likewise.
28834 * soft-fp/single.h: Likewise.
28835 * soft-fp/soft-fp.h: Likewise.
28837 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28839 * iconv/iconv_prog.c: Fix typos.
28840 * stdio-common/psiginfo-data.h: Likewise.
28842 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28845 * locale/setlocale.c: Fix typo.
28847 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28850 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28851 signaling NaN arguments.
28852 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28853 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28856 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28857 unordered operands.
28858 * soft-fp/gesf2.c (__gesf2): Likewise.
28859 * soft-fp/getf2.c (__getf2): Likewise.
28860 * soft-fp/ledf2.c (__ledf2): Likewise.
28861 * soft-fp/lesf2.c (__lesf2): Likewise.
28862 * soft-fp/letf2.c (__letf2): Likewise.
28864 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28865 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28866 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28867 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28868 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28869 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28870 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28871 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28872 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28873 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28874 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28875 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28876 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28877 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28878 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28879 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28880 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28881 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28882 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28883 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28884 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28885 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28886 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28887 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28888 * soft-fp/floattidf.c (__floattidf): Likewise.
28889 * soft-fp/floattisf.c (__floattisf): Likewise.
28890 * soft-fp/floattitf.c (__floattitf): Likewise.
28891 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28892 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28893 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28894 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28895 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28896 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28897 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28898 * soft-fp/gesf2.c (__gesf2): Likewise.
28899 * soft-fp/getf2.c (__getf2): Likewise.
28900 * soft-fp/ledf2.c (__ledf2): Likewise.
28901 * soft-fp/lesf2.c (__lesf2): Likewise.
28902 * soft-fp/letf2.c (__letf2): Likewise.
28904 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28905 Undefine and redefine.
28906 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28907 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28908 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28909 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28910 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28911 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28912 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28913 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28914 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28915 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28916 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28917 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28918 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28919 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28920 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28923 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28924 without decrementing exponent if mantissa >= that for the
28925 denominator, not >.
28926 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28927 denominator, not >. Decrement exponent in < case instead of
28928 incrementing in >= case.
28929 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28930 without decrementing exponent if mantissa >= that for the
28931 denominator, not >.
28933 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28934 computing saturated result for unsigned overflow.
28936 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28937 Jeff Law <law@redhat.com>
28939 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28940 (atan2Mp): Add systemtap probe marker.
28941 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28942 (__ieee754_log): Add systemtap probe marker.
28943 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28944 (atanMp): Add systemtap probe marker.
28945 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28946 (tanMp): Add systemtap probe marker.
28947 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28948 (__slowexp): Add systemtap probe marker.
28949 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28950 (__slowpow): Add systemtap probe marker.
28951 * manual/probes.texi: Document probes.
28953 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28956 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28958 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28960 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28961 written to buffer but not flushed.
28962 * libio/iofwrite_u.c: Likewise.
28963 * libio/iopadn.c: Return bytes returned even if EOF was
28965 * libio/iowpadn.c: Likewise.
28966 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28967 if _IO_padn does not write the whole buffer.
28968 [!COMPILE_WPRINTF] (PAD): Likewise.
28970 2013-10-10 David S. Miller <davem@davemloft.net>
28972 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28975 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28977 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28978 instead of FSF address.
28979 * soft-fp/fixdfti.c: Likewise.
28980 * soft-fp/fixsfti.c: Likewise.
28981 * soft-fp/fixtfti.c: Likewise.
28982 * soft-fp/fixunsdfti.c: Likewise.
28983 * soft-fp/fixunssfti.c: Likewise.
28984 * soft-fp/fixunstfti.c: Likewise.
28985 * soft-fp/floattidf.c: Likewise.
28986 * soft-fp/floattisf.c: Likewise.
28987 * soft-fp/floattitf.c: Likewise.
28988 * soft-fp/floatuntidf.c: Likewise.
28989 * soft-fp/floatuntisf.c: Likewise.
28990 * soft-fp/floatuntitf.c: Likewise.
28991 * soft-fp/trunctfxf2.c: Likewise.
28993 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28994 * soft-fp/fixdfti.c: Likewise.
28995 * soft-fp/fixsfti.c: Likewise.
28996 * soft-fp/fixtfti.c: Likewise.
28997 * soft-fp/fixunsdfti.c: Likewise.
28998 * soft-fp/fixunssfti.c: Likewise.
28999 * soft-fp/fixunstfti.c: Likewise.
29000 * soft-fp/floattidf.c: Likewise.
29001 * soft-fp/floattisf.c: Likewise.
29002 * soft-fp/floattitf.c: Likewise.
29003 * soft-fp/floatuntidf.c: Likewise.
29004 * soft-fp/floatuntisf.c: Likewise.
29005 * soft-fp/floatuntitf.c: Likewise.
29006 * soft-fp/trunctfxf2.c: Likewise.
29008 2013-10-10 David S. Miller <davem@davemloft.net>
29010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29012 2013-10-10 Joseph Myers <joseph@codsourcery.com>
29014 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29015 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29016 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29017 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29018 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29019 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29020 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29023 for NaNs before doing comparisons on argument.
29024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29027 2013-10-10 Will Newton <will.newton@linaro.org>
29029 * malloc/hooks.c (memalign_check): Ensure the value of bytes
29030 passed to _int_memalign does not overflow.
29032 2013-10-10 Torvald Riegel <triegel@redhat.com>
29034 * scripts/bench.pl: Add include-sources directive.
29035 * benchtests/README: Update documentation.
29037 2013-10-10 Joseph Myers <joseph@codesourcery.com>
29039 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29040 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29041 instead of FP_INIT_ROUNDMODE.
29042 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29043 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29046 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
29047 copy class of input value.
29048 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
29049 not handle exceptions.
29050 * soft-fp/negsf2.c (__negsf2): Likewise.
29051 * soft-fp/negtf2.c (__negtf2): Likewise.
29052 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29054 2013-10-09 Joseph Myers <joseph@codesourcery.com>
29056 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29057 semicolon. From Linux kernel.
29059 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
29061 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29063 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
29066 * manual/socket.texi: Added statement about buffer
29067 for gethostbyname2_r.
29069 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
29071 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29072 Use .p2align directive instead, throughout.
29073 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29074 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29075 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29077 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29078 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29079 * sysdeps/x86_64/strchr.S: Likewise.
29080 * sysdeps/x86_64/strrchr.S: Likewise.
29082 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29084 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29086 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29088 * sysdeps/generic/math_private.h (__mpsin1): Remove
29090 (__mpcos1): Likewise.
29091 (__mpsin): New argument __range_reduce.
29092 (__mpcos): Likewise.
29093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29094 (slow): Use __mpsin and __mpcos.
29098 (sloww1): Likewise.
29099 (sloww2): Likewise.
29100 (bsloww): Likewise.
29101 (bsloww1): Likewise.
29102 (bsloww2): Likewise.
29103 (cslow2): Likewise.
29104 (csloww): Likewise.
29105 (csloww1): Likewise.
29106 (csloww2): Likewise.
29107 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29108 range_reduce. Merge in __mpsin1.
29109 (__mpcos): Likewise.
29110 (__mpsin1): Remove.
29111 (__mpcos1): Likewise.
29113 2013-10-07 Joseph Myers <joseph@codesourcery.com>
29115 * locale/loadlocale.c (_nl_intern_locale_data): Use
29117 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29118 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29119 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29120 obstack data is appropriately aligned.
29121 (obstack_int32_grow_fast): Likewise.
29122 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29123 * locale/programs/locfile.c (add_locale_uint32): Likewise.
29124 (add_locale_uint32_array): Likewise.
29126 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29128 * benchtests/Makefile: Remove ARGLIST and RET variables.
29129 ($(objpfx)bench-%.c): Pass only function name to the script.
29130 * benchtests/README: Update documentation.
29131 * benchtests/acos-inputs: Add new directives.
29132 * benchtests/acosh-inputs: Likewise.
29133 * benchtests/asin-inputs: Likewise.
29134 * benchtests/asinh-inputs: Likewise.
29135 * benchtests/atan-inputs: Likewise.
29136 * benchtests/atanh-inputs: Likewise.
29137 * benchtests/cos-inputs: Likewise.
29138 * benchtests/cosh-inputs: Likewise.
29139 * benchtests/exp-inputs: Likewise.
29140 * benchtests/log-inputs: Likewise.
29141 * benchtests/pow-inputs: Likewise.
29142 * benchtests/rint-inputs: Likewise.
29143 * benchtests/sin-inputs: Likewise.
29144 * benchtests/sinh-inputs: Likewise.
29145 * benchtests/tan-inputs: Likewise.
29146 * benchtests/tanh-inputs: Likewise.
29147 * scripts/bench.pl: Add support for new directives.
29149 2013-10-07 Alan Modra <amodra@gmail.com>
29151 * README: Fix careless merge.
29153 2013-10-05 Alan Modra <amodra@gmail.com>
29155 * NEWS: Mention powerpc64le support and bugs fixed.
29156 * README: Both big-endian and little-endian powerpc64 supported.
29158 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29160 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29161 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29162 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29163 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29165 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
29167 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29170 2013-10-04 Joseph Myers <joseph@codesourcery.com>
29172 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29173 Move -mhard-float appending from
29174 ports/sysdeps/powerpc/powerpc32/Makefile.
29175 [$(with-fp) = yes] (ASFLAGS): Likewise.
29176 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29177 * sysdeps/powerpc/nofpu: Move directory from
29178 ports/sysdeps/powerpc/nofpu.
29179 * sysdeps/powerpc/soft-fp: Move directory from
29180 ports/sysdeps/powerpc/soft-fp.
29181 * sysdeps/powerpc/powerpc32/405: Move directory from
29182 ports/sysdeps/powerpc/powerpc32/405.
29183 * sysdeps/powerpc/powerpc32/440: Move directory from
29184 ports/sysdeps/powerpc/powerpc32/440.
29185 * sysdeps/powerpc/powerpc32/464: Move directory from
29186 ports/sysdeps/powerpc/powerpc32/464.
29187 * sysdeps/powerpc/powerpc32/476: Move directory from
29188 ports/sysdeps/powerpc/powerpc32/476.
29189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29190 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29192 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29194 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29196 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29198 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29199 * README: Update for powerpc-*-linux-gnu software floating point
29202 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29203 case to powerpc/powerpc32*.
29204 * sysdeps/unix/sysv/linux/configure: Regenerated.
29206 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29207 (_FPU_MASK_OM): Define as 0x04.
29208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29216 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29219 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29222 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29223 and setcontext_e500.
29225 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
29227 * locale/iso-3166.def: Update iso-1366.def and related occurrences
29229 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29231 * manual/threads.texi (Default Thread Attributes): Fix typo.
29233 2013-10-04 Will Newton <will.newton@linaro.org>
29235 * malloc/Makefile: Add tst-memalign.
29236 * malloc/tst-memalign.c: New file.
29238 * malloc/tst-posix_memalign.c: Add comments.
29239 (do_test): Add comments and call free on all potentially
29240 allocated pointers. Add space after cast.
29242 * malloc/tst-pvalloc.c: Add comments.
29243 (do_test): Add comments and call free on all potentially
29244 allocated pointers. Remove duplicate check for NULL pointer.
29245 Add space after cast.
29247 * malloc/tst-valloc.c: Add comments.
29248 (do_test): Add comments and call free on all potentially
29249 allocated pointers. Remove duplicate check for NULL pointer.
29250 Add space after cast.
29252 2013-10-04 Alan Modra <amodra@gmail.com>
29254 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29255 Use stdint types in rather than __attribute__((mode())).
29256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29258 2013-10-04 Alan Modra <amodra@gmail.com>
29260 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29261 Correct handling of unaligned relocs for little-endian.
29262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29264 2013-10-04 Alan Modra <amodra@gmail.com>
29266 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29267 * configure: Regenerate.
29268 * nptl/shlib-versions: Powerpc*le starts at 2.18.
29269 * shlib-versions: Likewise.
29271 2013-10-04 Alan Modra <amodra@gmail.com>
29273 * string/tester.c (test_memrchr): Increment reported test cycle.
29275 2013-10-04 Alan Modra <amodra@gmail.com>
29277 * string/test-memcpy.c (do_one_test): When reporting errors, print
29278 string address and don't overrun end of string.
29280 2013-10-04 Alan Modra <amodra@gmail.com>
29282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29283 insrdi. Make better use of reg selection to speed exit slightly.
29284 Schedule entry path a little better. Remove useless "are we done"
29285 checks on entry to main loop. Handle wrapping around zero address.
29286 Correct main loop count. Handle single left-over word from main
29287 loop inline rather than by using loop_small. Remove extra word
29288 case in loop_small caused by wrong loop count. Add little-endian
29290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
29293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29294 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29295 support. Avoid rlwimi.
29296 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29298 2013-10-04 Alan Modra <amodra@gmail.com>
29300 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29301 insrdi. Formatting.
29302 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29305 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29306 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29307 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29309 2013-10-04 Alan Modra <amodra@gmail.com>
29311 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29312 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29313 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29314 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29315 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29316 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
29320 use of regs. Use power7 mtocrf. Tidy function tails.
29322 2013-10-04 Alan Modra <amodra@gmail.com>
29324 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29325 Formatting. Consistently use rXXX register defines or rN defines.
29326 Use early exit labels that avoid restoring unused non-volatile regs.
29327 Make cr field use more consistent with rWORDn compares. Rename
29328 regs used as shift registers for unaligned loop, using rN defines
29329 for short lifetime/multiple use regs.
29330 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
29332 addi 1,1,64 to pop stack frame. Simplify return value code.
29333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29335 2013-10-04 Alan Modra <amodra@gmail.com>
29337 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29338 support. Correct typos, formatting. Optimize tail. Use insrdi
29339 rather than rlwimi.
29340 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29341 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29342 little-endian support. Correct typos.
29343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
29344 rather than rlwimi.
29345 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
29346 in loop and entry code to keep "and." results.
29347 (strchr): Add little-endian support. Comment. Move cntlzd
29349 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29351 2013-10-04 Alan Modra <amodra@gmail.com>
29353 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29354 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29355 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29356 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29358 2013-10-04 Alan Modra <amodra@gmail.com>
29360 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29361 (rTMP): Define as r11.
29362 (strcmp): Add little-endian support. Optimise tail.
29363 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29364 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29365 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29369 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29371 2013-10-04 Alan Modra <amodra@gmail.com>
29373 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29374 little-endian support. Remove unnecessary "are we done" tests.
29375 Handle "s" wrapping around zero and extremely large "size".
29376 Correct main loop count. Handle single left-over word from main
29377 loop inline rather than by using small_loop. Correct comments.
29378 Delete "zero" tail, use "end_max" instead.
29379 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29381 2013-10-04 Alan Modra <amodra@gmail.com>
29383 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29384 support. Don't branch over align.
29385 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29386 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29387 support. Rearrange tmp reg use to suit. Comment.
29388 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29390 2013-10-04 Alan Modra <amodra@gmail.com>
29392 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29394 2013-10-04 Alan Modra <amodra@gmail.com>
29396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29397 conditional form of branch and link when obtaining pc.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29400 2013-10-04 Alan Modra <amodra@gmail.com>
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29407 2013-10-04 Alan Modra <amodra@gmail.com>
29409 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29410 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29411 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29412 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29413 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29414 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29415 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29416 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29417 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29418 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29420 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29421 Alistair Popple <alistair@ozlabs.au.ibm.com>
29422 Alan Modra <amodra@gmail.com>
29425 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29426 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29427 _dl_hwcap access for little-endian.
29428 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29429 destroy vmx regs when saving unaligned.
29430 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29431 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29432 destroy vmx regs when saving unaligned.
29434 2013-10-04 Alan Modra <amodra@gmail.com>
29436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29437 Don't use a union to pack hi/low value.
29439 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29441 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29443 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29445 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29446 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29447 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29449 2013-10-04 Alan Modra <amodra@gmail.com>
29451 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29452 constants to usual value for .cst8 section, and remove redundant
29454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29455 constant for 0x1p52. Load little-endian words of double from
29456 correct stack offsets.
29458 2013-10-04 Alan Modra <amodra@gmail.com>
29460 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29461 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29462 words of double from correct stack offsets.
29463 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29464 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29465 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29468 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29469 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29470 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29471 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29472 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29473 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29474 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29475 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29476 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29477 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29478 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29479 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29481 2013-10-04 Alan Modra <amodra@gmail.com>
29483 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29484 64-bit int/double union.
29485 (_FPU_SETCW): Likewise.
29486 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29487 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29489 2013-10-04 Alan Modra <amodra@gmail.com>
29491 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29492 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29494 2013-10-04 Alan Modra <amodra@gmail.com>
29496 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29497 use vector int constants.
29498 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29500 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29502 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29503 array with long long.
29504 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29505 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29506 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29507 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29508 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29509 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29510 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29511 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29512 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29513 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29514 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29515 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29516 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29518 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29520 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29521 (__signbit): Likewise. Correct for little-endian.
29522 (__signbitl): Call __signbit.
29523 (lrint): Correct for little-endian.
29524 (lrintf): Call lrint.
29526 2013-10-04 Alan Modra <amodra@gmail.com>
29528 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29529 union 32-bit int array member with 64-bit int array.
29530 (t515, tm256): Double rather than long double.
29531 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29533 2013-10-04 Alan Modra <amodra@gmail.com>
29535 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29537 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29539 version of math_ldbl.h.
29541 2013-10-04 Alan Modra <amodra@gmail.com>
29543 [BZ #15734], [BZ #15735]
29544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29545 all uses of ieee875 long double macros and unions. Simplify test
29546 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29547 ldbl_extract_mantissa value for ix,iy exponents. Properly
29548 normalize after ldbl_extract_mantissa, and don't add hidden bit
29549 already handled. Don't treat low word of ieee854 mantissa like
29550 low word of IBM long double and mask off bit when testing for
29552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29553 all uses of ieee875 long double macros and unions. Simplify tests
29554 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29555 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29556 two1022, instead use their values. Recognise that tests for large
29557 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29559 Rewrite all uses of ieee875 long double macros and unions. Simplify
29560 test for 0.0L and nan. Correct negation.
29561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29562 ieee875 long double macros and unions. Correct output for large
29563 magnitude x. Correct absolute value calculation.
29564 (__erfcl): Likewise.
29565 * math/libm-test.inc: Add tests for errors discovered in IBM long
29566 double versions of fmodl, remainderl, erfl and erfcl.
29568 2013-10-04 Alan Modra <amodra@gmail.com>
29570 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29571 all uses of ieee854 long double macros and unions. Simplify tests
29572 for long doubles that are fully specified by the high double.
29573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29575 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29576 Remove dead code too.
29577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29578 (__ieee754_ynl): Likewise.
29579 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29582 Remove dead code too.
29583 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29584 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29585 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29586 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29588 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29590 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29591 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29592 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29593 Comment on variable precision.
29594 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29595 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29597 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29598 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29600 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29603 2013-10-04 Alan Modra <amodra@gmail.com>
29605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29607 all uses of ieee854 long double macros and unions.
29608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29610 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29611 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29612 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29617 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29618 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29619 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29621 Simplify sign and nan test too.
29622 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29623 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29624 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29625 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29627 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29628 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29631 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29632 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29633 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29635 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29637 2013-10-04 Alan Modra <amodra@gmail.com>
29639 * stdio-common/printf_size.c (__printf_size): Don't use
29640 union ieee854_long_double in fpnum union.
29641 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29642 signbit macro to retrieve sign from long double.
29643 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29644 retrieve sign from long double.
29645 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29646 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29647 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29648 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29649 * math/test-misc.c (main): Don't use union ieee854_long_double.
29651 2013-10-04 Alan Modra <amodra@gmail.com>
29654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29655 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29656 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29657 calculation. Remove unnecessary test for denormal exponent.
29658 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29659 Correct handling of denormals. Avoid undefined shift behaviour.
29660 Correct normalisation of low mantissa when low double is denormal.
29661 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29662 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29663 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29664 Correct normalisation of low mantissa. Test for overflow of high
29665 mantissa and normalise.
29666 (ldbl_nearbyint): Use more readable constant for two52.
29667 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29668 (__mpn_construct_long_double): Fix test for overflow of high
29669 mantissa and correct normalisation. Avoid undefined shift.
29671 2013-10-04 Alan Modra <amodra@gmail.com>
29673 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29674 (union ibm_extended_long_double): Define as an array of ieee754_double.
29675 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29676 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29677 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29678 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29679 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29680 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29681 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29682 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29685 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29687 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29689 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29690 page size instead of calling getpagesize.
29692 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29693 (LOCFILE_ALIGN_MASK): Likewise.
29694 (LOCFILE_ALIGN_UP): Likewise.
29695 (LOCFILE_ALIGNED_P): Likewise.
29696 * locale/programs/ld-collate.c (collate_output): Use the new
29697 macros instead of __alignof__ (int32_t).
29698 * locale/weight.h (findidx): Likewise.
29700 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29703 * manual/string.texi: Fix strncat and wcsncat.
29705 2013-10-03 Brooks Moses <bmoses@google.com>
29708 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29709 * Makerules: ...here, and adjust associated comments.
29711 2013-10-02 Will Newton <will.newton@linaro.org>
29713 * malloc/Makefile: Add tst-pvalloc.
29714 * malloc/tst-pvalloc.c: New file.
29716 2013-10-02 Will Newton <will.newton@linaro.org>
29718 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29719 improve test coverage.
29721 2013-10-02 Will Newton <will.newton@linaro.org>
29723 * malloc/Makefile: Add tst-posix_memalign.
29724 * malloc/tst-posix_memalign.c: New file.
29726 2013-10-01 Eric Blake <eblake@redhat.com>
29728 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29729 Use __THROWNL rather than __THROW on static functions.
29731 2013-09-30 Petr Machata <pmachata@redhat.com>
29733 * elf/elf.h (R_AARCH64_ABS16): New macro.
29734 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29735 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29736 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29737 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29738 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29739 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29740 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29741 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29742 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29743 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29744 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29745 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29746 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29747 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29748 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29749 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29750 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29751 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29752 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29753 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29754 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29755 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29756 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29757 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29758 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29759 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29760 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29761 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29762 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29763 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29764 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29765 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29766 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29767 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29768 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29769 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29770 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29771 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29772 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29773 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29774 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29775 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29776 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29777 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29778 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29779 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29780 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29781 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29782 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29783 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29784 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29785 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29786 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29787 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29788 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29789 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29790 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29791 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29792 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29793 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29794 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29795 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29796 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29797 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29798 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29799 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29800 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29801 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29802 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29803 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29804 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29805 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29806 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29807 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29808 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29809 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29810 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29811 (R_AARCH64_TLSDESC_LDR): Likewise.
29812 (R_AARCH64_TLSDESC_ADD): Likewise.
29813 (R_AARCH64_TLSDESC_CALL): Likewise.
29815 2013-09-30 Andreas Schwab <schwab@suse.de>
29818 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29819 the nss database lookup.
29820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29823 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29825 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29827 2013-09-28 P. J. McDermott <pj@pehjota.net>
29829 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29830 ${Bash-specific parameter/pattern/string} parameter expansion.
29831 * sysdeps/unix/make-syscalls.sh: Likewise.
29833 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29835 * sysdeps/sh/stackguard-macros.h: New file.
29837 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29841 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29843 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29844 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29846 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29848 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29849 Fix thread ID register.
29851 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29853 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29854 [POSIX || UNIX98]: Require rather than permitting all symbols from
29856 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29857 element of struct sched_param.
29858 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29859 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29860 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29861 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29864 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29866 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29867 argument calculation.
29869 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29871 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29873 [POSIX] (pthread_attr_t): Do not require type.
29874 [POSIX] (pthread_cond_t): Likewise.
29875 [POSIX] (pthread_condattr_t): Likewise.
29876 [POSIX] (pthread_key_t): Likewise.
29877 [POSIX] (pthread_mutex_t): Likewise.
29878 [POSIX] (pthread_mutexattr_t): Likewise.
29879 [POSIX] (pthread_once_t): Likewise.
29880 [POSIX] (pthread_t): Likewise.
29881 [POSIX-based standards] (pthread_atfork): Expect function.
29883 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29884 Richard Sandiford <richard@codesourcery.com>
29886 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29887 (swap_endianness_p): New extern variable.
29888 (set_big_endian): New inline function.
29889 (maybe_swap_uint32): Likewise.
29890 (maybe_swap_uint32_array): Likewise.
29891 (maybe_swap_uint32_obstack): Likewise.
29892 * locale/programs/locfile.c: Include <stdbool.h>.
29893 (swap_endianness_p): New variable.
29894 (add_locale_uint32): Call maybe_swap_uint32.
29895 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29896 (write_locale_data): Call maybe_swap_uint32_array.
29897 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29899 (obstack_int32_grow_fast): Likewise.
29900 (output_weightwc): Call maybe_swap_uint32_obstack.
29901 (collate_output): Likewise.
29902 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29903 (OPT_LITTLE_ENDIAN): Likewise.
29904 (options): Add --little-endian and --big-endian options.
29905 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29906 * locale/programs/locarchive.c: Include "locfile.h".
29910 (create_archive): Use the new macros to access fields of
29911 structures directly mapped from or written to locale archives.
29912 (oldlocrecentcmp): Likewise.
29913 (enlarge_archive): Likewise.
29914 (insert_name): Likewise.
29915 (add_alias): Likewise.
29916 (add_locale): Likewise.
29917 (delete_locales_from_archive): Likewise.
29918 (show_archive_content): Likewise.
29919 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29922 2013-09-24 Roland McGrath <roland@hack.frob.com>
29924 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29925 http://www.gnu.org/doc/freemanuals.texi.
29926 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29928 2013-09-24 Will Newton <will.newton@linaro.org>
29930 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29933 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29935 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29938 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29940 * manual/threads.texi (POSIX Threads): Fix a typo.
29942 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29945 * string/tst-strcoll-overflow.c: New test case.
29946 * string/Makefile (xtests): Add tst-strcoll-overflow.
29947 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29948 cache if string sizes may cause integer overflow.
29951 * string/strcoll_l.c (coll_seq): New members rule, idx,
29952 save_idx and back_us.
29953 (get_next_seq_nocache): New function.
29954 (do_compare_nocache): New function.
29955 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29958 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29961 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29962 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29963 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29966 * elf/Makefile (tests): Add tst-ptrguard1.
29967 (tests-static): Add tst-ptrguard1-static.
29968 (tst-ptrguard1-ARGS): Define.
29969 (tst-ptrguard1-static-ARGS): Define.
29970 * elf/tst-ptrguard1.c: New file.
29971 * elf/tst-ptrguard1-static.c: New file.
29972 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29973 * sysdeps/i386/stackguard-macros.h: Likewise.
29974 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29975 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29976 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29977 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29978 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29979 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29981 2013-09-23 Hector Marco <hecmargi@upv.es>
29982 Ismael Ripoll <iripoll@disca.upv.es>
29983 Carlos O'Donell <carlos@redhat.com>
29986 * sysdeps/generic/stackguard-macros.h: Define
29987 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29988 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29989 Define __pointer_chk_guard_local.
29990 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29991 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29993 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29996 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29998 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
30000 * include/string.h (__ffs): Declare as hidden.
30001 * string/ffs.c (__ffs): Define as hidden.
30002 * sysdeps/i386/ffs.c (__ffs): Likewise.
30003 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30004 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30005 * sysdeps/s390/ffs.c (__ffs): Likewise.
30006 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30008 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
30010 * NEWS: Mention malloc probes.
30012 * malloc/arena.c (new_heap): New memory_heap_new probe.
30013 (grow_heap): New memory_heap_more probe.
30014 (shrink_heap): New memory_heap_less probe.
30015 (heap_trim): New memory_heap_free probe.
30016 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30017 (systrim): New memory_sbrk_less probe.
30018 * manual/probes.texi: Document them.
30020 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30021 * manual/probes.texi: Document it.
30023 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30024 (__libc_realloc): Add memory_realloc_retry probe.
30025 (__libc_memalign): Add memory_memalign_retry probe.
30026 (__libc_valloc): Add memory_valloc_retry probe.
30027 (__libc_pvalloc): Add memory_pvalloc_retry probe.
30028 (__libc_calloc): Add memory_calloc_retry probe.
30029 * manual/probes.texi: Document them.
30031 * malloc/arena.c (get_free_list): Add probe
30032 memory_arena_reuse_free_list.
30033 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30034 and memory_arena_reuse.
30035 (arena_get2) [!PER_THREAD]: Likewise.
30036 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30037 memory_arena_reuse_realloc.
30038 * manual/probes.texi: Document them.
30040 * malloc/malloc.c (__libc_free): Add
30041 memory_mallopt_free_dyn_thresholds probe.
30042 (__libc_mallopt): Add multiple memory_mallopt probes.
30043 * manual/probes.texi: Document them.
30045 * malloc/malloc.c: Include stap-probe.h.
30046 (__libc_mallopt): Add memory_mallopt probe.
30047 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30048 * manual/probes.texi: New.
30049 * manual/Makefile (chapters): Add probes.
30050 * manual/threads.texi: Set next node.
30052 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
30054 [BZ #15963, #13985]
30055 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30056 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30057 Add `Chinese' to `nan' entry name.
30059 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30061 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30062 (POLYNOMIAL): Likewise.
30063 (TAYLOR_SINCOS): Likewise.
30064 (TAYLOR_SLOW): Likewise.
30065 (__sin): Use TAYLOR_SINCOS.
30067 (slow): Use TAYLOR_SLOW.
30069 (bsloww): Likewise.
30070 (csloww): Likewise.
30072 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30074 * stdlib/strtod_l.c: Fix buffer overrun.
30076 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30078 * benchtests/Makefile (bench): Add sincos.
30079 * benchtests/bench-sincos.c: New file.
30081 * math/libm-test.inc (cos_test_data): New test inputs.
30082 (sin_test_data): Likewise.
30084 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30090 (sloww1): Likewise.
30091 (sloww2): Likewise.
30092 (bsloww1): Likewise.
30093 (bsloww2): Likewise.
30094 (cslow2): Likewise.
30095 (csloww1): Likewise.
30096 (csloww2): Likewise.
30098 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30107 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
30109 * config.h.in (HAVE_MIPS_NAN2008): New macro.
30110 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30111 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30112 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30113 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30114 * elf/cache.c (print_entry): Handle the new cache flags.
30116 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30117 Aldy Hernandez <aldyh@redhat.com>
30119 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30120 Change condition to [_SOFT_FLOAT].
30121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30133 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30136 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30139 2013-09-18 Joseph Myers <joseph@codesourcery.com>
30141 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30142 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30143 (__longjmp): Use LOAD_GP to load saved GPRs.
30144 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30145 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30146 (__sigsetjmp): Use SAVE_GP to save GPRs.
30148 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30149 Do not append -msoft-float.
30150 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30152 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30154 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30156 2013-09-17 Joseph Myers <joseph@codesourcery.com>
30159 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30160 (_FPU_GETCW): Use initial "__" on variable and field names but not
30161 on macro parameter name.
30162 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
30163 parentheses around reference to macro parameter.
30165 2013-09-13 Richard Sandiford <richard@codesourcery.com>
30167 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30169 (ctype_startup): Use uint32_t in cast and sizeof for
30172 2013-09-11 Jia Liu <proljc@gmail.com>
30174 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30176 [__FreeBSD__]: Likewise.
30178 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
30180 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30181 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30182 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30183 (strchr): Remove __strchr_sse42 ifunc selection.
30184 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30185 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30187 2013-09-11 Will Newton <will.newton@linaro.org>
30189 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30190 parameter to RES. Remove hardcoded 1000 value.
30191 * benchtests/bench-skeleton.c (main): Pass RES parameter
30192 to TIMING_INIT and multiply result by 1000.
30194 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30198 2013-09-11 Andreas Schwab <schwab@suse.de>
30200 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30202 (O_TMPFILE) [__USE_GNU]: Define.
30203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30206 2013-09-11 Will Newton <will.newton@linaro.org>
30209 * malloc/malloc.c (__libc_memalign): Check the value of bytes
30212 2013-09-11 Will Newton <will.newton@linaro.org>
30215 * malloc/malloc.c (__libc_valloc): Check the value of bytes
30218 2013-09-11 Will Newton <will.newton@linaro.org>
30221 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30224 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
30226 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30227 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30232 2013-09-10 Allan McRae <allan@archlinux.org>
30235 * manual/arith.texi (Parsing of Floats): Clarify
30239 * manual/install.texi (Running make install): Mention
30241 * INSTALL: Regenerated.
30243 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
30245 * csu/init-first.c (_init): Remove the !SHARED condition around
30246 FPU control word initialization.
30247 * elf/dl-support.c (_dl_fpu_control): New variable.
30248 (_dl_aux_init) <AT_FPUCW>: Initialize it.
30249 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30250 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30251 * math/test-fpucw-static.c: New file.
30252 * math/test-fpucw-ieee.c: New file.
30253 * math/test-fpucw-ieee-static.c: New file.
30254 * math/Makefile (tests): Add `test-fpucw-ieee' and
30256 (tests-static): New variable.
30257 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30259 [($(build-shared),yes)]
30260 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30262 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30265 2013-09-09 Allan McRae <allan@archlinux.org>
30268 * manual/string.texi (Collation Functions): Fix typo in
30270 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30273 * stdlib/isomac.c (get_null_defines): Fix memory leak.
30276 * libio/memstream.c (open_memstream): Fix memory leak.
30277 * libio/wmemstream.c (open_wmemstream): Likewise.
30280 * nscd/netgroupcache.c: Fix nesting of ifdefs.
30282 2013-09-09 Will Newton <will.newton@linaro.org>
30284 * malloc/Makefile: Add tst-realloc to tests.
30285 * malloc/tst-realloc.c: New file.
30287 2013-09-09 Allan McRae <allan@archlinux.org>
30290 * COPYING: Update from GNU website to fix FSF address.
30291 * COPYING.LIB: Likewise.
30293 2013-09-06 David S. Miller <davem@davemloft.net>
30295 * po/zh_TW.po: Update Chinese (traditional) translation from
30296 translation project.
30298 2013-09-06 Richard Sandiford <richard@codesourcery.com>
30299 Joseph Myers <joseph@codesourcery.com>
30301 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30303 (obstack_chunk_alloc): New macro.
30304 (obstack_chunk_free): Likewise.
30305 (record_offset): New function.
30306 (init_locale_data): Likewise.
30307 (align_locale_data): Likewise.
30308 (add_locale_empty): Likewise.
30309 (add_locale_raw_data): Likewise.
30310 (add_locale_raw_obstack): Likewise.
30311 (add_locale_string): Likewise.
30312 (add_locale_wstring): Likewise.
30313 (add_locale_uint32): Likewise.
30314 (add_locale_uint32_array): Likewise.
30315 (add_locale_char): Likewise.
30316 (start_locale_structure): Likewise.
30317 (end_locale_structure): Likewise.
30318 (start_locale_prelude): Likewise.
30319 (end_locale_prelude): Likewise.
30320 (write_locale_data): Take locale_file structure rather than an
30322 * locale/programs/locfile.h: Include "obstack.h".
30323 (struct locale_file): Change to store locale file contents instead
30325 (init_locale_data): New prototype.
30326 (align_locale_data): Likewise.
30327 (add_locale_empty): Likewise.
30328 (add_locale_raw_data): Likewise.
30329 (add_locale_raw_obstack): Likewise.
30330 (add_locale_string): Likewise.
30331 (add_locale_wstring): Likewise.
30332 (add_locale_uint32): Likewise.
30333 (add_locale_uint32_array): Likewise.
30334 (add_locale_char): Likewise.
30335 (start_locale_structure): Likewise.
30336 (end_locale_structure): Likewise.
30337 (start_locale_prelude): Likewise.
30338 (end_locale_prelude): Likewise.
30339 (write_locale_data): Update prototype.
30340 * locale/programs/3level.h (struct TABLE): Remove result field.
30341 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30342 Use new locale_file interface.
30343 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30344 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30345 * locale/programs/ld-address.c (address_output): Use new
30346 locale_file interface.
30347 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30349 (collate_finish): Don't call collseq_table_finalize.
30350 (collate_output): Use new locale_file interface.
30351 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30353 (NO_FINALIZE): Change to NO_ADD_LOCALE.
30354 (TABLE): Move defines earlier in file.
30355 (ELEMENT): Likewise.
30356 (DEFAULT): Likewise.
30357 (wctrans_table_add): Move macro and inline function earlier in
30359 (struct wctype_table): Move type earlier in file.
30360 (add_locale_wctype_table): New static prototype.
30361 (struct locale_ctype_t): Use logical types instead of struct iovec
30362 pointers for members.
30363 (ctype_output): Use new locale_file interface.
30364 (wctype_table_finalize): Change to add_locale_wctype_table. Use
30365 new locale_file interface.
30366 (allocate_arrays): Update for use of new locale_file interface.
30367 * locale/programs/ld-identification.c (identification_output): Use
30368 new locale_file interface.
30369 * locale/programs/ld-measurement.c (measurement_output): Likewise.
30370 * locale/programs/ld-messages.c (messages_output): Likewise.
30371 * locale/programs/ld-monetary.c (monetary_output): Likewise.
30372 * locale/programs/ld-name.c (name_output): Likewise.
30373 * locale/programs/ld-numeric.c (numeric_output): Likewise.
30374 * locale/programs/ld-paper.c (paper_output): Likewise.
30375 * locale/programs/ld-telephone.c (telephone_output): Likewise.
30376 * locale/programs/ld-time.c (time_output): Likewise.
30378 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30380 * benchtests/Makefile: Add memrchr benchmark.
30381 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30382 benchmark as memrchr.
30383 * benchtests/bench-memrchr-ifunc.c: New file.
30384 * benchtests/bench-memrchr.c: New file.
30386 2013-09-06 Will Newton <will.newton@linaro.org>
30388 * benchtests/Makefile (string-bench): Add memcpy.
30390 2013-09-05 Carlos O'Donell <carlos@redhat.com>
30391 Cong Wang <amwang@redhat.com>
30394 * sysdeps/unix/sysv/linux/bits/in.h
30395 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30396 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30397 before __USE_KERNEL_IPV6_DEFS uses.
30398 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30400 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30401 sockaddr_in6, or ipv6_mreq.
30403 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30405 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30406 memory access for final bytes in some large inputs.
30407 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30409 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30411 * string/test-memrchr.c: New file.
30412 * string/test-memrchr-ifunc.c: New file.
30413 * string/Makefile: Add new memrchr testcase.
30415 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30417 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30418 fanotify_init returns EPERM.
30420 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30422 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30424 (top level): Treat second token from macro or constant entries for
30425 allowed headers as allowed.
30426 * include/complex.h: Condition internal declarations on
30428 * include/fenv.h: Condition include of <stdbool.h> and internal
30429 declarations on [!_ISOMAC].
30431 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30434 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30436 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30438 * configure.in (--enable-versioning): Remove configure option.
30439 (libc_cv_asm_symver_directive): Remove configure test.
30440 (libc_cv_ld_version_script_option): Likewise.
30441 (VERSIONING): Remove variable and AC_SUBST.
30442 (DO_VERSIONING): Remove AC_DEFINE.
30443 * configure: Regenerated.
30444 * config.h.in (DO_VERSIONING): Remove macro.
30445 * Makerules [$(versioning) = yes]: Change conditionals to
30446 [$(build-shared) = yes].
30447 * config.make.in (versioning): Remove variable.
30448 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30449 [$(build-shared) = yes].
30450 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30451 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30452 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30453 [$(build-shared) = yes].
30454 * extra-lib.mk [$(versioning) = yes]: Likewise.
30455 * hurd/Makefile [$(versioning) = yes]: Likewise.
30456 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30458 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30460 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30461 [SHARED && !NO_HIDDEN].
30462 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30464 [SHARED && DO_VERSIONING]: Likewise..
30465 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30466 [$(build-shared) = yes].
30467 * manual/install.texi (--disable-versioning): Remove
30469 * INSTALL: Regenerated.
30470 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30472 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30473 [$(build-shared) = yes].
30474 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30475 * sysdeps/i386/i686/multiarch/strstr-c.c
30476 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30477 [SHARED && !NO_HIDDEN].
30478 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30479 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30480 * sysdeps/powerpc/powerpc32/dl-machine.c
30481 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30482 * sysdeps/powerpc/powerpc32/sysdep.h
30483 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30484 to [SHARED && PIC && !NO_HIDDEN].
30485 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30486 conditional to [SHARED].
30488 2013-09-04 Will Newton <will.newton@linaro.org>
30490 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30491 * benchtests/bench-string.h: Include bench-timing.h instead
30492 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30493 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30494 call to HP_TIMING_DIFF_INIT.
30495 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30496 instead of hp-timing.h macros.
30497 * benchtests/bench-memchr.c: Likewise.
30498 * benchtests/bench-memcmp.c: Likewise.
30499 * benchtests/bench-memcpy.c: Likewise.
30500 * benchtests/bench-memmem.c: Likewise.
30501 * benchtests/bench-memmove.c: Likewise.
30502 * benchtests/bench-memset.c: Likewise.
30503 * benchtests/bench-rawmemchr.c: Likewise.
30504 * benchtests/bench-strcasecmp.c: Likewise.
30505 * benchtests/bench-strcasestr.c: Likewise.
30506 * benchtests/bench-strcat.c: Likewise.
30507 * benchtests/bench-strchr.c: Likewise.
30508 * benchtests/bench-strcmp.c: Likewise.
30509 * benchtests/bench-strcpy.c: Likewise.
30510 * benchtests/bench-strcpy_chk.c: Likewise.
30511 * benchtests/bench-strlen.c: Likewise.
30512 * benchtests/bench-strncasecmp.c: Likewise.
30513 * benchtests/bench-strncat.c: Likewise.
30514 * benchtests/bench-strncmp.c: Likewise.
30515 * benchtests/bench-strncpy.c: Likewise.
30516 * benchtests/bench-strnlen.c: Likewise.
30517 * benchtests/bench-strpbrk.c: Likewise.
30518 * benchtests/bench-strrchr.c: Likewise.
30519 * benchtests/bench-strspn.c: Likewise.
30520 * benchtests/bench-strstr.c: Likewise.
30522 2013-09-04 Will Newton <will.newton@linaro.org>
30524 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30526 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30530 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30531 * math/libm-test.inc (lgamma_test_data): Add more tests.
30532 * sysdeps/i386/fpu/libm-test-ulps: Update.
30533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30535 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30537 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30541 Add strcmp-sse2-unaligned
30542 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30544 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30546 * Versions.def (libc): Add GLIBC_2.19.
30548 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30550 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30551 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30553 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30556 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30557 intermediate calculations in recurrence.
30558 (__ieee754_ynf): Likewise.
30559 * math/libm-test.inc (jn_test_data): Do not allow spurious
30560 underflow exception. Add more tests.
30561 (yn_test_data): Add more tests.
30562 * sysdeps/i386/fpu/libm-test-ulps: Update.
30563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30565 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30569 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30571 * csu/init-first.c: Fix then/than typos.
30572 * locale/programs/ld-collate.c: Likewise.
30573 * locale/programs/linereader.h: Likewise.
30574 * manual/charset.texi: Likewise.
30575 * manual/filesys.texi: Likewise.
30576 * manual/stdio.texi: Likewise.
30577 * manual/string.texi: Likewise.
30578 * stdlib/fmtmsg.c: Likewise.
30579 * sysdeps/i386/stpncpy.S: Likewise.
30580 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30581 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30583 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30585 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30587 * elf/dl-open.c: Fix typos.
30588 * iconvdata/gbbig5.c: Likewise.
30589 * iconvdata/iso-2022-jp.c: Likewise.
30590 * iconv/gconv_int.h: Likewise.
30591 * iconv/loop.c: Likewise.
30592 * nis/rpcsvc/nis.h: Likewise.
30593 * resolv/ns_name.c: Likewise.
30594 * stdio-common/vfscanf.c: Likewise.
30595 * streams/stropts.h: Likewise.
30596 * sunrpc/rpc_thread.c: Likewise.
30597 * sysdeps/i386/strpbrk.S: Likewise.
30598 * sysdeps/ieee754/k_standard.c: Likewise.
30599 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30600 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30601 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30602 * sysdeps/mach/hurd/profil.c: Likewise.
30603 * sysdeps/s390/dl-procinfo.h: Likewise.
30604 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30605 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30606 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30607 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30608 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30610 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30612 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30615 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30617 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30618 aix specific files.
30619 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30620 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30621 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30622 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30623 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30624 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30625 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30626 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30628 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30629 Roland McGrath <roland@hack.frob.com>
30631 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30632 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30634 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30636 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30637 __executable_start symbol instead of _start.
30639 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30641 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30642 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30644 * sysdeps/gnu/ldsodefs.h: ... this new file.
30646 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30647 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30648 instead of ELFOSABI_LINUX.
30650 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30651 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30652 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30653 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30655 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30656 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30659 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30660 (ibm_extended_long_double): Add ieee_nan member.
30661 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30662 (do_test): New function.
30664 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30666 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30667 functions, renamed from truncdfsf_test, trunctfsf_test,
30669 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30671 (do_test): Run all these.
30673 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30675 * argp/argp-help.c: Fix typos.
30676 * argp/argp-parse.c: Likewise.
30677 * debug/backtracesyms.c: Likewise.
30678 * elf/elf.h: Likewise.
30679 * malloc/malloc.c: Likewise.
30680 * nis/nis_print.c: Likewise.
30681 * resolv/res_comp.c: Likewise.
30682 * stdlib/stdlib.h: Likewise.
30683 * sunrpc/clnt_tcp.c: Likewise.
30684 * sunrpc/clnt_udp.c: Likewise.
30685 * sunrpc/clnt_unix.c: Likewise.
30686 * sysdeps/unix/bsd/ptsname.c: Likewise.
30687 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30688 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30695 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30697 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30699 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30702 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30705 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30706 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30707 ($(objpfx)bug-dl-leaf): New rule.
30708 ($(objpfx)bug-dl-leaf.so): Likewise.
30709 ($(objpfx)bug-dl-leaf.out): Likewise.
30710 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30711 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30712 * dlfcn/bug-dl-leaf.c: New test.
30713 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30714 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30715 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30716 (dlclose): Likewise.
30717 (dlmopen): Likewise.
30719 2013-08-27 Roland McGrath <roland@hack.frob.com>
30721 * include/netdb.h [!_ISOMAC]:
30722 Don't include <tls.h>.
30723 (h_errno, __libc_h_errno): Move declaration and macros out of
30726 * include/resolv.h [_RESOLV_H_]:
30727 Don't include <tls.h>.
30728 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30729 * resolv/res_libc.c: Don't include <tls.h>.
30730 (_res): Use __attribute__ ((nocommon)) in place of
30731 __attribute__ ((section (".bss"))).
30733 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30734 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30736 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30738 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30739 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30741 * resolv/res_mkquery.c: Include <sys/time.h>.
30743 * inet/ifreq.c: Moved to ...
30744 * sysdeps/unix/ifreq.c: ... here.
30745 * inet/ifreq.c: New file, true stub version.
30747 * socket/sa_len.c: New file.
30748 * socket/Makefile (aux): Add it.
30749 * sysdeps/unix/sysv/linux/Makefile
30750 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30751 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30752 and #include <socket/sa_len.c>.
30753 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30754 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30756 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30757 * bits/socket.h: ... here.
30759 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30760 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30761 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30763 2013-08-27 Andreas Schwab <schwab@suse.de>
30766 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30767 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30768 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30769 * string/test-strcasecmp.c (test_main): Run tests in several
30771 * string/test-strncasecmp.c (test_main): Likewise.
30773 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30774 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30775 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30777 (__strncasecmp_ssse3) [PIC]: Likewise.
30779 2013-08-26 Roland McGrath <roland@hack.frob.com>
30781 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30783 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30784 instead of explicitly declaring xdecrypt.
30785 * nis/nss_nis/nis-publickey.c: Likewise.
30787 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30790 * nscd/aicache.c: Include res_hconf.h.
30791 (addhstaiX): Initialize res_hconf.
30793 2013-08-26 Andreas Schwab <schwab@suse.de>
30795 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30796 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30798 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30800 * nscd/aicache.c (addhstaiX): Fix indentation.
30802 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30804 * configure.ac: Quote $build_pt_chown test.
30805 * configure: Regenerated.
30807 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30810 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30811 * math/s_cexpf.c (__cexpf): Likewise.
30812 * math/s_cexpl.c (__cexpl): Likewise.
30813 * math/libm-test.inc (cexp_test_data): Correct expected return
30814 value for NaN + i0. Add another test.
30816 2013-08-22 David S. Miller <davem@davemloft.net>
30818 * po/ca.po: Update Catalan translation from translation project.
30819 * po/uk.po: Add Ukrainian translations from translation project.
30821 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30824 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30825 is infinite, not alongside NaN test.
30826 * math/s_fdimf.c (__fdimf): Likewise.
30827 * math/s_fdiml.c (__fdiml): Likewise.
30828 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30829 errno is unchanged.
30831 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30833 * argp/argp-help.c: Fix typos.
30834 * crypt/speeds.c: Likewise.
30835 * csu/check_fds.c: Likewise.
30836 * elf/dl-load.c: Likewise.
30837 * elf/dl-open.c: Likewise.
30838 * elf/reldep3.c: Likewise.
30839 * elf/reldep.c: Likewise.
30840 * elf/sprof.c: Likewise.
30841 * iconv/iconv_charmap.c: Likewise.
30842 * iconv/skeleton.c: Likewise.
30843 * iconv/strtab.c: Likewise.
30844 * io/lockf64.c: Likewise.
30845 * libio/libioP.h: Likewise.
30846 * resolv/gai_notify.c: Likewise.
30847 * resolv/ns_name.c: Likewise.
30848 * resolv/ns_samedomain.c: Likewise.
30849 * resolv/res_send.c: Likewise.
30850 * stdlib/random.c: Likewise.
30851 * sunrpc/rpc/xdr.h: Likewise.
30852 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30853 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30854 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30855 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30856 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30859 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30860 * sysdeps/mach/hurd/check_fds.c: Likewise.
30861 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30862 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30863 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30864 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30865 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30867 * sysdeps/pthread/aio_notify.c: Likewise.
30868 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30869 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30870 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30871 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30872 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30874 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30876 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30877 version if bit_Slow_SSE4_2 is set.
30878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30881 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30884 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30885 trampoline stack frame information.
30886 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30888 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30889 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30890 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30891 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30892 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30893 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30895 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30896 interrupting a syscall and set with option SA_SIGINFO.
30898 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30901 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30902 argument is infinite.
30903 * math/s_cprojf.c (__cprojf): Likewise.
30904 * math/s_cprojl.c (__cprojl): Likewise.
30905 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30906 * math/libm-test.inc (cproj_test_data): Add more tests.
30908 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30910 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30911 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30912 size. Use __ffs to determine corresponding shift.
30914 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30915 Roland McGrath <roland@hack.frob.com>
30917 * Makefile (INSTALL): Remove trailing blank lines from output of
30920 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30922 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30923 Align 32 bit compat elf_greg to 8 bytes.
30925 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30927 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30929 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30931 * string/strcoll_l.c (coll_seq): New structure.
30932 (get_next_seq_cached): New function.
30933 (get_next_seq): New function.
30934 (do_compare): New function.
30935 (STRCOLL): Use GNU style definition. Simplify implementation
30936 by using get_next_seq, get_next_seq_cached and do_compare.
30938 2013-08-16 Florian Weimer <fweimer@redhat.com>
30942 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30944 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30946 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30947 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30948 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30950 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30951 GETDENTS_64BIT_ALIGNED.
30952 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30953 * manual/filesys.texi (Reading/Closing Directory): Document
30954 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30956 * manual/conf.texi (Limits for Files): Add portability note to
30957 NAME_MAX, PATH_MAX.
30958 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30960 2013-08-13 Andreas Schwab <schwab@suse.de>
30963 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30965 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30966 LDBL_MAX_EXP >= 16384]: Add tests for it.
30968 2013-08-12 David S. Miller <davem@davemloft.net>
30970 * version.h (RELEASE): Set to "development".
30971 (VERSION): Set to "2.18.90".
30972 * NEWS: Add 2.19 section.
30974 2013-08-03 David S. Miller <davem@davemloft.net>
30976 * po/ko.po: Update Korean translation from translation project.
30978 2013-08-01 David S. Miller <davem@davemloft.net>
30980 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30981 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30984 2013-07-30 David S. Miller <davem@davemloft.net>
30986 * po/fr.po: Update French translation from translation project.
30988 2013-07-28 David S. Miller <davem@davemloft.net>
30990 * po/cs.po: Update Czech translation from translation project.
30992 * po/sv.po: Update Swedish translation from translation project.
30994 2013-07-27 David S. Miller <davem@davemloft.net>
30996 * po/eo.po: Update Esperanto translation from translation project.
30998 * po/vi.po: Update Vietnamese translation from translation project.
31000 * po/de.po: Update German translation from translation project.
31002 2013-07-26 David S. Miller <davem@davemloft.net>
31004 * po/bg.po: Update Bulgarian translation from translation project.
31006 * po/nl.po: Update Dutch translation from translation project.
31007 * po/pl.po: Update Polish translation from translation project.
31008 * po/ru.po: Update Russian translation from translation project.
31010 2013-07-24 David S. Miller <davem@davemloft.net>
31012 * po/libc.pot: Update.
31014 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31016 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31017 variable page size.
31018 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31019 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31020 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31022 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31024 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31026 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31027 Andreas Schwab <schwab@suse.de>
31028 Roland McGrath <roland@hack.frob.com>
31029 Joseph Myers <joseph@codesourcery.com>
31030 Carlos O'Donell <carlos@redhat.com>
31033 * config.h.in: Define HAVE_PT_CHOWN.
31034 * config.make.in (build-pt-chown): New variable.
31035 * configure.in (--enable-pt_chown): New configure option.
31036 * configure: Regenerate.
31037 * login/Makefile: Include Makeconfig. Build pt_chown only if
31038 build-pt-chown is enabled.
31039 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31040 pt_chown to fix pty ownership.
31041 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31043 * manual/install.texi (Configuring and compiling): Mention
31044 --enable-pt_chown. Add @findex for grantpt.
31045 * INSTALL: Regenerate.
31047 2013-07-20 David S. Miller <davem@davemloft.net>
31049 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31050 difference between 32-bit and 64-bit.
31052 2013-07-15 Carlos O'Donell <carlos@redhat.com>
31055 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31056 Avoid system header dependency with -ffreestanding.
31057 ($(objpfx)bits/syscall%d): Likewise.
31059 2013-07-13 David S. Miller <davem@davemloft.net>
31061 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31062 underflows from atanl/atan2l due to bug 15319.
31063 (casinh_test_data): Likewise.
31065 2013-07-07 David S. Miller <davem@davemloft.net>
31067 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31069 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
31071 * sysdeps/i386/fpu/libm-test-ulps: Update.
31072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31074 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31076 * configure.in (--enable-lock-elision): Fix message text.
31077 * INSTALL: Regenerate.
31078 * configure: Regenerate.
31080 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31084 2013-07-03 Andreas Jaeger <aj@suse.de>
31086 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31088 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31089 (ptrace_peeksiginfo_args): Add.
31090 (__ptrace_peeksiginfo_flags): Add.
31091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31092 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31095 2013-07-03 Allan McRae <allan@archlinux.org>
31097 * sysdeps/i386/fpu/libm-test-ulps: Update.
31099 2013-07-02 David S. Miller <davem@davemloft.net>
31101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31103 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
31105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31107 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31109 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31112 2013-07-02 Andi Kleen <ak@linux.intel.com>
31114 * config.h.in (ENABLE_LOCK_ELISION): Add.
31115 * configure.in (--enable-lock-elision): Add option.
31116 * manual/install.texi: Document --enable lock elision.
31117 * configure: Regenerate
31118 * INSTALL: Regenerate.
31120 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
31122 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31123 SSE4.2 strcasecmp for libc.a.
31124 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31126 2013-07-02 Joseph Myers <joseph@codesourcery.com>
31129 * soft-fp/op-common.h (_FP_FMA): New macro.
31130 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31131 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
31132 (_FP_MUL_MEAT_1_imm): ... here.
31133 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
31134 (_FP_MUL_MEAT_1_wide): ... here.
31135 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
31136 (_FP_MUL_MEAT_1_hard): ... here.
31137 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31138 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
31139 (_FP_MUL_MEAT_2_wide): ... here.
31140 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
31141 (_FP_MUL_MEAT_2_wide_3mul): ... here.
31142 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
31143 (_FP_MUL_MEAT_2_gmp): ... here.
31144 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31145 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
31146 (_FP_MUL_MEAT_4_wide): ... here.
31147 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
31148 (_FP_MUL_MEAT_4_gmp): ... here.
31149 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31150 (_FP_WFRACBITS_DW_S): Likewise.
31151 (_FP_WFRACXBITS_DW_S): Likewise.
31152 (_FP_HIGHBIT_DW_S): Likewise.
31153 (FP_FMA_S): Likewise.
31154 (_FP_FRAC_HIGH_DW_S): Likewise.
31155 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31156 (_FP_WFRACBITS_DW_D): Likewise.
31157 (_FP_WFRACXBITS_DW_D): Likewise.
31158 (_FP_HIGHBIT_DW_D): Likewise.
31159 (FP_FMA_D): Likewise.
31160 (_FP_FRAC_HIGH_DW_D): Likewise.
31161 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31162 (_FP_WFRACBITS_DW_E): Likewise.
31163 (_FP_WFRACXBITS_DW_E): Likewise.
31164 (_FP_HIGHBIT_DW_E): Likewise.
31165 (FP_FMA_E): Likewise.
31166 (_FP_FRAC_HIGH_DW_E): Likewise.
31167 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31168 (_FP_WFRACBITS_DW_Q): Likewise.
31169 (_FP_WFRACXBITS_DW_Q): Likewise.
31170 (_FP_HIGHBIT_DW_Q): Likewise.
31171 (FP_FMA_Q): Likewise.
31172 (_FP_FRAC_HIGH_DW_Q): Likewise.
31173 * soft-fp/fmasf4.c: New file.
31174 * soft-fp/fmadf4.c: Likewise.
31175 * soft-fp/fmatf4.c: Likewise.
31177 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31180 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31182 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31184 (index_Slow_SSE4_2): Likewise.
31185 (index_Prefer_PMINUB_for_stringop): Likewise.
31186 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31187 bit_Slow_SSE4_2 is set.
31188 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31189 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31191 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31193 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31194 rtld_global._dl_hwcap2.
31195 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31197 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31198 POWER8 feature descriptions defined in _dl_hwcap2.
31199 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31200 string handling for POWER8 feature bits.
31201 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31202 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31203 _dl_powerpc_cap_flags.
31204 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31205 * sysdeps/powerpc/rtld-global-offsets.sym
31206 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31207 _dl_hwcap2 in the rtld_global_ro structure.
31209 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31211 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31212 hardware capabilities in support of AT_HWCAP2.
31213 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31214 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31216 (_dl_show_auxv): Add support for calling _dl_procinfo to display
31217 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
31218 explicitly the unknown a_type display mechanism is used.
31219 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31220 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31222 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31223 to macro prototype for AT_HWCAP2 support.
31224 * sysdeps/i386/dl-procinfo.h: Likewise.
31225 * sysdeps/s390/dl-procinfo.h: Likewise.
31226 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31227 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
31228 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
31229 return -1 for unknown a_type display fallback.
31230 * sysdeps/sparc/dl-procinfo.h: Likewise.
31231 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31232 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31234 2013-06-28 Joseph Myers <joseph@codesourcery.com>
31236 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31237 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31239 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
31242 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31243 mprotect making __stack_prot writable.
31245 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
31246 Joseph Myers <joseph@codesourcery.com>
31248 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31249 as being properly aligned.
31251 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
31253 * dlfcn/modstatic5.c: New file.
31254 * dlfcn/tststatic5.c: New file.
31255 * dlfcn/Makefile (tests): Add tststatic5.
31256 (tests-static): Likewise.
31257 (modules-names): Add modstatic5.
31258 (tststatic5-ENV): New variable.
31259 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31262 * elf/dl-support.c (_dl_main_map): New variable.
31263 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31264 (_dl_nns, _dl_load_adds): Set to 1.
31265 (_dl_initial_searchlist): Refer to _dl_main_map.
31266 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31267 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31268 call to _dl_get_origin.
31269 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31271 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31272 * dlfcn/modstatic3.c: New file.
31273 * dlfcn/tststatic3.c: New file.
31274 * dlfcn/tststatic4.c: New file.
31275 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31276 (tests-static): Likewise.
31277 (modules-names): Add modstatic3.
31278 (tststatic3-ENV, tststatic4-ENV): New variables.
31279 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31280 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31282 2013-06-26 Joseph Myers <joseph@codesourcery.com>
31284 * configure.in (CC): Require GCC version 4.4 or later.
31285 * configure: Regenerated.
31286 * manual/install.texi (Tools for Compilation): Update GCC version
31288 * INSTALL: Regenerated.
31290 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31293 * string/test-memcmp.c (check2): New.
31294 (main): Call check2.
31296 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31298 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
31301 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31303 (dl_open_worker) [!SHARED]: ... here.
31305 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31307 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31309 2013-06-25 Richard Henderson <rth@redhat.com>
31311 * locale/programs/locarchive.c: Include <libc-internal.h>
31313 2013-06-25 Joseph Myers <joseph@codesourcery.com>
31315 * manual/texinfo.tex: Update to version 2013-06-21.17, with
31316 trailing whitespace removed.
31318 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31321 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31322 * locale/programs/locarchive.c: Include libc-mmap.h.
31323 (prepare_address_space): Take two new outputs (the mmap base and len).
31324 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
31326 (create_archive): Declare new mmap base and len values for
31327 prepare_address_space, and store the result in ah.
31328 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31329 (enlarge_archive): If ah->mmap_base is not NULL, use that and
31330 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31331 Declare new mmap base and len values for
31332 prepare_address_space, and store the result in new_ah.
31333 (open_archive): Declare new mmap base and len values for
31334 prepare_address_space, and store the result in ah.
31335 (close_archive): If ah->mmap_base is not NULL, use that and
31336 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31337 * sysdeps/generic/libc-mmap.h: New file.
31339 2013-06-24 Mike Frysinger <vapier@gentoo.org>
31341 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31342 (ALIGN_UP): Likewise.
31343 (PTR_ALIGN_DOWN): Likewise.
31344 (PTR_ALIGN_UP): Likewise.
31346 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31348 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31349 entry mapped to PPC_PLATFORM_POWER8.
31350 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31352 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31353 (_dl_string_platform): Add case for exporting platform position for
31355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31356 search path to sysdeps/powerpc/powerpc32/power8 directory.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31358 search path to sysdeps/powerpc/powerpc64/power8 directory.
31359 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31360 power7 directories.
31361 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31362 power7 directories.
31364 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31366 * INSTALL: Regenerate.
31368 * nscd/connections.c (nscd_init): Fix comment.
31370 2013-06-22 Joseph Myers <joseph@codesourcery.com>
31372 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31375 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31376 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31378 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31380 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31382 (DL_DST_REQ_STATIC): Remove macro.
31384 2013-06-21 Joseph Myers <joseph@codesourcery.com>
31387 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31388 with a shift of 0 bits.
31390 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
31392 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31395 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31398 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31400 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31402 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31403 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31404 accepts -fno-tree-loop-distribute-patterns.
31405 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31406 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31408 * string/memset.c (memset): Likewise.
31409 * string/test-memmove.c (simple_memmove): Disable loop transformation
31411 * string/test-memset.c (simple_memset): Likewise.
31412 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31413 * benchtests/bench-memset.c (simple_memset): Likewise.
31414 * configure: Regenerated.
31416 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31418 * math/test-misc.c (main): Ignore fesetround failure when failures
31419 of subsequent rounding tests would be ignored.
31422 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31423 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31424 * math/fegetenv.c (__fegetenv): Return 0.
31425 * math/fegetexcept.c (fegetexcept): Return 0.
31426 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31428 * math/feholdexcpt.c (feholdexcept): Return 0.
31429 * math/fesetenv.c (__fesetenv): Return 0.
31430 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31431 argument FE_TONEAREST.
31432 * math/feupdateenv.c (__feupdateenv): Return 0.
31433 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31435 2013-06-18 Roland McGrath <roland@hack.frob.com>
31437 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31438 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31439 ($(objpfx)rtld-%.os rules): Use them.
31441 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31443 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31446 2013-06-17 Roland McGrath <roland@hack.frob.com>
31448 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31449 length of target pattern, then descending length of dependency pattern.
31450 * configure.in (AWK): Require gawk 3.1.2 or newer.
31451 * manual/install.texi (Tools for Compilation): Say that we do.
31452 * configure: Regenerated.
31454 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31455 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31456 * scripts/sysd-rules.awk: ... this new script.
31457 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31458 than a glob-style pattern.
31460 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31462 * math/test-misc.c (main): Do not treat incorrectly rounded
31463 conversions as failure unless ROUNDING_TESTS passes.
31465 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31468 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31469 restore exception state around main square root computation, then
31470 check for inexactness explicitly.
31472 * math/libm-test.inc (fma_test_data): Add another test.
31474 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31476 * manual/threads.texi (Non-POSIX Extensions): New document
31477 node. Document pthread_getattr_default_np and
31478 pthread_setattr_default_np.
31480 * Versions.def (libpthread): Add GLIBC_2.18.
31481 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31490 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31501 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31504 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31506 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31507 H.J. Lu <hjl.tools@gmail.com>
31510 * sysdeps/x86_64/rtld-memset.c: Remove file.
31511 * sysdeps/x86_64/rtld-memset.S: New file.
31513 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31515 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31516 (test_in_one_mode): Take arguments for whether the rounding mode
31517 is supported for each floating-point type.
31518 (do_test): Pass new arguments to test_in_one_mode using
31521 2013-06-13 Roland McGrath <roland@hack.frob.com>
31523 * posix/tst-waitid.c (do_test): Distinguish different instances of
31524 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31525 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31526 before entering the kernel for waitpid.
31528 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31530 * NEWS: Fix note on clock function precision. Text by Roland
31533 2013-06-13 Roland McGrath <roland@hack.frob.com>
31535 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31536 it into place only when and if the sanity check passes.
31538 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31540 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31541 output for whether conversion result is exact. Take argument
31542 indicating whether type is IBM long double.
31543 (round_for_all): Change need_exact field to ibm_ld.
31544 * stdlib/tst-strtod-round.c (struct exactness): New type.
31545 (struct test): Change bool ld_ok field to struct exactness exact.
31546 (TEST): Update all definitions for change to field.
31547 (tests): Regenerate array contents.
31548 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31549 field value. Check for IBM long double here.
31550 (do_test): Update calls to test_in_one_mode.
31552 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31555 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31556 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31558 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31561 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31562 generated by the compiler on loop optimizations.
31563 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31564 general definitions.
31566 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31568 * math/bug-nextafter.c: Include <math-tests.h>.
31569 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31571 * math/bug-nexttoward.c: Include <math-tests.h>.
31572 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31574 * math/test-misc.c: Include <math-tests.h>.
31575 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31578 2013-06-12 Andreas Jaeger <aj@suse.de>
31580 * po/ia.po: Update Interlingua translation from translation
31583 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31585 * include/fenv.h: Include stdbool.h.
31586 (struct rm_ctx): New structure.
31587 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31589 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31590 (SET_RESTORE_ROUNDF): Likewise.
31591 (SET_RESTORE_ROUNDL): Likewise.
31592 (SET_RESTORE_ROUND_NOEX): Likewise.
31593 (SET_RESTORE_ROUND_NOEXF): Likewise.
31594 (SET_RESTORE_ROUND_NOEXL): Likewise.
31595 (SET_RESTORE_ROUND_53BIT): Likewise.
31596 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31597 (libc_feresetround_noexf_ctx): Likewise.
31598 (libc_feresetround_noexl_ctx): Likewise.
31599 (libc_feholdsetround_53bit_ctx): Likewise.
31600 (libc_feresetround_53bit_ctx): Likewise.
31601 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31602 (libc_feholdexcept_setround_sse_ctx): New function.
31603 (libc_fesetenv_sse_ctx): Likewise.
31604 (libc_feupdateenv_sse_ctx): Likewise.
31605 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31606 (libc_feholdexcept_setround_387_ctx): Likewise.
31607 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31608 (libc_feholdsetround_387_prec_ctx): Likewise.
31609 (libc_feholdsetround_387_ctx): Likewise.
31610 (libc_feholdsetround_387_53bit_ctx): Likewise.
31611 (libc_feholdsetround_sse_ctx): Likewise.
31612 (libc_feresetround_sse_ctx): Likewise.
31613 (libc_feresetround_387_ctx): Likewise.
31614 (libc_feupdateenv_387_ctx): Likewise.
31615 (libc_feholdexcept_setroundf_ctx): Define macro.
31616 (libc_fesetenvf_ctx): Likewise.
31617 (libc_feupdateenvf_ctx): Likewise.
31618 (libc_feholdsetroundf_ctx): Likewise.
31619 (libc_feresetroundf_ctx): Likewise.
31620 (libc_feholdexcept_setround_ctx): Likewise.
31621 (libc_fesetenv_ctx): Likewise.
31622 (libc_feupdateenv_ctx): Likewise.
31623 (libc_feholdsetround_ctx): Likewise.
31624 (libc_feresetround_ctx): Likewise.
31625 (libc_feholdexcept_setroundl_ctx): Likewise.
31626 (libc_feupdateenvl_ctx): Likewise.
31627 (libc_feholdsetroundl_ctx): Likewise.
31628 (libc_feresetroundl_ctx): Likewise.
31629 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31630 (libc_feresetround_53bit_ctx): Likewise.
31632 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31634 * locale/iso-639.def: Convert to UTF-8.
31636 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31638 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31639 (EXCEPTION_TESTS_double): Likewise.
31640 (EXCEPTION_TESTS_long_double): Likewise.
31641 (EXCEPTION_TESTS): Likewise.
31642 * math/libm-test.inc (test_exceptions): Only test exceptions if
31643 EXCEPTION_TESTS (FLOAT).
31645 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31647 * benchtests/Makefile (string-bench): Add strcpy_chk and
31649 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31650 * benchtests/bench-stpcpy_chk.c: New file.
31651 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31652 * benchtests/bench-strcpy_chk.c: New file.
31653 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31655 (do_test): Likewise.
31657 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31659 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31660 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31661 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31662 with tabs where appropriate.
31663 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31665 [PPC_PLATFORM_PPC440]: Likewise.
31666 [PPC_PLATFORM_PPC464]: Likewise.
31667 [PPC_PLATFORM_PPC476]: Likewise.
31668 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31669 ppc464, and ppc476 platform strings merging from ports/
31672 2013-06-11 Andreas Schwab <schwab@suse.de>
31675 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31676 (from_ucs4_idx): Regenerate.
31677 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31678 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31679 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31680 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31681 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31682 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31683 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31684 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31685 from FROM_LOOP and TO_LOOP specific macros.
31686 (BODY): Handle combining characters.
31687 * iconvdata/BIG5HKSCS.irreversible: Update.
31688 * iconvdata/BIG5HKSCS.precomposed: New file.
31689 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31691 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31693 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31695 * include/sys/time.h: Fix indentation and add copyright header.
31697 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31698 (do_test): Likewise.
31699 * string/test-memchr.c (do_one_test): Likewise.
31700 (do_test): Likewise.
31701 * string/test-memcmp.c (do_one_test): Likewise.
31702 (do_test): Likewise.
31703 * string/test-memcpy.c (do_one_test): Likewise.
31704 (do_test): Likewise.
31705 * string/test-memmem.c (do_one_test): Likewise.
31706 (do_test): Likewise.
31707 (do_random_tests): Likewise.
31708 * string/test-memmove.c (do_one_test): Likewise.
31709 (do_test): Likewise.
31710 * string/test-memset.c (do_one_test): Likewise.
31711 (do_test): Likewise.
31712 * string/test-rawmemchr.c (do_one_test): Likewise.
31713 (do_test): Likewise.
31714 * string/test-strcasecmp.c (do_one_test): Likewise.
31715 (do_test): Likewise.
31716 * string/test-strcasestr.c (do_one_test): Likewise.
31717 (do_test): Likewise.
31718 * string/test-strcat.c (do_one_test): Likewise.
31719 (do_test): Likewise.
31720 * string/test-strchr.c (do_one_test): Likewise.
31721 (do_test): Likewise.
31722 * string/test-strcmp.c (do_one_test): Likewise.
31723 (do_test): Likewise.
31724 * string/test-strcpy.c (do_one_test): Likewise.
31725 (do_test): Likewise.
31726 * string/test-string.h: Likewise.
31727 (test_init): Likewise.
31728 * string/test-strlen.c (do_one_test): Likewise.
31729 (do_test): Likewise.
31730 * string/test-strncasecmp.c (do_one_test): Likewise.
31731 (do_test): Likewise.
31732 * string/test-strncat.c (do_one_test): Likewise.
31733 (do_test): Likewise.
31734 * string/test-strncmp.c (do_one_test): Likewise.
31735 (do_test_limit): Likewise.
31736 (do_test): Likewise.
31737 * string/test-strncpy.c (do_one_test): Likewise.
31738 (do_test): Likewise.
31739 * string/test-strnlen.c (do_one_test): Likewise.
31740 (do_test): Likewise.
31741 * string/test-strpbrk.c (do_one_test): Likewise.
31742 (do_test): Likewise.
31743 * string/test-strrchr.c (do_one_test): Likewise.
31744 (do_test): Likewise.
31745 * string/test-strspn.c (do_one_test): Likewise.
31746 (do_test): Likewise.
31747 * string/test-strstr.c (do_one_test): Likewise.
31748 (do_test): Likewise.
31750 * benchtests/Makefile (string-bench): Add string benchmarks.
31751 * benchtests/bench-bcopy-ifunc.c: New file.
31752 * benchtests/bench-bcopy.c: New file.
31753 * benchtests/bench-bzero-ifunc.c: New file.
31754 * benchtests/bench-bzero.c: New file.
31755 * benchtests/bench-memccpy-ifunc.c: New file.
31756 * benchtests/bench-memccpy.c: New file.
31757 * benchtests/bench-memchr-ifunc.c: New file.
31758 * benchtests/bench-memchr.c: New file.
31759 * benchtests/bench-memcmp-ifunc.c: New file.
31760 * benchtests/bench-memcmp.c: New file.
31761 * benchtests/bench-memmem-ifunc.c: New file.
31762 * benchtests/bench-memmem.c: New file.
31763 * benchtests/bench-memmove-ifunc.c: New file.
31764 * benchtests/bench-memmove.c: New file.
31765 * benchtests/bench-mempcpy-ifunc.c: New file.
31766 * benchtests/bench-mempcpy.c: New file.
31767 * benchtests/bench-memset-ifunc.c: New file.
31768 * benchtests/bench-memset.c: New file.
31769 * benchtests/bench-rawmemchr-ifunc.c: New file.
31770 * benchtests/bench-rawmemchr.c: New file.
31771 * benchtests/bench-stpcpy-ifunc.c: New file.
31772 * benchtests/bench-stpcpy.c: New file.
31773 * benchtests/bench-stpncpy-ifunc.c: New file.
31774 * benchtests/bench-stpncpy.c: New file.
31775 * benchtests/bench-strcasecmp-ifunc.c: New file.
31776 * benchtests/bench-strcasecmp.c: New file.
31777 * benchtests/bench-strcasestr-ifunc.c: New file.
31778 * benchtests/bench-strcasestr.c: New file.
31779 * benchtests/bench-strcat-ifunc.c: New file.
31780 * benchtests/bench-strcat.c: New file.
31781 * benchtests/bench-strchr-ifunc.c: New file.
31782 * benchtests/bench-strchr.c: New file.
31783 * benchtests/bench-strchrnul-ifunc.c: New file.
31784 * benchtests/bench-strchrnul.c: New file.
31785 * benchtests/bench-strcmp-ifunc.c: New file.
31786 * benchtests/bench-strcmp.c: New file.
31787 * benchtests/bench-strcpy-ifunc.c: New file.
31788 * benchtests/bench-strcpy.c: New file.
31789 * benchtests/bench-strcspn-ifunc.c: New file.
31790 * benchtests/bench-strcspn.c: New file.
31791 * benchtests/bench-strlen-ifunc.c: New file.
31792 * benchtests/bench-strlen.c: New file.
31793 * benchtests/bench-strncasecmp-ifunc.c: New file.
31794 * benchtests/bench-strncasecmp.c: New file.
31795 * benchtests/bench-strncat-ifunc.c: New file.
31796 * benchtests/bench-strncat.c: New file.
31797 * benchtests/bench-strncmp-ifunc.c: New file.
31798 * benchtests/bench-strncmp.c: New file.
31799 * benchtests/bench-strncpy-ifunc.c: New file.
31800 * benchtests/bench-strncpy.c: New file.
31801 * benchtests/bench-strnlen-ifunc.c: New file.
31802 * benchtests/bench-strnlen.c: New file.
31803 * benchtests/bench-strpbrk-ifunc.c: New file.
31804 * benchtests/bench-strpbrk.c: New file.
31805 * benchtests/bench-strrchr-ifunc.c: New file.
31806 * benchtests/bench-strrchr.c: New file.
31807 * benchtests/bench-strspn-ifunc.c: New file.
31808 * benchtests/bench-strspn.c: New file.
31809 * benchtests/bench-strstr-ifunc.c: New file.
31810 * benchtests/bench-strstr.c: New file.
31812 * benchtests/Makefile: Disable parallel execution of targets.
31813 (string-bench): Add memcpy.
31814 (benchset): New variable to store a list of benchmark sets.
31815 (bench-func): Renamed from bench.
31816 (bench-set): New target.
31817 (bench): Depend on bench-func and bench-set.
31818 * benchtests/README: Add section on benchmark sets.
31819 * benchtests/bench-memcpy-ifunc.c: New file.
31820 * benchtests/bench-memcpy.c: New file.
31821 * benchtests/bench-string.h: New file.
31823 2013-06-11 Andreas Schwab <schwab@suse.de>
31826 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31827 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31828 values in the triple.
31829 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31830 terminator in the group key.
31832 2013-06-11 Andreas Jaeger <aj@suse.de>
31834 * po/zh_TW.po: Update Chinese (traditional) translation from
31835 translation project.
31837 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31839 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31840 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31841 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31843 (clock_getcpuclockid): Likewise.
31844 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31845 Add weak_alias and libc_hidden_def.
31846 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31847 * rt/clock_gettime.c (clock_gettime): Rename to
31848 __clock_gettime. Add weak_alias and libc_hidden_def.
31849 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31850 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31851 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31852 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31853 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31855 * rt/clock_settime.c (clock_settime): Rename to
31856 __clock_settime. Add weak_alias and libc_hidden_def.
31857 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31859 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31861 * mach/err_boot.sub: Remove trailing whitespace.
31862 * mach/err_ipc.sub: Likewise.
31863 * mach/err_mach.sub: Likewise.
31865 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31866 (ROUNDING_TESTS_double): Likewise.
31867 (ROUNDING_TESTS_long_double): Likewise.
31868 (ROUNDING_TESTS): Likewise.
31869 * math/libm-test.inc: Include <math-tests.h>.
31870 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31871 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31872 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31873 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31875 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31877 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31880 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31882 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31883 otherwise empty TRANS lines.
31884 * sysdeps/gnu/errlist.c: Regenerated.
31886 * catgets/gencat.c (error_print): Use (void) in function
31888 * crypt/crypt_util.c (__init_des): Likewise.
31889 * crypt/speeds.c (Stop): Likewise.
31891 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31892 * inet/ruserpass.c (token): Likewise.
31893 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31894 * intl/localealias.c (extend_alias_table): Likewise.
31895 * intl/plural-exp.c (init_germanic_plural): Likewise.
31896 * libio/fcloseall.c (__fcloseall): Likewise.
31897 * libio/genops.c (_IO_flush_all): Likewise.
31898 (_IO_flush_all_linebuffered): Likewise.
31899 (_IO_cleanup): Likewise.
31900 (_IO_iter_begin): Likewise.
31901 (_IO_iter_end): Likewise.
31902 (_IO_list_lock): Likewise.
31903 (_IO_list_unlock): Likewise.
31904 (_IO_list_resetlock): Likewise.
31905 * libio/getchar.c (getchar): Likewise.
31906 * libio/getchar_u.c (getchar_unlocked): Likewise.
31907 * libio/getwchar.c (getwchar): Likewise.
31908 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31909 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31910 * login/getpt.c (__getpt): Likewise.
31911 * login/tst-utmp.c (main): Likewise.
31912 * malloc/hooks.c (__malloc_check_init): Likewise.
31913 * malloc/malloc.c (__malloc_stats): Likewise.
31914 * malloc/mtrace.c (tr_break): Likewise.
31915 (mtrace): Likewise.
31916 (muntrace): Likewise.
31917 * misc/fstab.c (endfsent): Likewise.
31918 * misc/getclktck.c (__getclktck): Likewise.
31919 * misc/getdtsz.c (__getdtablesize): Likewise.
31920 * misc/gethostid.c (gethostid): Likewise.
31921 * misc/getpagesize.c (__getpagesize): Likewise.
31922 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31923 (__get_nprocs): Likewise.
31924 (__get_phys_pages): Likewise.
31925 (__get_avphys_pages): Likewise.
31926 * misc/getttyent.c (getttyent): Likewise.
31927 (setttyent): Likewise.
31928 (endttyent): Likewise.
31929 * misc/getusershell.c (getusershell): Likewise.
31930 (endusershell): Likewise.
31931 (setusershell): Likewise.
31932 (initshells): Likewise.
31933 * misc/hsearch.c (__hdestroy): Likewise.
31934 * misc/sync.c (sync): Likewise.
31935 * misc/syslog.c (closelog_internal): Likewise.
31936 (closelog): Likewise.
31937 * misc/ttyslot.c (ttyslot): Likewise.
31938 * misc/vhangup.c (vhangup): Likewise.
31939 * posix/fork.c (__fork): Likewise.
31940 * posix/getegid.c (__getegid): Likewise.
31941 * posix/geteuid.c (__geteuid): Likewise.
31942 * posix/getgid.c (__getgid): Likewise.
31943 * posix/getpid.c (__getpid): Likewise.
31944 * posix/getppid.c (__getppid): Likewise.
31945 * posix/getuid.c (__getuid): Likewise.
31946 * posix/pause.c (pause): Likewise.
31947 * posix/setpgrp.c (setpgrp): Likewise.
31948 * posix/setsid.c (__setsid): Likewise.
31949 * posix/test-vfork.c (noop): Likewise.
31950 * resolv/gethnamaddr.c (_endhtent): Likewise.
31951 (_gethtent): Likewise.
31952 (ht_endhostent): Likewise.
31953 (gethostent): Likewise.
31954 (dns_service): Likewise.
31955 * stdlib/drand48.c (drand48): Likewise.
31956 * stdlib/lrand48.c (lrand48): Likewise.
31957 * stdlib/mrand48.c (mrand48): Likewise.
31958 * stdlib/rand.c (rand): Likewise.
31959 * stdlib/random.c (__random): Likewise.
31960 * stdlib/setenv.c (clearenv): Likewise.
31961 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31962 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31963 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31964 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31965 (__get_nprocs): Likewise.
31966 (__get_phys_pages): Likewise.
31967 (__get_avphys_pages): Likewise.
31968 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31969 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31970 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31971 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31972 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31973 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31974 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31975 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31976 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31977 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31978 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31979 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31980 * sysdeps/posix/clock.c (clock): Likewise.
31981 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31982 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31983 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31984 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31985 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31987 (__get_nprocs_conf): Likewise.
31988 (__get_phys_pages): Likewise.
31989 (__get_avphys_pages): Likewise.
31990 * time/clock.c (clock): Likewise.
31991 * time/tzset.c (__tzname_max): Likewise.
31993 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31995 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31996 (__bswap_32): Do not use "register".
31997 * crypt/crypt.c (_ufc_doit_r): Likewise.
31998 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31999 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32000 * gmon/gmon.c (__monstartup): Likewise.
32001 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32002 * hurd/hurdmalloc.c (more_memory): Likewise.
32003 (malloc): Likewise.
32005 (realloc): Likewise.
32006 (malloc_fork_prepare): Likewise.
32007 (malloc_fork_parent): Likewise.
32008 (malloc_fork_child): Likewise.
32009 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32010 (_svcauth_des): Likewise.
32011 * inet/inet_lnaof.c (inet_lnaof): Likewise.
32012 * inet/inet_net.c (inet_network): Likewise.
32013 * inet/inet_netof.c (inet_netof): Likewise.
32014 * inet/rcmd.c (__validuser2_sa): Likewise.
32015 * io/fts.c (fts_open): Likewise.
32016 (fts_load): Likewise.
32017 (fts_close): Likewise.
32018 (fts_read): Likewise.
32019 (fts_children): Likewise.
32020 (fts_build): Likewise.
32021 (fts_stat): Likewise.
32022 (fts_sort): Likewise.
32023 (fts_alloc): Likewise.
32024 (fts_lfree): Likewise.
32025 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32026 (_IO_file_xsgetn): Likewise.
32027 (_IO_file_xsgetn_mmap): Likewise.
32028 * libio/iofopncook.c (_IO_cookie_read): Likewise.
32029 (_IO_cookie_write): Likewise.
32030 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32031 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32032 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32033 * malloc/obstack.c (_obstack_begin): Likewise.
32034 (_obstack_begin_1): Likewise.
32035 (_obstack_newchunk): Likewise.
32036 (_obstack_allocated_p): Likewise.
32037 (obstack_free): Likewise.
32038 (_obstack_memory_used): Likewise.
32039 * misc/getttyent.c (getttynam): Likewise.
32040 (getttyent): Likewise.
32043 * misc/getusershell.c (initshells): Likewise.
32044 * misc/syslog.c (__vsyslog_chk): Likewise.
32045 * misc/ttyslot.c (ttyslot): Likewise.
32046 * nis/nis_hash.c (__nis_hash): Likewise.
32047 * posix/fnmatch_loop.c (FCT): Likewise.
32048 * posix/getconf.c (print_all): Likewise.
32050 * posix/getopt.c (exchange): Likewise.
32051 * posix/glob.c (globfree): Likewise.
32052 (prefix_array): Likewise.
32053 (__glob_pattern_type): Likewise.
32054 * resolv/arpa/nameser.h (NS_GET16): Likewise.
32055 (NS_GET32): Likewise.
32056 (NS_PUT16): Likewise.
32057 (NS_PUT32): Likewise.
32058 * resolv/gethnamaddr.c (getanswer): Likewise.
32059 (gethostbyname2): Likewise.
32060 (gethostbyaddr): Likewise.
32061 (_gethtent): Likewise.
32062 (_gethtbyname2): Likewise.
32063 (_gethtbyaddr): Likewise.
32064 * resolv/ns_print.c (dst_s_get_int16): Likewise.
32065 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32066 * resolv/res_init.c (__res_vinit): Likewise.
32067 (net_mask): Likewise.
32068 * resolv/res_mkquery.c (outchar): Likewise.
32070 * stdio-common/printf_fp.c (outchar): Likewise.
32072 * stdio-common/printf_fphex.c (outchar): Likewise.
32074 * stdio-common/printf_size.c (outchar): Likewise.
32076 * stdio-common/test_rdwr.c (main): Likewise.
32077 * stdio-common/tfformat.c (matches): Likewise.
32078 * stdio-common/vfprintf.c (outchar): Likewise.
32079 (printf_unknown): Likewise.
32080 (buffered_vfprintf): Likewise.
32081 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32082 * stdio-common/xbug.c (AppendToBuffer): Likewise.
32083 (ReadFile): Likewise.
32084 * stdlib/qsort.c (SWAP): Likewise.
32085 (_quicksort): Likewise.
32086 * stdlib/setenv.c (__add_to_environ): Likewise.
32087 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32088 * stdlib/strtol_l.c (__strtol_l): Likewise.
32089 * stdlib/tst-strtod.c (main): Likewise.
32090 * stdlib/tst-strtol.c (main): Likewise.
32091 * stdlib/tst-strtoll.c (main): Likewise.
32092 * string/bits/string2.h (__strcmp_cc): Likewise.
32093 (__strcmp_cg): Likewise.
32094 (__strcspn_c1): Likewise.
32095 (__strcspn_c2): Likewise.
32096 (__strcspn_c3): Likewise.
32097 (__strspn_c1): Likewise.
32098 (__strspn_c2): Likewise.
32099 (__strspn_c3): Likewise.
32100 (__strsep_1c): Likewise.
32101 (__strsep_2c): Likewise.
32102 (__strsep_3c): Likewise.
32103 * string/memccpy.c (__memccpy): Likewise.
32104 * string/stpcpy.c (__stpcpy): Likewise.
32105 * string/strcmp.c (strcmp): Likewise.
32106 * string/strrchr.c (strrchr): Likewise.
32107 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32109 * sysdeps/mach/hurd/getcwd.c
32110 (_hurd_canonicalize_directory_name_internal): Likewise.
32111 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32112 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32114 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32115 Likewise, in both definitions.
32116 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32118 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32119 64] (__bswap_64): Likewise.
32120 * time/test_time.c (main): Likewise.
32121 * time/tzfile.c (__tzfile_read): Likewise.
32122 (__tzfile_compute): Likewise.
32123 * time/tzset.c (__tzset_parse_tz): Likewise.
32124 (tzset_internal): Likewise.
32125 (compute_change): Likewise.
32126 * wcsmbs/wcscat.c (__wcscat): Likewise.
32127 * wcsmbs/wcschr.c (wcschr): Likewise.
32128 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32129 * wcsmbs/wcscspn.c (wcscspn): Likewise.
32130 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32131 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32132 * wcsmbs/wcsspn.c (wcsspn): Likewise.
32133 * wcsmbs/wcsstr.c (wcsstr): Likewise.
32134 * wcsmbs/wmemchr.c (wmemchr): Likewise.
32135 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32136 * wcsmbs/wmemset.c (wmemset): Likewise.
32138 2013-06-06 Joseph Myers <joseph@codesourcery.com>
32140 * scripts/config.guess: Update to version 2013-05-16.
32141 * scripts/config.sub: Update to version 2013-04-24.
32142 * scripts/install-sh: Update to version 2011-11-20.07.
32143 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32144 * scripts/move-if-change: Update to version 2012-01-06 07:23.
32146 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
32148 * debug/fgetws_u_chk.c: Fix leading whitespaces.
32149 * elf/sln.c: Likewise.
32150 * hurd/hurd/ioctl.h: Likewise.
32151 * hurd/hurdmalloc.c: Likewise.
32152 * hurd/xattr.c: Likewise.
32153 * include/shlib-compat.h: Likewise.
32154 * inet/ruserpass.c: Likewise.
32155 * libio/iofgets_u.c: Likewise.
32156 * libio/iofgetws_u.c: Likewise.
32157 * locale/programs/ld-identification.c: Likewise.
32158 * locale/programs/ld-time.c: Likewise.
32159 * mach/msg-destroy.c: Likewise.
32160 * nss/nss_files/files-netgrp.c: Likewise.
32161 * resolv/res_data.c: Likewise.
32162 * soft-fp/op-1.h: Likewise.
32163 * soft-fp/op-2.h: Likewise.
32164 * soft-fp/op-4.h: Likewise.
32165 * soft-fp/op-common.h: Likewise.
32166 * stdio-common/printf_fphex.c: Likewise.
32167 * stdlib/strtod_l.c: Likewise.
32168 * sunrpc/rpc/clnt.h: Likewise.
32169 * sysdeps/generic/framestate.c: Likewise.
32170 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32171 * sysdeps/i386/bsd-setjmp.S: Likewise.
32172 * sysdeps/i386/__longjmp.S: Likewise.
32173 * sysdeps/i386/setjmp.S: Likewise.
32174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32175 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32176 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32183 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32184 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32185 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32186 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32187 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32188 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32190 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32191 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32192 * sysdeps/ieee754/support.c: Likewise.
32193 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32194 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32195 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32196 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32197 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32198 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32199 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32200 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32201 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32202 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32203 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32204 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32205 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32206 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32207 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32208 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32209 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32212 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
32214 * posix/transbug.c: Remove executable mode.
32216 2013-06-05 Joseph Myers <joseph@codesourcery.com>
32218 * crypt/speeds.c: Remove trailing whitespace.
32219 * dlfcn/default.c: Likewise.
32220 * elf/ifuncdep2.c: Likewise.
32221 * elf/ifuncmain1.c: Likewise.
32222 * elf/ifuncmain1vis.c: Likewise.
32223 * elf/testobj.h: Likewise.
32224 * elf/tst-stackguard1.c: Likewise.
32225 * gmon/sys/gmon.h: Likewise.
32226 * hurd/hurdmsg.c: Likewise.
32227 * hurd/new-fd.c: Likewise.
32228 * hurd/ports-get.c: Likewise.
32229 * iconvdata/ibm1008_420.c: Likewise.
32230 * inet/tst-getni1.c: Likewise.
32231 * inet/tst-getni2.c: Likewise.
32232 * libio/ioungetc.c: Likewise.
32233 * libio/wfiledoalloc.c: Likewise.
32234 * manual/libm-err-tab.pl: Likewise.
32235 * math/w_dremf.c: Likewise.
32236 * misc/ftruncate.c: Likewise.
32237 * posix/bug-glob2.c: Likewise.
32238 * posix/tst-pcre.c: Likewise.
32239 * posix/wait4.c: Likewise.
32240 * resolv/README: Likewise.
32241 * resolv/res_debug.h: Likewise.
32242 * resolv/tst-inet_ntop.c: Likewise.
32243 * setjmp/bug269-setjmp.c: Likewise.
32244 * soft-fp/extended.h: Likewise.
32245 * soft-fp/op-1.h: Likewise.
32246 * soft-fp/op-2.h: Likewise.
32247 * soft-fp/op-4.h: Likewise.
32248 * soft-fp/op-8.h: Likewise.
32249 * soft-fp/testit.c: Likewise.
32250 * stdio-common/bug16.c: Likewise.
32251 * stdlib/random.c: Likewise.
32252 * sunrpc/rpcsvc/rquota.x: Likewise.
32253 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32254 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32255 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32256 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32257 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32258 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32259 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32260 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32261 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32262 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32263 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32264 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32265 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32271 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32272 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32273 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32275 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32278 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32282 * sysdeps/ieee754/s_lib_version.c: Likewise.
32283 * sysdeps/mach/hurd/check_fds.c: Likewise.
32284 * sysdeps/mach/hurd/getsockname.c: Likewise.
32285 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32286 * sysdeps/mach/hurd/recvfrom.c: Likewise.
32287 * sysdeps/powerpc/bits/link.h: Likewise.
32288 * sysdeps/powerpc/dl-procinfo.c: Likewise.
32289 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32290 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32291 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32292 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32294 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32295 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32296 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32297 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32298 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32299 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32300 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32301 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32302 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32303 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32306 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32307 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32308 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32309 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32311 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32312 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32314 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32315 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32316 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32320 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32321 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32322 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32323 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32324 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32325 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32326 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32327 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32328 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32329 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32330 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32331 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32332 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32333 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32334 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32335 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32336 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32337 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32340 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32341 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32342 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32343 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32344 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32345 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32346 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32348 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32349 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32350 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32351 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32352 * sysdeps/powerpc/sysdep.h: Likewise.
32353 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32354 * sysdeps/s390/s390-64/sub_n.S: Likewise.
32355 * sysdeps/sh/dl-trampoline.S: Likewise.
32356 * sysdeps/sh/memset.S: Likewise.
32357 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32358 * sysdeps/sh/strlen.S: Likewise.
32359 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32360 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32361 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32362 * sysdeps/sparc/sparc32/rem.S: Likewise.
32363 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32364 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32365 * sysdeps/sparc/sparc32/strchr.S: Likewise.
32366 * sysdeps/sparc/sparc32/udiv.S: Likewise.
32367 * sysdeps/sparc/sparc32/urem.S: Likewise.
32368 * sysdeps/sparc/sparc64/add_n.S: Likewise.
32369 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32370 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32371 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32372 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32373 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32374 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32375 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32376 * sysdeps/unix/bsd/times.c: Likewise.
32377 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32378 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32382 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32383 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32384 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32385 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32386 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32387 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32388 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32389 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32390 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32391 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32392 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32393 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32394 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32395 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32396 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32397 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32398 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32399 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32400 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32401 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32402 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32403 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32405 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32406 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32407 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32408 * sysdeps/x86_64/strcspn.S: Likewise.
32410 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32412 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32413 generated file. Regenerate properly from gen-translit.pl.
32414 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32415 locale/C-translit.h.
32417 2013-06-05 Andreas Schwab <schwab@suse.de>
32420 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32421 week as 6 instead of -1.
32422 * time/tst-strptime.c (day_tests): Add test case.
32424 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32426 * sysdeps/generic/math_private.h
32427 (libc_feholdexcept_setround_53bit): Replace with
32428 libc_feholdsetround_53bit.
32429 (libc_feupdateenv_53bit): Replace with
32430 libc_feresetround_53bit.
32431 (SET_RESTORE_ROUND_53BIT): Adjust.
32433 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32435 * string/test-strchrnul.c: Add copyright header.
32437 * posix/tst-getaddrinfo4.c: Increase test timeout.
32439 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32442 * math/libm-test.inc (MAX_EXP): Remove
32444 (ulp): Use MIN_EXP - MANT_DIG.
32445 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32447 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32449 * po/be.po: Revert last change.
32450 * po/zh_CN.po: Likewise.
32451 * po/header.pot: Likewise.
32453 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32455 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32456 link-libc-deps to empty as target-specific variable.
32457 * Makerules (link-libc-args): New variable.
32458 (libc-for-link): Likewise.
32459 (link-libc-deps): Likewise.
32460 (lib%.so): Depend on $(link-libc-deps). Link with
32462 (build-module): Link with $(link-libc-args).
32463 (build-module-asneeded): Likewise.
32464 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32466 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32467 target-specific variable.
32468 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32469 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32470 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32472 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32474 ($(objpfx)libpcprofile.so): Likewise.
32475 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32477 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32478 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32481 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32482 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32483 * login/Makefile ($(objpfx)libutil.so): Likewise.
32484 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32485 * math/Makefile ($(objpfx)libm.so): Likewise.
32486 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32487 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32488 variable instead of depending directly on libc.
32489 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32490 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32492 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32494 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32495 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32496 ($(objpfx)libanl.so): Likewise.
32497 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32499 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32501 * sysdeps/i386/fpu/Makefile: Remove file.
32502 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32503 ($(objpfx)libm.so): Remove dependency on ld.so.
32505 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32508 * nis/yp_xdr.c (XDRMAXNAME): Define.
32509 (XDRMAXRECORD): Define.
32510 (xdr_domainname): Use XDRMAXNAME.
32511 (xdr_mapname): Likewise.
32512 (xdr_peername): Likewise.
32513 (xdr_keydat): Use XDRMAXRECORD.
32514 (xdr_valdat): Likewise.
32516 2013-05-30 Jeff Law <law@redhat.com>
32519 * manual/errno.texi (ESTALE): Update to account for more than
32520 just NFS file systems.
32521 * sysdeps/gnu/errlist.c: Regenerated.
32523 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32526 * elf/Makefile (tests): Add tst-null-argv.
32527 (modules-names): Add tst-null-argv-lib.
32528 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32529 (tst-null-argv-ENV): Set environment for tst-null-argv.
32530 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32531 (RTLD_PROGNAME): New macro.
32532 * elf/tst-null-argv.c: New test case.
32533 * elf/tst-null-argv-lib.c: Library for test case.
32534 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32535 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32536 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32537 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32538 * elf/dl-init.c (call_init): Likewise.
32539 (_dl_init): Likewise.
32540 * elf/dl-load.c (print_search_path): Likewise.
32541 (_dl_map_object): Likewise.
32542 * elf/dl-lookup.c (do_lookup_x): Likewise.
32543 (add_dependency): Likewise.
32544 (_dl_lookup_symbol_x): Likewise.
32545 (_dl_debug_bindings): Likewise.
32546 * elf/dl-open.c (_dl_show_scope): Likewise.
32547 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32548 * elf/dl-version.c (match_symbol): Likewise.
32549 (_dl_check_map_versions): Likewise.
32550 * elf/rtld.c (dl_main): Likewise.
32551 (print_unresolved): Use RTLD_PROGNAME.
32552 (print_missing_version): Likewise.
32553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32554 (elf_machine_rela): Likewise.
32555 * sysdeps/powerpc/powerpc32/dl-machine.c
32556 (__process_machine_rela): Likewise.
32557 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32559 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32561 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32563 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32564 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32566 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32570 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32572 * po/be.po: Add descriptive title.
32573 * po/zh_CN.po: Likewise.
32574 * po/header.pot: Likewise.
32576 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32578 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32580 (enlarge_archive): Likewise.
32582 2013-05-28 Ben North <ben@redfrontdoor.org>
32584 * manual/arith.texi (frexp): It is the magnitude of the return
32585 value which lies in [0.5, 1), not the return value itself.
32587 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32591 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32593 * stdio-common/bug26.c (main): Correct fscanf template.
32595 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32596 declare _dl_skip_args.
32598 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32601 * manual/platform.texi: Add missing @end deftypefun.
32603 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32607 bit of mantissa of 2^16382.
32608 * math/libm-test.inc (hypot_test_data): Add more tests.
32610 * math/libm-test.inc: Add drem and pow10 to list of tested
32612 (pow10_test): New function.
32613 (drem_test): Likewise.
32614 (drem_test_tonearest): Likewise.
32615 (drem_test_towardzero): Likewise.
32616 (drem_test_downward): Likewise.
32617 (drem_test_upward): Likewise.
32618 (main): Call the new functions.
32620 * math/libm-test.inc (finite_test_data): Remove.
32621 (finite_test): Run tests from isfinite_test_data.
32622 (gamma_test_data): Remove.
32623 (gamma_test): Run tests from lgamma_test_data.
32624 * sysdeps/i386/fpu/libm-test-ulps: Update.
32625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32627 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32629 * manual/platform.texi: Add PowerPC PPR function set documentation.
32630 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32633 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32635 * math/libm-test.inc (MAX_EXP): Define.
32637 (ulp): New function.
32638 (check_float_internal): Use ULPDIFF.
32639 (cpow_test): Disable failing test.
32640 (check_ulp): Test ulp() implemetnation.
32641 (main): Call check_ulp before starting tests.
32643 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32645 * math/gen-libm-test.pl (generate_testfile): Do not handle
32646 START_DATA and END_DATA.
32647 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32649 (acos_tonearest_test_data): Likewise.
32650 (acos_towardzero_test_data): Likewise.
32651 (acos_downward_test_data): Likewise.
32652 (acos_upward_test_data): Likewise.
32653 (acosh_test_data): Likewise.
32654 (asin_test_data): Likewise.
32655 (asin_tonearest_test_data): Likewise.
32656 (asin_towardzero_test_data): Likewise.
32657 (asin_downward_test_data): Likewise.
32658 (asin_upward_test_data): Likewise.
32659 (asinh_test_data): Likewise.
32660 (atan_test_data): Likewise.
32661 (atanh_test_data): Likewise.
32662 (atan2_test_data): Likewise.
32663 (cabs_test_data): Likewise.
32664 (cacos_test_data): Likewise.
32665 (cacosh_test_data): Likewise.
32666 (carg_test_data): Likewise.
32667 (casin_test_data): Likewise.
32668 (casinh_test_data): Likewise.
32669 (catan_test_data): Likewise.
32670 (catanh_test_data): Likewise.
32671 (cbrt_test_data): Likewise.
32672 (ccos_test_data): Likewise.
32673 (ccosh_test_data): Likewise.
32674 (ceil_test_data): Likewise.
32675 (cexp_test_data): Likewise.
32676 (cimag_test_data): Likewise.
32677 (clog_test_data): Likewise.
32678 (clog10_test_data): Likewise.
32679 (conj_test_data): Likewise.
32680 (copysign_test_data): Likewise.
32681 (cos_test_data): Likewise.
32682 (cos_tonearest_test_data): Likewise.
32683 (cos_towardzero_test_data): Likewise.
32684 (cos_downward_test_data): Likewise.
32685 (cos_upward_test_data): Likewise.
32686 (cosh_test_data): Likewise.
32687 (cosh_tonearest_test_data): Likewise.
32688 (cosh_towardzero_test_data): Likewise.
32689 (cosh_downward_test_data): Likewise.
32690 (cosh_upward_test_data): Likewise.
32691 (cpow_test_data): Likewise.
32692 (cproj_test_data): Likewise.
32693 (creal_test_data): Likewise.
32694 (csin_test_data): Likewise.
32695 (csinh_test_data): Likewise.
32696 (csqrt_test_data): Likewise.
32697 (ctan_test_data): Likewise.
32698 (ctan_tonearest_test_data): Likewise.
32699 (ctan_towardzero_test_data): Likewise.
32700 (ctan_downward_test_data): Likewise.
32701 (ctan_upward_test_data): Likewise.
32702 (ctanh_test_data): Likewise.
32703 (ctanh_tonearest_test_data): Likewise.
32704 (ctanh_towardzero_test_data): Likewise.
32705 (ctanh_downward_test_data): Likewise.
32706 (ctanh_upward_test_data): Likewise.
32707 (erf_test_data): Likewise.
32708 (erfc_test_data): Likewise.
32709 (exp_test_data): Likewise.
32710 (exp_tonearest_test_data): Likewise.
32711 (exp_towardzero_test_data): Likewise.
32712 (exp_downward_test_data): Likewise.
32713 (exp_upward_test_data): Likewise.
32714 (exp10_test_data): Likewise.
32715 (exp2_test_data): Likewise.
32716 (expm1_test_data): Likewise.
32717 (fabs_test_data): Likewise.
32718 (fdim_test_data): Likewise.
32719 (finite_test_data): Likewise.
32720 (floor_test_data): Likewise.
32721 (fma_test_data): Likewise.
32722 (fma_towardzero_test_data): Likewise.
32723 (fma_downward_test_data): Likewise.
32724 (fma_upward_test_data): Likewise.
32725 (fmax_test_data): Likewise.
32726 (fmin_test_data): Likewise.
32727 (fmod_test_data): Likewise.
32728 (fpclassify_test_data): Likewise.
32729 (frexp_test_data): Likewise.
32730 (gamma_test_data): Likewise.
32731 (hypot_test_data): Likewise.
32732 (ilogb_test_data): Likewise.
32733 (isfinite_test_data): Likewise.
32734 (isgreater_test_data): Likewise.
32735 (isgreaterequal_test_data): Likewise.
32736 (isinf_test_data): Likewise.
32737 (isless_test_data): Likewise.
32738 (islessequal_test_data): Likewise.
32739 (islessgreater_test_data): Likewise.
32740 (isnan_test_data): Likewise.
32741 (isnormal_test_data): Likewise.
32742 (issignaling_test_data): Likewise.
32743 (isunordered_test_data): Likewise.
32744 (j0_test_data): Likewise.
32745 (j1_test_data): Likewise.
32746 (jn_test_data): Likewise.
32747 (ldexp_test_data): Likewise.
32748 (lgamma_test_data): Likewise.
32749 (lrint_test_data): Likewise.
32750 (lrint_tonearest_test_data): Likewise.
32751 (lrint_towardzero_test_data): Likewise.
32752 (lrint_downward_test_data): Likewise.
32753 (lrint_upward_test_data): Likewise.
32754 (llrint_test_data): Likewise.
32755 (llrint_tonearest_test_data): Likewise.
32756 (llrint_towardzero_test_data): Likewise.
32757 (llrint_downward_test_data): Likewise.
32758 (llrint_upward_test_data): Likewise.
32759 (log_test_data): Likewise.
32760 (log10_test_data): Likewise.
32761 (log1p_test_data): Likewise.
32762 (log2_test_data): Likewise.
32763 (logb_test_data): Likewise.
32764 (logb_downward_test_data): Likewise.
32765 (lround_test_data): Likewise.
32766 (llround_test_data): Likewise.
32767 (modf_test_data): Likewise.
32768 (nearbyint_test_data): Likewise.
32769 (nextafter_test_data): Likewise.
32770 (nexttoward_test_data): Likewise.
32771 (pow_test_data): Likewise.
32772 (pow_tonearest_test_data): Likewise.
32773 (pow_towardzero_test_data): Likewise.
32774 (pow_downward_test_data): Likewise.
32775 (pow_upward_test_data): Likewise.
32776 (remainder_test_data): Likewise.
32777 (remainder_tonearest_test_data): Likewise.
32778 (remainder_towardzero_test_data): Likewise.
32779 (remainder_downward_test_data): Likewise.
32780 (remainder_upward_test_data): Likewise.
32781 (remquo_test_data): Likewise.
32782 (rint_test_data): Likewise.
32783 (rint_tonearest_test_data): Likewise.
32784 (rint_towardzero_test_data): Likewise.
32785 (rint_downward_test_data): Likewise.
32786 (rint_upward_test_data): Likewise.
32787 (round_test_data): Likewise.
32788 (scalb_test_data): Likewise.
32789 (scalbn_test_data): Likewise.
32790 (scalbln_test_data): Likewise.
32791 (signbit_test_data): Likewise.
32792 (sin_test_data): Likewise.
32793 (sin_tonearest_test_data): Likewise.
32794 (sin_towardzero_test_data): Likewise.
32795 (sin_downward_test_data): Likewise.
32796 (sin_upward_test_data): Likewise.
32797 (sincos_test_data): Likewise.
32798 (sinh_test_data): Likewise.
32799 (sinh_tonearest_test_data): Likewise.
32800 (sinh_towardzero_test_data): Likewise.
32801 (sinh_downward_test_data): Likewise.
32802 (sinh_upward_test_data): Likewise.
32803 (sqrt_test_data): Likewise.
32804 (tan_test_data): Likewise.
32805 (tan_tonearest_test_data): Likewise.
32806 (tan_towardzero_test_data): Likewise.
32807 (tan_downward_test_data): Likewise.
32808 (tan_upward_test_data): Likewise.
32809 (tanh_test_data): Likewise.
32810 (tgamma_test_data): Likewise.
32811 (trunc_test_data): Likewise.
32812 (y0_test_data): Likewise.
32813 (y1_test_data): Likewise.
32814 (yn_test_data): Likewise.
32815 (significand_test_data): Likewise.
32817 * math/gen-libm-test.pl (@functions): Remove variable.
32818 (generate_testfile): Don't handle START and END lines.
32819 * math/libm-test.inc (START): New macro.
32821 (END_COMPLEX): Likewise.
32822 (acos_test): Use END macro without arguments.
32823 (acos_test_tonearest): Likewise.
32824 (acos_test_towardzero): Likewise.
32825 (acos_test_downward): Likewise.
32826 (acos_test_upward): Likewise.
32827 (acosh_test): Likewise.
32828 (asin_test): Likewise.
32829 (asin_test_tonearest): Likewise.
32830 (asin_test_towardzero): Likewise.
32831 (asin_test_downward): Likewise.
32832 (asin_test_upward): Likewise.
32833 (asinh_test): Likewise.
32834 (atan_test): Likewise.
32835 (atanh_test): Likewise.
32836 (atan2_test): Likewise.
32837 (cabs_test): Likewise.
32838 (cacos_test): Use END_COMPLEX macro without arguments.
32839 (cacosh_test): Likewise.
32840 (carg_test): Use END macro without arguments.
32841 (casin_test): Use END_COMPLEX macro without arguments.
32842 (casinh_test): Likewise.
32843 (catan_test): Likewise.
32844 (catanh_test): Likewise.
32845 (cbrt_test): Use END macro without arguments.
32846 (ccos_test): Use END_COMPLEX macro without arguments.
32847 (ccosh_test): Likewise.
32848 (ceil_test): Use END macro without arguments.
32849 (cexp_test): Use END_COMPLEX macro without arguments.
32850 (cimag_test): Use END macro without arguments.
32851 (clog_test): Use END_COMPLEX macro without arguments.
32852 (clog10_test): Likewise.
32853 (conj_test): Likewise.
32854 (copysign_test): Use END macro without arguments.
32855 (cos_test): Likewise.
32856 (cos_test_tonearest): Likewise.
32857 (cos_test_towardzero): Likewise.
32858 (cos_test_downward): Likewise.
32859 (cos_test_upward): Likewise.
32860 (cosh_test): Likewise.
32861 (cosh_test_tonearest): Likewise.
32862 (cosh_test_towardzero): Likewise.
32863 (cosh_test_downward): Likewise.
32864 (cosh_test_upward): Likewise.
32865 (cpow_test): Use END_COMPLEX macro without arguments.
32866 (cproj_test): Likewise.
32867 (creal_test): Use END macro without arguments.
32868 (csin_test): Use END_COMPLEX macro without arguments.
32869 (csinh_test): Likewise.
32870 (csqrt_test): Likewise.
32871 (ctan_test): Likewise.
32872 (ctan_test_tonearest): Likewise.
32873 (ctan_test_towardzero): Likewise.
32874 (ctan_test_downward): Likewise.
32875 (ctan_test_upward): Likewise.
32876 (ctanh_test): Likewise.
32877 (ctanh_test_tonearest): Likewise.
32878 (ctanh_test_towardzero): Likewise.
32879 (ctanh_test_downward): Likewise.
32880 (ctanh_test_upward): Likewise.
32881 (erf_test): Use END macro without arguments.
32882 (erfc_test): Likewise.
32883 (exp_test): Likewise.
32884 (exp_test_tonearest): Likewise.
32885 (exp_test_towardzero): Likewise.
32886 (exp_test_downward): Likewise.
32887 (exp_test_upward): Likewise.
32888 (exp10_test): Likewise.
32889 (exp2_test): Likewise.
32890 (expm1_test): Likewise.
32891 (fabs_test): Likewise.
32892 (fdim_test): Likewise.
32893 (finite_test): Likewise.
32894 (floor_test): Likewise.
32895 (fma_test): Likewise.
32896 (fma_test_towardzero): Likewise.
32897 (fma_test_downward): Likewise.
32898 (fma_test_upward): Likewise.
32899 (fmax_test): Likewise.
32900 (fmin_test): Likewise.
32901 (fmod_test): Likewise.
32902 (fpclassify_test): Likewise.
32903 (frexp_test): Likewise.
32904 (gamma_test): Likewise.
32905 (hypot_test): Likewise.
32906 (ilogb_test): Likewise.
32907 (isfinite_test): Likewise.
32908 (isgreater_test): Likewise.
32909 (isgreaterequal_test): Likewise.
32910 (isinf_test): Likewise.
32911 (isless_test): Likewise.
32912 (islessequal_test): Likewise.
32913 (islessgreater_test): Likewise.
32914 (isnan_test): Likewise.
32915 (isnormal_test): Likewise.
32916 (issignaling_test): Likewise.
32917 (isunordered_test): Likewise.
32918 (j0_test): Likewise.
32919 (j1_test): Likewise.
32920 (jn_test): Likewise.
32921 (ldexp_test): Likewise.
32922 (lgamma_test): Likewise.
32923 (lrint_test): Likewise.
32924 (lrint_test_tonearest): Likewise.
32925 (lrint_test_towardzero): Likewise.
32926 (lrint_test_downward): Likewise.
32927 (lrint_test_upward): Likewise.
32928 (llrint_test): Likewise.
32929 (llrint_test_tonearest): Likewise.
32930 (llrint_test_towardzero): Likewise.
32931 (llrint_test_downward): Likewise.
32932 (llrint_test_upward): Likewise.
32933 (log_test): Likewise.
32934 (log10_test): Likewise.
32935 (log1p_test): Likewise.
32936 (log2_test): Likewise.
32937 (logb_test): Likewise.
32938 (logb_test_downward): Likewise.
32939 (lround_test): Likewise.
32940 (llround_test): Likewise.
32941 (modf_test): Likewise.
32942 (nearbyint_test): Likewise.
32943 (nextafter_test): Likewise.
32944 (nexttoward_test): Likewise.
32945 (pow_test): Likewise.
32946 (pow_test_tonearest): Likewise.
32947 (pow_test_towardzero): Likewise.
32948 (pow_test_downward): Likewise.
32949 (pow_test_upward): Likewise.
32950 (remainder_test): Likewise.
32951 (remainder_test_tonearest): Likewise.
32952 (remainder_test_towardzero): Likewise.
32953 (remainder_test_downward): Likewise.
32954 (remainder_test_upward): Likewise.
32955 (remquo_test): Likewise.
32956 (rint_test): Likewise.
32957 (rint_test_tonearest): Likewise.
32958 (rint_test_towardzero): Likewise.
32959 (rint_test_downward): Likewise.
32960 (rint_test_upward): Likewise.
32961 (round_test): Likewise.
32962 (scalb_test): Likewise.
32963 (scalbn_test): Likewise.
32964 (scalbln_test): Likewise.
32965 (signbit_test): Likewise.
32966 (sin_test): Likewise.
32967 (sin_test_tonearest): Likewise.
32968 (sin_test_towardzero): Likewise.
32969 (sin_test_downward): Likewise.
32970 (sin_test_upward): Likewise.
32971 (sincos_test): Likewise.
32972 (sinh_test): Likewise.
32973 (sinh_test_tonearest): Likewise.
32974 (sinh_test_towardzero): Likewise.
32975 (sinh_test_downward): Likewise.
32976 (sinh_test_upward): Likewise.
32977 (sqrt_test): Likewise.
32978 (tan_test): Likewise.
32979 (tan_test_tonearest): Likewise.
32980 (tan_test_towardzero): Likewise.
32981 (tan_test_downward): Likewise.
32982 (tan_test_upward): Likewise.
32983 (tanh_test): Likewise.
32984 (tgamma_test): Likewise.
32985 (trunc_test): Likewise.
32986 (y0_test): Likewise.
32987 (y1_test): Likewise.
32988 (yn_test): Likewise.
32989 (significand_test): Likewise.
32991 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32994 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32996 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32999 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33000 __ppc_mdoio and __ppc_mdoom.
33001 * manual/platform.texi: Document new functions __ppc_yield,
33002 __ppc_mdoio and __ppc_mdoom.
33004 2013-05-22 Carlos O'Donell <carlos@redhat.com>
33006 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33007 (main): Mention "tls" pseudo-hwcap is legacy.
33008 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33010 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33012 * math/gen-libm-test.pl (parse_args): Output only string of
33013 arguments as text for test name, not full call or descriptions of
33014 tests for extra outputs.
33015 (generate_testfile): Do not pass function name to parse_args.
33016 Generate this_func variable from START.
33017 * math/libm-test.inc (struct test_f_f_data): Rename test_name
33019 (struct test_ff_f_data): Likewise.
33020 (test_ff_f_data_nexttoward): Likewise.
33021 (struct test_fi_f_data): Likewise.
33022 (struct test_fl_f_data): Likewise.
33023 (struct test_if_f_data): Likewise.
33024 (struct test_fff_f_data): Likewise.
33025 (struct test_c_f_data): Likewise.
33026 (struct test_f_f1_data): Likewise. Remove field extra_name.
33027 (struct test_fF_f1_data): Likewise.
33028 (struct test_ffI_f1_data): Likewise.
33029 (struct test_c_c_data): Rename test_name field to arg_str.
33030 (struct test_cc_c_data): Likewise.
33031 (struct test_f_i_data): Likewise.
33032 (struct test_ff_i_data): Likewise.
33033 (struct test_f_l_data): Likewise.
33034 (struct test_f_L_data): Likewise.
33035 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
33037 (COMMON_TEST_SETUP): New macro.
33038 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33039 (COMMON_TEST_CLEANUP): Likewise.
33040 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33041 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
33043 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33044 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
33046 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33047 (RUN_TEST_fff_f): Take argument string. Call new setup and
33049 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33050 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
33052 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33053 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
33055 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33056 (RUN_TEST_fF_f1): Take argument string. Call new setup and
33058 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33059 (RUN_TEST_fI_f1): Take argument string. Call new setup and
33061 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33062 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
33064 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33065 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
33067 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33068 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
33070 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33071 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
33073 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33074 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
33076 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33077 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
33079 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33080 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
33082 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33083 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
33085 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33086 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
33088 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33089 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
33091 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33092 (RUN_TEST_fFF_11): Take argument string. Call new setup and
33094 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33096 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
33098 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33099 to _sifields.sigfault.
33100 (si_addr_lsb): Define new macro.
33101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33103 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33105 2013-05-03 Carlos O'Donell <carlos at redhat.com>
33108 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33110 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33112 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33113 loading the domain.
33115 2013-05-22 Joseph Myers <joseph@codesourcery.com>
33117 * math/gen-libm-test.pl (parse_args): Do not include expected
33118 result in test name.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33121 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33122 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33123 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33126 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33128 * benchtests/Makefile: Sort function entries.
33130 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33131 tanh, asinh, acosh, atanh.
33132 * benchtests/acos-inputs: New file.
33133 * benchtests/acosh-inputs: New file.
33134 * benchtests/asin-inputs: New file.
33135 * benchtests/asinh-inputs: New file.
33136 * benchtests/atanh-inputs: New file.
33137 * benchtests/cosh-inputs: New file.
33138 * benchtests/log-inputs: New file.
33139 * benchtests/sinh-inputs: New file.
33140 * benchtests/tanh-inputs: New file.
33142 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
33145 * posix/tst-getaddrinfo4.c: New test.
33146 * posix/Makefile (tests): Add it.
33148 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33151 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33152 when no services were used.
33153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33154 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33156 2013-05-21 Andreas Schwab <schwab@suse.de>
33159 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33160 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33162 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33163 redundant variable declarations and reallocation of buffer when
33164 parsing as IPv6 address. Always set NSS status when called from
33165 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
33166 buffer too small. Correct computation of needed size.
33167 * nss/Makefile (tests): Add test-digits-dots.
33168 * nss/test-digits-dots.c: New test.
33170 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33172 * benchtests/Makefile: Remove instructions for adding
33174 * benchtests/README: New file to explain how to execute and
33175 enhance the benchmark tests.
33177 2013-05-21 Andreas Schwab <schwab@suse.de>
33180 * setjmp/Makefile (tests): Add tst-sigsetjmp.
33181 * setjmp/tst-sigsetjmp.c: New test.
33183 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33185 * sysdeps/x86_64/memset.S (memset): New implementation.
33186 (__bzero): Likewise.
33187 (__memset_tail): New function.
33189 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
33191 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33192 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33193 __memcpy_sse2_unaligned ifunc selection.
33194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33195 Add memcpy-sse2-unaligned.S.
33196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33197 Add: __memcpy_sse2_unaligned.
33199 2013-05-19 Joseph Myers <joseph@codesourcery.com>
33202 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33203 math_force_eval before restoring floating-point envrionment.
33204 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33207 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33209 (__nearbyintl): Use math_force_eval before restoring
33210 floating-point environment.
33211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33213 * math/gen-libm-test.pl (special_functions): Remove.
33214 (parse_args): Don't handle TEST_extra. Handle functions with no
33216 * math/libm-test.inc (struct test_sincos_data): Replace with
33217 struct test_fFF_11_data.
33218 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33219 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33220 (sincos_test_data): Change element type to struct
33221 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
33222 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33223 RUN_TEST_LOOP_sincos.
33224 * math/README.libm-test: Don't mention special handling of
33225 individual functions.
33226 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33228 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33229 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33230 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33233 * math/gen-libm-test.pl (get_variable): Remove function.
33234 (parse_args): Don't show pointer parameters to call in test
33235 names. Use "extra output N" in test names for extra outputs
33236 rather than naming variables.
33238 2013-05-18 Joseph Myers <joseph@codesourcery.com>
33241 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33242 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33243 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33245 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33247 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33250 * math/gen-libm-test.pl (@tests): Remove variable.
33251 ($count): Likewise.
33252 (new_test): Remove function.
33253 (show_exceptions): New function.
33254 (special_functions): Use show_exceptions instead of new_test.
33255 (parse_args): Likewise.
33256 (generate_testfile): Pass only function name in generated call to
33257 print_max_error or print_complex_max_error.
33258 (get_ulps): Do not handle complex tests specially.
33259 (output_test): Rename to ...
33260 (get_all_ulps_for_test): ... this. Return a string rather than
33261 printing to a file. Require ulps to be present.
33262 (output_ulps): Generate arrays rather than #defines.
33263 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33264 (struct ulp_data): New type.
33265 (BUILD_COMPLEX_ULP): Remove macro.
33266 (compare_ulp_data): New function.
33267 (find_ulps): Likewise.
33268 (find_test_ulps): Likewise.
33269 (find_function_ulps): Likewise.
33270 (find_complex_function_ulps): Likewise.
33271 (print_max_error): Determine allowed ulps using
33272 find_function_ulps.
33273 (print_complex_max_error): Determine allowed ulps using
33274 find_complex_function_ulps.
33275 (check_float_internal): Determine max ulps using find_test_ulps.
33276 (check_float): Do not take max_ulp parameter. Update call to
33277 check_float_internal.
33278 (check_complex): Likewise.
33279 (check_int): Do not take max_ulp parameter.
33280 (check_long): Likewise.
33281 (check_bool): Likewise.
33282 (check_longlong): Likewise.
33283 (struct test_f_f_data): Remove max_ulp field.
33284 (struct test_ff_f_data): Likewise.
33285 (struct test_ff_f_data_nexttoward): Likewise.
33286 (struct test_fi_f_data): Likewise.
33287 (struct test_fl_f_data): Likewise.
33288 (struct test_if_f_data): Likewise.
33289 (struct test_fff_f_data): Likewise.
33290 (struct test_c_f_data): Likewise.
33291 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33292 (struct test_fF_f1_data): Likewise.
33293 (struct test_ffI_f1_data): Likewise.
33294 (struct test_c_c_data): Remove max_ulp field.
33295 (struct test_cc_c_data): Likewise.
33296 (struct test_f_i_data): Likewise.
33297 (struct test_ff_i_data): Likewise.
33298 (struct test_f_l_data): Likewise.
33299 (struct test_f_L_data): Likewise.
33300 (struct test_sincos_data): Likewise.
33301 (RUN_TEST_f_f): Do not handle ulps.
33302 (RUN_TEST_LOOP_f_f): Likewise.
33303 (RUN_TEST_2_f): Likewise.
33304 (RUN_TEST_LOOP_2_f): Likewise.
33305 (RUN_TEST_fff_f): Likewise.
33306 (RUN_TEST_LOOP_fff_f): Likewise.
33307 (RUN_TEST_c_f): Likewise.
33308 (RUN_TEST_LOOP_c_f): Likewise.
33309 (RUN_TEST_f_f1): Likewise.
33310 (RUN_TEST_LOOP_f_f1): Likewise.
33311 (RUN_TEST_fF_f1): Likewise.
33312 (RUN_TEST_LOOP_fF_f1): Likewise.
33313 (RUN_TEST_fI_f1): Likewise.
33314 (RUN_TEST_LOOP_fI_f1): Likewise.
33315 (RUN_TEST_ffI_f1): Likewise.
33316 (RUN_TEST_LOOP_ffI_f1): Likewise.
33317 (RUN_TEST_c_c): Likewise.
33318 (RUN_TEST_LOOP_c_c): Likewise.
33319 (RUN_TEST_cc_c): Likewise.
33320 (RUN_TEST_LOOP_cc_c): Likewise.
33321 (RUN_TEST_f_i): Likewise.
33322 (RUN_TEST_LOOP_f_i): Likewise.
33323 (RUN_TEST_f_i_tg): Likewise.
33324 (RUN_TEST_LOOP_f_i_tg): Likewise.
33325 (RUN_TEST_ff_i_tg): Likewise.
33326 (RUN_TEST_LOOP_ff_i_tg): Likewise.
33327 (RUN_TEST_f_b): Likewise.
33328 (RUN_TEST_LOOP_f_b): Likewise.
33329 (RUN_TEST_f_b_tg): Likewise.
33330 (RUN_TEST_LOOP_f_b_tg): Likewise.
33331 (RUN_TEST_f_l): Likewise.
33332 (RUN_TEST_LOOP_f_l): Likewise.
33333 (RUN_TEST_f_L): Likewise.
33334 (RUN_TEST_LOOP_f_L): Likewise.
33335 (RUN_TEST_sincos): Likewise.
33336 (RUN_TEST_LOOP_sincos): Likewise.
33338 2013-05-17 Joseph Myers <joseph@codesourcery.com>
33342 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33343 main case of finite arguments, set rounding mode to FE_TONEAREST
33344 and discard exceptions.
33345 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33347 (remainder_tonearest_test_data): New variable.
33348 (remainder_test_tonearest): New function.
33349 (remainder_towardzero_test_data): New variable.
33350 (remainder_test_towardzero): New function.
33351 (remainder_downward_test_data): New variable.
33352 (remainder_test_downward): New function.
33353 (remainder_upward_test_data): New variable.
33354 (remainder_test_upward): New function.
33355 (main): Call the new test functions.
33357 * math/libm-test.inc (struct test_f_f1_data): Remove field
33359 (struct test_fF_f1_data): Likewise.
33360 (struct test_ffI_f1_data): Likewise.
33361 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
33362 based on value of EXTRA_EXPECTED.
33363 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33364 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
33365 EXTRA_VAR based on value of EXTRA_EXPECTED.
33366 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33367 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
33368 EXTRA_VAR based on value of EXTRA_EXPECTED.
33369 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33370 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
33371 EXTRA_VAR based on value of EXTRA_EXPECTED.
33372 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33373 * math/gen-libm-test.pl (parse_args): Don't output initializers
33374 for extra output values.
33376 * math/libm-test.inc (check_int): Expect result to be exactly
33377 equal to expected value and do not handle ulps.
33378 (check_long): Likewise.
33379 (check_longlong): Likewise.
33381 * math/libm-test.inc (ceil_test_data): Test for "inexact"
33383 (cimag_test_data): Likewise.
33384 (conj_test_data): Likewise.
33385 (copysign_test_data): Likewise.
33386 (cproj_test_data): Likewise.
33387 (creal_test_data): Likewise.
33388 (fabs_test_data): Likewise.
33389 (fdim_test_data): Likewise.
33390 (finite_test_data): Likewise.
33391 (floor_test_data): Likewise.
33392 (fmax_test_data): Likewise.
33393 (fmin_test_data): Likewise.
33394 (fmod_test_data): Likewise.
33395 (fpclassify_test_data): Likewise.
33396 (frexp_test_data): Likewise.
33397 (ilogb_test_data): Likewise.
33398 (isfinite_test_data): Likewise.
33399 (isgreater_test_data): Likewise.
33400 (isgreaterequal_test_data): Likewise.
33401 (isinf_test_data): Likewise.
33402 (isless_test_data): Likewise.
33403 (islessequal_test_data): Likewise.
33404 (islessgreater_test_data): Likewise.
33405 (isnan_test_data): Likewise.
33406 (isnormal_test_data): Likewise.
33407 (issignaling_test_data): Likewise.
33408 (isunordered_test_data): Likewise.
33409 (ldexp_test_data): Likewise.
33410 (lrint_test_data): Likewise.
33411 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33412 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33413 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33414 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33415 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33416 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33418 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33419 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33420 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33421 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33423 (lrint_downward_test_data): Test for "inexact" exceptions.
33424 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33425 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33426 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33428 (lrint_upward_test_data): Test for "inexact" exceptions.
33429 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33431 (llrint_test_data): Test for "inexact" exceptions.
33432 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33433 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33434 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33435 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33436 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33437 (llrint_downward_test_data): Test for "inexact" exceptions.
33438 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33439 (llrint_upward_test_data): Test for "inexact" exceptions.
33440 (logb_test_data): Likewise.
33441 (logb_downward_test_data): Likewise.
33442 (nextafter_test_data): Likewise.
33443 (nexttoward_test_data): Likewise.
33444 (remainder_test_data): Likewise.
33445 (remquo_test_data): Likewise.
33446 (scalbn_test_data): Likewise.
33447 (scalbln_test_data): Likewise.
33448 (signbit_test_data): Likewise.
33449 (sqrt_test_data): Likewise.
33450 (significand_test_data): Likewise.
33452 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33455 * benchtests/bench-modf.c (struct args): Mark arg0 as
33457 * scripts/bench.pl: Mark members of struct args as volatile.
33459 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33462 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33463 negative infinity on POWER6 or lower.
33464 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33466 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33469 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33470 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33471 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33472 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33473 (_FP_SETQNAN): New macro.
33474 (_FP_SETQNAN_SEMIRAW): Likewise.
33475 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33476 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33477 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33478 (FP_EXTEND): Use _FP_FRAC_SNANP.
33479 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33480 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33487 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33489 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33490 with DIVIDE_BY_ZERO_EXCEPTION.
33491 (gamma_test_data): Likewise.
33492 (lgamma_test_data): Likewise.
33493 (log_test_data): Likewise.
33494 (log10_test_data): Likewise.
33495 (log2_test_data): Likewise.
33496 (tgamma_test_data): Likewise.
33498 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33499 (acos_test_tonearest): Likewise.
33500 (acos_test_towardzero): Likewise.
33501 (acos_test_downward): Likewise.
33502 (acos_test_upward): Likewise.
33503 (acosh_test): Likewise.
33504 (asin_test): Likewise.
33505 (asin_test_tonearest): Likewise.
33506 (asin_test_towardzero): Likewise.
33507 (asin_test_downward): Likewise.
33508 (asin_test_upward): Likewise.
33509 (asinh_test): Likewise.
33510 (atan_test): Likewise.
33511 (atanh_test): Likewise.
33512 (atan2_test): Likewise.
33513 (cabs_test): Likewise.
33514 (cacos_test): Likewise.
33515 (cacosh_test): Likewise.
33516 (casin_test): Likewise.
33517 (casinh_test): Likewise.
33518 (catan_test): Likewise.
33519 (catanh_test): Likewise.
33520 (cbrt_test): Likewise.
33521 (ccos_test): Likewise.
33522 (ccosh_test): Likewise.
33523 (cexp_test): Likewise.
33524 (clog_test): Likewise.
33525 (clog10_test): Likewise.
33526 (cos_test): Likewise.
33527 (cos_test_tonearest): Likewise.
33528 (cos_test_towardzero): Likewise.
33529 (cos_test_downward): Likewise.
33530 (cos_test_upward): Likewise.
33531 (cosh_test): Likewise.
33532 (cosh_test_tonearest): Likewise.
33533 (cosh_test_towardzero): Likewise.
33534 (cosh_test_downward): Likewise.
33535 (cosh_test_upward): Likewise.
33536 (cpow_test): Likewise.
33537 (csin_test): Likewise.
33538 (csinh_test): Likewise.
33539 (csqrt_test): Likewise.
33540 (ctan_test): Likewise.
33541 (ctan_test_tonearest): Likewise.
33542 (ctan_test_towardzero): Likewise.
33543 (ctan_test_downward): Likewise.
33544 (ctan_test_upward): Likewise.
33545 (ctanh_test): Likewise.
33546 (ctanh_test_tonearest): Likewise.
33547 (ctanh_test_towardzero): Likewise.
33548 (ctanh_test_downward): Likewise.
33549 (ctanh_test_upward): Likewise.
33550 (erf_test): Likewise.
33551 (erfc_test): Likewise.
33552 (exp_test): Likewise.
33553 (exp_test_tonearest): Likewise.
33554 (exp_test_towardzero): Likewise.
33555 (exp_test_downward): Likewise.
33556 (exp_test_upward): Likewise.
33557 (exp10_test): Likewise.
33558 (exp2_test): Likewise.
33559 (expm1_test): Likewise.
33560 (fmod_test): Likewise.
33561 (gamma_test): Likewise.
33562 (hypot_test): Likewise.
33563 (j0_test): Likewise.
33564 (j1_test): Likewise.
33565 (jn_test): Likewise.
33566 (lgamma_test): Likewise.
33567 (log_test): Likewise.
33568 (log10_test): Likewise.
33569 (log1p_test): Likewise.
33570 (log2_test): Likewise.
33571 (logb_test_downward): Likewise.
33572 (pow_test): Likewise.
33573 (pow_test_tonearest): Likewise.
33574 (pow_test_towardzero): Likewise.
33575 (pow_test_downward): Likewise.
33576 (pow_test_upward): Likewise.
33577 (remainder_test): Likewise.
33578 (remquo_test): Likewise.
33579 (sin_test): Likewise.
33580 (sin_test_tonearest): Likewise.
33581 (sin_test_towardzero): Likewise.
33582 (sin_test_downward): Likewise.
33583 (sin_test_upward): Likewise.
33584 (sincos_test): Likewise.
33585 (sinh_test): Likewise.
33586 (sinh_test_tonearest): Likewise.
33587 (sinh_test_towardzero): Likewise.
33588 (sinh_test_downward): Likewise.
33589 (sinh_test_upward): Likewise.
33590 (sqrt_test): Likewise.
33591 (tan_test): Likewise.
33592 (tan_test_tonearest): Likewise.
33593 (tan_test_towardzero): Likewise.
33594 (tan_test_downward): Likewise.
33595 (tan_test_upward): Likewise.
33596 (tanh_test): Likewise.
33597 (tgamma_test): Likewise.
33598 (y0_test): Likewise.
33599 (y1_test): Likewise.
33600 (yn_test): Likewise.
33602 * math/gen-libm-test.pl (adjust_arg): Remove function.
33603 (special_function): Remove argument $in_func. Only handle
33604 generating output for tables of tests, not inside functions.
33605 (parse_args): Likewise.
33606 (generate_testfile): Remove variable $in_func. Update call to
33608 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33609 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33610 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33611 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33612 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33613 (MAX_VALUE_INIT): Rename macro to max_value.
33614 (MIN_VALUE_INIT): Rename macro to min_value.
33615 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33616 (plus_zero): Remove variable.
33617 (minus_zero): Likewise.
33618 (plus_infty): Likewise.
33619 (minus_infty): Likewise.
33620 (qnan_value): Likewise.
33621 (max_value): Likewise.
33622 (min_value): Likewise.
33623 (min_subnorm_value): Likewise.
33625 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33627 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33628 uint64_t or uint32_t usage.
33629 * crypt/sha256-block.c: Likewise.
33630 * crypt/sha256-crypt.c: Likewise.
33631 * crypt/sha256.c: Likewise.
33632 * crypt/sha512-block.c: Likewise.
33633 * crypt/sha512-crypt.c: Likewise.
33634 * crypt/sha512.c: Likewise.
33635 * debug/backtrace-tst.c: Likewise.
33636 * debug/pcprofiledump.c: Likewise.
33637 * elf/cache.c: Likewise.
33638 * elf/dl-cache.c: Likewise.
33639 * elf/dl-misc.c: Likewise.
33640 * elf/dl-profile.c: Likewise.
33641 * elf/dl-support.c: Likewise.
33642 * elf/ldconfig.c: Likewise.
33643 * elf/sprof.c: Likewise.
33644 * iconv/dummy-repertoire.c: Likewise.
33645 * iconv/iconv_charmap.c: Likewise.
33646 * iconv/skeleton.c: Likewise.
33647 * iconvdata/8bit-generic.c: Likewise.
33648 * iconvdata/cp737.h: Likewise.
33649 * iconvdata/cp775.h: Likewise.
33650 * iconvdata/ibm1008.h: Likewise.
33651 * iconvdata/ibm1025.h: Likewise.
33652 * iconvdata/ibm1046.h: Likewise.
33653 * iconvdata/ibm1097.h: Likewise.
33654 * iconvdata/ibm1112.h: Likewise.
33655 * iconvdata/ibm1122.h: Likewise.
33656 * iconvdata/ibm1123.h: Likewise.
33657 * iconvdata/ibm1124.h: Likewise.
33658 * iconvdata/ibm1129.h: Likewise.
33659 * iconvdata/ibm1130.h: Likewise.
33660 * iconvdata/ibm1132.h: Likewise.
33661 * iconvdata/ibm1133.h: Likewise.
33662 * iconvdata/ibm1137.h: Likewise.
33663 * iconvdata/ibm1140.h: Likewise.
33664 * iconvdata/ibm1141.h: Likewise.
33665 * iconvdata/ibm1142.h: Likewise.
33666 * iconvdata/ibm1143.h: Likewise.
33667 * iconvdata/ibm1144.h: Likewise.
33668 * iconvdata/ibm1145.h: Likewise.
33669 * iconvdata/ibm1146.h: Likewise.
33670 * iconvdata/ibm1147.h: Likewise.
33671 * iconvdata/ibm1148.h: Likewise.
33672 * iconvdata/ibm1149.h: Likewise.
33673 * iconvdata/ibm1153.h: Likewise.
33674 * iconvdata/ibm1154.h: Likewise.
33675 * iconvdata/ibm1155.h: Likewise.
33676 * iconvdata/ibm1156.h: Likewise.
33677 * iconvdata/ibm1157.h: Likewise.
33678 * iconvdata/ibm1158.h: Likewise.
33679 * iconvdata/ibm1160.h: Likewise.
33680 * iconvdata/ibm1161.h: Likewise.
33681 * iconvdata/ibm1162.h: Likewise.
33682 * iconvdata/ibm1163.h: Likewise.
33683 * iconvdata/ibm1164.h: Likewise.
33684 * iconvdata/ibm1166.h: Likewise.
33685 * iconvdata/ibm1167.h: Likewise.
33686 * iconvdata/ibm12712.h: Likewise.
33687 * iconvdata/ibm1390.h: Likewise.
33688 * iconvdata/ibm1399.h: Likewise.
33689 * iconvdata/ibm16804.h: Likewise.
33690 * iconvdata/ibm4517.h: Likewise.
33691 * iconvdata/ibm4899.h: Likewise.
33692 * iconvdata/ibm4909.h: Likewise.
33693 * iconvdata/ibm4971.h: Likewise.
33694 * iconvdata/ibm5347.h: Likewise.
33695 * iconvdata/ibm803.h: Likewise.
33696 * iconvdata/ibm856.h: Likewise.
33697 * iconvdata/ibm901.h: Likewise.
33698 * iconvdata/ibm902.h: Likewise.
33699 * iconvdata/ibm9030.h: Likewise.
33700 * iconvdata/ibm9066.h: Likewise.
33701 * iconvdata/ibm921.h: Likewise.
33702 * iconvdata/ibm922.h: Likewise.
33703 * iconvdata/ibm9448.h: Likewise.
33704 * iconvdata/isiri-3342.h: Likewise.
33705 * iconvdata/jis0201.h: Likewise.
33706 * include/link.h: Likewise.
33707 * include/netdb.h: Likewise.
33708 * inet/check_native.c: Likewise.
33709 * inet/check_pf.c: Likewise.
33710 * inet/getipv4sourcefilter.c: Likewise.
33711 * inet/getnameinfo.c: Likewise.
33712 * inet/getsourcefilter.c: Likewise.
33713 * inet/htonl.c: Likewise.
33714 * inet/setipv4sourcefilter.c: Likewise.
33715 * inet/setsourcefilter.c: Likewise.
33716 * inet/test-inet6_opt.c: Likewise.
33717 * inet/tst-network.c: Likewise.
33718 * locale/C-collate.c: Likewise.
33719 * locale/C-ctype.c: Likewise.
33720 * locale/C-time.c: Likewise.
33721 * locale/C-translit.h: Likewise.
33722 * locale/loadarchive.c: Likewise.
33723 * locale/programs/3level.h: Likewise.
33724 * locale/programs/charmap.c: Likewise.
33725 * locale/programs/charmap.h: Likewise.
33726 * locale/programs/ld-address.c: Likewise.
33727 * locale/programs/ld-collate.c: Likewise.
33728 * locale/programs/ld-ctype.c: Likewise.
33729 * locale/programs/ld-identification.c: Likewise.
33730 * locale/programs/ld-measurement.c: Likewise.
33731 * locale/programs/ld-messages.c: Likewise.
33732 * locale/programs/ld-monetary.c: Likewise.
33733 * locale/programs/ld-name.c: Likewise.
33734 * locale/programs/ld-numeric.c: Likewise.
33735 * locale/programs/ld-paper.c: Likewise.
33736 * locale/programs/ld-telephone.c: Likewise.
33737 * locale/programs/ld-time.c: Likewise.
33738 * locale/programs/linereader.c: Likewise.
33739 * locale/programs/locale.c: Likewise.
33740 * locale/programs/locarchive.c: Likewise.
33741 * locale/programs/locfile.h: Likewise.
33742 * locale/programs/repertoire.c: Likewise.
33743 * locale/programs/simple-hash.c: Likewise.
33744 * locale/programs/simple-hash.h: Likewise.
33745 * malloc/memusage.c: Likewise.
33746 * malloc/memusagestat.c: Likewise.
33747 * nis/nis_defaults.c: Likewise.
33748 * nis/nis_hash.c: Likewise.
33749 * nis/nis_print.c: Likewise.
33750 * nis/nis_xdr.c: Likewise.
33751 * nscd/connections.c: Likewise.
33752 * nscd/hstcache.c: Likewise.
33753 * nscd/nscd_gethst_r.c: Likewise.
33754 * nscd/nscd_getserv_r.c: Likewise.
33755 * nscd/nscd_helper.c: Likewise.
33756 * nscd/servicescache.c: Likewise.
33757 * nss/makedb.c: Likewise.
33758 * nss/nss_db/db-XXX.c: Likewise.
33759 * nss/nss_db/db-initgroups.c: Likewise.
33760 * nss/nss_db/db-netgrp.c: Likewise.
33761 * nss/nss_files/files-network.c: Likewise.
33762 * nss/nss_files/files-parse.c: Likewise.
33763 * posix/bug-regex5.c: Likewise.
33764 * posix/fnmatch_loop.c: Likewise.
33765 * posix/regcomp.c: Likewise.
33766 * posix/regexec.c: Likewise.
33767 * posix/tst-rfc3484-2.c: Likewise.
33768 * posix/tst-rfc3484-3.c: Likewise.
33769 * posix/tst-rfc3484.c: Likewise.
33770 * resolv/nss_dns/dns-canon.c: Likewise.
33771 * resolv/nss_dns/dns-network.c: Likewise.
33772 * resolv/res_init.c: Likewise.
33773 * resolv/res_mkquery.c: Likewise.
33774 * resolv/tst-aton.c: Likewise.
33775 * stdlib/cxa_atexit.c: Likewise.
33776 * stdlib/cxa_finalize.c: Likewise.
33777 * stdlib/gen-fpioconst.c: Likewise.
33778 * stdlib/strtol_l.c: Likewise.
33779 * string/tst-endian.c: Likewise.
33780 * sunrpc/auth_des.c: Likewise.
33781 * sunrpc/clnt_udp.c: Likewise.
33782 * sunrpc/rtime.c: Likewise.
33783 * sunrpc/svcauth_des.c: Likewise.
33784 * sunrpc/xdr.c: Likewise.
33785 * sunrpc/xdr_intXX_t.c: Likewise.
33786 * sunrpc/xdr_rec.c: Likewise.
33787 * sysdeps/generic/ldconfig.h: Likewise.
33788 * sysdeps/generic/ldsodefs.h: Likewise.
33789 * sysdeps/generic/memusage.h: Likewise.
33790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33800 * sysdeps/posix/getaddrinfo.c: Likewise.
33801 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33803 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33804 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33805 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33806 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33807 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33808 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33809 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33810 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33811 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33812 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33813 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33814 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33815 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33816 * sysdeps/x86_64/dl-tls.h: Likewise.
33817 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33818 * time/alt_digit.c: Likewise.
33819 * time/era.c: Likewise.
33820 * wcsmbs/tst-c16c32-1.c: Likewise.
33822 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33824 * math/libm-test.inc (struct test_sincos_data): New type.
33825 (RUN_TEST_LOOP_sincos): New macro.
33826 (sincos_test_data): New variable.
33827 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33829 2013-05-16 Richard Henderson <rth@redhat.com>
33831 * math/atest-exp2.c (LIMB64): New macro.
33832 (CONSTSZ): New macro.
33833 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33835 (print_mpn_fp): ... to function scope.
33836 (read_mpn_hex): Remove.
33837 (get_log2): Remove.
33838 (exp2_mpn): Use mp_log2.
33839 (main): Use mp_exp1.
33841 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33843 * math/libm-test.inc: Remove comment about not testing "inexact"
33845 (INEXACT_EXCEPTION): New macro.
33846 (NO_INEXACT_EXCEPTION): Likewise.
33847 (INVALID_EXCEPTION_OK): Update value.
33848 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33849 (OVERFLOW_EXCEPTION_OK): Likewise.
33850 (UNDERFLOW_EXCEPTION_OK): Likewise.
33851 (IGNORE_ZERO_INF_SIGN): Likewise.
33852 (ERRNO_UNCHANGED): Likewise.
33853 (ERRNO_EDOM): Likewise.
33854 (ERRNO_ERANGE): Likewise.
33855 (test_exceptions): Handle testing "inexact" exceptions.
33856 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33857 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33858 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33859 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33861 (rint_towardzero_test_data): Likewise.
33862 (rint_downward_test_data): Likewise.
33863 (rint_upward_test_data): Likewise.
33865 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33866 with OVERFLOW_EXCEPTION.
33867 (exp10_test_data): Likewise.
33868 (exp2_test_data): Likewise.
33869 (expm1_test_data): Likewise.
33870 (lgamma_test_data): Likewise.
33871 (pow_test_data): Likewise.
33872 (tgamma_test_data): Likewise.
33873 (yn_test_data): Remove duplicate test of overflow.
33875 * math/libm-test.inc (struct test_cc_c_data): New type.
33876 (RUN_TEST_LOOP_cc_c): New macro.
33877 (cpow_test_data): New variable.
33878 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33880 * math/libm-test.inc (struct test_f_L_data): New type.
33881 (RUN_TEST_LOOP_f_L): New macro.
33882 (llrint_test_data): New variable.
33883 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33884 (llrint_tonearest_test_data): New variable.
33885 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33886 (llrint_towardzero_test_data): New variable.
33887 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33888 (llrint_downward_test_data): New variable.
33889 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33890 (llrint_upward_test_data): New variable.
33891 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33892 (llround_test_data): New variable.
33893 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33895 2013-05-13 Peter Collingbourne <pcc@google.com>
33897 * math/atest-exp2.c (get_log2): Remove const attribute.
33899 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33901 * math/libm-test.inc (struct test_f_l_data): New type.
33902 (RUN_TEST_LOOP_f_l): New macro.
33903 (lrint_test_data): New variable.
33904 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33905 (lrint_tonearest_test_data): New variable.
33906 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33907 (lrint_towardzero_test_data): New variable.
33908 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33909 (lrint_downward_test_data): New variable.
33910 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33911 (lrint_upward_test_data): New variable.
33912 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33913 (lround_test_data): New variable.
33914 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33916 2013-05-15 Peter Collingbourne <pcc@google.com>
33918 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33919 (EXTRACT_WORDS64) Use where appropriate.
33920 (INSERT_WORDS64) Likewise.
33922 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33923 constraints with x constraints.
33924 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33926 * malloc/obstack.c (_obstack_compat): Add initializer.
33928 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33931 si_trapno and add si_addr_lsb to _sifields.sigfault.
33932 (si_trapno): Remove macro.
33933 (si_addr_lsb): Define new macro.
33934 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33936 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33938 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33939 instead of TEST_f_l.
33940 (llrint_test_tonearest): Likewise.
33941 (llrint_test_towardzero): Likewise.
33942 (llrint_test_downward): Likewise.
33943 (llrint_test_upward): Likewise.
33944 (llround_test): Likewise.
33946 * math/libm-test.inc (struct test_f_i_data): Add comment.
33947 (RUN_TEST_LOOP_f_b): New macro.
33948 (RUN_TEST_LOOP_f_b_tg): Likewise.
33949 (finite_test_data): New variable.
33950 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33951 (isfinite_test_data): New variable.
33952 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33953 (isinf_test_data): New variable.
33954 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33955 (isnan_test_data): New variable.
33956 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33957 (isnormal_test_data): New variable.
33958 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33959 (issignaling_test_data): New variable.
33960 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33961 (signbit_test_data): New variable.
33962 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33964 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33965 with INVALID_EXCEPTION.
33966 (acosh_test_data): Likewise.
33967 (asin_test_data): Likewise.
33968 (atanh_test_data): Likewise.
33969 (fmod_test_data): Likewise.
33970 (log_test_data): Likewise.
33971 (log10_test_data): Likewise.
33972 (log2_test_data): Likewise.
33973 (pow_test_data): Likewise.
33974 (sqrt_test_data): Likewise.
33975 (y0_test_data): Likewise.
33976 (y1_test_data): Likewise.
33977 (yn_test_data): Likewise.
33979 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33982 * math/libm-test.inc (struct test_ff_i_data): New type.
33983 (RUN_TEST_LOOP_ff_i_tg): New macro.
33984 (isgreater_test_data): New variable.
33985 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33986 (isgreaterequal_test_data): New variable.
33987 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33988 (isless_test_data): New variable.
33989 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33990 (islessequal_test_data): New variable.
33991 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33992 (islessgreater_test_data): New variable.
33993 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33994 (isunordered_test_data): New variable.
33995 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33997 2013-05-14 David S. Miller <davem@davemloft.net>
33999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34001 2013-05-14 Joseph Myers <joseph@codesourcery.com>
34003 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34005 * math/libm-test.inc (struct test_fF_f1_data): Change type of
34007 (struct test_f_i_data): Change type of max_ulp to int.
34009 * math/libm-test.inc (test_ffI_f1_data): New type.
34010 (RUN_TEST_LOOP_ffI_f1): New macro.
34011 (remquo_test_data): New variable.
34012 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34014 * setjmp/tst-setjmp-fp.c: New file.
34015 * setjmp/Makefile (tests): Add tst-setjmp-fp.
34016 (link-libm): New variable.
34017 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34019 * math/libm-test.inc (struct test_f_i_data): New type.
34020 (RUN_TEST_LOOP_f_i): New macro.
34021 (RUN_TEST_LOOP_f_i_tg): Likewise.
34022 (fpclassify_test_data): New variable.
34023 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34024 (ilogb_test_data): New variable.
34025 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34027 * math/libm-test.inc (scalbln_test): Correct function name in END
34030 * math/libm-test.inc (struct test_f_f1_data): Add comment.
34031 (RUN_TEST_LOOP_fI_f1): New macro.
34032 (frexp_test_data): New variable.
34033 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34035 * math/libm-test.inc (struct test_fF_f1_data): New type.
34036 (RUN_TEST_LOOP_fF_f1): New macro.
34037 (modf_test_data): New variable.
34038 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34040 * math/libm-test.inc (struct test_f_f1_data): New type.
34041 (RUN_TEST_LOOP_f_f1): New macro.
34042 (gamma_test_data): New variable.
34043 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34044 (lgamma_test_data): New variable.
34045 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34047 2013-05-13 Carlos O'Donell <carlos@redhat.com>
34049 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34050 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34051 (main): Comment "tls" pseudo-hwcap.
34053 2013-05-13 Joseph Myers <joseph@codesourcery.com>
34055 * math/libm-test.inc (struct test_fl_f_data): New type.
34056 (RUN_TEST_LOOP_fl_f): New variable.
34057 (scalbln_test_data): New variable.
34058 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34060 * math/libm-test.inc (struct test_fi_f_data): New type.
34061 (RUN_TEST_LOOP_fi_f): New macro.
34062 (ldexp_test_data): New variable.
34063 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34064 (scalbn_test_data): New variable.
34065 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34067 * math/libm-test.inc (struct test_c_f_data): New type.
34068 (RUN_TEST_LOOP_c_f): New macro.
34069 (cabs_test_data): New variable.
34070 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34071 (carg_test_data): New variable.
34072 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34073 (cimag_test_data): New variable.
34074 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34075 (creal_test_data): New variable.
34076 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34078 * math/libm-test.inc (struct test_if_f_data): New type.
34079 (RUN_TEST_LOOP_if_f): New macro.
34080 (jn_test_data): New variable.
34081 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34082 (yn_test_data): New variable.
34083 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34085 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34087 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34089 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34090 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34092 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34094 * benchtests/Makefile (CPPFLAGS-nonlib): Add
34095 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34096 (bench-deps): Add bench-timing.h.
34097 * benchtests-bench-skeleton.c: Include bench-timing.h.
34098 (main): Use TIMING_* macros instead of clock_gettime.
34099 * benchtests/bench-timing.h: New file.
34102 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34103 Renamed from _LIB_VERSION.
34104 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34106 2013-05-12 Joseph Myers <joseph@codesourcery.com>
34108 * math/libm-test.inc (struct test_fff_f_data): New type.
34109 (RUN_TEST_LOOP_fff_f): New macro.
34110 (fma_test_data): New variable.
34111 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34112 (fma_towardzero_test_data): New variable.
34113 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34114 (fma_downward_test_data): New variable.
34115 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34116 (fma_upward_test_data): New variable.
34117 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34119 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34120 (struct test_c_c_data): New type.
34121 (RUN_TEST_LOOP_c_c): New macro.
34122 (cacos_test_data): New variable.
34123 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34124 (cacosh_test_data): New variable.
34125 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34126 (casin_test_data): New variable.
34127 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34128 (casinh_test_data): New variable.
34129 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34130 (catan_test_data): New variable.
34131 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34132 (catanh_test_data): New variable.
34133 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34134 (ccos_test_data): New variable.
34135 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34136 (ccosh_test_data): New variable.
34137 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34138 (cexp_test_data): New variable.
34139 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34140 (clog_test_data): New variable.
34141 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34142 (clog10_test_data): New variable.
34143 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34144 (conj_test_data): New variable.
34145 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34146 (cproj_test_data): New variable.
34147 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34148 (csin_test_data): New variable.
34149 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34150 (csinh_test_data): New variable.
34151 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34152 (csqrt_test_data): New variable.
34153 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34154 (ctan_test_data): New variable.
34155 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34156 (ctan_tonearest_test_data): New variable.
34157 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34158 (ctan_towardzero_test_data): New variable.
34159 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34160 (ctan_downward_test_data): New variable.
34161 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34162 (ctan_upward_test_data): New variable.
34163 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34164 (ctanh_test_data): New variable.
34165 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34166 (ctanh_tonearest_test_data): New variable.
34167 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34168 (ctanh_towardzero_test_data): New variable.
34169 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34170 (ctanh_downward_test_data): New variable.
34171 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34172 (ctanh_upward_test_data): New variable.
34173 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34174 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34177 * math/libm-test.inc (struct test_ff_f_data): New type.
34178 (struct test_ff_f_data_nexttoward): Likewise.
34179 (RUN_TEST_LOOP_2_f): New macro.
34180 (RUN_TEST_LOOP_ff_f): Likewise.
34181 (atan2_test_data): New variable.
34182 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34183 (copysign_test_data): New variable.
34184 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34185 (fdim_test_data): New variable.
34186 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34187 (fmax_test_data): New variable.
34188 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34189 (fmin_test_data): New variable.
34190 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34191 (fmod_test_data): New variable.
34192 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34193 (hypot_test_data): New variable.
34194 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34195 (nextafter_test_data): New variable.
34196 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34197 (nexttoward_test_data): New variable.
34198 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34199 (pow_test_data): New variable.
34200 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34201 (pow_tonearest_test_data): New variable.
34202 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34203 (pow_towardzero_test_data): New variable.
34204 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34205 (pow_downward_test_data): New variable.
34206 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34207 (pow_upward_test_data): New variable.
34208 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34209 (remainder_test_data): New variable.
34210 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34211 (scalb_test_data): New variable.
34212 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34213 * sysdeps/i386/fpu/libm-test-ulps: Update.
34215 2013-05-11 Joseph Myers <joseph@codesourcery.com>
34217 * math/libm-test.inc (fma_test): Use max_value instead of local
34219 (nextafter_test): Likewise.
34221 * math/libm-test.inc (acos_towardzero_test_data): New variable.
34222 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34223 (acos_downward_test_data): New variable.
34224 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34225 (acos_upward_test_data): New variable.
34226 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34227 (acosh_test_data): New variable.
34228 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34229 (asin_test_data): New variable.
34230 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34231 (asin_tonearest_test_data): New variable.
34232 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34233 (asin_towardzero_test_data): New variable.
34234 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34235 (asin_downward_test_data): New variable.
34236 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34237 (asin_upward_test_data): New variable.
34238 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34239 (asinh_test_data): New variable.
34240 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34241 (atan_test_data): New variable.
34242 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34243 (atanh_test_data): New variable.
34244 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34245 (cbrt_test_data): New variable.
34246 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34247 (ceil_test_data): New variable.
34248 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34249 (cos_test_data): New variable.
34250 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34251 (cos_tonearest_test_data): New variable.
34252 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34253 (cos_towardzero_test_data): New variable.
34254 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34255 (cos_downward_test_data): New variable.
34256 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34257 (cos_upward_test_data): New variable.
34258 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34259 (cosh_test_data): New variable.
34260 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34261 (cosh_tonearest_test_data): New variable.
34262 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34263 (cosh_towardzero_test_data): New variable.
34264 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34265 (cosh_downward_test_data): New variable.
34266 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34267 (cosh_upward_test_data): New variable.
34268 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34269 (erf_test_data): New variable.
34270 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34271 (erfc_test_data): New variable.
34272 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34273 (exp_test_data): New variable.
34274 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34275 (exp_tonearest_test_data): New variable.
34276 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34277 (exp_towardzero_test_data): New variable.
34278 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34279 (exp_downward_test_data): New variable.
34280 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34281 (exp_upward_test_data): New variable.
34282 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34283 (exp10_test_data): New variable.
34284 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34285 (exp2_test_data): New variable.
34286 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34287 (expm1_test_data): New variable.
34288 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34289 (fabs_test_data): New variable.
34290 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34291 (floor_test_data): New variable.
34292 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34293 (j0_test_data): New variable.
34294 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34295 (j1_test_data): New variable.
34296 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34297 (log_test_data): New variable.
34298 (log_test): Run tests with RUN_TEST_LOOP_f_f.
34299 (log10_test_data): New variable.
34300 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34301 (log1p_test_data): New variable.
34302 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34303 (log2_test_data): New variable.
34304 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34305 (logb_test_data): New variable.
34306 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34307 (logb_downward_test_data): New variable.
34308 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34309 (nearbyint_test_data): New variable.
34310 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34311 (rint_test_data): New variable.
34312 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34313 (rint_tonearest_test_data): New variable.
34314 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34315 (rint_towardzero_test_data): New variable.
34316 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34317 (rint_downward_test_data): New variable.
34318 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34319 (rint_upward_test_data): New variable.
34320 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34321 (round_test_data): New variable.
34322 (round_test): Run tests with RUN_TEST_LOOP_f_f.
34323 (sin_test_data): New variable.
34324 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34325 (sin_tonearest_test_data): New variable.
34326 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34327 (sin_towardzero_test_data): New variable.
34328 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34329 (sin_downward_test_data): New variable.
34330 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34331 (sin_upward_test_data): New variable.
34332 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34333 (sinh_test_data): New variable.
34334 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34335 (sinh_tonearest_test_data): New variable.
34336 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34337 (sinh_towardzero_test_data): New variable.
34338 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34339 (sinh_downward_test_data): New variable.
34340 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34341 (sinh_upward_test_data): New variable.
34342 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34343 (sqrt_test_data): New variable.
34344 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34345 (tan_test_data): New variable.
34346 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34347 (tan_tonearest_test_data): New variable.
34348 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34349 (tan_towardzero_test_data): New variable.
34350 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34351 (tan_downward_test_data): New variable.
34352 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34353 (tan_upward_test_data): New variable.
34354 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34355 (tanh_test_data): New variable.
34356 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34357 (tgamma_test_data): New variable.
34358 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34359 (trunc_test_data): New variable.
34360 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34361 (y0_test_data): New variable.
34362 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34363 (y1_test_data): New variable.
34364 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34365 (significand_test_data): New variable.
34366 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34368 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
34371 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34373 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
34375 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34377 2013-05-10 Andreas Jaeger <aj@suse.de>
34380 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34381 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34383 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34385 * math/gen-libm-test.pl (adjust_arg): New function.
34386 (special_functions): Handle generating output in both functions
34388 (parse_args): Likewise.
34389 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
34390 $in_func argument to parse_args.
34391 * math/libm-test.inc (struct test_f_f_data): New type.
34392 (IF_ROUND_INIT_): New macro.
34393 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34394 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34395 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34396 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34397 (ROUND_RESTORE_): Likewise.
34398 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34399 (ROUND_RESTORE_FE_TONEAREST): Likewise.
34400 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34401 (ROUND_RESTORE_FE_UPWARD): Likewise.
34402 (RUN_TEST_LOOP_f_f): New macro.
34403 (acos_test_data): New variable.
34404 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34405 (acos_tonearest_test_data): New variable.
34406 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34408 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34410 * benchtests/bench-skeleton.c (startup): Fix coding style.
34412 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34415 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34416 negative infinity argument.
34417 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34418 negative infinity argument.
34419 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34420 negative infinity argument.
34421 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34424 2013-05-10 Florian Weimer <fweimer@redhat.com>
34426 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34427 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34428 * iconv/iconv_prog.c (main): Likewise.
34429 * locale/programs/charmap-dir.c (charmap_readdir)
34430 (fopen_uncompressed): Likewise.
34431 * locale/programs/locfile.c (siblings_uncached)
34432 (write_locale_data): Use lstat64 instead of lstat.
34433 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34436 2013-05-10 Andreas Jaeger <aj@suse.de>
34439 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34441 Include <locale.h>.
34443 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34445 * elf/dl-close.c (_dl_close_worker): Add comments.
34447 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34450 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34452 (__ieee754_rem_pio2l): Update comments.
34455 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34457 (__ieee754_rem_pio2l): Update comments.
34459 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34460 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34462 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34465 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34466 (M_PI_34_LOG10El): Likewise.
34467 (M_PI2_LOG10El): Likewise.
34468 (M_PI4_LOG10El): Likewise.
34469 (M_PI_LOG10El): Likewise.
34471 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34475 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34477 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34478 (MINUS_ZERO_INIT): Likewise.
34479 (PLUS_INFTY_INIT): Likewise.
34480 (MINUS_INFTY_INIT): Likewise.
34481 (QNAN_VALUE_INIT): Likewise.
34482 (MAX_VALUE_INIT): Likewise.
34483 (MIN_VALUE_INIT): Likewise.
34484 (MIN_SUBNORM_VALUE_INIT): Likewise.
34485 (plus_zero): Initialize with PLUS_ZERO_INIT.
34486 (minus_zero): Initialize with MINUS_ZERO_INIT.
34487 (plus_infty): Initialize with PLUS_INFTY_INIT.
34488 (minus_infty): Initialize with MINUS_INFTY_INIT.
34489 (qnan_value): Initialize with QNAN_VALUE_INIT.
34490 (max_value): Initialize with MAX_VALUE_INIT.
34491 (min_value): Initialize with MIN_VALUE_INIT.
34492 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34494 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34495 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34496 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34497 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34499 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34500 (RUN_TEST_2_f): Likewise.
34501 (RUN_TEST_ff_f): Likewise.
34502 (RUN_TEST_fi_f): Likewise.
34503 (RUN_TEST_fl_f): Likewise.
34504 (RUN_TEST_fff_f): Likewise.
34505 (RUN_TEST_c_f): Likewise.
34506 (RUN_TEST_f_f1): Likewise.
34507 (RUN_TEST_fF_f1): Likewise.
34508 (RUN_TEST_fI_f1): Likewise.
34509 (RUN_TEST_ffI_f1): Likewise.
34510 (RUN_TEST_c_c): Likewise.
34511 (RUN_TEST_cc_c): Likewise.
34512 (RUN_TEST_f_i): Likewise.
34513 (RUN_TEST_f_i_tg): Likewise.
34514 (RUN_TEST_ff_i_tg): Likewise.
34515 (RUN_TEST_f_b): Likewise.
34516 (RUN_TEST_f_b_tg): Likewise.
34517 (RUN_TEST_f_l): Likewise.
34518 (RUN_TEST_f_L): Likewise.
34519 (RUN_TEST_sincos): Likewise.
34520 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34521 whether to show exceptions. Do not include ");\n" in return
34523 (special_functions): Output call to RUN_TEST_sincos instead of
34524 check_float calls. Update calls to new_test.
34525 (parse_args): Output call to single RUN_TEST_* macro instead of
34526 check_* calls and other assignments. Update calls to new_test.
34532 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34533 input to result for tgamma overflow.
34534 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34535 (gamma_coeff): New variable.
34536 (NCOEFF): New macro.
34537 (gamma_positive): New function.
34538 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34539 underflow here. Use gamma_positive instead of exp (lgamma) for
34541 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34542 (gamma_coeff): New variable.
34543 (NCOEFF): New macro.
34544 (gammaf_positive): New function.
34545 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34546 underflow here. Use gamma_positive instead of exp (lgamma) for
34548 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34549 (gamma_coeff): New variable.
34550 (NCOEFF): New macro.
34551 (gammal_positive): New function.
34552 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34553 underflow here. Use gamma_positive instead of exp (lgamma) for
34555 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34556 (gamma_coeff): New variable.
34557 (NCOEFF): New macro.
34558 (gammal_positive): New function.
34559 (__ieee754_gammal_r): Handle positive infinity, overflow and
34560 underflow here. Handle NaN the same as positive infinity. Remove
34561 check x < 0xffffffff for negative integers. Use gamma_positive
34562 instead of exp (lgamma) for other arguments.
34563 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34564 (gamma_coeff): New variable.
34565 (NCOEFF): New macro.
34566 (gammal_positive): New function.
34567 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34568 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34572 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34573 * sysdeps/generic/math_private.h (__gamma_productf): New
34575 (__gamma_product): Likewise.
34576 (__gamma_productl): Likewise.
34577 * math/Makefile (libm-calls): Add gamma_product.
34578 * math/libm-test.inc (tgamma_test): Add more tests.
34579 * sysdeps/i386/fpu/libm-test-ulps: Update.
34580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34582 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34584 * benchtests/bench-skeleton.c (main): Preheat CPU.
34586 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34588 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34590 2013-05-07 Roland McGrath <roland@hack.frob.com>
34592 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34593 and _dl_skip_args_internal.
34595 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34597 * manual/message.texi (Message Translation): Talk about users.
34598 Message to key mapping impacts design.
34600 2013-05-06 Roland McGrath <roland@hack.frob.com>
34602 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34604 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34606 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34607 * sysdeps/wordsize-64/glob64.c: ... here.
34609 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34610 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34613 * debug/getlogin_r_chk.c: Moved to ...
34614 * login/getlogin_r_chk.c: ... here.
34615 * debug/Makefile (routines): Move getlogin_r_chk to ...
34616 * login/Makefile (routines): ... here.
34617 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34618 * login/Versions (libc: GLIBC_2.4): ... here.
34620 * io/poll.c (__poll): Renamed from poll.
34621 Add libc_hidden_def.
34622 (poll): Define as weak alias.
34624 * debug/ptsname_r_chk.c: Moved to ...
34625 * login/ptsname_r_chk.c: ... here.
34626 * debug/Makefile (routines): Move ptsname_r_chk to ...
34627 * login/Makefile (routines): ... here.
34628 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34629 * login/Versions (libc: GLIBC_2.4): ... here.
34631 * posix/getlogin.c: Moved to ...
34632 * login/getlogin.c: ... here.
34633 * posix/getlogin_r.c: Moved to ...
34634 * login/getlogin_r.c: ... here.
34635 * posix/getlogin_r.c: Moved to ...
34636 * login/getlogin_r.c: ... here.
34637 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34638 * login/Makefile (routines): ... here.
34639 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34640 * login/Versions (libc: GLIBC_2.0): ... here.
34642 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34643 (setrlimit): Define as weak alias.
34645 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34646 Call __ names for open, ftruncate, and close.
34647 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34648 (truncate): Define as weak alias.
34650 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34652 * math/gen-libm-test.pl (parse_args): Initialize x before each
34653 test of frexp, modf and remquo.
34655 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34656 test signgam value.
34658 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34662 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34664 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34666 2013-05-06 Roland McGrath <roland@hack.frob.com>
34668 * elf/dl-writev.h: New file.
34669 * elf/dl-misc.c: Include it.
34670 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34671 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34673 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34675 * math/libm-test.inc (noXFails): Remove variable.
34676 (noXPasses): Likewise.
34677 (BUILD_COMPLEX_INT): Remove macro.
34678 (print_screen): Remove xfail argument.
34679 (print_screen_max_error): Likewise.
34680 (update_stats): Likewise.
34681 (print_max_error): Likewise. Update calls to other affected
34683 (print_complex_max_error): Likewise.
34684 (test_single_exception): Update calls to print_screen.
34685 (test_single_errno): Likewise.
34686 (check_float_internal): Remove xfail argument. Update calls to
34687 other affected functions.
34688 (check_float): Likewise.
34689 (check_complex): Likewise.
34690 (check_int): Likewise.
34691 (check_long): Likewise.
34692 (check_bool): Likewise.
34693 (check_longlong): Likewise.
34694 (main): Don't print noXFails and noXPasses.
34695 * math/gen-libm-test.pl (top level): Don't mention expected
34696 failure handling in comment.
34697 (new_test): Don't handle expected failures.
34698 (parse_args): Don't mention expected failure handling in comment.
34699 (generate_testfile): Don't handle expected failures.
34700 (parse_ulps): Likewise.
34701 (print_ulps_file): Likewise.
34702 (get_failure): Remove function.
34703 (output_test): Don't handle expected failures.
34704 * make/README.libm-test: Don't mention expected failure handling.
34706 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34707 (minus_zero): Likewise.
34708 (plus_infty): Likewise.
34709 (minus_infty): Likewise.
34710 (qnan_value): Likewise.
34711 (max_value): Likewise.
34712 (min_value): Likewise.
34713 (min_subnorm_value): Likewise.
34714 (initialize): Do not initialize those variables dynamically.
34716 2013-05-03 Roland McGrath <roland@hack.frob.com>
34718 * io/open.c (__open_2): Moved to ...
34719 * io/open_2.c: ... this new file.
34720 * io/open64.c (__open64_2): Moved to ...
34721 * io/open64_2.c: ... this new file.
34722 * io/openat.c (__openat_2): Moved to ...
34723 * io/openat_2.c: ... this new file.
34724 * io/openat64.c (__openat64_2): Moved to ...
34725 * io/openat64_2.c: ... this new file.
34726 * io/Makefile (routines): Add them.
34727 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34728 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34729 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34730 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34731 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34732 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34733 (__openat64): Add hidden_ver.
34734 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34735 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34737 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34738 Separately conditionalize setting of GLRO(dl_sysinfo) so
34739 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34740 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34742 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34744 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34747 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34748 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34749 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34750 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34751 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34753 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34755 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34756 test signgam value.
34758 * math/libm-test.inc (hypot_test): Do not use
34759 IGNORE_ZERO_INF_SIGN.
34761 2013-05-03 Andreas Jaeger <aj@suse.de>
34763 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34765 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34766 (PF_MAX): Adjust for VSOCK change.
34768 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34772 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34775 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34776 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34777 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34779 2013-05-02 David S. Miller <davem@davemloft.net>
34781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34783 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34785 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34787 2013-05-01 Roland McGrath <roland@hack.frob.com>
34789 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34791 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34794 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34795 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34796 Use __attribute__ ((__gnu_inline__)).
34797 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34798 Don't use __attribute__ ((__gnu_inline__)).
34800 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34803 * math/s_catan.c (__catan): Handle small real or imaginary part of
34804 input specially to avoid spurious underflow.
34805 * math/s_catanf.c (__catanf): Likewise.
34806 * math/s_catanh.c (__catanh): Likewise.
34807 * math/s_catanhf.c (__catanhf): Likewise.
34808 * math/s_catanhl.c (__catanhl): Likewise.
34809 * math/s_catanl.c (__catanl): Likewise.
34810 * math/libm-test.inc (catan_test): Add more tests.
34811 (catanh_test): Likewise.
34812 * sysdeps/i386/fpu/libm-test-ulps: Update.
34813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34815 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34819 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34822 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34823 accurately for denominator in atan2.
34824 * math/s_catanf.c (__catanf): Likewise.
34825 * math/s_catanh.c (__catanh): Likewise.
34826 * math/s_catanhf.c (__catanhf): Likewise.
34827 * math/s_catanhl.c (__catanhl): Likewise.
34828 * math/s_catanl.c (__catanl): Likewise.
34829 * math/libm-test.inc (catan_test): Add more tests.
34830 (catanh_test): Likewise.
34831 * sysdeps/i386/fpu/libm-test-ulps: Update.
34832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34836 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34838 * benchtests/Makefile (bench): Remove slow benchmarks.
34839 * benchtests/atan-inputs: Add slow benchmark inputs.
34840 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34841 (BENCH_FUNC): Accept variant offset.
34843 * benchtests/bench-skeleton.c (main): Run benchmark for each
34845 * benchtests/cos-inputs: Add slow benchmark inputs.
34846 * benchtests/exp-inputs: Likewise.
34847 * benchtests/pow-inputs: Likewise.
34848 * benchtests/sin-inputs: Likewise.
34849 * benchtests/slowatan-inputs: Remove.
34850 * benchtests/slowatan.c: Remove.
34851 * benchtests/slowcos-inputs: Remove.
34852 * benchtests/slowcos.c: Remove.
34853 * benchtests/slowexp-inputs: Remove.
34854 * benchtests/slowexp.c: Remove.
34855 * benchtests/slowpow-inputs: Remove.
34856 * benchtests/slowpow.c: Remove.
34857 * benchtests/slowsin-inputs: Remove.
34858 * benchtests/slowsin.c: Remove.
34859 * benchtests/slowtan-inputs: Remove.
34860 * benchtests/slowtan.c: Remove.
34861 * benchtests/tan-inputs: Add slow benchmark inputs.
34862 * scripts/bench.pl: Parse comments and directives.
34864 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34866 ($(objpfx)bench-%.c): Remove *-ITER.
34867 * benchtests/bench-modf.c: Remove definition of ITER.
34868 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34869 (main): Loop for DURATION seconds instead of fixed number of
34871 * scripts/bench.pl: Don't expect iterations in parameters.
34873 2013-04-29 Roland McGrath <roland@hack.frob.com>
34875 * io/fchdir.c (__fchdir): Renamed from fchdir.
34876 (fchdir): Define as weak alias.
34878 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34880 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34881 (ERRNO_EDOM): Likewise.
34882 (ERRNO_ERANGE): Likewise.
34883 (noErrnoTests): New variable.
34884 (init_max_error): Set errno to 0.
34885 (test_single_errno): New function.
34886 (test_errno): Likewise.
34887 (check_float_internal): Call test_errno. Set errno to 0.
34888 (check_complex): Refer to errno tests in comment.
34889 (check_int): Call test_errno. Set errno to 0.
34890 (check_long): Likewise.
34891 (check_bool): Likewise.
34892 (check_longlong): Likewise.
34893 (cos_test): Use ERRNO_* flags for errno tests instead of
34895 (expm1_test): Likewise.
34896 (fmod_test): Likewise.
34897 (ilogb_test): Likewise.
34898 (lgamma_test): Likewise.
34899 (pow_test): Likewise.
34900 (remainder_test): Likewise.
34901 (sin_test): Likewise.
34902 (tan_test): Likewise.
34903 (yn_test): Likewise.
34904 (initialize): Set errno to 0.
34905 (main): Print number of errno tests.
34906 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34908 2013-04-29 Andreas Jaeger <aj@suse.de>
34911 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34915 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34916 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34920 * stdlib/random.c (__initstate): Return NULL if
34924 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34925 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34928 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34932 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34934 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34935 of individual tests.
34936 (casin_test): Likewise.
34937 (casinh_test): Likewise.
34939 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34942 * math/s_catan.c (__catan): Handle arguments with large real or
34943 imaginary part separately without squaring.
34944 * math/s_catanf.c (__catanf): Likewise.
34945 * math/s_catanh.c (__catanh): Likewise.
34946 * math/s_catanhf.c (__catanhf): Likewise.
34947 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34949 (__catanhl): Handle arguments with large real or imaginary part
34950 separately without squaring.
34951 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34953 (__catanl): Handle arguments with large real or imaginary part
34954 separately without squaring.
34955 * math/libm-test.inc (catan_test): Add more tests.
34956 (catanh_test): Likewise.
34957 * sysdeps/i386/fpu/libm-test-ulps: Update.
34958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34960 2013-04-27 Andreas Jaeger <aj@suse.de>
34963 * stdlib/stdlib.h: Update guards for qecvt.
34964 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34967 2013-04-27 Allan McRae <allan@archlinux.org>
34969 * sysdeps/i386/fpu/libm-test-ulps: Update.
34971 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34974 * math/s_catan.c: Include <float.h>.
34975 (__catan): Ensure underflow exception occurs for underflowed
34977 * math/s_catanf.c: Include <float.h>.
34978 (__catanf): Ensure underflow exception occurs for underflowed
34980 * math/s_catanh.c: Include <float.h>.
34981 (__catanh): Ensure underflow exception occurs for underflowed
34983 * math/s_catanhf.c: Include <float.h>.
34984 (__catanhf): Ensure underflow exception occurs for underflowed
34986 * math/s_catanhl.c: Include <float.h>.
34987 (__catanhl): Ensure underflow exception occurs for underflowed
34989 * math/s_catanl.c: Include <float.h>.
34990 (__catanl): Ensure underflow exception occurs for underflowed
34992 * math/libm-test.inc (catan_test): Add more tests.
34993 (catanh_test): Likewise.
34996 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34997 underflowed result.
34998 * math/s_ccoshf.c (__ccoshf): Likewise.
34999 * math/s_ccoshl.c (__ccoshl): Likewise.
35000 * math/s_csin.c (__csin): Likewise.
35001 * math/s_csinf.c (__csinf): Likewise.
35002 * math/s_csinh.c (__csinh): Likewise.
35003 * math/s_csinhf.c (__csinhf): Likewise.
35004 * math/s_csinhl.c (__csinhl): Likewise.
35005 * math/s_csinl.c (__csinl): Likewise.
35006 * math/libm-test.inc (ccos_test): Add more tests.
35007 (ccosh_test): Likewise.
35008 (csin_test): Likewise.
35009 (csinh_test): Likewise.
35011 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35013 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35014 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35015 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35016 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35017 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35018 powerpc/power5+/fpu folders.
35019 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35022 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35026 2013-04-25 Joseph Myers <joseph@codesourcery.com>
35028 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35029 additions to variable.
35030 [$(config-machine) = x86_64] (modules-names): Likewise.
35031 ($(objpfx)tst-audit3): Remove dependency.
35032 ($(objpfx)tst-audit3.out): Likewise.
35033 ($(objpfx)tst-audit4): Likewise.
35034 ($(objpfx)tst-audit4.out): Likewise.
35035 ($(objpfx)tst-audit5): Likewise.
35036 ($(objpfx)tst-audit5.out): Likewise.
35037 ($(objpfx)tst-audit6): Likewise.
35038 ($(objpfx)tst-audit6.out): Likewise.
35039 ($(objpfx)tst-audit7): Likewise.
35040 ($(objpfx)tst-audit7.out): Likewise.
35041 (tst-audit3-ENV): Remove variable.
35042 (tst-audit4-ENV): Likewise.
35043 (tst-audit5-ENV): Likewise.
35044 (tst-audit6-ENV): Likewise.
35045 (tst-audit7-ENV): Likewise.
35046 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35047 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35048 addition to variable.
35049 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35050 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35051 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35052 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35053 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35054 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35055 tst-audit3, tst-audit4 and tst-audit5.
35056 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35057 tst-audit6 and tst-audit7.
35058 [$(subdir) = elf] (modules-names): Add audit modules for those
35060 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35061 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35062 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35063 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35064 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35065 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35066 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35067 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35068 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35069 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35070 [$(subdir) = elf] (tst-audit3-ENV): New variable.
35071 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35072 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35073 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35074 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35075 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35077 [$(subdir) = elf && $(config-cflags-avx) = yes]
35078 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35079 [$(subdir) = elf && $(config-cflags-avx) = yes]
35080 (CFLAGS-tst-auditmod4a.c): Likewise.
35081 [$(subdir) = elf && $(config-cflags-avx) = yes]
35082 (CFLAGS-tst-auditmod4b.c): Likewise.
35083 [$(subdir) = elf && $(config-cflags-avx) = yes]
35084 (CFLAGS-tst-auditmod6b.c): Likewise.
35085 [$(subdir) = elf && $(config-cflags-avx) = yes]
35086 (CFLAGS-tst-auditmod6c.c): Likewise.
35087 [$(subdir) = elf && $(config-cflags-avx) = yes]
35088 (CFLAGS-tst-auditmod7b.c): Likewise.
35089 * elf/tst-audit3.c: Move to ...
35090 * sysdeps/x86_64/tst-audit3.c: ... here.
35091 * elf/tst-audit4.c: Move to ...
35092 * sysdeps/x86_64/tst-audit4.c: ... here.
35093 * elf/tst-audit5.c: Move to ...
35094 * sysdeps/x86_64/tst-audit5.c: ... here.
35095 * elf/tst-audit6.c: Move to ...
35096 * sysdeps/x86_64/tst-audit6.c: ... here.
35097 * elf/tst-audit7.c: Move to ...
35098 * sysdeps/x86_64/tst-audit7.c: ... here.
35099 * elf/tst-auditmod3a.c: Move to ...
35100 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35101 * elf/tst-auditmod3b.c: Move to ...
35102 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35103 * elf/tst-auditmod4a.c: Move to ...
35104 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35105 * elf/tst-auditmod4b.c: Move to ...
35106 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35107 * elf/tst-auditmod5a.c: Move to ...
35108 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35109 * elf/tst-auditmod5b.c: Move to ...
35110 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35111 * elf/tst-auditmod6a.c: Move to ...
35112 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35113 * elf/tst-auditmod6b.c: Move to ...
35114 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35115 * elf/tst-auditmod6c.c: Move to ...
35116 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35117 * elf/tst-auditmod7a.c: Move to ...
35118 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35119 * elf/tst-auditmod7b.c: Move to ...
35120 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35122 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
35125 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35126 define unconditionally.
35127 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35128 define unconditionally.
35129 (INT8_C, INT16_C, etc.): Likewise.
35131 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
35133 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35134 __ehdr_start with hidden visibility.
35136 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35138 2013-04-24 Carlos O'Donell <carlos@redhat.com>
35140 * math/libm-test.inc (cos_test): Use accurate hex constants.
35141 (sincost_test): Likewise.
35143 2013-04-24 Joseph Myers <joseph@codesourcery.com>
35145 * math/libm-test.inc (catan_test): Add more tests.
35146 (catanh_test): Likewise.
35148 * math/s_catanf.c (__catanf): Use suffixed floating-point
35150 * math/s_catanhf.c (__catanhf): Likewise.
35151 * math/s_catanhl.c (__catanhl): Likewise.
35152 * math/s_catanl.c (__catanl): Likewise.
35155 * math/s_catan.c (__catan): Calculate imaginary part of result
35156 with log1p not log unless computing log of number close to 0.
35157 * math/s_catanf.c (__catanf): Likewise.
35158 * math/s_catanl.c (__catanl): Likewise.
35159 * math/s_catanh.c (__catanh): Calculate real part of result with
35160 log1p not log unless computing log of number close to 0.
35161 * math/s_catanhf.c (__catanhf): Likewise.
35162 * math/s_catanhl.c (__catanhl): Likewise.
35163 * math/libm-test.inc (catan_test): Add more tests.
35164 (catanh_test): Likewise.
35165 * sysdeps/i386/fpu/libm-test-ulps: Update.
35166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35168 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35170 * benchtests/Makefile: Mention files in which fast and slow
35171 paths of math functions are implemented.
35173 2013-04-23 Roland McGrath <roland@hack.frob.com>
35175 * sysdeps/posix/timespec_get.c: New file.
35177 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35179 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35181 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35183 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35184 powerpc/power5/fpu folders.
35185 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35186 * benchtests/Makefile: Add modf testcase.
35187 * benchtests/bench-modf.c: New file: Benchmark test for mo
35189 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
35192 * time/Makefile (tests): Add tst-strptime-whitespace.
35193 * time/strptime_l.c (get_number): Use ISSPACE.
35194 (__strptime_internal): Likewise.
35195 * time/tst-strptime-whitespace.c: New test case.
35197 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
35199 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35201 (_nss_files_init): Set it here.
35203 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
35205 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35206 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35209 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
35211 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35213 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35215 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35218 2013-04-21 David S. Miller <davem@davemloft.net>
35220 * po/ru.po: Update Russion translation from translation project.
35222 2013-04-17 Adam Conrad <adconrad@0c3.net>
35224 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35227 2013-04-17 Carlos O'Donell <carlos@redhat.com>
35229 * configure.in: Remove i386 configure warning. Remove i386 case.
35230 * configure: Regenerate.
35231 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35232 Add example to error message.
35233 * sysdeps/i386/configure: Regenerate.
35235 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35237 * benchtests/Makefile (bench): Add cos, tan, slowcos and
35239 * benchtests/cos-inputs: New file.
35240 * benchtests/slowcos-inputs: New file.
35241 * benchtests/slowcos.c: New file.
35242 * benchtests/slowtan-inputs: New file.
35243 * benchtests/slowtan.c: New file.
35244 * benchtests/tan-inputs: New file.
35246 2013-04-16 Roland McGrath <roland@hack.frob.com>
35248 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35251 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35253 * benchtests/Makefile: Include cppflags-iterator.mk to add
35254 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35256 * Makefile.in (bench-clean): New target.
35257 * benchtests/Makefile (bench-clean): Likewise.
35259 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
35261 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35263 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
35265 * stdio-common/tstdiomisc.c: Fix coding-style violation.
35267 2013-04-15 Andreas Schwab <schwab@suse.de>
35269 * nscd/grpcache.c (cache_addgr): Properly check for short write.
35270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35271 * nscd/pwdcache.c (cache_addpw): Likewise.
35272 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
35275 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35277 * benchtests/Makefile (bench): Write all output to
35278 bench-out.tmp together.
35280 2013-04-15 Andreas Schwab <schwab@suse.de>
35282 * nscd/nscd.c (main): Don't fork again after closing files.
35284 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35286 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35288 * benchtests/Rules (bench-deps): Collect dependencies into a
35289 single variable. Add Makefile to dependencies.
35290 ($(objpfx)bench-%.c): Depend on bench-deps.
35292 2013-04-12 Roland McGrath <roland@hack.frob.com>
35293 Xavier Roche <roche+kml2@exalead.com>
35296 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35297 just that it's a file descriptor.
35298 * manual/llio.texi (Synchronizing AIO Operations): Update description
35299 for EBADF error from aio_fsync.
35301 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35303 * Rules (bench): Move target definition...
35304 * benchtests/Makefile: ... here.
35306 2013-04-11 Carlos O'Donell <carlos@redhat.com>
35308 * math/libm-test.inc (cos_test): Fix PI/2 test.
35309 (sincos_test): Likewise.
35310 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35311 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35313 2013-04-11 Andreas Schwab <schwab@suse.de>
35316 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35317 accept exponent character only when digits were seen.
35318 * stdio-common/Makefile (tests): Add bug26.
35319 * stdio-common/bug26.c: New file.
35322 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35325 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35327 * Makeconfig (rtld-prefix): Define built linker prefix.
35328 * Rules (run-bench): Use it.
35329 * math/Makefile (run-regen-ulps): Likewise.
35331 * Rules (bench): Remove eval.
35333 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35334 Roland McGrath <roland@hack.frob.com>
35335 Ondrej Bilka <neleai@seznam.cz>
35338 * time/getdate.c: Include ctype.h and alloca.h.
35339 (__getdate_r): Trim leading and trailing spaces of input.
35340 * time/tst-getdate.c (tests): Add tests with leading and
35343 2013-04-08 Roland McGrath <roland@hack.frob.com>
35346 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35347 when computing value.
35349 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35351 * math/README.libm-test (How can I generate "libm-test-ulps"?):
35352 Use testrun.sh to run libm tests.
35355 * elf/dl-open.c (dl_open_worker): memset all of seen array.
35357 2013-04-06 Marko Myllynen <myllynen@redhat.com>
35360 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35362 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35364 * Makefile.in (regen-ulps): New target.
35365 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35366 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35367 [ifneq (no,$(PERL)] (regen-ulps): New target.
35368 [ifeq (no,$(PERL)] (regen-ulps): New target.
35369 * math/libm-test.inc (ulps_file_name): Define.
35370 (output_dir): New variable.
35371 (options): Add "output-dir" option.
35372 (parse_opt): Handle 'o' case.
35373 (main): If output_dir is non-NULL use it as a prefix
35375 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35377 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35379 [BZ #10060, #10062]
35380 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35381 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35382 fail configure if __sync_val_compare_and_swap is not inlined.
35383 * sysdeps/i386/configure: Regenerate.
35384 * configure.in: Build for i686 when configured for i386.
35385 * configure: Regenerate.
35386 * README: Remove i386 reference.
35388 2013-04-06 Carlos O'Donell <carlos@redhat.com>
35390 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35393 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
35395 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35396 (lmsnanval): New variables.
35397 (F): Add conversion tests.
35398 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35399 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35401 * stdio-common/tstdiomisc.c (F): Properly collect individual
35404 [BZ #14686, #15336]
35405 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35406 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35407 Instead, use input NaN values or generate a qNaN by arithmetic
35408 operation. Also fix bugs to comply with the standard.
35409 * math/libm-test.inc (remainder_test): Add more tests.
35411 [BZ #15335, #15342]
35412 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35414 input NaN values or generate a qNaN by arithmetic operation.
35416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35419 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35422 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35425 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35426 underflowed result.
35427 * math/s_cexpf.c (__cexpf): Likewise.
35428 * math/s_cexpl.c (__cexpl): Likewise.
35429 * math/libm-test.inc (cexp_test): Add more tests.
35431 2013-04-03 Andreas Schwab <schwab@suse.de>
35434 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35435 order arrays from heap if bigger than alloca cutoff.
35437 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35439 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35440 (SNAN_TESTS_double): Refer to GCC PR56831.
35441 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35444 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35446 * Rules (bench): Move bench.out after the run is complete.
35448 * Rules (bench): Echo currently running benchmark.
35450 * benchtests/Makefile (bench): Add atan and slowatan.
35451 * benchtests/atan-inputs: New file.
35452 * benchtests/slowatan-inputs: New file.
35453 * benchtests/slowatan.c: New file.
35455 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35456 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35460 * sysdeps/unix/sysv/linux/kernel-features.h
35461 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35462 __ASSUME_XFS_RESTRICTED_CHOWN.
35463 * sysdeps/unix/sysv/linux/pathconf.c
35464 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35465 Save and restore errno.
35467 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35470 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35471 arguments using __kernel_casinh.
35472 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35473 arguments using __kernel_casinhf.
35474 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35475 arguments using __kernel_casinhl.
35476 * math/libm-test.inc (cacosh_test): Add more tests.
35477 * sysdeps/i386/fpu/libm-test-ulps: Update.
35478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35480 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35482 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35485 * bench/Makefile (bench): Add sin and slowsin.
35486 * benchtests/sin-inputs: New file.
35487 * benchtests/slowsin-inputs: New file.
35488 * benchtests/slowsin.c: New file.
35490 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35491 (bench): Add slowexp and slowpow.
35492 (exp-ITER): Increase iterations.
35493 (pow-ITER): Likewise.
35494 * benchtests/exp-inputs: Change input.
35495 * benchtests/pow-inputs: Likewise.
35496 * benchtests/slowexp-inputs: New file.
35497 * benchtests/slowexp.c: New file.
35498 * benchtests/slowpow-inputs: New file.
35499 * benchtests/slowpow.c: New file.
35501 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35503 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35505 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35506 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35507 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35508 * benchtests/Makefile: Add rint benchtest.
35509 * benchtests/rint-inputs: Input for rint benchtest.
35511 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35513 * Versions.def (libm): Add GLIBC_2.18.
35514 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35515 hidden libm prototypes.
35516 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35517 * math/Makefile (libm-calls): Add s_issignaling.
35518 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35519 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35520 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35522 * math/math.h [__USE_GNU] (issignaling): New macro.
35523 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35524 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35525 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35526 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35529 * manual/arith.texi (issignaling): New section.
35530 * manual/libm-err-tab.pl (@all_functions): Update comment.
35531 * math/gen-libm-test.pl (parse_args): Apply special handling for
35533 * math/libm-test.inc (print_float, issignaling_test): New
35535 (check_float_internal): Add issignaling checks.
35536 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35537 default definition.
35538 * sysdeps/powerpc/math-tests.h: New file.
35539 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35541 * math/test-snan.c (TEST_FUNC): Likewise.
35543 2013-03-30 David S. Miller <davem@davemloft.net>
35545 * po/de.po: Update from translation team.
35547 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35550 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35551 imaginary part less than 1.0 and real part less than 0.5
35553 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35554 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35555 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35556 (cacos_test): Add more tests.
35557 (casin_test): Likewise.
35558 (casinh_test): Likewise.
35559 * sysdeps/i386/fpu/libm-test-ulps: Update.
35560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35562 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35564 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35565 ONE with its value.
35567 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35568 (__pow_mp): Replace ONE and MONE with their values.
35569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35571 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35572 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35573 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35576 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35578 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35579 (__pow_mp): Replace ZERO and MZERO with their values.
35580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35581 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35582 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35584 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35585 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35588 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35590 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35592 2013-03-28 Roland McGrath <roland@hack.frob.com>
35594 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35595 Declare with __attribute__ ((weak)).
35596 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35597 Call __call_tls_dtors only if it's not NULL.
35599 2013-03-28 Roland McGrath <roland@hack.frob.com>
35601 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35602 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35603 magic __ehdr_start linker symbol if it's defined.
35604 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35605 them up here if it was already done.
35607 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35608 (_dl_aux_init): Use const in cast when setting it.
35609 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35610 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35611 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35613 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35615 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35616 * csu/libc-tls.c: Nor here.
35617 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35619 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35620 (__libc_message): Never call vsyslog.
35622 2013-03-28 Alan Modra <amodra@gmail.com>
35624 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35626 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35629 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35636 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35639 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35640 Don't add gid passed as argument.
35642 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35644 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35647 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35648 imaginary part between 1.0 and 1.5 and real part less than 0.5
35650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35652 * math/libm-test.inc (cacos_test): Add more tests.
35653 (casin_test): Likewise.
35654 (casinh_test): Likewise.
35655 * sysdeps/i386/fpu/libm-test-ulps: Update.
35656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35658 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35660 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35663 (denorm): Likewise.
35664 (__dbl_mp): Likewise.
35665 (add_magnitudes): Likewise.
35666 (sub_magnitudes): Likewise.
35674 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35676 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35677 (__dubcos): Likewise.
35678 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35679 (__ieee754_acos): Likewise.
35680 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35681 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35682 (__exp1): Likewise.
35683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35686 (my_log2): Likewise.
35687 (checkint): Likewise.
35688 * sysdeps/ieee754/dbl-64/e_remainder.c
35689 (__ieee754_remainder): Likewise.
35690 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35692 (bsloww): Likewise.
35693 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35695 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35697 MANTISSA_STORE_T to store computations on mantissa. Use
35698 macros for rounding and division.
35699 (denorm): Likewise.
35700 (__dbl_mp): Likewise.
35701 (add_magnitudes): Likewise.
35702 (sub_magnitudes): Likewise.
35705 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35706 powers of two in terms of TWOPOW macro.
35707 (mp_no): Make type of mantissa as MANTISSA_T.
35708 [!RADIXI]: Define RADIXI.
35709 [!TWO52]: Define TWO52.
35710 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35712 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35714 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35715 llroundl symbol when building for PPC32.
35717 2013-03-24 Mark H Weaver <mhw@netris.org>
35719 * manual/arith.texi (Normalization Functions): Fix prototypes for
35720 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35722 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35726 high value to check if expl overflow.
35727 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35728 to check for underflow and overflow.
35729 * math/libm-test.inc: Add exp test.
35731 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35734 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35737 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35739 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35742 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35744 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35745 wrap blocks consisting of several statements.
35747 * sysdeps/generic/math-tests.h: New file.
35748 * sysdeps/i386/fpu/math-tests.h: Likewise.
35749 * math/test-snan.c: Include it.
35750 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35752 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35755 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35756 (__ieee754_j0l): Do not improve calculations using cos of twice
35757 input for inputs above LDBL_MAX / 2.0L.
35758 (__ieee754_y0l): Likewise.
35759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35760 (__ieee754_j1l): Do not improve calculations using cos of twice
35761 input for inputs above LDBL_MAX / 2.0L.
35762 (__ieee754_y1l): Likewise.
35763 * math/libm-test.inc (j0_test): Add another test.
35764 (j1_test): Likewise.
35765 (y0_test): Likewise.
35766 (y1_test): Likewise.
35767 * sysdeps/i386/fpu/libm-test-ulps: Update.
35769 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35771 * Rules ($(objpfx)bench-%.c): Include code from a C source
35774 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35777 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35778 imaginary part 1.0 and real part less than 0.5 specially.
35779 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35780 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35781 * math/libm-test.inc (cacos_test): Add more tests.
35782 (casin_test): Likewise.
35783 (casinh_test): Likewise.
35784 * sysdeps/i386/fpu/libm-test-ulps: Update.
35785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35787 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35789 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35790 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35792 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35794 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35795 * config.make.in (config-cflags-sse4): Remove variable.
35796 (config-cflags-avx): Likewise.
35797 (config-cflags-sse2avx): Likewise.
35798 (config-cflags-novzeroupper): Likewise.
35799 (config-asflags-i686): Likewise.
35800 (have-mfma4): Likewise.
35801 (have-as-vis3): Likewise.
35803 * configure.in (MIG): Do not AC_SUBST.
35804 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35805 (libc_cv_cc_sse4): Do not AC_SUBST.
35806 (libc_cv_cc_avx): Likewise.
35807 (libc_cv_cc_sse2avx): Likewise.
35808 (libc_cv_cc_novzeroupper): Likewise.
35809 (libc_cv_cc_fma4): Likewise.
35810 (libc_cv_as_i686): Likewise.
35811 (libc_cv_sparc_as_vis3): Likewise.
35812 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35814 (config-asflags-i686): Likewise.
35815 (config-cflags-avx): Likewise.
35816 (config-cflags-sse2avx): Likewise.
35817 (have-mfma4): Likewise.
35818 (config-cflags-novzeroupper): Likewise.
35819 * sysdeps/mach/configure.in (MIG): Likewise.
35820 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35821 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35823 (config-cflags-avx): Likewise.
35824 (config-cflags-sse2avx): Likewise.
35825 (have-mfma4): Likewise.
35826 (config-cflags-novzeroupper): Likewise.
35827 * configure: Regenerated.
35828 * sysdeps/i386/configure: Likewise.
35829 * sysdeps/mach/configure: Likewise.
35830 * sysdeps/sparc/configure: Likewise.
35831 * sysdeps/x86_64/configure: Likewise.
35833 2013-03-20 Roland McGrath <roland@hack.frob.com>
35836 * locale/programs/localedef.c (options): Put N_ translation marker
35837 on argument names, not just descriptions.
35839 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35841 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35843 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35846 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35848 2013-03-19 Roland McGrath <roland@hack.frob.com>
35850 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35851 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35852 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35853 [!BEFORE_ABORT] (before_abort): New function.
35854 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35855 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35856 (writev_for_fatal): New function.
35857 (WRITEV_FOR_FATAL): New macro; call that.
35858 (backtrace_and_maps): New function.
35859 (BEFORE_ABORT): New macro; call that.
35860 (struct str_list): Type removed.
35861 (__libc_message, __libc_fatal): Functions removed.
35862 Include <sysdeps/posix/libc_fatal.c> instead.
35864 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35866 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35868 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35871 2013-03-19 Andreas Schwab <schwab@suse.de>
35873 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35874 * sysdeps/gnu/configure: Regenerate.
35876 * configure.in: Substitute libc_cv_rtlddir.
35877 * configure: Regenerate.
35878 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35879 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35880 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35881 * elf/Makefile (install-others, CFLAGS-interp.c)
35882 (ldso_install, common-ldd-rewrite): Likewise.
35883 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35884 $(inst_slibdir)/$(rtld-installed-name).
35885 * scripts/rellns-sh: Add -p option.
35886 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35889 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35891 * manual/nptl.texi: Renamed to ...
35892 * manual/threads.texi: ... this.
35893 * manual/Makefile (chapters): Update.
35895 2013-03-18 Roland McGrath <roland@hack.frob.com>
35898 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35899 on argument names, not just descriptions.
35900 * malloc/memusagestat.c (options): Likewise.
35901 * nss/getent.c (options): Likewise.
35903 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35906 * iconv/iconv_prog.c (options): Put N_ translation marker
35907 on argument names, not just descriptions.
35908 * iconv/iconvconfig.c (options): Likewise.
35910 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35912 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35913 implementation which is faster on all x86_64 architectures.
35914 Tested on AMD, Intel Nehalem, SNB, IVB.
35915 * sysdeps/x86_64/strnlen.S: Likewise.
35917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35918 Remove all multiarch strlen and strnlen versions.
35919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35920 Remove strlen and strnlen related parts.
35922 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35923 Inline strlen part.
35924 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35926 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35927 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35928 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35929 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35930 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35931 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35933 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35935 * manual/memory.texi (Malloc Tunable Parameters):
35936 Sort parameters alphabetically. Add comments for missing entries.
35938 2013-03-17 David S. Miller <davem@davemloft.net>
35940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35942 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35945 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35946 for arguments at most half maximum finite value.
35947 * math/libm-test.inc (j0_test): Add more tests.
35948 (j1_test): Likewise.
35949 (y0_test): Likewise.
35950 (y1_test): Likewise.
35951 * sysdeps/i386/fpu/libm-test-ulps: Update.
35952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35955 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35956 1 / x and functions P and Q for arguments above 0x1p256L.
35957 (__ieee754_y0l): Likewise.
35958 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35959 (__ieee754_y1l): Likewise.
35960 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35961 (j1_test): Likewise.
35962 (y0_test): Likewise.
35963 (y1_test): Likewise.
35965 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35967 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35970 2013-03-15 Roland McGrath <roland@hack.frob.com>
35972 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35973 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35974 zero since it's initialized to EXEC_PAGESIZE.
35976 * sysdeps/unix/sysv/linux/ldsodefs.h
35977 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35978 * sysdeps/generic/ldsodefs.h: ... here.
35980 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35982 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35984 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35986 * math/test-snan.c: Renamed from
35987 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35988 * math/Makefile (tests): Add test-snan.
35989 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35992 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35993 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35995 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35996 __builtin_nan family of functions.
35997 * math/libm-test.inc (initialize): Initialize qnan_value with
35998 __builtin_nan family of functions.
35999 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36001 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36003 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
36004 storage class. Initialize qNaN_var and sNaN_var with
36005 __builtin_nan and __builtin_nans families of functions,
36008 * math/libm-test.inc (acosh_test): Also test with qNaN input.
36009 (sqrt_test): Remove duplicate test with qNaN input.
36010 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36011 (round_test, signbit_test, significand_test): Note missing +/-Inf
36012 as well as qNaN tests.
36014 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36015 qNaN_var. Fix a few strings, too.
36016 * math/libm-test.inc (nan_value): Rename to qnan_value.
36017 * math/gen-libm-test.pl (%beautify): Adjust to that.
36018 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36019 * math/test-misc.c (main): Likewise.
36020 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36021 to __qnan_bytes, and __qnan_union, respectively.
36022 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36024 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36025 and lqnanval, respectively.
36026 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36027 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36028 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36029 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36031 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36032 * math/test-misc.c (main) [__x86_64__]: Enable test for long
36035 * math/test-misc.c (main): Fix copy'n'pastos.
36036 * misc/tst-efgcvt.c (special): Likewise.
36038 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36039 Remove declarations.
36041 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36043 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36044 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36045 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36046 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36048 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36051 macro to return vdso values correctly in IFUNC implementations.
36052 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36053 Optimization by using IFUNC.
36055 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36056 Richard Henderson <rth@redhat.com>
36057 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36059 * Makefile.in (bench): New target.
36060 * NEWS: Mention the benchmark framework.
36061 * Rules (bench): Likewise.
36062 (binaries-bench): Generate binaries for functions to
36064 * benchtests/Makefile: New makefile for benchmark tests.
36065 * benchtests/bench-skeleton.c: New skeleton file for benchmark
36067 * benchtests/exp-inputs: New input file for EXP function.
36068 * benchtests/pow-inputs: New input file for POW function.
36069 * scripts/bench.pl: New script to generate source files for
36070 benchmark programs.
36072 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36074 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36075 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36076 computations on mantissa. Use macros for rounding and
36078 (denorm): Likewise.
36079 (__dbl_mp): Likewise.
36080 (add_magnitudes): Likewise.
36081 (sub_magnitudes): Likewise.
36084 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36085 powers of two in terms of TWOPOW macro.
36086 (mp_no): Make type of mantissa as MANTISSA_T.
36087 [!RADIXI]: Define RADIXI.
36088 [!TWO52]: Define TWO52.
36089 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36091 * manual/nptl.texi (cindex): Modify threads to pthreads.
36093 2013-03-15 Joseph Myers <joseph@codesourcery.com>
36095 * sysdeps/x86_64/preconfigure: Regenerated.
36097 2013-03-14 Joseph Myers <joseph@codesourcery.com>
36100 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36102 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36103 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36105 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36106 * math/libm-test.inc (j0_test): Do not allow one spurious
36107 underflow exception.
36108 (y1_test): Likewise.
36110 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36112 * manual/Makefile (chapters): Add nptl.
36113 * manual/debug.texi (Debugging Support): Add link to Threads
36115 * manual/nptl.texi: New file.
36117 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36119 2013-03-14 Petr Baudis <pasky@ucw.cz>
36121 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36122 for non-NULL pointer before the memory validity test. Pointed
36123 out by Holger Brunck <holger.brunck@keymile.com>.
36125 2013-03-13 Andreas Schwab <schwab@suse.de>
36127 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36130 2013-03-13 Joseph Myers <joseph@codesourcery.com>
36132 * timezone/zic.c: Update from tzcode 2013b.
36134 2013-03-12 Carlos O'Donell <carlos@redhat.com>
36136 * manual/install.texi (Configuring and compiling):
36137 Mention i686 and i586.
36138 * INSTALL: Regenerate.
36140 2013-03-12 Roland McGrath <roland@hack.frob.com>
36142 * sysdeps/init_array/elf-init.c: New file.
36144 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36145 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36147 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36148 __gmon_start__ as global, but as static with a .preinit_array pointer.
36149 * sysdeps/init_array/gmon-start.c: New file. Use that.
36150 * sysdeps/init_array/crti.S: New file, empty except for comments.
36151 * sysdeps/init_array/crtn.S: Likewise.
36153 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
36155 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36158 Remove Prefer_SSE_for_memop.
36159 * sysdeps/x86_64/multiarch/init-arch.h: Remove
36160 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36161 HAS_PREFER_SSE_FOR_MEMOP.
36162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36165 Remove bzero, memset ifunc support.
36166 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36167 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36168 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36169 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36171 2013-03-11 Andreas Schwab <schwab@suse.de>
36174 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36177 (GLIBC_2.16): Remove pthread_atfork.
36179 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
36181 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36182 (ptestcases.h): Likewise.
36184 2013-03-08 Roland McGrath <roland@hack.frob.com>
36186 * Makeconfig ($(common-objpfx)config.status): Depend on
36187 sysdeps/*/preconfigure{,.in} too.
36189 2013-03-08 Joseph Myers <joseph@codesourcery.com>
36191 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36192 (__free_hook): Use void * instead of __malloc_ptr_t.
36193 (__malloc_hook): Likewise.
36194 (__realloc_hook): Likewise.
36195 (__memalign_hook): Likewise.
36196 (__after_morecore_hook): Likewise.
36197 * malloc/arena.c (save_malloc_hook): Likewise.
36198 (save_free_hook): Likewise.
36199 * malloc/hooks.c (malloc_hook_ini): Likewise.
36200 (realloc_hook_ini): Likewise.
36201 (memalign_hook_ini): Likewise.
36202 * malloc/malloc.c (malloc_hook_ini): Likewise.
36203 (realloc_hook_ini): Likewise.
36204 (memalign_hook_ini): Likewise.
36205 (__free_hook): Likewise.
36206 (__malloc_hook): Likewise.
36207 (__realloc_hook): Likewise.
36208 (__memalign_hook): Likewise.
36209 (__libc_malloc): Likewise.
36210 (__libc_free): Likewise.
36211 (__libc_realloc): Likewise.
36212 (__libc_memalign): Likewise.
36213 (__libc_valloc): Likewise.
36214 (__libc_pvalloc): Likewise.
36215 (__libc_calloc): Likewise.
36216 (__posix_memalign): Likewise.
36217 * malloc/morecore.c (__sbrk): Likewise.
36218 (__default_morecore): Likewise.
36220 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36222 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36223 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36224 __malloc_ptrdiff_t.
36226 * malloc/malloc.h (__malloc_size_t): Remove macro.
36227 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36229 (old_memalign_hook): Likewise.
36230 (old_realloc_hook): Likewise.
36231 (struct hdr): Likewise.
36233 (mallochook): Likewise.
36234 (memalignhook): Likewise.
36235 (reallochook): Likewise.
36236 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36237 (tr_old_realloc_hook): Likewise.
36238 (tr_old_memalign_hook): Likewise.
36239 (tr_mallochook): Likewise.
36240 (tr_reallochook): Likewise.
36241 (tr_memalignhook): Likewise.
36243 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36245 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36246 default_ldbl_pack and using as default implementation.
36247 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36249 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36250 redundant definition.
36251 (ldbl_insert_mantissa): Likewise.
36252 (ldbl_canonicalize): Likewise.
36253 (ldbl_nearbyint): Likewise.
36254 (ldbl_pack): Rename to ldbl_pack_ppc.
36255 (ldbl_unpack): Rename to ldbl_unpack_ppc.
36256 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36257 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36259 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36262 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36263 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36264 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36266 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36267 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36268 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36270 2013-03-07 Andreas Jaeger <aj@suse.de>
36272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36275 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36277 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36278 Include mpa.h and declare __MPEXP.
36279 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36280 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36281 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36282 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36283 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36284 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36285 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36287 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36288 (__slowpow): Use long double EXPL and LOGL functions to
36290 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36291 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36292 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36293 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36294 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36295 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36298 intermediate variable to calculate exponent.
36300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36304 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36305 [!NO__SQR]: Define __sqr.
36306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36307 and NO__SQR. Remove all code except __mul and __sqr. Include
36308 sysdeps/ieee754/dbl-64/mpa.c.
36309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36312 * posix/Makefile (tests): Add tst-pathconf.
36313 * posix/tst-pathconf.c: New test case.
36314 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36316 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36318 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
36320 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36322 2013-03-06 Andreas Jaeger <aj@suse.de>
36324 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36325 definition via __MAP_ANONYMOUS.
36327 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36328 it's not part of Linux headers.
36330 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36331 (MAP_HUGE_MASK): Define.
36333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36335 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36336 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36338 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36339 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36341 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36342 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36344 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36346 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36347 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36348 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36349 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36350 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36351 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36356 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36357 Handle f2fs and efivarfs.
36359 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36362 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36363 (EFIVARFS_MAGIC): Add.
36364 (F2FS_LINK_MAX): Add.
36366 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36368 * stdio-common/vfprintf.c: Replace __builtin_expect with
36371 2013-03-06 Joseph Myers <joseph@codesourcery.com>
36374 * sysdeps/generic/bp-sym.h: Remove file.
36375 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36376 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36377 <bp-sym.h> and <bp-asm.h>.
36378 (__longjmp): Don't use BP_SYM.
36379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36381 (memcpy): Don't use BP_SYM.
36382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36383 <bp-sym.h> and <bp-asm.h>.
36384 (memcpy): Don't use BP_SYM.
36385 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36387 (memcpy): Don't use BP_SYM.
36388 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36390 (memset): Don't use BP_SYM.
36391 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36392 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36393 (__bzero): Don't use BP_SYM.
36394 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36395 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36396 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36397 <bp-sym.h> and <bp-asm.h>.
36398 (memcmp): Don't use BP_SYM. Remove comment about bounded
36400 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36401 <bp-sym.h> and <bp-asm.h>.
36402 (memcpy): Don't use BP_SYM.
36403 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36404 <bp-sym.h> and <bp-asm.h>.
36405 (memset): Don't use BP_SYM.
36406 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36407 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36408 (__bzero): Don't use BP_SYM.
36409 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36410 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36411 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36412 <bp-sym.h> and <bp-asm.h>.
36413 (strncmp): Don't use BP_SYM. Remove comment about bounded
36415 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36416 <bp-sym.h> and <bp-asm.h>.
36417 (memcpy): Don't use BP_SYM.
36418 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36419 <bp-sym.h> and <bp-asm.h>.
36420 (memset): Don't use BP_SYM.
36421 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36422 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36423 (__bzero): Don't use BP_SYM.
36424 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36425 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36426 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36427 <bp-sym.h> and <bp-asm.h>.
36428 (__memchr): Don't use BP_SYM.
36429 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36430 <bp-sym.h> and <bp-asm.h>.
36431 (memcmp): Don't use BP_SYM. Remove comment about bounded
36433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36434 <bp-sym.h> and <bp-asm.h>.
36435 (memcpy): Don't use BP_SYM.
36436 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36437 <bp-sym.h> and <bp-asm.h>.
36438 (__mempcpy): Don't use BP_SYM.
36439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36440 <bp-sym.h> and <bp-asm.h>.
36441 (__memrchr): Don't use BP_SYM.
36442 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36443 <bp-sym.h> and <bp-asm.h>.
36444 (memset): Don't use BP_SYM.
36445 (__bzero): Likewise.
36446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36447 <bp-sym.h> and <bp-asm.h>.
36448 (__rawmemchr): Don't use BP_SYM.
36449 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36450 <bp-sym.h> and <bp-asm.h>.
36451 (__STRCMP): Don't use BP_SYM.
36452 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36453 <bp-sym.h> and <bp-asm.h>.
36454 (strchr): Don't use BP_SYM.
36455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36456 <bp-sym.h> and <bp-asm.h>.
36457 (__strchrnul): Don't use BP_SYM.
36458 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36459 <bp-sym.h> and <bp-asm.h>.
36460 (strlen): Don't use BP_SYM.
36461 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36462 <bp-sym.h> and <bp-asm.h>.
36463 (strncmp): Don't use BP_SYM. Remove comment about bounded
36465 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36466 <bp-sym.h> and <bp-asm.h>.
36467 (__strnlen): Don't use BP_SYM.
36468 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36469 <bp-sym.h> and <bp-asm.h>.
36470 (__GI__setjmp): Don't use BP_SYM.
36471 (_setjmp): Likewise.
36472 (__sigsetjmp): Likewise.
36473 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36474 (L(start_addresses)): Don't use BP_SYM.
36475 (_start): Likewise.
36476 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36478 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36479 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36480 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36481 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36482 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36484 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36485 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36486 about bounded pointers.
36487 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36488 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36489 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36491 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36492 about bounded pointers. Remove GKM FIXME comments.
36493 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36494 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36496 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36497 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36498 Remove GKM FIXME comments.
36499 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36500 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36501 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36503 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36504 about bounded pointers. Remove GKM FIXME comment.
36505 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36507 (strncmp): Don't use BP_SYM. Remove comment about bounded
36509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36510 <bp-sym.h> and <bp-asm.h>.
36511 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36513 <bp-sym.h> and <bp-asm.h>.
36514 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36517 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36519 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36522 2013-03-05 David S. Miller <davem@davemloft.net>
36524 * po/es.po: Update from translation team.
36526 2013-03-05 Andreas Jaeger <aj@suse.de>
36528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36529 <bits/mman-linux.h>.
36530 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36533 <bits/mman-linux.h> to end of file.
36534 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36536 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36537 <bits/mman-linux.h> to end of file.
36538 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36540 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36541 <bits/mman-linux.h> to end of file.
36543 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36544 (MCL_CURRENT, MCL_FUTURE): Define here.
36546 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36551 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36553 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36555 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36556 fourth parameter needed for rt_sigprocmask syscall.
36557 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36559 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36560 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36561 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36562 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36564 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36567 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36568 comment about bounded pointers.
36569 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36570 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36572 2013-03-04 Andreas Jaeger <aj@suse.de>
36574 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36575 common definitions.
36577 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36578 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36579 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36580 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36581 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36584 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36587 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36588 __ieee754_sqrl instead of __sqrl.
36590 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36592 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36593 * sysdeps/powerpc/fpu_control.h: ... here.
36594 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36595 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36596 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36597 * sysdeps/powerpc/bits/mathinline.h: ... here.
36599 2013-03-01 Roland McGrath <roland@hack.frob.com>
36601 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36602 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36603 to just [NEED_DL_SYSINFO_DSO].
36604 * elf/dl-support.c: Likewise.
36605 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36606 * elf/rtld.c (dl_main): Likewise.
36607 * elf/setup-vdso.h (setup_vdso): Likewise.
36608 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36609 * sysdeps/unix/sysv/linux/dl-sysdep.c
36610 (_dl_discover_osversion): Likewise.
36612 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36614 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36615 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36617 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36619 * NEWS: Mention libm performance improvements and non-x86 PI
36622 * csu/libc-start.c (__pthread_initialize_minimal): Change
36623 function arguments.
36624 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36626 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36629 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36630 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36631 <bp-sym.h> and <bp-asm.h>.
36632 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36633 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36635 (memcpy): Don't use BP_SYM.
36636 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36638 (__mpn_add_n): Don't use BP_SYM.
36639 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36640 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36642 (__mpn_addmul_1): Don't use BP_SYM.
36643 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36644 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36646 (_setjmp): Don't use BP_SYM.
36647 (__novmx_setjmp): Likewise.
36648 (__GI__setjmp): Likewise.
36649 (__vmx_setjmp): Likewise.
36650 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36652 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36653 (__bzero): Don't use BP_SYM.
36654 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36655 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36657 <bp-sym.h> and <bp-asm.h>.
36658 (memcpy): Don't use BP_SYM.
36659 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36660 <bp-sym.h> and <bp-asm.h>.
36661 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36662 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36663 <bp-sym.h> and <bp-asm.h>.
36664 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36665 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36667 (__mpn_lshift): Don't use BP_SYM.
36668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36669 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36671 (memset): Don't use BP_SYM.
36672 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36673 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36674 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36676 (__mpn_mul_1): Don't use BP_SYM.
36677 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36678 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36679 <bp-sym.h> and <bp-asm.h>.
36680 (memcmp): Don't use BP_SYM.
36681 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36682 <bp-sym.h> and <bp-asm.h>.
36683 (memcpy): Don't use BP_SYM.
36684 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36685 <bp-sym.h> and <bp-asm.h>.
36686 (memset): Don't use BP_SYM.
36687 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36688 <bp-sym.h> and <bp-asm.h>.
36689 (strncmp): Don't use BP_SYM.
36690 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36691 <bp-sym.h> and <bp-asm.h>.
36692 (memcpy): Don't use BP_SYM.
36693 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36694 <bp-sym.h> and <bp-asm.h>.
36695 (memset): Don't use BP_SYM.
36696 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36697 <bp-sym.h> and <bp-asm.h>.
36698 (__memchr): Don't use BP_SYM.
36699 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36700 <bp-sym.h> and <bp-asm.h>.
36701 (memcmp): Don't use BP_SYM.
36702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36703 <bp-sym.h> and <bp-asm.h>.
36704 (memcpy): Don't use BP_SYM.
36705 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36706 <bp-sym.h> and <bp-asm.h>.
36707 (__mempcpy): Don't use BP_SYM.
36708 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36709 <bp-sym.h> and <bp-asm.h>.
36710 (__memrchr): Don't use BP_SYM.
36711 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36712 <bp-sym.h> and <bp-asm.h>.
36713 (memset): Don't use BP_SYM.
36714 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36715 <bp-sym.h> and <bp-asm.h>.
36716 (__rawmemchr): Don't use BP_SYM.
36717 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36718 <bp-sym.h> and <bp-asm.h>.
36719 (__STRCMP): Don't use BP_SYM.
36720 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36721 <bp-sym.h> and <bp-asm.h>.
36722 (strchr): Don't use BP_SYM.
36723 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36724 <bp-sym.h> and <bp-asm.h>.
36725 (__strchrnul): Don't use BP_SYM.
36726 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36727 <bp-sym.h> and <bp-asm.h>.
36728 (strlen): Don't use BP_SYM.
36729 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36730 <bp-sym.h> and <bp-asm.h>.
36731 (strncmp): Don't use BP_SYM.
36732 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36733 <bp-sym.h> and <bp-asm.h>.
36734 (__strnlen): Don't use BP_SYM.
36735 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36737 (__mpn_rshift): Don't use BP_SYM.
36738 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36739 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36740 <bp-sym.h> and <bp-asm.h>.
36741 (__sigsetjmp): Don't use BP_SYM.
36742 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36743 (L(start_addresses)): Don't use BP_SYM.
36744 (_start): Likewise.
36745 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36747 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36748 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36749 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36750 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36752 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36753 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36754 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36755 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36757 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36759 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36760 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36762 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36764 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36765 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36766 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36768 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36770 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36772 (strncmp): Don't use BP_SYM,
36773 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36775 (__mpn_sub_n): Don't use BP_SYM.
36776 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36777 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36779 (__mpn_submul_1): Don't use BP_SYM.
36780 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36782 <bp-sym.h> and <bp-asm.h>.
36783 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36785 <bp-sym.h> and <bp-asm.h>.
36786 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36789 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36792 Use ZK to minimize writes to Z.
36793 (sub_magnitudes): Simplify code a bit.
36794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36795 Use ZK to minimize writes to Z.
36796 (sub_magnitudes): Simplify code a bit.
36798 2013-02-27 Roland McGrath <roland@hack.frob.com>
36800 * csu/gmon-start.c: Add special exception to license text.
36802 2013-02-27 Richard Henderson <rth@redhat.com>
36804 * scripts/config.guess: Update from config.git.
36805 * scripts/config.sub: Likewise.
36807 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36811 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36813 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36815 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36817 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36819 2013-02-26 Roland McGrath <roland@hack.frob.com>
36821 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36822 [$(build-shared = yes].
36824 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36826 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36827 (__mul): Reduce iterations for calculating mantissa.
36829 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36831 (__mpranred): Likewise.
36834 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36835 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36837 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36839 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36840 Define __attribute__.
36842 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36844 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36846 * posix/regex_internal.h (__attribute): Remove.
36847 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36848 (re_string_context_at): Likewise.
36849 (bitset_not): Use __attribute__ and mark function as possibly
36851 (bitset_merge): Likewise.
36852 (bitset_mask): Likewise.
36853 (re_string_char_size_at): Likewise.
36854 (re_string_wchar_at): Likewise.
36855 (re_string_elem_size_at): Likewise.
36857 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36859 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36863 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36867 (denorm): Likewise.
36868 (__dbl_mp): Likewise.
36869 (add_magnitudes): Likewise.
36870 (sub_magnitudes): Likewise.
36874 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36877 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36880 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36884 up changes with default code.
36885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36888 2013-02-24 Allan McRae <allan@archlinux.org>
36890 * manual/socket.texi (The Internet Namespace): Order menu items
36891 to match that in the file.
36893 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36894 node listing of the info page menu.
36896 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/i386/bp-asm.h: Remove file.
36900 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36901 (PARMS): Do not use macros from bp-asm.h.
36905 (__mpn_add_n): Do not use BP_SYM
36906 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36908 (PARMS): Do not use macros from bp-asm.h.
36911 (__mpn_addmul_1): Do not use BP_SYM
36912 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36914 (PARMS): Do not use macros from bp-asm.h.
36915 (SIGMSK): Likewise.
36916 (_setjmp): Likewise. Do not use BP_SYM.
36917 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36919 (PARMS): Do not use macros from bp-asm.h.
36920 (SIGMSK): Likewise.
36921 (setjmp): Likewise. Do not use BP_SYM.
36922 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36924 (PARMS): Do not use macros from bp-asm.h.
36925 (__frexp): Do not use BP_SYM.
36927 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36929 (PARMS): Do not use macros from bp-asm.h.
36930 (__frexpf): Do not use BP_SYM.
36931 (frexpf): Likewise.
36932 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36934 (PARMS): Do not use macros from bp-asm.h.
36935 (__frexpl): Do not use BP_SYM.
36936 (frexpl): Likewise.
36937 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36939 (PARMS): Do not use macros from bp-asm.h.
36940 (__remquo): Do not use BP_SYM.
36941 (remquo): Likewise.
36942 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36944 (PARMS): Do not use macros from bp-asm.h.
36945 (__remquof): Do not use BP_SYM.
36946 (remquof): Likewise.
36947 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36949 (PARMS): Do not use macros from bp-asm.h.
36950 (__remquol): Do not use BP_SYM.
36951 (remquol): Likewise.
36952 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36954 (PARMS): Do not use macros from bp-asm.h.
36957 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36958 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36960 (PARMS): Do not use macros from bp-asm.h.
36961 (strlen): Do not use BP_SYM.
36962 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36964 (PARMS): Do not use macros from bp-asm.h.
36968 (__mpn_add_n): Do not use BP_SYM.
36969 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36971 (PARMS): Do not use macros from bp-asm.h.
36974 (__mpn_addmul_1): Do not use BP_SYM.
36975 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36978 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36980 (PARMS): Do not use macros from bp-asm.h.
36983 (__mpn_lshift): Do not use BP_SYM.
36984 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36986 (PARMS): Do not use macros from bp-asm.h.
36990 (memcpy): Likewise. Do not use BP_SYM.
36991 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36992 libc_hidden_def and weak_alias.
36993 (mempcpy): Do not use BP_SYM in weak_alias.
36994 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36996 (PARMS): Do not use macros from bp-asm.h.
36999 [!BZERO_P] (CHR): Likewise.
37000 (memset): Likewise. Do not use BP_SYM.
37001 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37003 (PARMS): Do not use macros from bp-asm.h.
37006 (__mpn_mul_1): Do not use BP_SYM.
37007 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37009 (PARMS): Do not use macros from bp-asm.h.
37012 (__mpn_rshift): Do not use BP_SYM.
37013 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37015 (PARMS): Do not use macros from bp-asm.h.
37018 (strchr): Likewise. Do not use BP_SYM.
37019 (index): Do not use BP_SYM in weak_alias.
37020 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37022 (PARMS): Do not use macros from bp-asm.h.
37025 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
37026 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37028 (PARMS): Do not use macros from bp-asm.h.
37029 (strlen): Do not use BP_SYM.
37030 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37032 (PARMS): Do not use macros from bp-asm.h.
37036 (__mpn_sub_n): Do not use BP_SYM.
37037 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37039 (PARMS): Do not use macros from bp-asm.h.
37042 (__mpn_submul_1): Do not use BP_SYM.
37043 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37045 (PARMS): Do not use macros from bp-asm.h.
37049 (__mpn_add_n): Do not use BP_SYM.
37050 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37053 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37055 (PARMS): Do not use macros from bp-asm.h.
37058 (memcmp): Do not use BP_SYM.
37059 (bcmp): Do not use BP_SYM in weak_alias.
37060 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37062 (PARMS): Do not use macros from bp-asm.h.
37066 (memcpy): Likewise. Do not use BP_SYM.
37067 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37069 (PARMS): Do not use macros from bp-asm.h.
37073 (memmove): Likewise. Do not use BP_SYM.
37074 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37076 (PARMS): Do not use macros from bp-asm.h.
37080 (__mempcpy): Likewise. Do not use BP_SYM.
37081 (mempcpy): Do not use BP_SYM in weak_alias.
37082 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37084 (PARMS): Do not use macros from bp-asm.h.
37087 [!BZERO_P] (CHR): Likewise.
37088 (memset): Likewise. Do not use BP_SYM.
37089 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37091 (PARMS): Do not use macros from bp-asm.h.
37093 (strcmp): Do not use BP_SYM.
37094 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37096 (PARMS): Do not use macros from bp-asm.h.
37099 [USE_AS_STRTOK_R] (SAVE): Likewise.
37100 (FUNCTION): Likewise. Do not use BP_SYM.
37101 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37103 (strtok_r): Likewise.
37104 (__GI___strtok_r): Likewise.
37105 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37106 (PARMS): Do not use macros from bp-asm.h.
37109 (__mpn_lshift): Do not use BP_SYM.
37110 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37111 (PARMS): Do not use macros from bp-asm.h.
37114 (__memchr): Do not use BP_SYM.
37115 (memchr): Do not use BP_SYM in weak_alias.
37116 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37117 (PARMS): Do not use macros from bp-asm.h.
37120 (memcmp): Do not use BP_SYM.
37121 (bcmp): Do not use BP_SYM in weak_alias.
37122 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37123 (PARMS): Do not use macros from bp-asm.h.
37126 (__mpn_mul_1): Do not use BP_SYM.
37127 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37129 (PARMS): Do not use macros from bp-asm.h.
37132 (__rawmemchr): Do not use BP_SYM.
37133 (rawmemchr): Do not use BP_SYM in weak_alias.
37134 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37135 (PARMS): Do not use macros from bp-asm.h.
37138 (__mpn_rshift): Do not use BP_SYM.
37139 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37140 (PARMS): Do not use macros from bp-asm.h.
37141 (SIGMSK): Likewise.
37142 (__sigsetjmp): Likewise. Do not use BP_SYM.
37143 * sysdeps/i386/start.S: Do not include "bp-sym.h".
37144 (_start): Do not use BP_SYM.
37145 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37146 (PARMS): Do not use macros from bp-asm.h.
37149 (__stpcpy): Likewise. Do not use BP_SYM.
37150 (stpcpy): Do not use BP_SYM in weak_alias.
37151 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37153 (PARMS): Do not use macros from bp-asm.h.
37157 (__stpncpy): Likewise. Do not use BP_SYM.
37158 (stpncpy): Do not use BP_SYM in weak_alias.
37159 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37160 (PARMS): Do not use macros from bp-asm.h.
37163 (strchr): Likewise. Do not use BP_SYM.
37164 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37166 (PARMS): Do not use macros from bp-asm.h.
37169 (__strchrnul): Likewise. Do not use BP_SYM.
37170 (strchrnul): Do not use BP_SYM in weak_alias.
37171 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37173 (PARMS): Do not use macros from bp-asm.h.
37175 (strcspn): Do not use BP_SYM.
37176 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37178 (PARMS): Do not use macros from bp-asm.h.
37181 (strpbrk): Likewise. Do not use BP_SYM.
37182 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37184 (PARMS): Do not use macros from bp-asm.h.
37187 (strrchr): Likewise. Do not use BP_SYM.
37188 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37189 (PARMS): Do not use macros from bp-asm.h.
37191 (strspn): Do not use BP_SYM.
37192 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37193 (PARMS): Do not use macros from bp-asm.h.
37197 (FUNCTION): Likewise. Do not use BP_SYM.
37198 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37200 (strtok_r): Likewise.
37201 (__GI___strtok_r): Likewise.
37202 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37203 (PARMS): Do not use macros from bp-asm.h.
37207 (__mpn_sub_n): Do not use BP_SYM.
37208 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37210 (PARMS): Do not use macros from bp-asm.h.
37213 (__mpn_submul_1): Do not use BP_SYM.
37214 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37216 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37218 (PARMS): Do not use macros from bp-asm.h.
37223 (__clone): Do not use BP_SYM.
37224 (clone): Do not use BP_SYM in weak_alias.
37225 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37227 (PARMS): Do not use macros from bp-asm.h.
37229 (__mmap64): Do not use BP_SYM.
37230 (mmap64): Do not use BP_SYM in weak_alias.
37231 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37232 <bp-sym.h> and <bp-asm.h>.
37233 (PARMS): Do not use macros from bp-asm.h.
37234 (__posix_fadvise64_l64): Do not use BP_SYM.
37235 * sysdeps/unix/sysv/linux/i386/semtimedop.S
37236 (PARMS): Do not use macros from bp-asm.h.
37238 (semtimedop): Do not use BP_SYM.
37239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37242 2013-02-21 Allan McRae <allan@archlinux.org>
37244 * manual/message.texi (Charset conversion in gettext):
37245 Move @end statement to beginning of line.
37247 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37254 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37255 (denorm): Likewise.
37256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37259 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37261 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37262 tail-call to the resolved function if pltexit isn't needed.
37264 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37267 or Y being zero as being unlikely.
37268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37271 2013-02-20 Carlos O'Donell <carlos@redhat.com>
37273 * manual/nss.texi (System Databases and Name Service Switch):
37274 Remove frobnicate @pxref.
37276 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37278 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37279 __attribute__ ((unused)) to __attribute__ ((__unused__)).
37281 2013-02-20 Petr Machata <pmachata@redhat.com>
37283 * elf/elf.h (R_ARM_TARGET1): New macro.
37284 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37285 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37286 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37287 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37288 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37289 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37290 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37291 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37292 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37293 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37294 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37295 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37296 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37297 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37298 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37299 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37300 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37301 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37302 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37303 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37304 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37305 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37306 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37307 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37308 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37309 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37310 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37311 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37312 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37313 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37314 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37315 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37316 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37317 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37318 (R_ARM_THM_GOT_BREL12): Likewise.
37319 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37320 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37321 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37322 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37323 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37324 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37325 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37326 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37327 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37329 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
37331 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37332 __attribute_used__ to __attribute__ ((unused)).
37334 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37336 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37339 comment formatting.
37340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37342 2013-02-19 Joseph Myers <joseph@codesourcery.com>
37345 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37347 (ENTER): Remove both macro definitions.
37349 (CHECK_BOUNDS_LOW): Likewise.
37350 (CHECK_BOUNDS_HIGH): Likewise.
37351 (CHECK_BOUNDS_BOTH): Likewise.
37352 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37353 (RETURN_BOUNDED_POINTER): Likewise.
37354 (RETURN_NULL_BOUNDED_POINTER): Likewise.
37355 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37356 (POP_ERRNO_LOCATION_RETURN): Likewise.
37357 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37358 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37359 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37361 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37362 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37363 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37364 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37365 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37366 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37367 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37368 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37369 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37370 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37371 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37372 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37373 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37374 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37376 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37377 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37379 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37380 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37381 * sysdeps/i386/i586/memset.S (memset): Likewise.
37382 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37383 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37384 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37386 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37387 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37388 Change uses of L(2) to L(out).
37389 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37390 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37391 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37392 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37393 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37395 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37396 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37398 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37399 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37400 (RETURN): Do not use macro LEAVE.
37401 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37402 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37403 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37404 * sysdeps/i386/i686/memset.S (memset): Likewise.
37405 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37406 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37407 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37408 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37410 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37411 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37412 L(1_2) and L(1_3) into L(1).
37413 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37414 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37415 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37416 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37417 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37418 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37419 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37420 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37421 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37423 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37424 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37425 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37426 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37427 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37428 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37429 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37430 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37431 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37432 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37433 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37434 * sysdeps/i386/strspn.S (strspn): Likewise.
37435 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37437 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37438 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37439 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37440 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37441 L(1_3) into L(1_1).
37442 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37444 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37446 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37448 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37450 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37453 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37455 * math/atest-exp.c (exp_mpn): Remove ROUND.
37456 * math/atest-exp2.c (exp_mpn): Likewise.
37457 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37459 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37460 * stdlib/tst-tls-atexit-lib.c: Likewise.
37461 * stdlib/tst-tls-atexit.c: Likewise.
37463 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37465 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37466 and __attribute_alloc_size__.
37468 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37470 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37471 __attribute_alloc_size__.
37472 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37473 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37475 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37477 * include/programs/xmalloc.h: New file.
37478 * catgets/gencat.c: Include it.
37479 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37480 * elf/pldd.c: Likewise.
37481 * iconv/iconv_charmap.c: Likewise.
37482 * iconv/iconvconfig.c: Likewise.
37483 * iconv/strtab.c: Likewise.
37484 * locale/programs/locale.c: Likewise.
37485 * locale/programs/localedef.h: Likewise.
37486 * locale/programs/simple-hash.c: Likewise.
37487 * nscd/nscd.h: Likewise.
37488 * nss/makedb.c: Likewise.
37489 * sysdeps/generic/ldconfig.h: Likewise.
37491 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37493 * Versions.def: Add GLIBC_2.18.
37494 * include/link.h (struct link_map): New member l_tls_dtor_count.
37495 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37496 (__call_tls_dtors): Likewise.
37497 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37498 __cxa_thread_atexit_impl.
37499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37515 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37516 (tests): Add test case tst-tls-atexit.
37517 (modules-names): Add shared library for tst-tls-atexit.
37518 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37519 (GLIBC_PRIVATE): Add __call_tls_dtors.
37520 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37522 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37523 * stdlib/tst-tls-atexit.c: New test case.
37524 * stdlib/tst-tls-atexit-lib.c: New test case.
37526 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37528 * elf/Versions (ld): Add _dl_find_dso_for_object.
37529 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37530 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37531 (dl_open_worker): Use _dl_find_dso_for_object.
37532 * elf/dl-sym.c (do_sym): Likewise.
37533 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37535 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37537 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37538 Syntactic changes only.
37539 (_dl_runtime_profile): Do a tail-call to the resolved function.
37541 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37544 * sysdeps/x86_64/bp-asm.h: Remove file.
37545 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37546 <bp-sym.h> and <bp-asm.h>.
37547 (__clone): Do not use BP_SYM.
37548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37549 <bp-sym.h> and <bp-asm.h>.
37550 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37551 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37553 (_setjmp): Do not use BP_SYM.
37554 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37556 (setjmp): Do not use BP_SYM.
37557 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37559 (mempcpy): Do not use BP_SYM in weak_alias.
37560 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37562 (strchr): Do not use BP_SYM.
37563 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37565 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37566 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37567 (_start): Do not use BP_SYM.
37568 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37570 (strcat): Do not use BP_SYM.
37571 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37573 (STRCMP): Do not use BP_SYM.
37574 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37576 (STRCPY): Do not use BP_SYM.
37577 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37579 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37581 (FUNCTION): Do not use BP_SYM.
37582 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37584 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37586 2013-02-17 Andreas Jaeger <aj@suse.de>
37588 * time/Versions: Sort entries.
37589 * string/Versions: Likewise.
37590 * resolv/Versions: Likewise.
37591 * posix/Versions: Likewise.
37592 * iconv/Versions: Likewise.
37593 * elf/Versions: Likewise.
37594 * wcsmbs/Versions: Likewise.
37596 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37598 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37599 loop termination condition.
37601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37602 variable to calculate EZ.
37605 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37606 the lower precision input.
37608 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37611 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37612 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37613 (run-via-rtld-prefix): Do not handle %-bp tests.
37614 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37615 (all-object-suffixes): Remove .ob.
37616 (bppfx): Remove variable.
37617 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37618 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37619 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37620 [$(build-bounded) = yes] (libtype.ob): Likewise.
37621 * Makerules (elide-routines.ob): Remove variable.
37622 (do-tests-clean): Do not handle *-bp.out.
37623 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37624 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37625 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37626 (tests): Do not include $(tests-bp.out).
37627 (xtests): Do not include $(xtests-bp.out).
37628 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37629 [$(build-bounded) = yes] ($(addprefix
37630 $(objpfx),$(binaries-bounded))): Remove rule.
37631 ($(objpfx)%-bp.out): Remove rule.
37632 * config.make.in (build-bounded): Remove variable.
37633 * crypt/Makefile [$(build-bounded) = yes]
37634 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37635 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37636 append to variable.
37637 [$(build-bounded) = yes] (install-lib): Likewise.
37638 [$(build-bounded) = yes] (generated): Likewise.
37639 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37641 * intl/Makefile [$(build-bounded) = yes]
37642 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37643 * math/Makefile [$(build-bounded) = yes]
37644 ($(tests:%=$(objpfx)%-bp): Likewise.
37645 * misc/Makefile [$(build-bounded) = yes]
37646 ($(objpfx)tst-tsearch-bp): Likewise.
37647 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37648 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37650 * string/Makefile (o-objects.ob): Remove variable.
37651 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37652 (CFLAGS-.ob): Remove variable.
37653 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37654 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37655 both definitions of variable.
37656 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37657 (ASFLAGS-.ob): Remove variable.
37659 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37662 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37663 Remove __BOUNDED_POINTERS__ from condition.
37664 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37665 * string/bits/string2.h [!__NO_STRING_INLINES &&
37666 !__BOUNDED_POINTERS__]: Likewise.
37667 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37669 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37670 Remove conditional code.
37671 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37672 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37673 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37677 * csu/libc-start.c: Do not include <bp-sym.h>.
37678 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37679 * elf/dl-open.c: Do not include <bp-sym.h>.
37680 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37681 * math/fegetenv.c: Do not include <bp-sym.h>.
37682 (fegetenv): Do not use BP_SYM in versioned symbols.
37683 * nptl/sysdeps/pthread/bits/libc-lockP.h
37684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37687 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37689 (__pthread_mutex_destroy): Likewise.
37690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37691 (__pthread_mutex_lock): Likewise.
37692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37693 (__pthread_mutex_trylock): Likewise.
37694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37695 (__pthread_mutex_unlock): Likewise.
37696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37697 (__pthread_mutexattr_init): Likewise.
37698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37699 (__pthread_mutexattr_destroy): Likewise.
37700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37701 (__pthread_mutexattr_settype): Likewise.
37702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37703 (__pthread_rwlock_init): Likewise.
37704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37705 (__pthread_rwlock_destroy): Likewise.
37706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37707 (__pthread_rwlock_rdlock): Likewise.
37708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37709 (__pthread_rwlock_tryrdlock): Likewise.
37710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37711 (__pthread_rwlock_wrlock): Likewise.
37712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37713 (__pthread_rwlock_trywrlock): Likewise.
37714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37715 (__pthread_rwlock_unlock): Likewise.
37716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37717 (__pthread_key_create): Likewise.
37718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37719 (__pthread_setspecific): Likewise.
37720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37721 (__pthread_getspecific): Likewise.
37722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37725 (_pthread_cleanup_push_defer): Likewise.
37726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37727 (_pthread_cleanup_pop_restore): Likewise.
37728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37729 (pthread_setcancelstate): Likewise.
37730 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37732 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37733 (memchr): Do not use BP_SYM in weak_alias.
37734 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37735 (fegetenv): Do not use BP_SYM in versioned symbols.
37736 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37737 (fesetenv): Do not use BP_SYM in versioned symbols.
37738 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37739 (feupdateenv): Do not use BP_SYM in versioned symbols.
37740 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37741 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37742 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37743 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37744 (open64): Do not use BP_SYM in weak_alias.
37745 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37746 (fegetenv): Do not use BP_SYM in versioned symbols.
37747 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37748 (fesetenv): Do not use BP_SYM in versioned symbols.
37749 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37750 (feupdateenv): Do not use BP_SYM in versioned symbols.
37751 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37752 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37753 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37754 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37755 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37756 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37757 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37759 (__libc_start_main): Do not use BP_SYM.
37761 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37764 redundant return line.
37766 (denorm): Likewise.
37767 (dbl_mp): Likewise.
37768 (sub_magnitudes): Likewise.
37774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37776 (denorm): Likewise.
37777 (dbl_mp): Likewise.
37778 (sub_magnitudes): Likewise.
37785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37787 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37788 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37791 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37792 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37794 of __mul for squares.
37795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37800 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37802 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37805 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37807 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37808 prototype or function definition. Rename ubp_* variables and
37809 parameters. Remove argv definitions conditional on
37810 [__BOUNDED_POINTERS__].
37811 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37812 * elf/dl-runtime.c (_dl_fixup): Likewise.
37813 * include/set-hooks.h (RUN_HOOK): Likewise.
37814 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37816 * string/strcpy.c (strcpy): Do not use __unbounded.
37817 * sysdeps/generic/frame.h (struct layout): Likewise.
37818 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37819 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37820 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37821 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37822 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37823 (__backtrace): Likewise.
37824 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37826 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37827 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37828 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37830 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37831 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37832 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37833 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37834 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37835 Do not use __unbounded.
37836 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37837 Rename __unboundedrlimits parameter to rlimits in prototype.
37838 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37839 Do not use __unbounded.
37840 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37841 not use __ptrvalue.
37842 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37843 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37844 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37845 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37846 __ptrvalue or __unbounded.
37847 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37848 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37850 (__new_msgctl): Do not use __ptrvalue.
37851 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37853 (__libc_msgrcv): Do not use __ptrvalue.
37854 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37855 startup_info): Do not use __unbounded.
37856 (__libc_start_main): Likewise. Rename ubp_* variables and
37857 parameters. Remove argv definitions conditional on
37858 [__BOUNDED_POINTERS__].
37859 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37861 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37863 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37865 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37867 (__new_shmctl): Do not use __ptrvalue.
37868 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37869 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37871 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37872 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37873 (__libc_sigaction): Likewise.
37874 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37875 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37877 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37879 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37881 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37883 * string/mempcpy.c: Implement by calling memcpy.
37885 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37892 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37893 values in the mantissa.
37895 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37896 minimize writes to Z.
37897 (sub_magnitudes): Simplify code a bit.
37899 2013-02-12 Roland McGrath <roland@hack.frob.com>
37901 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37902 from the message. The linker prefixes all warnings with that already.
37904 2013-02-12 Andreas Schwab <schwab@suse.de>
37907 * posix/regexec.c (extend_buffers): Add parameter min_len.
37908 (check_matching): Pass minimum needed length.
37909 (clean_state_log_if_needed): Likewise.
37910 (get_subexp): Likewise.
37911 * posix/Makefile (tests): Add bug-regex34.
37912 (bug-regex34-ENV): Define.
37913 * posix/bug-regex34.c: New file.
37916 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37917 elements compare against the byte sequence of it, not its name.
37918 * posix/Makefile (tests): Add bug-regex35.
37919 (bug-regex35-ENV): Define.
37920 * posix/bug-regex35.c: New file.
37922 2013-02-11 Tom de Vries <tom@codesourcery.com>
37924 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37926 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37927 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37928 (CHECK_EOL): Add undef.
37930 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37932 * bits/stdlib-bsearch.h: New file.
37933 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37934 * stdlib/stdlib.h: Likewise.
37936 2013-02-11 Roland McGrath <roland@hack.frob.com>
37938 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37939 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37941 * manual/search.texi (Array Search Function): Add missing const in
37943 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37944 declaration to use rlim_t.
37945 (Basic Scheduling Functions): Remove erroneous const from
37946 sched_getparam prototype. Remove erroneous * from
37947 sched_get_priority_max and sched_get_priority_min prototypes.
37948 (Resource Usage): Fix summary @comment on vtimes to refer to
37949 sys/vtimes.h rather than vtimes.h.
37950 Add missing *s in vtimes prototype.
37951 (Limits on Resources): Fix ulimit prototype to return long int.
37952 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37953 prototypes to use long int rather than double.
37954 (BSD Random): Fix initstate and setstate to use char *, not void *.
37955 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37956 prototype to make second argument 'struct aiocb64 *const[]'.
37957 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37958 (Status of AIO Operations): Remove erroneous const in aio_return and
37959 aio_return64 prototypes.
37960 (Synchronizing I/O): Fix sync prototype to return void.
37961 * manual/startup.texi (Suboptions): Remove an erroneous const in
37962 getsubopt prototype.
37963 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37964 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37965 use size_t rather than int.
37966 (Scanning All Users): Likewise for getpwent_r.
37967 (Setting Groups): Add missing const to setgroups prototype.
37968 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37969 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37970 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37971 'const void *' rather than 'const char *'.
37972 (Host Address Functions): Likewise for inet_ntop.
37973 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37974 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37975 ssize_t for return value.
37976 (Sending Data): Likewise for send, sendto, sendmsg.
37977 (Socket Option Functions): Add a missing const in setsockopt prototype.
37978 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37979 use wchar_t for the argument.
37980 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37981 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37983 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37984 double/float/long double for second argument.
37985 Fix return types of significand, significandf, significandl.
37986 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37987 argument in fchmod prototype.
37988 (File Owner): Use uid_t and gid_t in fchown prototype.
37989 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37990 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37991 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37992 use 'const struct dirent **' as argument types to CMP function pointer
37994 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37995 (File Times): Fix summary magic @comment for struct utimbuf and utime
37996 to refer to utime.h, not time.h.
37997 * manual/string.texi (Argz Functions): Add missing const in
37998 argz_extract and argz_next prototypes.
37999 (Finding Tokens in a String): Likewise for basename.
38000 (String/Array Comparison): Fix typo in wcscasecmp prototype.
38001 (Copying and Concatenation): Fix typo in wmemmove prototype.
38002 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38003 (Signal Stack): Remove erroneous const in sigstack prototype.
38004 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38006 (Simple Calendar Time): Likewise for stime.
38007 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38009 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38010 say sys/sysctl.h instead.
38011 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38012 and vsyslog prototypes.
38014 2013-02-11 Tom de Vries <tom@codesourcery.com>
38016 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38019 2013-02-11 Roland McGrath <roland@hack.frob.com>
38021 * misc/sys/mman.h: Fix typo in mremap comment.
38023 2013-02-08 Roland McGrath <roland@hack.frob.com>
38025 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38026 the '\0' terminator.
38028 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38031 * debug/segfault.c: Don't include <bp-checks.h>.
38032 * sysdeps/generic/bp-checks.h: Remove file.
38033 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38034 (__GETDENTS): Don't use CHECK_N.
38035 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38036 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38037 (__getgroups): Don't use CHECK_N.
38038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38039 (setgroups): Don't use CHECK_N.
38040 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38041 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38042 (__libc_msgrcv): Don't use CHECK_N.
38043 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38044 (__libc_msgsnd): Don't use CHECK_N.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38047 (__libc_pread): Don't use CHECK_N.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38049 include <bp-checks.h>.
38050 (__libc_pread64): Don't use CHECK_N.
38051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38052 include <bp-checks.h>.
38053 (__libc_pwrite): Don't use CHECK_N.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38055 include <bp-checks.h>.
38056 (__libc_pwrite64): Don't use CHECK_N.
38057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38059 (__libc_pread): Don't use CHECK_N.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38061 include <bp-checks.h>.
38062 (__libc_pread64): Don't use CHECK_N.
38063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38064 include <bp-checks.h>.
38065 (__libc_pwrite): Don't use CHECK_N.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38067 include <bp-checks.h>.
38068 (__libc_pwrite64): Don't use CHECK_N.
38069 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38070 (do_pread): Don't use CHECK_N.
38071 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38072 (do_pread64): Don't use CHECK_N.
38073 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38074 (do_pwrite): Don't use CHECK_N.
38075 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38076 (do_pwrite64): Don't use CHECK_N.
38077 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38078 (__libc_readv): Don't use CHECK_N.
38079 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38080 (semop): Don't use CHECK_N.
38081 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38083 (semtimedop): Don't use CHECK_N.
38084 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38085 (__libc_pread): Don't use CHECK_N.
38086 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38088 (__libc_pread64): Don't use CHECK_N.
38089 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38091 (__libc_pwrite): Don't use CHECK_N.
38092 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38094 (__libc_pwrite64): Don't use CHECK_N.
38095 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38097 (__libc_msgrcv): Don't use CHECK_N.
38098 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38099 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
38100 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38101 (__libc_writev): Don't use CHECK_N.
38103 2013-02-08 Roland McGrath <roland@hack.frob.com>
38105 * string/strcpy.c: Removed unused variable.
38107 * Makeconfig (+sysdep-includes): Define with := rather than =.
38108 Use an existing include/ subdir of each sysdeps dir before it.
38110 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38112 * nscd/connection.c (register_traced_file): Comment function.
38113 [HAVE_INOTIFY] (union __inev): Define.
38114 [HAVE_INOTIFY] (inotify_check_files): New function.
38115 [HAVE_INOTIFY] (clear_db_cache): Likewise.
38116 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38118 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38120 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38122 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38123 loaded if not already and that a failure is permanent.
38125 2013-02-08 Carlos O'Donell <carlos@redhat.com>
38128 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38129 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38131 2013-02-08 Joseph Myers <joseph@codesourcery.com>
38134 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38135 (CHECK_1_NULL_OK): Likewise.
38136 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38137 (__fxstat): Do not use CHECK_1.
38138 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38140 (___fxstat64): Do not use CHECK_1.
38141 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38143 (__fxstatat): Do not use CHECK_1.
38144 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38146 (__fxstatat64): Do not use CHECK_1.
38147 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38149 (__fxstat): Do not use CHECK_1.
38150 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38152 (__fxstatat): Do not use CHECK_1.
38153 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38155 (__getresgid): Do not use CHECK_1.
38156 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38158 (__getresuid): Do not use CHECK_1.
38159 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38161 (__lxstat): Do not use CHECK_1.
38162 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38164 (__old_msgctl): Do not use CHECK_1.
38165 (__new_msgctl): Likewise.
38166 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38168 (__new_setrlimit): Do not use CHECK_1.
38169 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38171 (__old_shmctl): Do not use CHECK_1.
38172 (__new_shmctl): Likewise.
38173 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38175 (__xstat): Do not use CHECK_1.
38176 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38177 (__lxstat): Do not use CHECK_1.
38178 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38180 (___lxstat64): Do not use CHECK_1.
38181 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38182 (__old_msgctl): Do not use CHECK_1.
38183 (__new_msgctl): Likewise.
38184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38186 (__gettimeofday): Do not use CHECK_1.
38187 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38188 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38189 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38191 (__gettimeofday): Do not use CHECK_1.
38192 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38193 (__old_shmctl): Do not use CHECK_1_NULL_OK.
38194 (__new_shmctl): Do not use CHECK_1.
38195 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38197 (do_sigtimedwait): Do not use CHECK_1.
38198 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38200 (do_sigwaitinfo): Do not use CHECK_1.
38201 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38203 (msgctl): Do not use CHECK_1.
38204 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38206 (shmctl): Do not use CHECK_1.
38207 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38208 (ustat): Do not use CHECK_1.
38209 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38211 (__fxstat): Do not use CHECK_1.
38212 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38214 (__fxstatat): Do not use CHECK_1.
38215 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38217 (__lxstat): Do not use CHECK_1.
38218 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38220 (__xstat): Do not use CHECK_1.
38221 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38222 (__xstat): Do not use CHECK_1.
38223 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38224 (___xstat64): Do not use CHECK_1.
38227 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38229 (CHECK_BOUNDS_HIGH): Likewise.
38230 * string/strcpy.c: Do not include <bp-checks.h>.
38231 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38233 2013-02-07 Roland McGrath <roland@hack.frob.com>
38235 * nscd/nscd-client.h (__nscd_drop_map_ref):
38236 Add __attribute__ ((unused)).
38237 * nis/nss-nisplus.h (niserr2nss): Likewise.
38239 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38240 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38242 * csu/libc-tls.c (init_static_tls, init_slotinfo):
38243 Remove inline keyword.
38244 * include/rounding-mode.h (round_away): Likewise.
38245 * libio/wfileops.c (adjust_wide_data): Likewise.
38246 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38247 (__m128i_strloadu_tolower): Likewise.
38248 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38249 (__m128i_strloadu_tolower): Likewise.
38250 * time/mktime.c (ydhms_diff): Likewise.
38251 * locale/elem-hash.h (elem_hash): Likewise.
38252 * locale/setlocale.c (setdata): Likewise.
38253 * posix/regex_internal.h (re_string_char_size_at): Likewise.
38254 (re_string_wchar_at): Likewise.
38255 (bitset_not, bitset_merge, bitset_mask): Likewise.
38256 [!(__GNUC__ > 3)] (inline): Remove macro.
38257 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38258 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38259 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38260 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38261 * string/memcmp.c (memcmp_bytes): Likewise.
38262 * locale/programs/locarchive.c (compute_hashval): Likewise.
38263 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38264 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38265 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38266 * nss/getent.c (print_rpc, print_protocols): Likewise.
38267 (print_passwd, print_group, print_aliases): Likewise.
38268 * nis/nss-nisplus.h (niserr2nss): Likewise.
38269 * nscd/connections.c (restart_p): Likewise.
38270 Change return type to bool.
38272 2013-02-05 Roland McGrath <roland@hack.frob.com>
38274 * Makeconfig (all-Depend-files): Add existing
38275 $(sorted-subdirs:=/Depend) files.
38276 (all-subdirs): Remove nss.
38277 * sysdeps/unix/inet/Subdirs: Add it here instead.
38278 * hesiod/Depend: New file.
38280 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38281 instead of calling alloca.
38283 * io/lseek.c (__lseek): Rename to __libc_lseek.
38284 Define __lseek as an alias.
38286 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38288 2013-02-04 Carlos O'Donell <carlos@redhat.com>
38290 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38291 else clause and remove check for non-standard endianness.
38293 2013-02-04 David S. Miller <davem@davemloft.net>
38295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38297 2013-02-04 Joseph Myers <joseph@codesourcery.com>
38300 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38301 (__ubp_memchr): Remove prototype.
38302 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38303 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38304 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38305 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38306 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38308 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38309 (__ubp_memchr): Likewise.
38310 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38311 (__ubp_memchr): Likewise.
38312 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38313 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38314 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38315 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38317 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38318 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38319 (__getcwd): Do not use CHECK_STRING.
38320 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38322 (__real_chown): Do not use CHECK_STRING.
38323 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38325 (fchownat): Do not use CHECK_STRING.
38326 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38328 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38330 (__lchown): Do not use CHECK_STRING.
38331 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38332 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38333 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38334 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38336 include <bp-checks.h>.
38337 (truncate64): Do not use CHECK_STRING.
38338 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38340 (__real_chown): Do not use CHECK_STRING.
38341 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38343 (__lchown): Do not use CHECK_STRING.
38344 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38346 (__chown): Do not use CHECK_STRING.
38347 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38349 (truncate64): Do not use CHECK_STRING.
38350 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38352 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38353 (__xmknod): Do not use CHECK_STRING.
38354 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38356 (__xmknodat): Do not use CHECK_STRING.
38357 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38358 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38360 2013-02-04 Andreas Schwab <schwab@suse.de>
38363 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38364 * include/netdb.h: Likewise for h_errno.
38365 * elf/tst-stackguard1.c: Include <tls.h>.
38367 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
38369 * elf/link.h (struct link_map): Extend the l_addr comment.
38370 * include/link.h (struct link_map): Likewise.
38372 2013-02-01 Joseph Myers <joseph@codesourcery.com>
38375 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38376 (BOUNDED_1): Remove macro.
38377 * debug/backtrace.c: Don't include <bp-checks.h>.
38378 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38379 (__backtrace): Likewise.
38380 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38382 (__backtrace): Don't use BOUNDED_1.
38383 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38385 (__backtrace): Don't use BOUNDED_1.
38386 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38387 (__backtrace): Don't use BOUNDED_1.
38388 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38389 (shmat): Don't use BOUNDED_N.
38391 2013-01-31 Joseph Myers <joseph@codesourcery.com>
38394 * sysdeps/generic/bp-start.h: Remove file.
38395 * csu/libc-start.c: Don't include <bp-start.h>.
38396 (LIBC_START_MAIN): Set up __environ directly instead of using
38397 INIT_ARGV_and_ENVIRON.
38398 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38402 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38404 (CHECK_FCNTL): Likewise.
38405 (CHECK_N_PAGES): Likewise.
38408 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38410 (CHECK_SIGSET_NULL_OK): Likewise.
38411 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38413 (sigpending): Don't use CHECK_SIGSET.
38414 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38416 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38417 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38419 (do_sigsuspend): Don't use CHECK_SIGSET.
38420 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38422 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38423 (do_sigwait): Don't use CHECK_SIGSET.
38424 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38427 include <bp-checks.h>.
38428 (sigpending): Don't use CHECK_SIGSET.
38429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38430 include <bp-checks.h>.
38431 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38432 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38434 (sigpending): Don't use CHECK_SIGSET.
38435 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38437 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38440 * sysdeps/generic/bp-semctl.h: Remove file.
38441 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38442 <bp-checks.h> and <bp-semctl.h>.
38443 (__old_semctl): Don't use CHECK_SEMCTL.
38444 (__new_semctl): Likewise.
38445 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38447 (__old_semctl): Don't use CHECK_SEMCTL.
38448 (__new_semctl): Likewise.
38449 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38450 <bp-checks.h> and <bp-semctl.h>.
38451 (__old_semctl): Don't use CHECK_SEMCTL.
38452 (__new_semctl): Likewise.
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38454 <bp-checks.h> and <bp-semctl.h>.
38455 (semctl): Don't use CHECK_SEMCTL.
38458 * Makerules (elide-bp-thunks): Remove variable.
38459 (elide-routines.oS): Don't use $(elide-bp-thunks).
38460 (elide-routines.os): Likewise.
38461 (elide-routines.o): Likewise.
38462 (elide-routines.op): Likewise.
38463 (elide-routines.og): Likewise.
38464 (objects): Don't use $(bp-thunks).
38465 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38467 (common-generated): Do not add s-proto-bp.d.
38468 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38471 Do not generate makefile rules for bounded-pointer thunks.
38472 * sysdeps/generic/bp-thunks.h: Remove file.
38473 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38474 * sysdeps/unix/s-proto-bp.S: Likewise.
38477 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38478 parts of result separately when argument is not close to line from
38479 -i to i and one part of argument is small.
38480 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38481 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38482 * math/libm-test.inc (cacos_test): Add more tests.
38483 (casin_test): Likewise.
38484 (casinh_test): Likewise.
38485 * sysdeps/i386/fpu/libm-test-ulps: Update.
38486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488 2013-01-31 David S. Miller <davem@davemloft.net>
38490 * po/de.po: Update from translation team.
38492 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38494 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38496 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38498 * configure.in (_AC_PROG_CC_C89): New definition.
38499 * configure: Regenerate.
38501 * configure.in (AC_PROG_CPP): New definition.
38502 * configure: Regenerate.
38504 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38506 * debug/tst-backtrace.h: New file.
38507 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38508 (ret): Remove variable.
38510 (FAIL): Remove macro.
38511 (NO_INLINE): Likewise.
38512 (fn1): Use match function instead of strstr.
38513 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38514 (ret): Remove variable.
38516 (FAIL): Remove macro.
38517 (NO_INLINE): Likewise.
38518 (fn): Use match function instead of strstr.
38519 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38520 (ret): Remove variable.
38522 (FAIL): Remove macro.
38523 (NO_INLINE): Likewise.
38524 (handle_signal): Use match function instead of strstr.
38525 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38526 (ret): Remove variable.
38528 (FAIL): Remove macro.
38529 (NO_INLINE): Likewise.
38530 (handle_signal): Use match function instead of strstr.
38532 2013-01-23 Roland McGrath <roland@hack.frob.com>
38534 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38536 2013-01-23 David S. Miller <davem@davemloft.net>
38538 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38539 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38540 argument of CAS if possible.
38541 * sysdeps/sparc/sparc64/bits/atomic.h
38542 (__arch_compare_and_exchange_val_32_acq): Likewise.
38543 (__arch_compare_and_exchange_val_64_acq): Likewise.
38545 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38547 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38548 * sysdeps/posix/ulimit.c: ... this.
38549 Include <limits.h>.
38550 * sysdeps/unix/bsd/ulimit.c: Remove file.
38552 2013-01-23 Adam Conrad <adconrad@0c3.net>
38554 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38555 (LDFLAGS-tst-array5): Likewise.
38557 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38560 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38561 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38562 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38563 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38565 2013-01-21 David S. Miller <davem@davemloft.net>
38567 * sysdeps/sparc/backtrace.c: New file.
38568 * sysdeps/sparc/sparc32/backtrace.h: New file.
38569 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38570 * sysdeps/sparc/sparc64/backtrace.h: New file.
38571 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38572 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38575 2013-01-21 Andreas Schwab <schwab@suse.de>
38578 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38581 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38587 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38588 Mark Mitchell <mark@codesourcery.com>
38589 Tom de Vries <tom@codesourcery.com>
38590 Paul Pluzhnikov <ppluzhnikov@google.com>
38592 * debug/tst-backtrace2.c: New file.
38593 * debug/tst-backtrace3.c: Likewise.
38594 * debug/tst-backtrace4.c: Likewise.
38595 * debug/tst-backtrace5.c: Likewise.
38596 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38597 (CFLAGS-tst-backtrace3.c): Likewise.
38598 (CFLAGS-tst-backtrace4.c): Likewise.
38599 (CFLAGS-tst-backtrace5.c): Likewise.
38600 (LDFLAGS-tst-backtrace2): Likewise.
38601 (LDFLAGS-tst-backtrace3): Likewise.
38602 (LDFLAGS-tst-backtrace4): Likewise.
38603 (LDFLAGS-tst-backtrace5): Likewise.
38604 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38605 tst-backtrace4 and tst-backtrace5.
38607 2013-01-18 Anton Blanchard <anton@samba.org>
38608 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38610 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38611 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38612 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38613 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38615 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38616 "+r" and remove output regs list as redundant. Add explicit inline
38617 asm to specify register of return val to work around compiler codegen
38618 bug. Remove (int) cast on return value. Add return type parameter to
38619 use in macro so that this macro does not truncate return value for
38621 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38622 pass to INTERNAL_VSYSCALL_NCS.
38623 (INLINE_VSYSCALL): Add 'long int' as return type to
38624 INTERNAL_VSYSCALL_NCS macro invocation.
38625 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38626 INTERNAL_VSYSCALL_NCS macro invocation.
38627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38629 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38632 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38633 Fix application of SIMD FP exception mask.
38635 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38636 mp_no from a power of two.
38637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38638 __mpexp_twomm1. Use __pow_mp.
38640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38643 2013-01-17 David S. Miller <davem@davemloft.net>
38645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38647 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38650 * include/complex.h: Condition contents on [!_COMPLEX_H].
38651 (__kernel_casinhf): New prototype.
38652 (__kernel_casinh): Likewise.
38653 (__kernel_casinhl): Likewise.
38654 * math/Makefile (libm_calls): Add k_casinh.
38655 * math/k_casinh.c: New file.
38656 * math/k_casinhf.c: Likewise.
38657 * math/k_casinhl.c: Likewise.
38658 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38659 finite nonzero arguments.
38660 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38661 finite nonzero arguments.
38662 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38663 finite nonzero arguments.
38664 * math/s_casinh.c: Do not include <float.h>.
38665 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38666 * math/s_casinhf.c: Do not include <float.h>.
38667 (__casinhf): Move code for finite nonzero arguments to
38669 * math/s_casinhl.c: Do not include <float.h>.
38670 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38672 (__casinhl): Move code for finite nonzero arguments to
38674 * math/libm-test.inc (cacos_test): Add more tests.
38675 * sysdeps/i386/fpu/libm-test-ulps: Update.
38676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38678 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38680 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38681 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38682 [!HAVE_MREMAP]: Remove [defined linux] case.
38683 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38685 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38687 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38689 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38691 * elf/elf.h (R_386_SIZE32): New relocation.
38692 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38694 (elf_machine_rela): Likewise.
38695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38696 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38698 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38700 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38701 (FP_FAST_FMA): Do not define.
38702 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38703 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38704 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38705 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38706 !_SOFT_FLOAT]: Likewise.
38707 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38710 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38711 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38712 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38713 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38714 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38715 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38718 2013-01-16 Andreas Schwab <schwab@suse.de>
38721 * include/stdlib.h (__mktemp): Add declaration.
38722 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38723 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38725 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38727 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38729 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38730 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38731 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38733 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38734 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38736 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38738 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38739 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38742 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38743 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38745 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38747 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38749 2013-01-15 David S. Miller <davem@davemloft.net>
38751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38752 trunc{,f} to libm-sysdep_routes.
38753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38763 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38764 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38765 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38766 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38767 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38768 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38771 nearbyint{,f} to libm-sysdep_routes.
38772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38785 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38786 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38788 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38789 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38790 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38792 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38793 libc_feholdexcept and libc_fesetenv.
38795 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38797 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38799 2013-01-14 David S. Miller <davem@davemloft.net>
38801 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38802 (SPARC_ASM_VIS2_IFUNC): Likewise.
38803 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38805 use of 'siam' instruction.
38806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38837 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38839 routines to libm-sysdep_routines.
38840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38843 fdim/fdimf to libm-sysdep_routines.
38844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38852 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38853 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38854 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38855 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38857 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38859 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38860 to optimize copies.
38862 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38867 local variable MPTWO.
38868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38871 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38873 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38876 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38878 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38880 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38882 * manual/pattern.texi (glob_t): Document gl_flags.
38883 (glob64_t): Likewise.
38885 2013-01-11 David S. Miller <davem@davemloft.net>
38887 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38888 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38889 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38890 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38891 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38892 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38893 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38894 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38895 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38896 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38897 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38898 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38899 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38901 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38902 sparc V9 rather than using V8 code.
38903 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38904 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38906 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38908 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38911 2013-01-11 Roland McGrath <roland@hack.frob.com>
38913 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38914 not in the main loop.
38915 * configure: Regenerated.
38917 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38919 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38920 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38922 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38923 [!__GLIBC_HAVE_LONG_LONG] case.
38924 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38925 condition to just #else.
38926 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38927 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38928 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38929 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38931 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38932 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38933 #elif condition to just #else.
38934 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38935 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38936 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38937 #elif condition to just #else.
38939 2013-01-11 Steve Ellcey <sellcey@mips.com>
38941 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38942 (EF_MIPS_ARCH_64): Fix value.
38943 (EF_MIPS_ARCH_32R2): New.
38944 (EF_MIPS_ARCH_64R2): New.
38946 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38948 * Makeconfig (+link-pie-before-libc): New.
38949 (+link-pie-after-libc): Likewise.
38950 (+link-pie-tests): Likewise.
38951 (+link-pie): Rewritten.
38952 (link-before-libc): Remove $(config-LDFLAGS).
38953 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38954 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38955 (config-LDFLAGS): Renamed to ...
38956 (rtld-LDFLAGS): This.
38957 (rtld-tests-LDFLAGS): New macro.
38958 (link-libc-rpath-link): Likewise.
38959 (link-libc-tests-rpath-link): Likewise.
38960 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38961 (link-libc): Prepand $(link-libc-rpath-link).
38962 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38963 (test-program-prefix): New macro.
38964 (test-via-rtld-prefix): Likewise.
38965 (test-program-cmd): Likewise.
38966 (host-test-program-cmd): Likewise.
38967 * Makefile ($(common-objpfx)testrun.sh): Replace
38968 $(run-program-prefix) with $(test-program-prefix).
38969 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38971 ($(common-objpfx)shlib.lds): Likewise.
38972 (build-module-helper): Likewise.
38973 ($(common-objpfx)format.lds): Likewise.
38974 * Rules (binaries-pie-tests): New.
38975 (binaries-pie-notests): Likewise.
38976 (binaries-pie): Rewritten.
38977 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38978 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38979 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38980 (make-test-out): Replace $(host-built-program-cmd) with
38981 $(host-test-program-cmd).
38982 * config.make.in (build-hardcoded-path-in-tests): New variable.
38983 * configure.in (--enable-hardcoded-path-in-tests): New configure
38985 (hardcoded_path_in_tests): New AC_SUBST.
38986 * configure: Regenerated.
38987 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38988 $(built-program-cmd) with $(test-program-cmd).
38989 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38990 (test_program_cmd): This.
38991 * elf/Makefile ($(objpfx)order.out): Run test with
38992 $(test-program-prefix).
38993 ($(objpfx)order2.out): Likewise.
38994 ($(objpfx)tst-initorder.out): Likewise.
38995 ($(objpfx)tst-initorder2.out): Likewise.
38996 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38997 $(test-program-cmd).
38998 ($(objpfx)tst-array1-static.out): Likewise.
38999 ($(objpfx)tst-array2.out): Likewise.
39000 ($(objpfx)tst-array3.out): Likewise.
39001 ($(objpfx)tst-array4.out): Likewise.
39002 ($(objpfx)tst-array5.out): Likewise.
39003 ($(objpfx)tst-array5-static.out): Likewise.
39004 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39005 $(test-program-cmd).
39006 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39007 $(run-program-prefix) with $(test-program-prefix).
39008 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39009 (test_program_prefix): This.
39010 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39011 $(run-program-prefix) with $(test-program-prefix).
39012 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39013 (test_program_prefix): This.
39014 * iconvdata/tst-tables.sh: Likewise.
39015 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39016 $(run-program-prefix) with $(test-program-prefix).
39017 ($(objpfx)tst-translit.out): Likewise.
39018 ($(objpfx)tst-gettext2.out): Likewise.
39019 ($(objpfx)tst-gettext4.out): Likewise.
39020 ($(objpfx)tst-gettext6.out): Likewise.
39021 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39022 (test_program_prefix): This.
39023 * intl/tst-gettext2.sh: Likewise.
39024 * intl/tst-gettext4.sh Likewise.
39025 * intl/tst-gettext6.sh: Likewise.
39026 * intl/tst-translit.sh: Likewise.
39027 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39028 with $(test-program-cmd).
39029 * libio/Makefile ($(objpfx)test-freopen.out): Replace
39030 $(run-program-prefix) with $(test-program-prefix).
39031 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39032 (test_program_prefix): This.
39033 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39034 $(run-program-prefix) with $(test-program-prefix).
39035 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39036 (test_program_prefix): This.
39037 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39038 * posix/Makefile ($(objpfx)globtest.out): Replace
39039 $(run-via-rtld-prefix) and $(test-wrapper) with
39040 $(test-program-prefix) and $(test-via-rtld-prefix).
39041 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39042 $(test-program-prefix).
39043 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39044 $(host-test-program-cmd).
39045 (tst-spawn-ARGS): Likewise.
39046 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39047 $(test-program-prefix).
39048 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39049 (test_via_rtld_prefix): This.
39050 (test_wrapper): Renamed to ...
39051 (test_program_prefix): This.
39052 (run_program_prefix): Replaced by test_program_prefix.
39053 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39054 (test_program_prefix): This.
39055 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39056 with $(host-test-program-cmd).
39057 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39058 $(run-program-prefix) with $(test-program-prefix).
39059 ($(objpfx)tst-printf.out): Likewise.
39060 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39061 $(test-program-cmd).
39062 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39063 (test_program_prefix): This.
39064 * stdio-common/tst-unbputc.sh: Likewise.
39065 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39066 $(run-program-prefix) with $(test-program-prefix).
39067 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39068 (test_program_prefix): This.
39069 * string/Makefile ($(objpfx)tst-svc.out): Replace
39070 $(built-program-cmd) with $(test-program-cmd).
39072 2013-01-11 Andreas Jaeger <aj@suse.de>
39075 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39076 value. Sync with Linux 3.7.
39078 2013-01-10 David S. Miller <davem@davemloft.net>
39080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39084 2013-01-10 Roland McGrath <roland@hack.frob.com>
39086 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39088 * configure: Regenerated.
39090 2013-01-10 David S. Miller <davem@davemloft.net>
39092 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39093 sparc V9 rather than using V8 code.
39094 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39095 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39097 2013-01-10 Roland McGrath <roland@hack.frob.com>
39099 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39100 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39101 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39102 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39103 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39104 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39105 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39106 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39107 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39108 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39109 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39110 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39111 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39112 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39113 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39114 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39115 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39116 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39117 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39118 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39119 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39120 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39121 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39122 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39123 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39124 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39125 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39127 2013-01-10 David S. Miller <davem@davemloft.net>
39129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39131 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39133 * posix/Makefile (tests-static): New variable.
39134 (tests): Add $(tests-static).
39135 (tst-exec-static-ARGS): New variable.
39136 (tst-spawn-static-ARGS): Likewise.
39137 * posix/tst-exec-static.c: New file.
39138 * posix/tst-spawn-static.c: Likewise.
39139 * posix/tst-exec.c: Support run directly.
39140 * posix/tst-spawn.c: Likewise.
39142 2013-01-10 Joseph Myers <joseph@codesourcery.com>
39144 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39146 * math/bits/mathcalls.h (llrint): Likewise.
39147 (llround): Likewise.
39148 * stdlib/stdlib.h (struct drand48_data): Likewise.
39149 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39150 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39151 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39153 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39155 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39156 (elf_greg_t): Likewise.
39157 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39158 (__jmp_buf): Likewise.
39159 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39161 (llrint): Likewise, for all definitions.
39162 (llrintl): Likewise.
39164 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39165 Remove [__GNUC__] condition.
39166 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39167 condition to just [__USE_ISOC99].
39168 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39170 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
39173 * sysdeps/unix/sysv/linux/x86/bits/environments.h
39174 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39176 (_POSIX_V6_ILP32_OFF32): Likewise.
39177 (_XBS5_ILP32_OFF32): Likewise.
39178 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39179 (__ILP32_OFFBIG_LDFLAGS): Likewise.
39181 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39183 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39186 doubles __mpexp_twomm1. Adjust usage.
39187 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39190 2013-01-10 Andreas Schwab <schwab@suse.de>
39193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39194 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39196 2013-01-09 David S. Miller <davem@davemloft.net>
39199 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39200 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39201 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39202 (TCP_FASTOPEN): Define.
39203 (tcp_repair_opt): New structure.
39204 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39206 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39207 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39208 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39209 (tcp_cookie_transactions): New structure.
39211 2013-01-09 Anton Blanchard <anton@samba.org>
39213 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39214 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39216 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39218 2013-01-09 Joseph Myers <joseph@codesourcery.com>
39220 * include/features.h (__USE_ANSI): Remove.
39222 2013-01-09 Roland McGrath <roland@hack.frob.com>
39224 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39226 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39228 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
39230 * sysdeps/s390/fpu/libm-test-ulps: Update.
39232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39234 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39238 (denorm): Likewise.
39239 (__mp_dbl): Likewise.
39240 (__dbl_mp): Likewise.
39241 (add_magnitudes): Likewise.
39242 (sub_magnitudes): Likewise.
39248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39252 (denorm): Likewise.
39253 (__mp_dbl): Likewise.
39254 (__dbl_mp): Likewise.
39255 (add_magnitudes): Likewise.
39256 (sub_magnitudes): Likewise.
39262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39266 (denorm): Likewise.
39267 (__mp_dbl): Likewise.
39268 (__dbl_mp): Likewise.
39269 (add_magnitudes): Likewise.
39270 (sub_magnitudes): Likewise.
39277 2013-01-08 Joseph Myers <joseph@codesourcery.com>
39279 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39280 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39281 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39282 2 && __USE_EXTERN_INLINES]: Likewise.
39284 2013-01-08 Andreas Jaeger <aj@suse.de>
39287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39289 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39290 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39292 2013-01-07 Anton Blanchard <anton@samba.org>
39294 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39295 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39296 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39297 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39298 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39299 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39300 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39301 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39304 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39305 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39307 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39308 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39309 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39312 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39314 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39315 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39317 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39318 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39319 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39320 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39321 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39323 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39324 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39326 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39327 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39328 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39329 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39330 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39331 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39332 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39334 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39336 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39338 2013-01-07 Joseph Myers <joseph@codesourcery.com>
39340 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39341 (__MALLOC_PMT): Likewise.
39342 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39343 [__GNUC__], only on [_LIBC].
39344 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39345 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39346 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39347 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39348 forward declaration.
39349 (realloc_hook_ini): Likewise.
39350 (memalign_hook_ini): Likewise.
39351 (__libc_memalign): Do not use __MALLOC_PMT in variable
39353 (__libc_valloc): Likewise.
39354 (__libc_pvalloc): Likewise.
39355 (__libc_calloc): Likewise.
39356 (__posix_memalign): Likewise.
39359 * math/s_casinh.c: Include <float.h>.
39360 (__casinh): Do not do computation with squaring and square root
39361 for large arguments.
39362 * math/s_casinhf.c: Include <float.h>.
39363 (__casinhf): Do not do computation with squaring and square root
39364 for large arguments.
39365 * math/s_casinhl.c: Include <float.h>.
39366 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39367 (__casinhl): Do not do computation with squaring and square root
39368 for large arguments.
39369 * math/libm-test.inc (casin_test): Add more tests.
39370 (casinh_test): Likewise.
39371 * sysdeps/i386/fpu/libm-test-ulps: Update.
39372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39374 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
39376 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39377 (__x86_64_raw_data_cache_size): Likewise.
39378 (__x86_64_data_cache_size_half): Likewise.
39379 (__x86_64_raw_data_cache_size_half): Likewise.
39380 (__x86_64_shared_cache_size): Likewise.
39381 (__x86_64_raw_shared_cache_size): Likewise.
39382 (__x86_64_shared_cache_size_half): Likewise.
39383 (__x86_64_raw_shared_cache_size_half): Likewise.
39384 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39386 (__x86_data_cache_size): This.
39387 (__x86_64_raw_data_cache_size): Renamed to ...
39388 (__x86_raw_data_cache_size): This.
39389 (__x86_64_data_cache_size_half): Renamed to ...
39390 (__x86_data_cache_size_half): This.
39391 (__x86_64_raw_data_cache_size_half): Renamed to ...
39392 (__x86_raw_data_cache_size_half): This.
39393 (__x86_64_shared_cache_size): Renamed to ...
39394 (__x86_shared_cache_size): This.
39395 (__x86_64_raw_shared_cache_size): Renamed to ...
39396 (__x86_raw_shared_cache_size): This.
39397 (__x86_64_shared_cache_size_half): Renamed to ...
39398 (__x86_shared_cache_size_half): This.
39399 (__x86_64_raw_shared_cache_size_half): Renamed to ...
39400 (__x86_raw_shared_cache_size_half): This.
39401 * sysdeps/x86_64/memcpy.S: Updated.
39402 * sysdeps/x86_64/memset.S: Likewise.
39403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39407 2013-01-04 David S. Miller <davem@davemloft.net>
39409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39411 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39413 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39414 1 to avoid redefinition warning.
39415 (__USE_GNU): Don't define.
39416 (init_signaling_nan): Protoize.
39418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39420 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39422 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39424 (__cpymn): Likewise.
39425 (norm): Remove commented code.
39426 (denorm): Likewise.
39427 (__mp_dbl): Likewise.
39429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39430 (__cpymn): Likewise.
39431 (norm): Remove commented code.
39432 (denorm): Likewise.
39433 (__mp_dbl): Likewise.
39436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39437 mp_no value for 1.0 and 2.0.
39438 (norm): Use RADIXI instead of radixi.d.
39439 (denorm): Likewise.
39440 (__mul): Use 0.0 instead of zero.d.
39441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39442 mp_no value for 1.0 and 2.0.
39443 (norm): Use RADIXI instead of radixi.d.
39444 (denorm): Likewise.
39445 (__mul): Use 0.0 instead of zero.d.
39447 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39450 * math/s_casinh.c (__casinh): Reduce finite argument to first
39451 quadrant then set signs of results at the end.
39452 * math/s_casinhf.c (__casinhf): Likewise.
39453 * math/s_casinhl.c (__casinhl): Likewise.
39454 * math/libm-test.inc (casin_test): Add more tests.
39455 (casinh_test): Likewise.
39456 * sysdeps/i386/fpu/libm-test-ulps: Update.
39457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39459 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39461 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39463 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39465 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39467 (denorm): Likewise.
39468 (__mp_dbl): Likewise.
39471 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39472 and adjust the header comment.
39474 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39475 variable name from declaration.
39477 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39480 Initialize COMMON_CPUID_INDEX_7 element.
39481 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39482 (CPUID_RTM): Likewise.
39483 (HAS_RTM): Likewise.
39484 (COMMON_CPUID_INDEX_7): New enum.
39486 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39489 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39490 size is zero, record memory as freed.
39492 2013-01-03 Andreas Jaeger <aj@suse.de>
39494 * po/ia.po: Add new Interlingua translation.
39496 2012-01-03 Allan McRae <allan@archlinux.org>
39498 * locale/programs/localedef.c: Fix description of '--posix' flag.
39500 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39502 * NEWS: Update dates in second copyright notice.
39503 * README: Update copyright dates in example.
39504 * manual/libc.texinfo: Update copyright dates.
39505 * scripts/test-installation.pl: Update copyright date in --version
39508 * hurd/ctty-input.c: Fix copyright notice formatting.
39509 * hurd/ctty-output.c: Likewise.
39510 * hurd/dtable.c: Likewise.
39511 * hurd/hurd-raise.c: Likewise.
39512 * hurd/hurdprio.c: Likewise.
39513 * hurd/msgportdemux.c: Likewise.
39514 * misc/sys/file.h: Likewise.
39515 * misc/sys/ioctl.h: Likewise.
39516 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39517 * sysdeps/mach/hurd/chdir.c: Likewise.
39518 * sysdeps/mach/hurd/fchdir.c: Likewise.
39519 * sysdeps/mach/hurd/rename.c: Likewise.
39520 * sysdeps/mach/hurd/rmdir.c: Likewise.
39521 * sysdeps/mach/hurd/seekdir.c: Likewise.
39522 * sysdeps/mach/hurd/setsid.c: Likewise.
39523 * sysdeps/posix/wait3.c: Likewise.
39525 * All files with FSF copyright notices: Update copyright dates
39526 using scripts/update-copyrights.
39527 * intl/plural.c: Regenerated.
39528 * locale/programs/charmap-kw.h: Likewise.
39529 * locale/programs/locfile-kw.h: Likewise.
39531 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39533 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39536 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39537 calculation loop and add branch prediction.
39539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39540 check access beyond bounds of m1np.
39542 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39544 (__inv): Remove local variable MPTWO to use the global
39546 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39549 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39550 MP3HALFS static const.
39552 2013-01-01 David S. Miller <davem@davemloft.net>
39554 * po/ca.po: Update from translation team.
39556 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39558 * scripts/update-copyrights: New file.
39559 * Makeconfig: Reformat copyright notice.
39560 * ctype/ctype.h: Likewise.
39561 * debug/swprintf_chk.c: Likewise.
39562 * elf/dl-cache.c: Likewise.
39563 * elf/dl-debug.c: Likewise.
39564 * elf/dl-object.c: Likewise.
39565 * grp/initgroups.c: Likewise.
39566 * hurd/Makefile: Likewise.
39567 * hurd/hurd/signal.h: Likewise.
39568 * hurd/hurdfault.c: Likewise.
39569 * hurd/hurdioctl.c: Likewise.
39570 * hurd/hurdlookup.c: Likewise.
39571 * hurd/intr-msg.c: Likewise.
39572 * iconv/gconv_open.c: Likewise.
39573 * libio/swprintf.c: Likewise.
39574 * locale/lc-ctype.c: Likewise.
39575 * locale/nl_langinfo.c: Likewise.
39576 * mach/Machrules: Likewise.
39577 * mach/Makefile: Likewise.
39578 * malloc/obstack.h: Likewise.
39579 * manual/Makefile: Likewise.
39580 * manual/tsort.awk: Likewise.
39581 * misc/bits/stab.def: Likewise.
39582 * nis/nis_print_group_entry.c: Likewise.
39583 * nis/nis_table.c: Likewise.
39584 * nis/nss_compat/compat-pwd.c: Likewise.
39585 * nis/nss_compat/compat-spwd.c: Likewise.
39586 * po/Makefile: Likewise.
39587 * posix/fnmatch.c: Likewise.
39588 * posix/regex.h: Likewise.
39589 * resolv/Makefile: Likewise.
39590 * resolv/nss_dns/dns-network.c: Likewise.
39591 * resolv/res_hconf.c: Likewise.
39592 * scripts/gen-sorted.awk: Likewise.
39593 * soft-fp/soft-fp.h: Likewise.
39594 * stdio-common/printf.h: Likewise.
39595 * stdlib/monetary.h: Likewise.
39596 * stdlib/random.c: Likewise.
39597 * stdlib/random_r.c: Likewise.
39598 * sysdeps/generic/Makefile: Likewise.
39599 * sysdeps/gnu/Makefile: Likewise.
39600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39610 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39611 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39612 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39613 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39614 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39615 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39616 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39623 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39624 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39626 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39627 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39628 * sysdeps/mach/hurd/errnos.awk: Likewise.
39629 * sysdeps/mach/hurd/fork.c: Likewise.
39630 * sysdeps/mach/hurd/getcwd.c: Likewise.
39631 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39632 * sysdeps/mach/hurd/mmap.c: Likewise.
39633 * sysdeps/mach/hurd/utimes.c: Likewise.
39634 * sysdeps/mach/hurd/xmknod.c: Likewise.
39635 * sysdeps/posix/profil.c: Likewise.
39636 * sysdeps/posix/readdir_r.c: Likewise.
39637 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39638 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39639 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39640 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39642 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39643 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39644 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39647 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39648 * sysdeps/pthread/lio_listio.c: Likewise.
39649 * sysdeps/sparc/dl-procinfo.h: Likewise.
39650 * sysdeps/unix/i386/sysdep.S: Likewise.
39651 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39652 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39653 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39654 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39656 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39657 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39658 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39659 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39660 * sysdeps/wordsize-32/divdi3.c: Likewise.
39661 * time/sys/time.h: Likewise.
39662 * wcsmbs/Makefile: Likewise.
39664 2013-01-01 David S. Miller <davem@davemloft.net>
39666 * po/fr.po: Update from translation team.
39668 * catgets/gencat.c: Update copyright year.
39669 * csu/version.c: Likewise.
39670 * debug/catchsegv.sh: Likewise.
39671 * debug/pcprofiledump.c: Likewise.
39672 * debug/xtrace.sh: Likewise.
39673 * elf/ldconfig.c: Likewise.
39674 * elf/ldd.bash.in: Likewise.
39675 * elf/pldd.c: Likewise.
39676 * elf/sotruss.ksh: Likewise.
39677 * elf/sprof.c: Likewise.
39678 * iconv/iconv_prog.c: Likewise.
39679 * iconv/iconvconfig.c: Likewise.
39680 * locale/programs/locale.c: Likewise.
39681 * locale/programs/localedef.c: Likewise.
39682 * login/programs/pt_chown.c: Likewise.
39683 * malloc/memusage.sh: Likewise.
39684 * malloc/memusagestat.c: Likewise.
39685 * malloc/mtrace.pl: Likewise.
39686 * nscd/nscd.c: Likewise.
39687 * nss/getent.c: Likewise.
39688 * nss/makedb.c: Likewise.
39689 * posix/getconf.c: Likewise.
39691 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39693 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39696 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39698 * math/bits/mathcalls.h (modf): Use __nonnull.
39700 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39702 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39703 (split): Use macro CN instead of the bare value.
39704 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39707 instead of the bare value.
39708 (power1): Likewise.
39710 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39712 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39714 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39716 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39718 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39719 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39720 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39721 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39723 2012-12-28 Andreas Jaeger <aj@suse.de>
39725 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39726 values are from Linux 3.7.
39728 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39729 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39731 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39733 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39738 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39739 variables with preprocessor constants.
39740 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39741 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39742 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39744 2012-12-27 Bruno Haible <bruno@clisp.org>
39747 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39750 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39753 and use variable directly.
39754 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39756 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39758 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39759 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39761 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39763 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39764 include directive. Remove local variable MPONE.
39765 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39766 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39767 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39769 2012-12-25 David S. Miller <davem@davemloft.net>
39771 * version.h (RELEASE): Set to "development".
39772 (VERSION): Set to "2.17.90".
39773 * NEWS: Add 2.18 section.
39775 2012-12-21 David S. Miller <davem@davemloft.net>
39777 * po/hr.po: Update from translation team.
39779 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39781 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39783 2012-12-19 Steve Ellcey <sellcey@mips.com>
39785 * NEWS: Mention new memcpy for MIPS.
39787 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39789 * manual/contrib.texi (Contributors): Spelling correction.
39791 2012-12-15 David S. Miller <davem@davemloft.net>
39793 * po/ru.po: Update from translation team.
39795 2012-12-13 David S. Miller <davem@davemloft.net>
39797 * NEWS: Mention IFUNC testsuite enhancements.
39799 * po/pl.po: Update from translation team.
39800 * po/bg.po: Likewise.
39802 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39803 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39805 2012-12-11 David S. Miller <davem@davemloft.net>
39807 * po/sv.po: Update from translation team.
39809 * po/vi.po: Update from translation team.
39811 * po/cs.po: Update from translation team.
39813 * po/de.po: Update from translation team.
39814 * po/eo.po: Likewise.
39815 * po/nl.po: Likewise.
39817 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39820 * manual/argp.texi (Argp Helper Functions): Move node to follow
39821 Argp Parsing State.
39824 * manual/conf.texi (Limits on File System Capacity): Mention if
39825 terminating null is included in the max size.
39827 2012-12-10 Andreas Jaeger <aj@suse.de>
39829 * po/cs.po: Update from translation team.
39831 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39833 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39834 void pointer and cast to uintptr_t.
39835 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39837 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39838 * sysdeps/s390/s390-64/memset.S: Likewise.
39840 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39843 * menual/message.texi (Message Translation): Fix typos.
39844 (Helper programs for gettext): Likewise.
39846 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39849 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39852 2012-12-07 David S. Miller <davem@davemloft.net>
39854 * po/libc.pot: Update.
39856 2012-12-07 Richard Henderson <rth@redhat.com>
39859 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39860 normal/normal case to before the switch.
39861 (_FP_DIV): Likewise.
39863 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39864 Mike Frysinger <vapier@gentoo.org>
39866 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39867 check for __NR_fadvise64_64.
39869 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39871 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39872 0, not just to plain "0" as a statement.
39873 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39876 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39878 * NEWS: Use sourceware.org in Bugzilla URL.
39880 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39883 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39885 * stdio-common/tst-put-error.c (do_test): Add newline to the
39886 padded test to ensure flush.
39888 2012-12-05 Jeff Law <law@redhat.com>
39890 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39892 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39894 * README: Don't refer to ports add-on as distributed separately.
39895 Mention AArch64 in list of systems supported in the ports add-on.
39897 * LICENSES: Add more non-FSF copyright and license notices.
39899 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39902 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39904 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39905 10000 as width of padded output.
39907 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39909 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39911 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39912 variable LX with __attribute__ ((unused)).
39913 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39915 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39918 with __attribute__ ((unused)).
39920 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39922 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39924 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39926 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39927 (CFLAGS-nldbl-acos.c): New variable.
39928 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39929 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39930 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39931 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39932 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39933 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39934 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39935 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39936 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39937 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39938 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39939 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39940 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39941 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39942 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39943 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39944 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39945 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39946 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39947 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39948 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39949 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39950 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39951 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39952 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39953 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39954 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39955 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39956 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39957 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39958 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39959 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39960 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39961 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39962 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39963 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39964 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39965 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39966 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39967 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39968 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39969 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39970 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39971 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39972 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39973 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39974 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39975 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39976 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39977 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39978 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39979 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39980 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39981 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39982 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39983 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39984 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39985 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39986 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39987 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39988 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39989 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39990 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39991 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39992 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39993 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39994 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39995 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39996 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39997 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39998 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39999 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40000 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40001 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40002 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40003 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40004 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40005 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40006 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40007 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40008 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40009 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40010 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40011 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40012 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40013 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40014 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40015 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40016 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40017 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40018 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40019 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40020 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40021 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40022 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40023 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40024 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40027 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40031 whole low double instead of just low 47 bits when splitting values
40034 2012-12-03 Allan McRae <allan@archlinux.org>
40036 * manual/stdio.texi (Predefined Printf Handlers): Remove
40037 @hsep and @vsep usage.
40039 2012-12-03 Mike Frysinger <vapier@gentoo.org>
40041 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40042 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40044 2012-12-03 Jeff Law <law@redhat.com>
40046 * time/sys/time.h (settimeofday): Do not mark TV argument
40049 2012-12-01 Mike Frysinger <vapier@gentoo.org>
40051 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40052 when currently writing and seek to current position when not.
40053 * libio/Makefile (tests): Remove bug-fclose1.
40054 * libio/bug-fclose1.c: Delete.
40056 2012-12-01 Joseph Myers <joseph@codesourcery.com>
40058 * manual/arith.texi (feenableexcept): Fix typo.
40059 (fedisableexcept): Likewise.
40061 2012-11-30 Roland McGrath <roland@hack.frob.com>
40063 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40064 second, differently-typed declaration, rather than a cast.
40066 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40068 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40069 * include/rpc/svc.h: ... here.
40071 2012-11-30 Aurelien Jarno <aurel32@debian.org>
40074 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40075 depending n and resplen2 to catch cases where answer
40078 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
40080 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40081 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40083 2012-11-29 Mike Frysinger <vapier@gentoo.org>
40085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40087 2012-11-29 Roland McGrath <roland@hack.frob.com>
40089 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40091 2012-11-28 Jeff Law <law@redhat.com>
40094 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40095 dataset_temporary. Track alloca usage into alloca_used.
40096 If dataset is large allocate and release it via malloc/free.
40098 2012-06-04 Florian Weimer <fweimer@redhat.com>
40101 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40103 2012-11-28 David S. Miller <davem@davemloft.net>
40105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40107 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40110 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40111 of pi/2 rounded to nearest to 64 bits.
40112 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40113 nearest to 64 bits.
40114 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40117 2012-11-28 Jeff Law <law@redhat.com>
40118 Martin Osvald <mosvald@redhat.com>
40121 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40122 * sunrpc/svc.c: Include time.h.
40123 (__svc_accept_failed): New function.
40124 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40125 any reason other than EINTR, call __svc_accept_failed.
40126 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40127 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40129 2012-11-28 Andreas Schwab <schwab@suse.de>
40131 * scripts/abilist.awk: Also handle indirect functions in .opd
40134 2012-11-28 Joseph Myers <joseph@codesourcery.com>
40137 * sysdeps/x86/fpu/powl_helper.c: New file.
40138 * sysdeps/x86/fpu/Makefile: Likewise.
40139 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40141 (__ieee754_powl): Use __powl_helper for finite arguments except
40142 integer exponents below 8.
40143 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40145 (__ieee754_powl): Use __powl_helper for finite arguments except
40146 integer exponents below 8.
40147 * math/libm-test.inc (pow_test): Add more tests and enable some
40148 previously disabled tests.
40149 * sysdeps/i386/fpu/libm-test-ulps: Update.
40150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40152 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40153 Carlos O'Donell <carlos_odonell@mentor.com>
40155 * nss/makedb.c (is_prime): Assert that input is odd and greater
40156 than 4. Note that fact in a comment too.
40157 (next_prime): Add 4 to input.
40159 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40162 * libio/Makefile (tests): Add test case tst-fwrite-error.
40163 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40164 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40165 * libio/tst-fwrite-error.c: New test case.
40167 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
40169 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40170 before casting to void *.
40171 * include/libc-internal.h (__pointer_type): New macro.
40172 (__integer_if_pointer_type_sub): Likewise.
40173 (__integer_if_pointer_type): Likewise.
40174 (cast_to_integer): Likewise.
40175 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40176 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40177 before casting to atomic64_t.
40178 (atomic_exchange_acq): Likewise.
40179 (__arch_exchange_and_add_body): Likewise.
40180 (__arch_add_body): Likewise.
40181 (atomic_add_negative): Likewise.
40182 (atomic_add_zero): Likewise.
40184 2012-11-26 Joseph Myers <joseph@codesourcery.com>
40186 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40187 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40188 (add_fdes): Likewise.
40189 (linear_search_fdes): Likewise.
40190 (binary_search_unencoded_fdes): Likewise.
40192 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
40194 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40196 2012-11-24 Adam Conrad <adconrad@0c3.net>
40198 * configure.in: Autodetect C++ header directories.
40199 * configure: Regenerated.
40201 2012-11-23 Mike Frysinger <vapier@gentoo.org>
40203 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40205 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40209 2012-11-22 Joseph Myers <joseph@codesourcery.com>
40211 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40212 LDBL_MANT_DIG == 106]: Disable some tests.
40213 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40215 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40219 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40220 input for small inputs. Return +/- pi/2 for large inputs.
40221 * math/libm-test.inc (atan_test): Add more tests.
40223 * sysdeps/generic/unwind-dw2-fde-glibc.c
40224 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40225 __attribute__ ((unused)).
40228 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40229 x * y if x and y are nonzero and z is zero.
40232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40233 nonzero exponents with absolute value below 0x1p-117 to +/-
40237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40238 up arguments below 2**-450, not just those below 2**-500.
40239 * math/libm-test.inc (hypot_test): Add another test.
40242 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40243 Return a+b for ratio over 2**120, not 2**60.
40244 * math/libm-test.inc (hypot_test): Add another test.
40246 * math/libm-test.inc (clog_test): Use
40247 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40248 (clog10_test): Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40253 2012-11-22 Andreas Schwab <schwab@suse.de>
40255 * sysdeps/i386/fpu/libm-test-ulps: Update.
40257 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
40259 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40260 printf output with newline.
40262 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
40265 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40266 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40267 -z nodlopen, -z initfirst and -z execstack support.
40268 * configure: Regenerated.
40270 * elf/elf.h (DF_1_NODIRECT): New macro.
40271 (DF_1_IGNMULDEF): Likewise.
40272 (DF_1_NOKSYMS): Likewise.
40273 (DF_1_NOHDR): Likewise.
40274 (DF_1_EDITED): Likewise.
40275 (DF_1_NORELOC): Likewise.
40276 (DF_1_SYMINTPOSE): Likewise.
40277 (DF_1_GLOBAUDIT): Likewise.
40278 (DF_1_SINGLETON): Likewise.
40279 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40280 DT_1_SUPPORTED_MASK bits.
40281 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40283 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
40285 * sysdeps/unix/make-syscalls.sh: Document prefixes.
40287 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
40289 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40292 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40293 (sendmmsg): Move declarations...
40294 * socket/sys/socket.h: ... here.
40295 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40296 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40298 * socket/recvmmsg.c: ... this new file.
40299 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40300 (sendmmsg): Rename to __sendmmsg, create weak alias and make
40301 definition of __sendmmsg hidden.
40302 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40303 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40304 Move ENOSYS stub into and include it from...
40305 * socket/sendmmsg.c: ... this new file.
40306 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40307 (sysdep_routines): Move recvmmsg and sendmmsg...
40308 * socket/Makefile (routines): ... here.
40309 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40310 (GLIBC_PRIVATE): Add __sendmmsg.
40311 * include/sys/socket.h (__sendmmsg): Add declarations.
40312 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40315 2012-11-20 Joseph Myers <joseph@codesourcery.com>
40317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40318 variable I1 with __attribute__ ((unused)).
40319 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40321 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40323 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40324 DUMMY variables with __attribute__ ((unused)).
40326 * bits/byteswap.h: Include <bits/types.h>.
40327 (__bswap_64): Use __uint64_t instead of unsigned long long int.
40329 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40331 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40332 string_t. Do not manually set errno.
40333 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40334 length with __strnlen. Make sure to both set errno and return it on
40337 2012-11-19 David S. Miller <davem@davemloft.net>
40339 With help from Joseph Myers.
40340 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40341 very large arguments properly.
40342 * math/libm-test.inc (atan_test): New tests.
40343 (atan2_test): New tests.
40344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40347 2012-11-19 Joseph Myers <joseph@codesourcery.com>
40350 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40353 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40354 [POSIX] (EADDRNOTAVAIL): Likewise.
40355 [POSIX] (EAFNOSUPPORT): Likewise.
40356 [POSIX] (EALREADY): Likewise.
40357 [POSIX] (ECONNABORTED): Likewise.
40358 [POSIX] (ECONNREFUSED): Likewise.
40359 [POSIX] (ECONNRESET): Likewise.
40360 [POSIX] (EDESTADDRREQ): Likewise.
40361 [POSIX] (EDQUOT): Likewise.
40362 [POSIX] (EHOSTUNREACH): Likewise.
40363 [POSIX] (EIDRM): Likewise.
40364 [POSIX] (EISCONN): Likewise.
40365 [POSIX] (ELOOP): Likewise.
40366 [POSIX] (EMULTIHOP): Likewise.
40367 [POSIX] (ENETDOWN): Likewise.
40368 [POSIX] (ENETUNREACH): Likewise.
40369 [POSIX] (ENOBUFS): Likewise.
40370 [POSIX] (ENODATA): Likewise.
40371 [POSIX] (ENOLINK): Likewise.
40372 [POSIX] (ENOMSG): Likewise.
40373 [POSIX] (ENOPROTOOPT): Likewise.
40374 [POSIX] (ENOSR): Likewise.
40375 [POSIX] (ENOSTR): Likewise.
40376 [POSIX] (ENOTCONN): Likewise.
40377 [POSIX] (ENOTSOCK): Likewise.
40378 [POSIX] (EOPNOTSUPP): Likewise.
40379 [POSIX] (EOVERFLOW): Likewise.
40380 [POSIX] (EPROTO): Likewise.
40381 [POSIX] (EPROTONOSUPPORT): Likewise.
40382 [POSIX] (EPROTOTYPE): Likewise.
40383 [POSIX] (ESTALE): Likewise.
40384 [POSIX] (ETIME): Likewise.
40385 [POSIX] (ETXTBSY): Likewise.
40386 [POSIX] (EWOULDBLOCK): Likewise.
40387 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40388 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40389 [POSIX] (SEEK_CUR): Likewise.
40390 [POSIX] (SEEK_END): Likewise.
40391 [POSIX || UNIX98] (mode_t): Do not require.
40392 [POSIX] (off_t): Likewise.
40393 [POSIX] (pid_t): Likewise.
40394 [POSIX] (sys/stat.h): Do not allow header.
40395 [POSIX] (unistd.h): Likewise.
40396 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40397 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40398 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40399 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40401 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40402 sigevent): Specify elements.
40403 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40405 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40406 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40408 * conform/data/cpio.h-data [POSIX]: Disable whole file.
40409 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40410 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40411 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40412 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40413 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40414 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40415 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40416 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40417 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40418 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40419 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40420 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40425 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40427 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40429 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40430 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40431 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40432 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40433 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40434 Specify lower bound on value.
40435 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40436 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40437 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40438 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40439 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40440 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40441 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40442 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40444 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40446 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40447 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40448 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40449 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40450 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40451 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40452 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40453 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40454 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40455 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40456 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40457 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40458 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40459 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40460 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40461 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40463 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40465 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40466 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40467 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40468 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40469 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40470 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40472 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40473 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40474 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40475 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40476 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40477 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40478 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40480 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40481 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40482 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40483 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40484 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40485 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40486 specify as optional.
40487 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40488 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40489 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40490 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40491 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40492 [XPG3] (NL_LANGMAX): Likewise.
40493 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40494 [POSIX || XPG3] (NL_NMAX): Likewise.
40495 [POSIX || XPG3] (NL_SETMAX): Likewise.
40496 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40497 [XPG3] (NZERO): Likewise.
40498 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40499 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40500 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40501 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40502 (REG_ERANGE): Expect.
40503 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40505 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40506 Use (void) in prototype.
40507 [POSIX] (*_t): Allow.
40508 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40509 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40510 (WRDE_BADVAL): Expect.
40512 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40514 [XPG3 || XPG4] (O_RSYNC): Likewise.
40515 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40517 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40518 [XPG3 || XPG4] (sigqueue): Likewise.
40519 [XPG3 || XPG4] (sigtimedwait): Likewise.
40520 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40521 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40522 [XPG3 || XPG4] (vsnprintf): Likewise.
40523 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40525 [XPG3 || XPG4] (blksize_t): Likewise.
40526 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40528 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40529 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40530 [XPG3 || XPG4] (struct itimerspec): Likewise.
40531 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40532 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40533 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40534 [XPG3 || XPG4] (clockid_t): Likewise.
40535 [XPG3 || XPG4] (timer_t): Likewise.
40536 [XPG3 || XPG4] (clock_getres): Likewise.
40537 [XPG3 || XPG4] (clock_gettime): Likewise.
40538 [XPG3 || XPG4] (clock_settime): Likewise.
40539 [XPG3 || XPG4] (nanosleep): Likewise.
40540 [XPG3 || XPG4] (timer_create): Likewise.
40541 [XPG3 || XPG4] (timer_delete): Likewise.
40542 [XPG3 || XPG4] (timer_gettime): Likewise.
40543 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40544 [XPG3 || XPG4] (timer_settime): Likewise.
40545 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40546 [XPG3 || XPG4] (getlogin_r): Likewise.
40547 [XPG3 || XPG4] (pread): Likewise.
40548 [XPG3 || XPG4] (pthread_atfork): Likewise.
40549 [XPG3 || XPG4] (pwrite): Likewise.
40552 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40555 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40557 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40558 finalizing MALLSTREAM.
40560 * sysdeps/mach/hurd/syncfs.c: New file.
40562 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40565 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40566 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40568 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40569 (_nss_dns_gethostbyname4_r): Likewise.
40570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40571 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40573 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40576 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40578 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40580 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40581 * elf/cache.c (print_entry): Print ",AArch64" for
40584 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40585 * elf/cache.c (print_entry): Print ",hard-float" for
40588 2012-11-18 David S. Miller <davem@davemloft.net>
40590 With help from Joseph Myers.
40591 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40593 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40595 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40596 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40598 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40599 * math/libm-test.inc (y0_test): New tests.
40600 (y1_test): New tests.
40601 * sysdeps/i386/fpu/libm-test-ulps: Update.
40602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40605 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40607 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40609 * configure: Regenerated.
40611 2012-11-17 David S. Miller <davem@davemloft.net>
40614 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40615 nonzero exponents with absolute value below 0x1p-128 to +/-
40618 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40620 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40622 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40624 * posix/getconf-speclist.c: New file.
40625 * posix/posix-envs.def: Likewise.
40626 * posix/confstr.c (START_ENV_GROUP): New macro.
40627 (END_ENV_GROUP): Likewise.
40628 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40629 (KNOWN_PRESENT_ENV_STRING): Likewise.
40630 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40631 (UNKNOWN_ENVIRONMENT): Likewise.
40632 (confstr): Include posix-envs.def instead of handling
40633 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40634 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40635 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40636 (END_ENV_GROUP): Likewise.
40637 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40638 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40639 (UNKNOWN_ENVIRONMENT): Likewise.
40640 (__sysconf): Include posix-envs.def instead of handling associated
40641 cases directly here.
40642 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40643 preprocessing getconf-speclist.c rather than running getconf or
40644 generating empty file.
40646 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40648 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40650 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40653 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40655 2012-11-16 David S. Miller <davem@davemloft.net>
40657 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40658 smaller than LDBL_EPSILON/2.0L, just return xm1.
40660 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40662 * elf/tst-array1.c (init): Set constructor priority to 1000.
40663 (fini): Set destructor priority to 1000.
40664 * elf/tst-array2dep.c: Likewise.
40666 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40669 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40670 (_IO_new_file_xsputn): Also return EOF if none of the input
40671 data was written when overflow failed.
40672 * libio/iopadn.c (_IO_padn): Likewise.
40673 * libio/iowpadn.c (_IO_wpadn): Likewise.
40674 * stdio-common/tst-put-error.c: Add copyright notice.
40675 (do_test): Add case for printing padded string.
40676 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40677 _IO_padn returned error.
40678 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40679 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40682 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40684 * libio/libioP.h: Add comment note that the references to C++
40685 bits are now obsolete.
40687 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40689 * math/libm-test.inc (check_complex): Use asprintf.
40691 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40693 * debug/pcprofiledump.c (print_version): Update copyright year.
40694 * malloc/memusagestat.c (print_version): Likewise.
40696 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40699 * elf/Makefile (tests): Add tst-audit8.
40700 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40701 ($(objpfx)tst-audit8.out): New target.
40702 (tst-audit8-ENV): New variable.
40703 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40704 audit if l_reloc_result is NULL.
40705 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40706 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40707 * elf/tst-audit8.c: New file.
40709 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40711 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40712 * misc/Makefile (CFLAGS-select.c): Define.
40713 * posix/Makefile (CFLAGS-pause.c): Define.
40715 2012-11-13 David S. Miller <davem@davemloft.net>
40717 * crypt/Makefile: Move test targets after toplevel Rules
40718 inclusion. Grab any necessary sysdep routines when linking.
40719 * crypt/md5.c (md5_process_block): Remove define, we will always
40720 name it __md5_process_block.
40721 (md5_finish_ctx): Update md5_process_block call.
40722 (md5_stream): Likewise.
40723 (md5_process_bytes): Likewise.
40724 (md5_process_block): Rename to __md5_process_block and move to ...
40725 * crypt/md5-block.c: ... here.
40726 * crypt/sha256.c (sha256_process_block): Move to ...
40727 * crypt/sha256-block.c: ... here.
40728 * crypt/sha512.c (sha512_process_block): Move to ...
40729 * crypt/sha512-block.c: ... here.
40730 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40732 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40733 * sysdeps/sparc/sparc64/multiarch/Makefile
40734 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40736 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40737 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40739 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40740 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40741 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40742 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40743 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40744 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40745 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40746 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40747 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40749 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40750 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40752 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40754 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40756 * timezone/tzselect.ksh: Update from tzcode git revision
40757 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40758 * timezone/zdump.c: Likewise.
40759 * timezone/zic.c: Likewise.
40760 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40761 in TZVERSION setting, not $(PKGVERSION).
40762 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40763 REPORT_BUGS_TO settings.
40766 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40769 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40771 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40772 detection to immediately after _FP_ROUND().
40773 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40776 2012-11-11 David S. Miller <davem@davemloft.net>
40778 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40780 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40781 __close rather than their public counterparts.
40783 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40785 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40787 [UNIX98] (sem_timedwait): Do not expect.
40788 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40789 [XPG4 || UNIX98] (sockatmark): Do not expect.
40790 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40791 (clock_getcpuclockid): Do not expect.
40792 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40793 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40795 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40796 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40797 [UNIX98] (vwscanf): Likewise.
40798 [UNIX98] (vswscanf): Likewise.
40800 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40802 * timezone/version.h: Remove file.
40803 * timezone/README: Do not refer to version.h.
40804 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40805 $(objpfx)version.h.
40806 ($(objpfx)zdump.o): Likewise.
40807 ($(objpfx)version.h): New target.
40809 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40811 * timezone/README: Don't mention modification to tzselect.ksh.
40812 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40813 work on unmodified tzselect.ksh. Substitute version numbers in
40816 * Makefile (format-me): Remove.
40817 (INSTALL): Adjust indentation. Use commands directly instead of
40818 using $(format-me).
40820 * aclocal.m4 (ACX_PKGVERSION): New macro.
40821 (ACX_BUGURL): Likewise.
40822 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40823 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40824 (REPORT_BUGS_TO): Likewise.
40825 * configure: Regenerated.
40826 * config.h.in (PKGVERSION): New macro.
40827 (REPORT_BUGS_TO): Likewise.
40828 * config.make.in (PKGVERSION): New variable.
40829 (PKGVERSION_TEXI): Likewise.
40830 (REPORT_BUGS_TO): Likewise.
40831 (REPORT_BUGS_TEXI): Likewise.
40832 * Makefile (format-me): Use -I$(common-objpfx)manual.
40833 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40834 ($(common-objpfx)manual/%): New target.
40835 (manual/%): Remove target.
40836 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40837 (print_version): Use PKGVERSION.
40838 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40839 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40840 and REPORT_BUGS_TO.
40841 ($(objpfx)xtrace): Likewise.
40842 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40843 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40844 (print_version): Use PKGVERSION.
40845 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40846 (do_version): Use PKGVERSION.
40847 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40849 (common-ldd-rewrite): Likewise.
40850 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40851 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40852 (print_version): Use PKGVERSION.
40853 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40854 * elf/pldd.c (argp_program_bug_address): Remove variable.
40855 (more_help): New function.
40856 (argp): Use more_help.
40857 (print_version): Use PKGVERSION.
40858 * elf/sln.c (main): Use PKGVERSION.
40859 (usage): Use REPORT_BUGS_TO.
40860 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40861 (top level): Use PKGVERSION.
40862 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40863 (print_version): Use PKGVERSION.
40864 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40865 (print_version): Use PKGVERSION.
40866 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40867 (print_version): Use PKGVERSION.
40868 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40869 (print_version): Use PKGVERSION.
40870 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40871 (print_version): Use PKGVERSION.
40872 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40873 (print_version): Use PKGVERSION.
40874 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40876 ($(objpfx)memusage): Likewise.
40877 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40878 (do_version): Use PKGVERSION.
40879 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40880 (print_version): Use PKGVERSION.
40881 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40882 ($PKGVERSION): New variable.
40883 ($REPORT_BUGS_TO): Likewise.
40884 (usage): Use $REPORT_BUGS_TO.
40885 (top level): Use $PKGVERSION.
40886 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40887 ($(objpfx)pkgvers.texi): New rule.
40888 ($(objpfx)stamp-pkgvers): Likewise.
40889 * manual/install.texi: Include pkgvers.texi.
40890 (--with-pkgversion): Document new configure option.
40891 (--with-bugurl): Likewise.
40892 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40893 than necessarily for this particular distribution. Use
40894 REPORT_BUGS_TO for where to report bugs.
40895 * INSTALL: Regenerated.
40896 * manual/libc.texinfo: Include pkgvers.texi.
40897 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40898 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40899 (print_version): Use PKGVERSION.
40900 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40901 (print_version): Use PKGVERSION.
40902 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40903 (print_version): Use PKGVERSION.
40904 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40905 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40907 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40908 (print_version): Use PKGVERSION.
40909 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40910 (print_version): Use PKGVERSION.
40911 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40914 * timezone/checktab.awk: Update from tzcode 2012i.
40915 * timezone/ialloc.c: Likewise.
40916 * timezone/private.h: Likewise.
40917 * timezone/scheck.c: Likewise.
40918 * timezone/tzfile.h: Likewise.
40919 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40920 (TZVERSION): Hardcode tzcode version number.
40921 * timezone/zdump.c: Update from tzcode 2012i.
40922 * timezone/zic.c: Likewise.
40923 * timezone/version.h: New file.
40924 * timezone/README: Describe version.h. Update upstream location.
40927 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40928 (mktemp): Enable declaration.
40929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40946 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40947 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40948 for copies of such integer values.
40949 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40950 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40952 2012-11-09 Andreas Jaeger <aj@suse.de>
40954 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40955 definitions and declarations that are provided by
40956 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40958 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40960 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40961 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40962 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40965 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40967 * elf/elf.h: Update comment before AArch64 relocations.
40969 2012-11-07 David S. Miller <davem@davemloft.net>
40971 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40972 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40973 (__start_context): Declare.
40974 (__makecontext_ret): Delete.
40975 (__makecontext): Hook up __start_context instead of
40977 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40978 (sysdep_routines): Add __start_context when in stdlib.
40980 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40982 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40983 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40984 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40986 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40987 (READELF): New variable. Use it instead of hardcoded "readelf".
40989 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40991 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40992 * sysdeps/x86/Makefile: Here.
40993 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40994 * sysdeps/x86/tst-xmmymm.sh: This.
40996 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40998 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41000 [UNIX98] (pthread_barrier_t): Do not expect.
41001 [UNIX98] (pthread_barrierattr_t): Likewise.
41002 [UNIX98] (pthread_spinlock_t): Likewise.
41003 [UNIX98] (pthread_barrier_destroy): Likewise.
41004 [UNIX98] (pthread_barrier_init): Likewise.
41005 [UNIX98] (pthread_barrier_wait): Likewise.
41006 [UNIX98] (pthread_barrierattr_destroy): Likewise.
41007 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41008 [UNIX98] (pthread_barrierattr_init): Likewise.
41009 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41010 [UNIX98] (pthread_getcpuclockid): Likewise.
41011 [UNIX98] (pthread_mutex_timedlock): Likewise.
41012 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41013 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41014 [UNIX98] (pthread_sigmask): Likewise.
41015 [UNIX98] (pthread_spin_destroy): Likewise.
41016 [UNIX98] (pthread_spin_init): Likewise.
41017 [UNIX98] (pthread_spin_lock): Likewise.
41018 [UNIX98] (pthread_spin_trylock): Likewise.
41019 [UNIX98] (pthread_spin_unlock): Likewise.
41020 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41022 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41023 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41024 [XPG3 || XPG4] (pthread_cond_t): Likewise.
41025 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41026 [XPG3 || XPG4] (pthread_key_t): Likewise.
41027 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41028 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41029 [XPG3 || XPG4] (pthread_once_t): Likewise.
41030 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41031 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41032 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41033 [XPG3 || XPG4] (pthread_t): Likewise.
41035 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41037 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41039 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41040 Change function return type to int.
41042 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41043 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41044 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41045 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41046 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41047 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41048 [!POSIX] (posix_madvise): Likewise.
41049 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41051 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41052 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41053 (mode_t): Likewise.
41054 (posix_mem_offset): Likewise.
41055 (posix_typed_mem_get_info): Likewise.
41056 (posix_typed_mem_open): Likewise.
41058 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41059 Change condition to [XOPEN2K8].
41061 * conform/conformtest.pl: Preprocess allow-header data with -x c
41062 instead of from stdin.
41063 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41064 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41065 [C99-based standards] (cerfc): Likewise.
41066 [C99-based standards] (cexp2): Likewise.
41067 [C99-based standards] (cexpm1): Likewise.
41068 [C99-based standards] (clog10): Likewise.
41069 [C99-based standards] (clog1p): Likewise.
41070 [C99-based standards] (clog2): Likewise.
41071 [C99-based standards] (clgamma): Likewise.
41072 [C99-based standards] (ctgamma): Likewise.
41073 [C99-based standards] (cerff): Likewise.
41074 [C99-based standards] (cerfcf): Likewise.
41075 [C99-based standards] (cexp2f): Likewise.
41076 [C99-based standards] (cexpm1f): Likewise.
41077 [C99-based standards] (clog10f): Likewise.
41078 [C99-based standards] (clog1pf): Likewise.
41079 [C99-based standards] (clog2f): Likewise.
41080 [C99-based standards] (clgammaf): Likewise.
41081 [C99-based standards] (ctgammaf): Likewise.
41082 [C99-based standards] (cerfl): Likewise.
41083 [C99-based standards] (cerfcl): Likewise.
41084 [C99-based standards] (cexp2l): Likewise.
41085 [C99-based standards] (cexpm1l): Likewise.
41086 [C99-based standards] (clog10l): Likewise.
41087 [C99-based standards] (clog1pl): Likewise.
41088 [C99-based standards] (clog2l): Likewise.
41089 [C99-based standards] (clgammal): Likewise.
41090 [C99-based standards] (ctgammal): Likewise.
41091 * conform/data/inttypes.h-data [C99-based standards]: Include
41092 stdint.h-data. Remove all expectations for stdint.h contents.
41093 [C99-based standards] (PRI*): Do not allow.
41094 [C99-based standards] (SCN*): Likewise.
41095 [C99-based standards] (*_t): Likewise.
41096 [C99-based-standards] (PRId8): Expect macro.
41097 [C99-based-standards] (PRIi8): Likewise.
41098 [C99-based-standards] (PRIo8): Likewise.
41099 [C99-based-standards] (PRIu8): Likewise.
41100 [C99-based-standards] (PRIx8): Likewise.
41101 [C99-based-standards] (PRIX8): Likewise.
41102 [C99-based-standards] (SCNd8): Likewise.
41103 [C99-based-standards] (SCNi8): Likewise.
41104 [C99-based-standards] (SCNo8): Likewise.
41105 [C99-based-standards] (SCNu8): Likewise.
41106 [C99-based-standards] (SCNx8): Likewise.
41107 [C99-based-standards] (PRIdLEAST8): Likewise.
41108 [C99-based-standards] (PRIiLEAST8): Likewise.
41109 [C99-based-standards] (PRIoLEAST8): Likewise.
41110 [C99-based-standards] (PRIuLEAST8): Likewise.
41111 [C99-based-standards] (PRIxLEAST8): Likewise.
41112 [C99-based-standards] (PRIXLEAST8): Likewise.
41113 [C99-based-standards] (SCNdLEAST8): Likewise.
41114 [C99-based-standards] (SCNiLEAST8): Likewise.
41115 [C99-based-standards] (SCNoLEAST8): Likewise.
41116 [C99-based-standards] (SCNuLEAST8): Likewise.
41117 [C99-based-standards] (SCNxLEAST8): Likewise.
41118 [C99-based-standards] (PRIdFAST8): Likewise.
41119 [C99-based-standards] (PRIiFAST8): Likewise.
41120 [C99-based-standards] (PRIoFAST8): Likewise.
41121 [C99-based-standards] (PRIuFAST8): Likewise.
41122 [C99-based-standards] (PRIxFAST8): Likewise.
41123 [C99-based-standards] (PRIXFAST8): Likewise.
41124 [C99-based-standards] (SCNdFAST8): Likewise.
41125 [C99-based-standards] (SCNiFAST8): Likewise.
41126 [C99-based-standards] (SCNoFAST8): Likewise.
41127 [C99-based-standards] (SCNuFAST8): Likewise.
41128 [C99-based-standards] (SCNxFAST8): Likewise.
41129 [C99-based-standards] (PRId16): Likewise.
41130 [C99-based-standards] (PRIi16): Likewise.
41131 [C99-based-standards] (PRIo16): Likewise.
41132 [C99-based-standards] (PRIu16): Likewise.
41133 [C99-based-standards] (PRIx16): Likewise.
41134 [C99-based-standards] (PRIX16): Likewise.
41135 [C99-based-standards] (SCNd16): Likewise.
41136 [C99-based-standards] (SCNi16): Likewise.
41137 [C99-based-standards] (SCNo16): Likewise.
41138 [C99-based-standards] (SCNu16): Likewise.
41139 [C99-based-standards] (SCNx16): Likewise.
41140 [C99-based-standards] (PRIdLEAST16): Likewise.
41141 [C99-based-standards] (PRIiLEAST16): Likewise.
41142 [C99-based-standards] (PRIoLEAST16): Likewise.
41143 [C99-based-standards] (PRIuLEAST16): Likewise.
41144 [C99-based-standards] (PRIxLEAST16): Likewise.
41145 [C99-based-standards] (PRIXLEAST16): Likewise.
41146 [C99-based-standards] (SCNdLEAST16): Likewise.
41147 [C99-based-standards] (SCNiLEAST16): Likewise.
41148 [C99-based-standards] (SCNoLEAST16): Likewise.
41149 [C99-based-standards] (SCNuLEAST16): Likewise.
41150 [C99-based-standards] (SCNxLEAST16): Likewise.
41151 [C99-based-standards] (PRIdFAST16): Likewise.
41152 [C99-based-standards] (PRIiFAST16): Likewise.
41153 [C99-based-standards] (PRIoFAST16): Likewise.
41154 [C99-based-standards] (PRIuFAST16): Likewise.
41155 [C99-based-standards] (PRIxFAST16): Likewise.
41156 [C99-based-standards] (PRIXFAST16): Likewise.
41157 [C99-based-standards] (SCNdFAST16): Likewise.
41158 [C99-based-standards] (SCNiFAST16): Likewise.
41159 [C99-based-standards] (SCNoFAST16): Likewise.
41160 [C99-based-standards] (SCNuFAST16): Likewise.
41161 [C99-based-standards] (SCNxFAST16): Likewise.
41162 [C99-based-standards] (PRId32): Likewise.
41163 [C99-based-standards] (PRIi32): Likewise.
41164 [C99-based-standards] (PRIo32): Likewise.
41165 [C99-based-standards] (PRIu32): Likewise.
41166 [C99-based-standards] (PRIx32): Likewise.
41167 [C99-based-standards] (PRIX32): Likewise.
41168 [C99-based-standards] (SCNd32): Likewise.
41169 [C99-based-standards] (SCNi32): Likewise.
41170 [C99-based-standards] (SCNo32): Likewise.
41171 [C99-based-standards] (SCNu32): Likewise.
41172 [C99-based-standards] (SCNx32): Likewise.
41173 [C99-based-standards] (PRIdLEAST32): Likewise.
41174 [C99-based-standards] (PRIiLEAST32): Likewise.
41175 [C99-based-standards] (PRIoLEAST32): Likewise.
41176 [C99-based-standards] (PRIuLEAST32): Likewise.
41177 [C99-based-standards] (PRIxLEAST32): Likewise.
41178 [C99-based-standards] (PRIXLEAST32): Likewise.
41179 [C99-based-standards] (SCNdLEAST32): Likewise.
41180 [C99-based-standards] (SCNiLEAST32): Likewise.
41181 [C99-based-standards] (SCNoLEAST32): Likewise.
41182 [C99-based-standards] (SCNuLEAST32): Likewise.
41183 [C99-based-standards] (SCNxLEAST32): Likewise.
41184 [C99-based-standards] (PRIdFAST32): Likewise.
41185 [C99-based-standards] (PRIiFAST32): Likewise.
41186 [C99-based-standards] (PRIoFAST32): Likewise.
41187 [C99-based-standards] (PRIuFAST32): Likewise.
41188 [C99-based-standards] (PRIxFAST32): Likewise.
41189 [C99-based-standards] (PRIXFAST32): Likewise.
41190 [C99-based-standards] (SCNdFAST32): Likewise.
41191 [C99-based-standards] (SCNiFAST32): Likewise.
41192 [C99-based-standards] (SCNoFAST32): Likewise.
41193 [C99-based-standards] (SCNuFAST32): Likewise.
41194 [C99-based-standards] (SCNxFAST32): Likewise.
41195 [C99-based-standards] (PRId64): Likewise.
41196 [C99-based-standards] (PRIi64): Likewise.
41197 [C99-based-standards] (PRIo64): Likewise.
41198 [C99-based-standards] (PRIu64): Likewise.
41199 [C99-based-standards] (PRIx64): Likewise.
41200 [C99-based-standards] (PRIX64): Likewise.
41201 [C99-based-standards] (SCNd64): Likewise.
41202 [C99-based-standards] (SCNi64): Likewise.
41203 [C99-based-standards] (SCNo64): Likewise.
41204 [C99-based-standards] (SCNu64): Likewise.
41205 [C99-based-standards] (SCNx64): Likewise.
41206 [C99-based-standards] (PRIdLEAST64): Likewise.
41207 [C99-based-standards] (PRIiLEAST64): Likewise.
41208 [C99-based-standards] (PRIoLEAST64): Likewise.
41209 [C99-based-standards] (PRIuLEAST64): Likewise.
41210 [C99-based-standards] (PRIxLEAST64): Likewise.
41211 [C99-based-standards] (PRIXLEAST64): Likewise.
41212 [C99-based-standards] (SCNdLEAST64): Likewise.
41213 [C99-based-standards] (SCNiLEAST64): Likewise.
41214 [C99-based-standards] (SCNoLEAST64): Likewise.
41215 [C99-based-standards] (SCNuLEAST64): Likewise.
41216 [C99-based-standards] (SCNxLEAST64): Likewise.
41217 [C99-based-standards] (PRIdFAST64): Likewise.
41218 [C99-based-standards] (PRIiFAST64): Likewise.
41219 [C99-based-standards] (PRIoFAST64): Likewise.
41220 [C99-based-standards] (PRIuFAST64): Likewise.
41221 [C99-based-standards] (PRIxFAST64): Likewise.
41222 [C99-based-standards] (PRIXFAST64): Likewise.
41223 [C99-based-standards] (SCNdFAST64): Likewise.
41224 [C99-based-standards] (SCNiFAST64): Likewise.
41225 [C99-based-standards] (SCNoFAST64): Likewise.
41226 [C99-based-standards] (SCNuFAST64): Likewise.
41227 [C99-based-standards] (SCNxFAST64): Likewise.
41228 [C99-based-standards] (PRIdMAX): Likewise.
41229 [C99-based-standards] (PRIiMAX): Likewise.
41230 [C99-based-standards] (PRIoMAX): Likewise.
41231 [C99-based-standards] (PRIuMAX): Likewise.
41232 [C99-based-standards] (PRIxMAX): Likewise.
41233 [C99-based-standards] (PRIXMAX): Likewise.
41234 [C99-based-standards] (SCNdMAX): Likewise.
41235 [C99-based-standards] (SCNiMAX): Likewise.
41236 [C99-based-standards] (SCNoMAX): Likewise.
41237 [C99-based-standards] (SCNuMAX): Likewise.
41238 [C99-based-standards] (SCNxMAX): Likewise.
41239 [C99-based-standards] (PRIdPTR): Likewise.
41240 [C99-based-standards] (PRIiPTR): Likewise.
41241 [C99-based-standards] (PRIoPTR): Likewise.
41242 [C99-based-standards] (PRIuPTR): Likewise.
41243 [C99-based-standards] (PRIxPTR): Likewise.
41244 [C99-based-standards] (PRIXPTR): Likewise.
41245 [C99-based-standards] (SCNdPTR): Likewise.
41246 [C99-based-standards] (SCNiPTR): Likewise.
41247 [C99-based-standards] (SCNoPTR): Likewise.
41248 [C99-based-standards] (SCNuPTR): Likewise.
41249 [C99-based-standards] (SCNxPTR): Likewise.
41250 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41252 * conform/data/stdint.h-data: Update comments to clarify
41254 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
41256 [C99-based standards] (INT8_MAX): Likewise.
41257 [C99-based standards] (INT16_MIN): Likewise.
41258 [C99-based standards] (INT16_MAX): Likewise.
41259 [C99-based standards] (INT32_MIN): Likewise.
41260 [C99-based standards] (INT32_MAX): Likewise.
41261 [C99-based standards] (INT64_MIN): Likewise.
41262 [C99-based standards] (INT64_MAX): Likewise.
41263 [C99-based standards] (UINT8_MAX): Likewise.
41264 [C99-based standards] (UINT16_MAX): Likewise.
41265 [C99-based standards] (UINT32_MAX): Likewise.
41266 [C99-based standards] (UINT64_MAX): Likewise.
41267 [C99-based standards] (INT_LEAST8_MIN): Likewise.
41268 [C99-based standards] (INT_LEAST8_MAX): Likewise.
41269 [C99-based standards] (INT_LEAST16_MIN): Likewise.
41270 [C99-based standards] (INT_LEAST16_MAX): Likewise.
41271 [C99-based standards] (INT_LEAST32_MIN): Likewise.
41272 [C99-based standards] (INT_LEAST32_MAX): Likewise.
41273 [C99-based standards] (INT_LEAST64_MIN): Likewise.
41274 [C99-based standards] (INT_LEAST64_MAX): Likewise.
41275 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41276 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41277 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41278 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41279 [C99-based standards] (INT_FAST8_MIN): Likewise.
41280 [C99-based standards] (INT_FAST8_MAX): Likewise.
41281 [C99-based standards] (INT_FAST16_MIN): Likewise.
41282 [C99-based standards] (INT_FAST16_MAX): Likewise.
41283 [C99-based standards] (INT_FAST32_MIN): Likewise.
41284 [C99-based standards] (INT_FAST32_MAX): Likewise.
41285 [C99-based standards] (INT_FAST64_MIN): Likewise.
41286 [C99-based standards] (INT_FAST64_MAX): Likewise.
41287 [C99-based standards] (UINT_FAST8_MAX): Likewise.
41288 [C99-based standards] (UINT_FAST16_MAX): Likewise.
41289 [C99-based standards] (UINT_FAST32_MAX): Likewise.
41290 [C99-based standards] (UINT_FAST64_MAX): Likewise.
41291 [C99-based standards] (INTPTR_MIN): Likewise.
41292 [C99-based standards] (INTPTR_MAX): Likewise.
41293 [C99-based standards] (UINTPTR_MAX): Likewise.
41294 [C99-based standards] (INTMAX_MIN): Likewise.
41295 [C99-based standards] (INTMAX_MAX): Likewise.
41296 [C99-based standards] (UINTMAX_MAX): Likewise.
41297 [C99-based standards] (PTRDIFF_MIN): Likewise.
41298 [C99-based standards] (PTRDIFF_MAX): Likewise.
41299 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41300 [C99-based standards] (SIZE_MAX): Likewise.
41301 [C99-based standards] (WCHAR_MAX): Likewise.
41302 [C99-based standards] (WINT_MAX): Likewise.
41303 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
41304 constraint on value.
41305 [C99-based standards] (WCHAR_MIN): Likewise.
41306 [C99-based standards] (WINT_MIN): Likewise.
41307 [C99-based standards] (*_t): Allow.
41308 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41309 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41310 Include math.h-data and complex.h-data. Remove all expectations
41311 of math.h and complex.h contents.
41312 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41314 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41315 (struct tm): Expect tag.
41316 [C99-based-standards] (wcstof): Expect function.
41317 [C99-based-standards] (wcstold): Likewise.
41318 [C99-based-standards] (wcstoll): Likewise.
41319 [C99-based-standards] (wcstoull): Likewise.
41320 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41321 macro-int-constant. Specify type.
41322 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
41323 constraint on value.
41324 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41326 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41328 [ISO C standards]: Do not allow headers.
41329 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41330 wcs[abcdefghijklmnopqrstuvwxyz]*.
41331 [ISO C standards] (*_t): Do not allow.
41332 * conform/data/wctype.h-data [C99-based standards] (iswblank):
41334 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41335 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41337 [ISO C standards]: Do not allow headers.
41338 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41339 is[abcdefghijklmnopqrstuvwxyz]*.
41340 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41341 to[abcdefghijklmnopqrstuvwxyz]*.
41342 [ISO C standards] (*_t): Do not allow.
41343 * conform/data/stdalign.h-data: New file.
41344 * conform/data/stdbool.h-data: Likewise.
41345 * conform/data/stdnoreturn.h-data: Likewise.
41347 2012-11-07 Roland McGrath <roland@hack.frob.com>
41350 * manual/filesys.texi (Directory Entries): Typo fix.
41351 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41353 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41355 * elf/elf.h (EM_AARCH64): New macro.
41356 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41357 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41358 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41359 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41360 (R_AARCH64_TLSDESC): Likewise.
41361 (NT_ARM_TLS): Likewise.
41362 (NT_ARM_HW_BREAK): Likewise.
41363 (NT_ARM_HW_WATCH): Likewise.
41365 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41368 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41369 (__ieee754_powl): Saturate nonzero exponents with absolute value
41370 below 0x1p-79 to +/- 0x1p-79.
41371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41372 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41373 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41374 nonzero exponents with absolute value below 0x1p-32 to +/-
41376 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41377 (__ieee754_powl): Saturate nonzero exponents with absolute value
41378 below 0x1p-79 to +/- 0x1p-79.
41379 * math/libm-test.inc (pow_test): Add more tests.
41381 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41383 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41384 _dl_s390_cap_flags with kernel. Increase string length.
41385 (_dl_s390_platforms): Add z196 and zEC12.
41387 2012-11-07 Joseph Myers <joseph@codesourcery.com>
41389 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41390 Change XOPEN21K to XOPEN2K.
41392 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
41394 * string/memmove.c: Use memcpy when possible.
41396 2012-11-06 Andreas Jaeger <aj@suse.de>
41398 * po/eo.po: Update from translation team.
41400 2012-11-06 Joseph Myers <joseph@codesourcery.com>
41403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41404 exponent and small x and y exponents, scale x or y up. Increase
41405 by 2 the exponent used in scaling up.
41406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41408 * math/libm-test.inc (fma_test): Add more tests.
41409 (fma_test_towardzero): Likewise.
41410 (fma_test_downward): Likewise.
41411 (fma_test_upward): Likewise.
41413 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41416 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41420 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41421 namespace for names of struct fields.
41422 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41424 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41425 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41427 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41430 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41432 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41434 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41438 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41441 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41445 definitely overflow as x * y not x * y + z.
41446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41448 * math/libm-test.inc (fma_test): Add more tests.
41449 (fma_test_towardzero): Likewise.
41450 (fma_test_downward): Likewise.
41451 (fma_test_upward): Likewise.
41453 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41457 * include/stub-tag.h: Remove file.
41458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41460 * manual/maint.texi (Porting): Don't reference it.
41461 * Makerules ($(objpfx)stubs): Likewise.
41462 * dirent/closedir.c: Don't include <stub-tag.h>.
41463 * dirent/dirfd.c: Likewise.
41464 * dirent/fdopendir.c: Likewise.
41465 * dirent/getdents.c: Likewise.
41466 * dirent/getdents64.c: Likewise.
41467 * dirent/opendir.c: Likewise.
41468 * dirent/readdir.c: Likewise.
41469 * dirent/readdir64.c: Likewise.
41470 * dirent/readdir64_r.c: Likewise.
41471 * dirent/readdir_r.c: Likewise.
41472 * dirent/rewinddir.c: Likewise.
41473 * dirent/seekdir.c: Likewise.
41474 * dirent/telldir.c: Likewise.
41475 * gmon/profil.c: Likewise.
41476 * grp/setgroups.c: Likewise.
41477 * inet/if_index.c: Likewise.
41478 * io/access.c: Likewise.
41479 * io/chdir.c: Likewise.
41480 * io/chmod.c: Likewise.
41481 * io/chown.c: Likewise.
41482 * io/close.c: Likewise.
41483 * io/dup.c: Likewise.
41484 * io/dup2.c: Likewise.
41485 * io/dup3.c: Likewise.
41486 * io/euidaccess.c: Likewise.
41487 * io/faccessat.c: Likewise.
41488 * io/fchdir.c: Likewise.
41489 * io/fchmod.c: Likewise.
41490 * io/fchmodat.c: Likewise.
41491 * io/fchown.c: Likewise.
41492 * io/fchownat.c: Likewise.
41493 * io/fcntl.c: Likewise.
41494 * io/flock.c: Likewise.
41495 * io/fstatfs.c: Likewise.
41496 * io/fstatfs64.c: Likewise.
41497 * io/fstatvfs.c: Likewise.
41498 * io/fstatvfs64.c: Likewise.
41499 * io/futimens.c: Likewise.
41500 * io/fxstat.c: Likewise.
41501 * io/fxstat64.c: Likewise.
41502 * io/fxstatat.c: Likewise.
41503 * io/fxstatat64.c: Likewise.
41504 * io/getcwd.c: Likewise.
41505 * io/isatty.c: Likewise.
41506 * io/lchmod.c: Likewise.
41507 * io/lchown.c: Likewise.
41508 * io/link.c: Likewise.
41509 * io/linkat.c: Likewise.
41510 * io/lseek.c: Likewise.
41511 * io/lseek64.c: Likewise.
41512 * io/lxstat64.c: Likewise.
41513 * io/mkdir.c: Likewise.
41514 * io/mkdirat.c: Likewise.
41515 * io/mkfifo.c: Likewise.
41516 * io/mkfifoat.c: Likewise.
41517 * io/open.c: Likewise.
41518 * io/open64.c: Likewise.
41519 * io/openat.c: Likewise.
41520 * io/openat64.c: Likewise.
41521 * io/pipe.c: Likewise.
41522 * io/pipe2.c: Likewise.
41523 * io/poll.c: Likewise.
41524 * io/posix_fadvise.c: Likewise.
41525 * io/posix_fadvise64.c: Likewise.
41526 * io/posix_fallocate.c: Likewise.
41527 * io/posix_fallocate64.c: Likewise.
41528 * io/read.c: Likewise.
41529 * io/readlink.c: Likewise.
41530 * io/readlinkat.c: Likewise.
41531 * io/rmdir.c: Likewise.
41532 * io/sendfile.c: Likewise.
41533 * io/sendfile64.c: Likewise.
41534 * io/statfs.c: Likewise.
41535 * io/statfs64.c: Likewise.
41536 * io/statvfs.c: Likewise.
41537 * io/statvfs64.c: Likewise.
41538 * io/symlink.c: Likewise.
41539 * io/symlinkat.c: Likewise.
41540 * io/ttyname.c: Likewise.
41541 * io/ttyname_r.c: Likewise.
41542 * io/umask.c: Likewise.
41543 * io/unlink.c: Likewise.
41544 * io/unlinkat.c: Likewise.
41545 * io/utime.c: Likewise.
41546 * io/utimensat.c: Likewise.
41547 * io/write.c: Likewise.
41548 * io/xmknod.c: Likewise.
41549 * io/xmknodat.c: Likewise.
41550 * io/xstat.c: Likewise.
41551 * io/xstat64.c: Likewise.
41552 * login/getpt.c: Likewise.
41553 * login/grantpt.c: Likewise.
41554 * login/unlockpt.c: Likewise.
41555 * math/e_acoshl.c: Likewise.
41556 * math/e_acosl.c: Likewise.
41557 * math/e_asinl.c: Likewise.
41558 * math/e_atan2l.c: Likewise.
41559 * math/e_atanhl.c: Likewise.
41560 * math/e_coshl.c: Likewise.
41561 * math/e_expl.c: Likewise.
41562 * math/e_fmodl.c: Likewise.
41563 * math/e_gammal_r.c: Likewise.
41564 * math/e_hypotl.c: Likewise.
41565 * math/e_j0l.c: Likewise.
41566 * math/e_j1l.c: Likewise.
41567 * math/e_jnl.c: Likewise.
41568 * math/e_lgammal_r.c: Likewise.
41569 * math/e_log10l.c: Likewise.
41570 * math/e_log2l.c: Likewise.
41571 * math/e_logl.c: Likewise.
41572 * math/e_powl.c: Likewise.
41573 * math/e_rem_pio2l.c: Likewise.
41574 * math/e_sinhl.c: Likewise.
41575 * math/e_sqrtl.c: Likewise.
41576 * math/fclrexcpt.c: Likewise.
41577 * math/fedisblxcpt.c: Likewise.
41578 * math/feenablxcpt.c: Likewise.
41579 * math/fegetenv.c: Likewise.
41580 * math/fegetexcept.c: Likewise.
41581 * math/fegetround.c: Likewise.
41582 * math/feholdexcpt.c: Likewise.
41583 * math/fesetenv.c: Likewise.
41584 * math/fesetround.c: Likewise.
41585 * math/feupdateenv.c: Likewise.
41586 * math/fgetexcptflg.c: Likewise.
41587 * math/fraiseexcpt.c: Likewise.
41588 * math/fsetexcptflg.c: Likewise.
41589 * math/ftestexcept.c: Likewise.
41590 * math/k_cosl.c: Likewise.
41591 * math/k_rem_pio2l.c: Likewise.
41592 * math/k_sinl.c: Likewise.
41593 * math/k_tanl.c: Likewise.
41594 * math/s_asinhl.c: Likewise.
41595 * math/s_atanl.c: Likewise.
41596 * math/s_cbrtl.c: Likewise.
41597 * math/s_erfl.c: Likewise.
41598 * math/s_expm1l.c: Likewise.
41599 * math/s_log1pl.c: Likewise.
41600 * math/s_tanhl.c: Likewise.
41601 * misc/acct.c: Likewise.
41602 * misc/brk.c: Likewise.
41603 * misc/chflags.c: Likewise.
41604 * misc/chroot.c: Likewise.
41605 * misc/fchflags.c: Likewise.
41606 * misc/fgetxattr.c: Likewise.
41607 * misc/flistxattr.c: Likewise.
41608 * misc/fremovexattr.c: Likewise.
41609 * misc/fsetxattr.c: Likewise.
41610 * misc/fsync.c: Likewise.
41611 * misc/ftruncate.c: Likewise.
41612 * misc/futimes.c: Likewise.
41613 * misc/futimesat.c: Likewise.
41614 * misc/getdomain.c: Likewise.
41615 * misc/getdtsz.c: Likewise.
41616 * misc/gethostid.c: Likewise.
41617 * misc/gethostname.c: Likewise.
41618 * misc/getloadavg.c: Likewise.
41619 * misc/getpagesize.c: Likewise.
41620 * misc/getsysstats.c: Likewise.
41621 * misc/getxattr.c: Likewise.
41622 * misc/gtty.c: Likewise.
41623 * misc/ioctl.c: Likewise.
41624 * misc/lgetxattr.c: Likewise.
41625 * misc/listxattr.c: Likewise.
41626 * misc/llistxattr.c: Likewise.
41627 * misc/lremovexattr.c: Likewise.
41628 * misc/lsetxattr.c: Likewise.
41629 * misc/lutimes.c: Likewise.
41630 * misc/madvise.c: Likewise.
41631 * misc/mincore.c: Likewise.
41632 * misc/mlock.c: Likewise.
41633 * misc/mlockall.c: Likewise.
41634 * misc/mmap.c: Likewise.
41635 * misc/mprotect.c: Likewise.
41636 * misc/msync.c: Likewise.
41637 * misc/munlock.c: Likewise.
41638 * misc/munlockall.c: Likewise.
41639 * misc/munmap.c: Likewise.
41640 * misc/preadv.c: Likewise.
41641 * misc/preadv64.c: Likewise.
41642 * misc/ptrace.c: Likewise.
41643 * misc/pwritev.c: Likewise.
41644 * misc/pwritev64.c: Likewise.
41645 * misc/readv.c: Likewise.
41646 * misc/reboot.c: Likewise.
41647 * misc/remap_file_pages.c: Likewise.
41648 * misc/removexattr.c: Likewise.
41649 * misc/revoke.c: Likewise.
41650 * misc/select.c: Likewise.
41651 * misc/setdomain.c: Likewise.
41652 * misc/setegid.c: Likewise.
41653 * misc/seteuid.c: Likewise.
41654 * misc/sethostid.c: Likewise.
41655 * misc/sethostname.c: Likewise.
41656 * misc/setregid.c: Likewise.
41657 * misc/setreuid.c: Likewise.
41658 * misc/setxattr.c: Likewise.
41659 * misc/sstk.c: Likewise.
41660 * misc/stty.c: Likewise.
41661 * misc/swapoff.c: Likewise.
41662 * misc/swapon.c: Likewise.
41663 * misc/sync.c: Likewise.
41664 * misc/syncfs.c: Likewise.
41665 * misc/syscall.c: Likewise.
41666 * misc/truncate.c: Likewise.
41667 * misc/ualarm.c: Likewise.
41668 * misc/usleep.c: Likewise.
41669 * misc/ustat.c: Likewise.
41670 * misc/utimes.c: Likewise.
41671 * misc/vhangup.c: Likewise.
41672 * misc/writev.c: Likewise.
41673 * posix/_exit.c: Likewise.
41674 * posix/alarm.c: Likewise.
41675 * posix/execve.c: Likewise.
41676 * posix/fexecve.c: Likewise.
41677 * posix/fork.c: Likewise.
41678 * posix/fpathconf.c: Likewise.
41679 * posix/getaddrinfo.c: Likewise.
41680 * posix/getegid.c: Likewise.
41681 * posix/geteuid.c: Likewise.
41682 * posix/getgid.c: Likewise.
41683 * posix/getgroups.c: Likewise.
41684 * posix/getlogin.c: Likewise.
41685 * posix/getlogin_r.c: Likewise.
41686 * posix/getpgid.c: Likewise.
41687 * posix/getpid.c: Likewise.
41688 * posix/getppid.c: Likewise.
41689 * posix/getresgid.c: Likewise.
41690 * posix/getresuid.c: Likewise.
41691 * posix/getsid.c: Likewise.
41692 * posix/getuid.c: Likewise.
41693 * posix/glob64.c: Likewise.
41694 * posix/nanosleep.c: Likewise.
41695 * posix/pathconf.c: Likewise.
41696 * posix/pause.c: Likewise.
41697 * posix/posix_madvise.c: Likewise.
41698 * posix/pread.c: Likewise.
41699 * posix/pread64.c: Likewise.
41700 * posix/pwrite.c: Likewise.
41701 * posix/pwrite64.c: Likewise.
41702 * posix/sched_getaffinity.c: Likewise.
41703 * posix/sched_getp.c: Likewise.
41704 * posix/sched_gets.c: Likewise.
41705 * posix/sched_primax.c: Likewise.
41706 * posix/sched_primin.c: Likewise.
41707 * posix/sched_rr_gi.c: Likewise.
41708 * posix/sched_setaffinity.c: Likewise.
41709 * posix/sched_setp.c: Likewise.
41710 * posix/sched_sets.c: Likewise.
41711 * posix/sched_yield.c: Likewise.
41712 * posix/setgid.c: Likewise.
41713 * posix/setlogin.c: Likewise.
41714 * posix/setpgid.c: Likewise.
41715 * posix/setresgid.c: Likewise.
41716 * posix/setresuid.c: Likewise.
41717 * posix/setsid.c: Likewise.
41718 * posix/setuid.c: Likewise.
41719 * posix/sleep.c: Likewise.
41720 * posix/spawni.c: Likewise.
41721 * posix/sysconf.c: Likewise.
41722 * posix/times.c: Likewise.
41723 * posix/wait.c: Likewise.
41724 * posix/wait3.c: Likewise.
41725 * posix/wait4.c: Likewise.
41726 * posix/waitpid.c: Likewise.
41727 * resolv/gai_sigqueue.c: Likewise.
41728 * resource/getpriority.c: Likewise.
41729 * resource/getrlimit.c: Likewise.
41730 * resource/getrusage.c: Likewise.
41731 * resource/nice.c: Likewise.
41732 * resource/setpriority.c: Likewise.
41733 * resource/setrlimit.c: Likewise.
41734 * resource/ulimit.c: Likewise.
41735 * rt/aio_cancel.c: Likewise.
41736 * rt/aio_fsync.c: Likewise.
41737 * rt/aio_read.c: Likewise.
41738 * rt/aio_sigqueue.c: Likewise.
41739 * rt/aio_suspend.c: Likewise.
41740 * rt/aio_write.c: Likewise.
41741 * rt/clock_getres.c: Likewise.
41742 * rt/clock_gettime.c: Likewise.
41743 * rt/clock_nanosleep.c: Likewise.
41744 * rt/clock_settime.c: Likewise.
41745 * rt/lio_listio.c: Likewise.
41746 * rt/mq_close.c: Likewise.
41747 * rt/mq_getattr.c: Likewise.
41748 * rt/mq_notify.c: Likewise.
41749 * rt/mq_open.c: Likewise.
41750 * rt/mq_receive.c: Likewise.
41751 * rt/mq_send.c: Likewise.
41752 * rt/mq_setattr.c: Likewise.
41753 * rt/mq_timedreceive.c: Likewise.
41754 * rt/mq_timedsend.c: Likewise.
41755 * rt/mq_unlink.c: Likewise.
41756 * rt/shm_open.c: Likewise.
41757 * rt/shm_unlink.c: Likewise.
41758 * rt/timer_create.c: Likewise.
41759 * rt/timer_delete.c: Likewise.
41760 * rt/timer_getoverr.c: Likewise.
41761 * rt/timer_gettime.c: Likewise.
41762 * rt/timer_settime.c: Likewise.
41763 * setjmp/__longjmp.c: Likewise.
41764 * setjmp/setjmp.c: Likewise.
41765 * signal/kill.c: Likewise.
41766 * signal/killpg.c: Likewise.
41767 * signal/raise.c: Likewise.
41768 * signal/sigaction.c: Likewise.
41769 * signal/sigaltstack.c: Likewise.
41770 * signal/sigblock.c: Likewise.
41771 * signal/sigignore.c: Likewise.
41772 * signal/sigintr.c: Likewise.
41773 * signal/signal.c: Likewise.
41774 * signal/sigpause.c: Likewise.
41775 * signal/sigpending.c: Likewise.
41776 * signal/sigqueue.c: Likewise.
41777 * signal/sigreturn.c: Likewise.
41778 * signal/sigset.c: Likewise.
41779 * signal/sigsetmask.c: Likewise.
41780 * signal/sigstack.c: Likewise.
41781 * signal/sigsuspend.c: Likewise.
41782 * signal/sigtimedwait.c: Likewise.
41783 * signal/sigvec.c: Likewise.
41784 * signal/sigwait.c: Likewise.
41785 * signal/sigwaitinfo.c: Likewise.
41786 * signal/sysv_signal.c: Likewise.
41787 * socket/accept.c: Likewise.
41788 * socket/accept4.c: Likewise.
41789 * socket/bind.c: Likewise.
41790 * socket/connect.c: Likewise.
41791 * socket/getpeername.c: Likewise.
41792 * socket/getsockname.c: Likewise.
41793 * socket/getsockopt.c: Likewise.
41794 * socket/isfdtype.c: Likewise.
41795 * socket/listen.c: Likewise.
41796 * socket/recv.c: Likewise.
41797 * socket/recvfrom.c: Likewise.
41798 * socket/recvmsg.c: Likewise.
41799 * socket/send.c: Likewise.
41800 * socket/sendmsg.c: Likewise.
41801 * socket/sendto.c: Likewise.
41802 * socket/setsockopt.c: Likewise.
41803 * socket/shutdown.c: Likewise.
41804 * socket/sockatmark.c: Likewise.
41805 * socket/socket.c: Likewise.
41806 * socket/socketpair.c: Likewise.
41807 * stdio-common/ctermid.c: Likewise.
41808 * stdio-common/cuserid.c: Likewise.
41809 * stdio-common/remove.c: Likewise.
41810 * stdio-common/rename.c: Likewise.
41811 * stdio-common/renameat.c: Likewise.
41812 * stdio-common/tempname.c: Likewise.
41813 * stdlib/getcontext.c: Likewise.
41814 * stdlib/makecontext.c: Likewise.
41815 * stdlib/setcontext.c: Likewise.
41816 * stdlib/swapcontext.c: Likewise.
41817 * stdlib/system.c: Likewise.
41818 * streams/fattach.c: Likewise.
41819 * streams/fdetach.c: Likewise.
41820 * streams/getmsg.c: Likewise.
41821 * streams/getpmsg.c: Likewise.
41822 * streams/putmsg.c: Likewise.
41823 * streams/putpmsg.c: Likewise.
41824 * sysdeps/unix/bsd/getpt.c: Likewise.
41825 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41826 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41827 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41830 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41831 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41832 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41833 * sysvipc/msgctl.c: Likewise.
41834 * sysvipc/msgget.c: Likewise.
41835 * sysvipc/msgrcv.c: Likewise.
41836 * sysvipc/msgsnd.c: Likewise.
41837 * sysvipc/semctl.c: Likewise.
41838 * sysvipc/semget.c: Likewise.
41839 * sysvipc/semop.c: Likewise.
41840 * sysvipc/semtimedop.c: Likewise.
41841 * sysvipc/shmat.c: Likewise.
41842 * sysvipc/shmctl.c: Likewise.
41843 * sysvipc/shmdt.c: Likewise.
41844 * sysvipc/shmget.c: Likewise.
41845 * termios/tcdrain.c: Likewise.
41846 * termios/tcflow.c: Likewise.
41847 * termios/tcflush.c: Likewise.
41848 * termios/tcgetattr.c: Likewise.
41849 * termios/tcgetpgrp.c: Likewise.
41850 * termios/tcsendbrk.c: Likewise.
41851 * termios/tcsetattr.c: Likewise.
41852 * termios/tcsetpgrp.c: Likewise.
41853 * time/adjtime.c: Likewise.
41854 * time/clock.c: Likewise.
41855 * time/getitimer.c: Likewise.
41856 * time/gettimeofday.c: Likewise.
41857 * time/setitimer.c: Likewise.
41858 * time/settimeofday.c: Likewise.
41859 * time/stime.c: Likewise.
41860 * time/time.c: Likewise.
41862 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41864 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41867 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41869 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41871 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41875 FE_TONEAREST before applying Dekker multiplication and Knuth
41876 addition. Clear inexact exceptions and check for exact zero
41877 results afterwards.
41878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41879 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41880 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41881 * math/libm-test.inc (fma_test): Add more tests.
41882 (fma_test_towardzero): Likewise.
41883 (fma_test_downward): Likewise.
41884 (fma_test_upward): Likewise.
41885 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41887 (libc_fesetround): New macro.
41888 (libc_fesetroundf): Likewise.
41889 (libc_fesetroundl): Likewise.
41890 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41892 (libc_fesetround_387): Likewise.
41893 (libc_fesetroundf): New macro.
41894 (libc_fesetround): Likewise.
41895 (libc_fesetroundl): Likewise.
41896 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41898 (libc_fesetroundf): New macro.
41899 (libc_fesetround): Likewise.
41900 (libc_fesetroundl): Likewise.
41901 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41902 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41903 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41905 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41906 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41908 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41909 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41911 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41915 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41916 integer constant usable in #if and use that to give value to enum
41918 (FE_DIVBYZERO): Likewise.
41919 (FE_UNDERFLOW): Likewise.
41920 (FE_OVERFLOW): Likewise.
41921 (FE_INVALID): Likewise.
41922 (FE_INVALID_SNAN): Likewise.
41923 (FE_INVALID_ISI): Likewise.
41924 (FE_INVALID_IDI): Likewise.
41925 (FE_INVALID_ZDZ): Likewise.
41926 (FE_INVALID_IMZ): Likewise.
41927 (FE_INVALID_COMPARE): Likewise.
41928 (FE_INVALID_SOFTWARE): Likewise.
41929 (FE_INVALID_SQRT): Likewise.
41930 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41931 (FE_TONEAREST): Likewise.
41932 (FE_TOWARDZERO): Likewise.
41933 (FE_UPWARD): Likewise.
41934 (FE_DOWNWARD): Likewise.
41935 * sysdeps/s390/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.
41944 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41945 (FE_UNDERFLOW): Likewise.
41946 (FE_OVERFLOW): Likewise.
41947 (FE_DIVBYZERO): Likewise.
41948 (FE_INVALID): Likewise.
41949 (FE_TONEAREST): Likewise.
41950 (FE_TOWARDZERO): Likewise.
41951 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41952 (FE_OVERFLOW): Likewise.
41953 (FE_UNDERFLOW): Likewise.
41954 (FE_DIVBYZERO): Likewise.
41955 (FE_INEXACT): Likewise.
41956 (FE_TONEAREST): Likewise.
41957 (FE_TOWARDZERO): Likewise.
41958 (FE_UPWARD): Likewise.
41959 (FE_DOWNWARD): Likewise.
41960 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41961 (FE_DIVBYZERO): Likewise.
41962 (FE_OVERFLOW): Likewise.
41963 (FE_UNDERFLOW): Likewise.
41964 (FE_INEXACT): Likewise.
41965 (FE_TONEAREST): Likewise.
41966 (FE_DOWNWARD): Likewise.
41967 (FE_UPWARD): Likewise.
41968 (FE_TOWARDZERO): Likewise.
41970 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41972 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41974 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41976 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41977 commands. Quote $PWD.
41978 (blacklist_exports): Don't use remove_newlines. Replace "declare
41980 (remove_newlines): Remove.
41982 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41984 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41985 * stdlib/stdlib.h (atof): Moved to ...
41986 * include/bits/stdlib-float.h: Here. New file.
41987 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41988 * stdlib/bits/stdlib-float.h: New file.
41989 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41991 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41994 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41996 * conform/conformtest.pl (@headers): Add fenv.h.
41997 * conform/data/fenv.h-data: New file.
41998 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41999 include of <math/fenv.h>.
42001 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42002 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42003 && !UNIX98]. Enables tests for XOPEN2K8.
42004 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42005 POSIX2008]: Likewise.
42007 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42008 (struct rusage): Do not expect type or its members.
42011 * math/math.h (FP_NAN): Define macro to integer constant usable in
42012 #if and use that to give value to enum constant.
42013 (FP_INFINITE): Likewise.
42014 (FP_ZERO): Likewise.
42015 (FP_SUBNORMAL): Likewise.
42016 (FP_NORMAL): Likewise.
42018 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
42020 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42021 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42024 2012-11-02 Roland McGrath <roland@hack.frob.com>
42026 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42027 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42028 autoconf-time if not.
42029 * configure.in: Remove AC_PREREQ.
42031 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42033 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42034 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42035 of the internal implementation.
42037 2012-11-02 Joseph Myers <joseph@codesourcery.com>
42039 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42040 except include of <misc/sys/syslog.h>.
42042 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42045 function returns with a NULL context exit with zero.
42047 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42049 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42051 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
42053 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42054 (run_program_cmd): This.
42055 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42056 (tst_langinfo): New variable. Use it.
42058 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
42060 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42061 floating point opcodes.
42063 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42065 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42068 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42070 * sysdeps/mach/hurd/powerpc: Remove directory.
42071 * sysdeps/mach/powerpc: Likewise.
42073 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
42075 * scripts/check-local-headers.sh: Ignore c++ headers.
42077 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42079 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42080 __libc_cleanup_region_start argument.
42082 2012-11-01 Joseph Myers <joseph@codesourcery.com>
42086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42087 x * y using scaling, not as x * y + z.
42088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42089 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42090 * math/libm-test.inc (fma_test): Add more tests.
42091 (fma_test_towardzero): Likewise.
42092 (fma_test_downward): Likewise.
42093 (fma_test_upward): Likewise.
42095 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
42097 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42099 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42101 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42104 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
42106 * rt/tst-shm.c (worker): Correct checking for mmap failure.
42108 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42115 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42118 Fix the order of the list for glibc 2.17.
42119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42122 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
42124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42126 2012-10-31 Joseph Myers <joseph@codesourcery.com>
42129 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42130 for low part of x being zero before using __atanl (y).
42131 * math/libm-test.inc (atan2_test): Add another test.
42133 * manual/install.texi (Configuring and compiling): Document
42134 general use of test-wrapper and test-wrapper-env.
42135 * INSTALL: Regenerated.
42137 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42138 (__fma): Do not extract and scale down low bits on after-rounding
42139 systems when result rounded to normal precision would have normal
42141 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42142 (__fmal): Do not extract and scale down low bits on after-rounding
42143 systems when result rounded to normal precision would have normal
42145 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42146 (__fmal): Do not extract and scale down low bits on after-rounding
42147 systems when result rounded to normal precision would have normal
42149 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42151 (fma_test): Add more tests.
42152 (fma_test_towardzero): Likewise.
42153 (fma_test_downward): Likewise.
42154 (fma_test_upward): Likewise.
42156 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
42158 * sysdeps/i386/tininess.h: Renamed to ...
42159 * sysdeps/x86/tininess.h: This.
42160 * sysdeps/x86_64/tininess.h: Removed.
42162 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42164 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42165 input. Use $(build-program-cmd).
42166 ($(objpfx)tst-array1-static.out): Likewise.
42167 ($(objpfx)tst-array2.out): Likewise.
42168 ($(objpfx)tst-array3.out): Likewise.
42169 ($(objpfx)tst-array4.out): Likewise.
42170 ($(objpfx)tst-array5.out): Likewise.
42171 ($(objpfx)tst-array5-static.out): Likewise.
42173 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
42175 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42178 * nss/nsswitch.h (nss_interface_function): Provide new
42179 macro for use with NSS functions.
42180 * grp/initgroups.c: Use new macro.
42181 * nss/getXXbyYY.c: Likewise.
42182 * nss/getXXbyYY_r.c: Likewise.
42183 * nss/getXXent.c: Likewise.
42184 * nss/getXXent_r.c: Likewise.
42185 * sysdeps/posix/getaddrinfo.c: Likewise.
42187 2012-10-30 Andreas Jaeger <aj@suse.de>
42189 * po/ru.po: Update Russion translation from translation project.
42191 2012-10-30 Joseph Myers <joseph@codesourcery.com>
42195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42196 result and shift together with sticky bit instead of replicating
42197 round-to-nearest rounding.
42198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42200 * math/libm-test.inc (fma_test): Add more tests. Do not permit
42201 missing underflow exceptions.
42202 (fma_test_towardzero): Add more tests.
42203 (fma_test_downward): Likewise.
42204 (fma_test_upward): Likewise.
42207 * sysdeps/generic/tininess.h: New file.
42208 * sysdeps/i386/tininess.h: Likewise.
42209 * sysdeps/sh/tininess.h: Likewise.
42210 * sysdeps/x86_64/tininess.h: Likewise.
42211 * stdlib/tst-strtod-underflow.c: Likewise.
42212 * stdlib/tst-tininess.c: Likewise.
42213 * stdlib/strtod_l.c: Include <tininess.h>.
42214 (round_and_return): Do not set errno for exact underflow cases.
42215 Force an underflow exception when setting errno for underflow.
42216 Determine underflow based on rounding to normal precision if
42217 TININESS_AFTER_ROUNDING.
42218 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42219 ERANGE for exact underflow cases.
42220 * stdlib/Makefile (tests): Add tst-tininess and
42221 tst-strtod-underflow.
42222 ($(objpfx)tst-tininess): Use $(link-libm).
42223 ($(objpfx)tst-strtod-underflow): Likewise.
42225 2012-10-30 Andreas Jaeger <aj@suse.de>
42228 * elf/Makefile (tests): Remove conditional for have-initfini-array
42229 since this is now always required and the variable does not exist
42231 (tests-static): Likewise.
42232 (modules-names): Likewise.
42234 * po/eo.po: Add Esperanto translation from translation project.
42236 * elf/tst-array1.c (fini_array): Make writeable so that it can be
42237 merged with constructor/destructor.
42238 (init_array): Likewise.
42239 * elf/tst-array2dep.c (fini_array): Likewise.
42240 (init_array): Likewise.
42242 2012-10-29 Mike Frysinger <vapier@gentoo.org>
42244 * manual/message.texi: Delete @cartouche tags.
42246 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
42248 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42250 * sysdeps/mach/hurd/fsync.c: Likewise.
42252 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42253 [_POSIX_REALTIME_SIGNALS]: Change condition to
42254 [_POSIX_REALTIME_SIGNALS > 0].
42256 2012-10-27 Andreas Jaeger <aj@suse.de>
42258 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42259 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42261 [__WORDSIZE != 64]: Likewise.
42263 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
42265 * iconvdata/tst-table.sh: Remove ${SHELL}.
42266 * iconvdata/tst-tables.sh: Likewise.
42268 2012-10-25 David S. Miller <davem@davemloft.net>
42270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42271 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42277 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42278 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42281 2012-10-25 Roland McGrath <roland@hack.frob.com>
42283 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42284 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42287 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42288 Jim Blandy <jimb@codesourcery.com>
42290 * scripts/cross-test-ssh.sh: New file.
42291 * manual/install.texi (Configuring and compiling): Document use of
42293 * INSTALL: Regenerated.
42295 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
42297 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42300 2012-10-25 Joseph Myers <joseph@codesourcery.com>
42302 * Makeconfig (run-program-prefix): Fix comment.
42304 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42305 Jim Blandy <jimb@codesourcery.com>
42307 * Makeconfig (test-wrapper): New variable,
42308 (test-wrapper-env): Likewise.
42309 [$(cross-compiling) = yes && $(test-wrapper) != ""]
42310 (run-built-tests): Define to yes.
42311 (run-program-prefix): Use $(test-wrapper).
42312 (built-program-cmd): Likewise.
42313 * Rules (make-test-out): Use $(test-wrapper-env) and
42314 $(host-built-program-cmd).
42315 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42316 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42318 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42319 $(test-wrapper-env) to tst-rtld-load-self.sh.
42320 ($(objpfx)order2.out): Use $(test-wrapper).
42321 ($(objpfx)tst-initorder.out): Likewise.
42322 ($(objpfx)tst-initorder2.out): Likewise.
42323 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42324 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42325 (test_wrapper_env): New variable. Use it to run ld.so.
42326 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42327 Use it to run ld.so.
42328 (test_wrapper_env): Likewise.
42329 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42330 $(test-wrapper) to run-iconv-test.sh.
42331 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42332 (ICONV): Use $test_wrapper.
42333 * posix/Makefile ($(objpfx)globtest.out): Pass
42334 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42335 globtest.sh, not $(run-program-prefix).
42336 * posix/globtest.sh (run_via_rtld_prefix): New variable.
42337 (test_wrapper): Likewise.
42338 (test_wrapper_env): Likewise. Use it to run globtest with HOME
42339 set together with run_via_rtld_prefix.
42340 (run_program_prefix): Define in terms of test_wrapper and
42341 run_via_rtld_prefix.
42343 2012-10-24 Roland McGrath <roland@hack.frob.com>
42345 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42346 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42350 * include/time.h: Remove librt_hidden_proto (clock_gettime).
42351 Declare __clock_getres, __clock_gettime, __clock_settime,
42352 __clock_nanosleep, and __clock_getcpuclockid.
42353 * rt/clock_gettime.c: Define __clock_gettime as an alias.
42354 Remove librt_hidden_def (clock_gettime).
42355 * sysdeps/unix/clock_gettime.c: Likewise.
42356 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42358 * rt/clock_getres.c: Define __clock_getres as an alias.
42359 * sysdeps/posix/clock_getres.c: Likewise.
42360 * rt/clock_settime.c: Define __clock_settime as an alias.
42361 * sysdeps/unix/clock_settime.c: Likewise.
42362 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42363 * sysdeps/unix/clock_nanosleep.c: Likewise.
42364 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42365 * rt/clock-compat.c: New file.
42366 * rt/Makefile (librt-routines): Add clock-compat and move
42367 $(clock-routines) to ...
42368 (routines): ... here, new variable.
42369 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42370 Don't add get_clockfreq here.
42371 * rt/Versions (libc: GLIBC_2.17): New version set.
42372 Add clock_* symbols here.
42373 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
42374 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42375 (GLIBC_2.17): Add clock_* symbols.
42376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42387 * NEWS: Mention the move.
42389 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42390 Use __open, __read, __close rather than their public counterparts.
42391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42392 (__get_clockfreq_via_cpuinfo): Likewise.
42393 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42394 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42396 * config.h.in (HAVE_IFUNC): New #undef.
42397 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42399 * configure: Regenerated.
42401 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42403 * configure.in: Move READELF check to start of file.
42404 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42405 libc_cv_asm_gnu_indirect_function in the process.
42406 * configure: Regenerated.
42408 2012-10-24 Mike Frysinger <vapier@gentoo.org>
42410 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42411 send the output to /dev/null.
42412 (libc_cv_cc_with_libunwind): Likewise.
42413 (libc_cv_as_noexecstack): Likewise.
42414 * configure: Regenerate.
42416 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42418 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42420 * posix/globtest.sh (TMPDIR): Do not set.
42421 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42422 (testout): Likewise.
42424 2012-10-24 Andreas Jaeger <aj@suse.de>
42426 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42427 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42428 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42429 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42430 posix_fadvise64, posix_fallocate64.
42432 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42433 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42434 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42436 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42438 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42441 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42442 <bits/fcntl-linux.h>.
42443 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42446 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42447 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42448 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42449 [__WORDSIZE != 64]: Likewise.
42451 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42453 * Makeconfig (run-built-tests): New variable.
42454 * Rules [$(cross-compiling) = yes]: Change condition to
42455 [$(run-built-tests) = no].
42456 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42457 to [$(run-built-tests) = yes].
42458 * elf/Makefile [$(cross-compiling) = no]: Likewise
42459 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42460 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42461 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42462 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42463 * io/Makefile [$(cross-compiling) = no]: Likewise.
42464 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42465 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42466 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42467 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42468 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42469 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42470 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42471 * string/Makefile [$(cross-compiling) = no]: Likewise.
42473 * posix/Makefile ($(objpfx)globtest.out): Pass
42474 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42475 $(rtld-installed-name).
42476 * posix/globtest.sh (elf_objpfx): Remove variable.
42477 (rtld_installed_name): Likewise.
42478 (library_path): Likewise.
42479 (run_program_prefix): New variable. Use for running globtest
42482 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42483 Joseph Myers <joseph@codesourcery.com>
42485 * Makeconfig (host-built-program-cmd): New variable.
42486 * elf/Makefile (tst-stackguard1-ARGS): Use
42487 $(host-built-program-cmd).
42488 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42489 (tst-spawn-ARGS): Likewise.
42490 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42492 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42493 Jim Blandy <jimb@codesourcery.com>
42495 * Makeconfig (run-via-rtld-prefix): New variable.
42496 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42497 (built-program-cmd): Likewise.
42499 2012-10-22 Andreas Jaeger <aj@suse.de>
42501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42502 __O_RSYNC if it exists, otherwise to O_SYNC.
42504 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42505 Joseph Myers <joseph@codesourcery.com>
42507 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42509 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42511 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42514 2012-10-22 Andreas Jaeger <aj@suse.de>
42516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42521 bits/fcntl-linux.h.
42523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42524 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42531 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42532 Joseph Myers <joseph@codesourcery.com>
42534 * config.make.in (NM): New variable.
42536 2012-10-21 Andreas Jaeger <aj@suse.de>
42538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42539 definitions and declarations that are provided by
42540 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42542 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42545 * elf/Makefile (tests-static): Add tst-leaks1-static.
42546 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42547 ($(objpfx)tst-leaks1-static): New rule.
42548 ($(objpfx)tst-leaks1-static-mem): Likewise.
42549 (tst-leaks1-static-ENV): New macro.
42550 * elf/dl-open.c (dl_open_worker): Check the main application
42551 only if SHARED is defined.
42552 * elf/tst-leaks1-static.c: New file.
42554 2012-10-20 Andreas Jaeger <aj@suse.de>
42556 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42557 generic values for Linux.
42558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42559 and declarations that are provided by <bits/fcntl-linux.h> and
42560 include <bits/fcntl-linux.h>.
42561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42564 2012-10-20 Roland McGrath <roland@hack.frob.com>
42566 * io/fcntl.h: Move include of <bits/types.h> to the top and
42567 include it unconditionally.
42569 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42571 * wcsmbs/Makefile (tests-ifunc): New variable.
42572 (tests): Add $(tests-ifunc).
42573 * wcsmbs/test-wcschr-ifunc.c: New file.
42574 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42575 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42576 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42577 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42578 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42580 * string/Makefile (tests-ifunc): New variable.
42581 (tests): Add $(tests-ifunc).
42582 * string/test-memccpy.c (TEST_NAME): New macro.
42583 * string/test-memchr.c (TEST_NAME): Likewise.
42584 * string/test-memcmp.c (TEST_NAME): Likewise.
42585 * string/test-memcpy.c (TEST_NAME): Likewise.
42586 * string/test-memmem.c (TEST_NAME): Likewise.
42587 * string/test-memmove.c (TEST_NAME): Likewise.
42588 * string/test-memset.c (TEST_NAME): Likewise.
42589 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42590 * string/test-stpcpy.c (TEST_NAME): Likewise.
42591 * string/test-stpncpy.c (TEST_NAME): Likewise.
42592 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42593 * string/test-strcasestr.c (TEST_NAME): Likewise.
42594 * string/test-strcat.c (TEST_NAME): Likewise.
42595 * string/test-strchr.c (TEST_NAME): Likewise.
42596 * string/test-strcmp.c(TEST_NAME): Likewise.
42597 * string/test-strcpy.c (TEST_NAME): Likewise.
42598 * string/test-strcspn.c (TEST_NAME): Likewise.
42599 * string/test-strlen.c (TEST_NAME): Likewise.
42600 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42601 * string/test-strncmp.c (TEST_NAME): Likewise.
42602 * string/test-strncpy.c (TEST_NAME): Likewise.
42603 * string/test-strnlen.c (TEST_NAME): Likewise.
42604 * string/test-strpbrk.c (TEST_NAME): Likewise.
42605 * string/test-strrchr.c (TEST_NAME): Likewise.
42606 * string/test-strspn.c (TEST_NAME): Likewise.
42607 * string/test-strstr.c (TEST_NAME): Likewise.
42608 * string/test-bcopy-ifunc.c: New file.
42609 * string/test-bzero-ifunc.c: Likewise.
42610 * string/test-memccpy-ifunc.c: Likewise.
42611 * string/test-memchr-ifunc.c: Likewise.
42612 * string/test-memcmp-ifunc.c: Likewise.
42613 * string/test-memcpy-ifunc.c: Likewise.
42614 * string/test-memmem-ifunc.c: Likewise.
42615 * string/test-memmove-ifunc.c: Likewise.
42616 * string/test-mempcpy-ifunc.c: Likewise.
42617 * string/test-memset-ifunc.c: Likewise.
42618 * string/test-rawmemchr-ifunc.c: Likewise.
42619 * string/test-stpcpy-ifunc.c: Likewise.
42620 * string/test-stpncpy-ifunc.c: Likewise.
42621 * string/test-strcasecmp-ifunc.c: Likewise.
42622 * string/test-strcasestr-ifunc.c: Likewise.
42623 * string/test-strcat-ifunc.c: Likewise.
42624 * string/test-strchr-ifunc.c: Likewise.
42625 * string/test-strchrnul-ifunc.c: Likewise.
42626 * string/test-strcmp-ifunc.c: Likewise.
42627 * string/test-strcpy-ifunc.c: Likewise.
42628 * string/test-strcspn-ifunc.c: Likewise.
42629 * string/test-strlen-ifunc.c: Likewise.
42630 * string/test-strncasecmp-ifunc.c: Likewise.
42631 * string/test-strncat-ifunc.c: Likewise.
42632 * string/test-strncmp-ifunc.c: Likewise.
42633 * string/test-strncpy-ifunc.c: Likewise.
42634 * string/test-strnlen-ifunc.c: Likewise.
42635 * string/test-strpbrk-ifunc.c: Likewise.
42636 * string/test-strrchr-ifunc.c: Likewise.
42637 * string/test-strspn-ifunc.c: Likewise.
42638 * string/test-strstr-ifunc.c: Likewise.
42640 * debug/Makefile (tests-ifunc): New variable.
42641 (tests): Add $(tests-ifunc).
42642 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42643 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42644 * debug/test-stpcpy_chk-ifunc.c: New file.
42645 * debug/test-strcpy_chk-ifunc.c: Likewise.
42647 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42650 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42651 header is not read in.
42653 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42655 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42656 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42657 directly. Pass built executable to script as
42658 $(built-program-cmd).
42659 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42660 $testprogram without using LD_LIBRARY_PATH and $ldso.
42662 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42663 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42664 $(rtld-installed-name).
42665 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42666 (rtld_installed_name): Likewise.
42667 (library_path): Likewise.
42668 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42669 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42670 $(run-program-prefix) to tst-tables.sh.
42671 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42672 it to run tst-table-from and tst-table-to.
42673 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42674 Pass it to tst-table.sh.
42675 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42676 $(run-program-prefix) to tst-gettext.sh.
42677 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42679 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42681 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42682 to run tst-gettext.
42683 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42684 to run tst-gettext2.
42685 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42686 to run tst-translit.
42687 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42688 $(run-program-prefix) to tst-mtrace.sh.
42689 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42691 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42692 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42693 $(rtld-installed-name).
42694 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42695 (rtld_installed_name): Likewise.
42696 (run_program_prefix): New variable. Use it to run wordexp-test.
42698 * Makeconfig (ARCH): Remove all definitions.
42699 (machine): Likewise.
42700 [ARCH]: Remove conditional code.
42701 [!objdir]: Give error.
42702 [!objdir] (objpfx): Remove.
42703 [!objdir] (common-objpfx): Likewise.
42704 [!objdir] (common-objdir): Likewise.
42705 * configure.in (config_makefile): Remove. Hardcode Makefile in
42706 AC_CONFIG_FILES call.
42707 * configure: Regenerated.
42710 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42712 (testout): Likewise.
42714 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42715 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42716 $(rtld-installed-name).
42717 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42718 (rtld_installed_name): Likwise.
42719 (runit): Remove function.
42720 (run_getconf): New variable, Use it for running getconf binary.
42722 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42725 * string/test-memmem.c (check_result): New function.
42726 (do_one_test): Use it.
42727 (check1): New function.
42728 (test_main): Use it.
42730 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42732 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42734 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42736 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42737 (_G_LSEEK64): Likewise.
42738 (_G_MMAP64): Likewise.
42739 (_G_FSTAT64): Likewise.
42740 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42741 (_G_LSEEK64): Likewise.
42742 (_G_MMAP64): Likewise.
42743 (_G_FSTAT64): Likewise.
42744 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42745 unconditional. Call __mmap64 directly.
42746 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42747 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42748 __lseek64 directly.
42749 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42750 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42752 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42753 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42754 __lseek64 directly.
42755 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42756 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42757 __lseek64 directly.
42758 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42759 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42760 __lseek64 directly.
42761 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42762 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42763 __fxstat64 directly.
42764 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42765 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42767 (freopen64) [!_G_OPEN64]: Remove conditional code.
42768 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42770 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42771 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42773 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42774 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42776 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42777 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42779 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42780 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42782 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42783 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42785 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42786 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42788 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42790 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42793 * manual/memory.texi (Malloc Tunable Parameters): Add note
42794 about free list pointers overwriting some perturb bytes.
42795 Wording suggested by Roland McGrath.
42797 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42799 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42800 (lgamma_test): Likewise.
42801 (tgamma_test): Likewise.
42803 2012-10-16 Florian Weimer <fweimer@redhat.com>
42806 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42807 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42809 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42811 * NEWS: Mention BZ #14716.
42812 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42813 when removing AVAILABLE1_USES_J macro.
42815 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42817 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42818 (__bswap_64): __uint64_t for unsigned 64-bit int.
42820 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42822 * include/string.h (memmem): Declare libc hidden alias.
42823 * string/memmem.c (memmem): Define libc hidden alias.
42824 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42825 __read, __close instead of open, read, close.
42827 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42830 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42832 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42833 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42834 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42836 (__rawmemchr_sse2): Likewise.
42837 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42838 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42839 (__strchr_sse2): Likewise.
42840 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42841 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42842 (__strcasecmp_sse2): Likewise.
42843 (__strncasecmp_sse2): Likewise.
42844 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42845 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42846 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42847 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42848 (__strrchr_sse2): Likewise.
42849 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42851 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42852 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42853 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42854 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42855 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42856 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42857 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42858 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42859 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42860 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42861 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42862 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42863 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42864 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42865 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42866 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42867 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42868 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42869 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42870 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42871 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42872 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42873 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42874 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42875 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42876 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42877 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42878 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42879 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42880 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42882 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42884 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42885 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42886 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42887 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42889 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42891 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42892 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42893 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42894 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42896 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42897 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42898 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42905 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42906 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42907 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42908 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42909 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42910 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42912 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42913 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42916 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42917 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42918 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42919 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42921 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42922 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42923 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42924 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42925 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42926 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42927 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42928 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42929 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42930 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42931 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42932 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42933 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42934 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42935 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42936 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42938 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42939 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42940 * include/ifunc-impl-list.h: New file.
42941 * misc/ifunc-impl-list.c: Likewise.
42942 * misc/Makefile (routines): Add ifunc-impl-list.
42943 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42944 * string/test-string.h: Include <ifunc-impl-list.h>.
42945 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42946 TEST_NAME]: New variables.
42947 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42949 (test_init): Call __libc_ifunc_impl_list to initialize
42950 func_list if TEST_IFUNC and TEST_NAME are defined.
42952 * string/Makefile (strop-tests): Add bcopy and bzero.
42953 * string/test-bcopy.c: New file.
42954 * string/test-bzero.c: Likewise.
42955 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42957 * string/test-memset.c: Support bzero test if TEST_BZERO is
42959 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42961 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42963 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42966 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42968 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42969 * configure: Regenerated.
42971 * Makeconfig (+link-static-before-libc): Don't include
42972 $(link-static-libc).
42974 * libio/libio.h (_IO_pos_t): Remove.
42976 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42978 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42981 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42983 * crypt/crypt-entry.c: Include fips-private.h.
42984 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42985 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42986 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42987 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42989 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42991 * crypt/crypt-private.h: Include stdbool.h.
42992 (_ufc_setup_salt_r): Return bool.
42993 * crypt/crypt-entry.c: Include errno.h.
42994 (__crypt_r): Return NULL with EINVAL for bad salt.
42995 * crypt/crypt_util.c (bad_for_salt): New.
42996 (_ufc_setup_salt_r): Check that salt is long enough and within
42997 the specified alphabet.
42998 * crypt/badsalttest.c: New file.
42999 * crypt/Makefile (tests): Add it.
43000 ($(objpfx)badsalttest): New.
43002 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
43004 * NEWS: Add entry for BZ #14602.
43006 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43008 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43010 * math/libm-test.inc: Update comment listing what functions and
43012 (isgreater_test): New function.
43013 (isgreaterequal_test): Likewise.
43014 (isless_test): Likewise.
43015 (islessequal_test): Likewise.
43016 (islessgreater_test): Likewise.
43017 (isunordered_test): Likewise.
43018 (main): Call the new functions.
43020 2012-10-09 Roland McGrath <roland@hack.frob.com>
43022 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43023 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43024 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43025 * sysdeps/i386/configure: Regenerated.
43026 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43027 * sysdeps/mach/configure: Regenerated.
43028 * sysdeps/mach/hurd/configure: Regenerated.
43029 * sysdeps/powerpc/configure: Regenerated.
43030 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43031 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43032 * sysdeps/s390/s390-32/configure: Regenerated.
43033 * sysdeps/s390/s390-64/configure: Regenerated.
43034 * sysdeps/sh/configure: Regenerated.
43035 * sysdeps/sparc/configure: Regenerated.
43036 * sysdeps/unix/sysv/linux/configure: Regenerated.
43037 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43038 * sysdeps/x86_64/configure: Regenerated.
43040 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43041 defined. Don't check if MAP is NULL.
43043 2012-10-09 Joseph Myers <joseph@codesourcery.com>
43045 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43046 (_G_stat64): Likewise.
43047 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43048 (_G_stat64): Likewise.
43049 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43050 instead of struct _G_stat64.
43051 * libio/fileops.c (mmap_remap_check): Likewise.
43052 (decide_maybe_mmap): Likewise.
43053 (_IO_new_file_seekoff): Likewise.
43054 (_IO_file_stat): Likewise.
43055 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43057 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43058 instead of struct _G_stat64.
43059 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43061 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
43064 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43066 (CHECK_EOL): New macro.
43067 (two_way_short_needle): Check beginning of haystack for EOL. Use
43069 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43070 Replace with CHECK_EOL.
43071 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43072 Replace with CHECK_EOL.
43074 2012-10-08 Joseph Myers <joseph@codesourcery.com>
43076 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43078 * math/libm-test.inc: Update comment listing what functions and
43080 (finite_test): New function.
43081 (isinf_test): Likewise.
43082 (isnan_test): Likewise.
43083 (fpclassify_test): Test subnormal input.
43084 (isfinite_test): Likewise.
43085 (isnormal_test): Likewise.
43086 (main): Call the new functions.
43088 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
43091 * Makerules (%.dynsym): Force C locale when running
43092 $(OBJDUMP) --dynamic-syms.
43094 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
43096 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43099 2012-10-06 David S. Miller <davem@davemloft.net>
43101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43102 upper 32-bits of the length value in %o2 since we use branch-on-register
43103 tests which consider the entire 64-bit register.
43105 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
43107 * string/test-strstr.c (check2): Add a test for page boundary.
43109 2012-10-05 David S. Miller <davem@davemloft.net>
43111 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43112 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43114 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43116 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43117 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43118 and bzero when HWCAP_SPARC_CRYPTO is present.
43120 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
43123 * string/test-strstr.c (check2): New function.
43124 (test_main): Call check2.
43126 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43128 * string/bug-strcasestr1.c (do_test): Moved to ...
43129 * string/test-strcasestr.c (check1): Here. New function.
43130 (do_one_test): Break out result checking code into ...
43131 (check_result): This. New function.
43132 (do_one_test): Call check_result.
43133 (test_main): Call check1.
43134 * string/bug-strchr1.c (do_test): Moved to ...
43135 * string/test-strchr.c (check1): Here. New function.
43136 (do_one_test): Break out result checking code into ...
43137 (check_result): This. New function.
43138 (do_one_test): Call check_result.
43139 (test_main): Call check1.
43140 * string/bug-strstr1.c (main): Moved to ...
43141 * string/test-strstr.c (check1): Here. New function.
43142 (do_one_test): Break out result checking code into ...
43143 (check_result): This. New function.
43144 (do_one_test): Call check_result.
43145 (test_main): Call check1.
43146 * string/bug-strcasestr1.c: Removed.
43147 * string/bug-strchr1.c: Likewise.
43148 * string/bug-strstr1.c: Likewise.
43150 * elf/Makefile (dl-routines): Add hwcaps.
43151 * elf/dl-support.c (_dl_important_hwcaps): Removed.
43152 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43153 (_dl_important_hwcaps): Moved to ...
43154 * elf/dl-hwcaps.c: Here. New file.
43155 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43158 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43159 if IS_IN_rtld isn't defined.
43161 * elf/dl-support.c (_dl_sysinfo_map): New.
43162 Include "get-dynamic-info.h" and "setup-vdso.h".
43163 (_dl_non_dynamic_init): Call setup_vdso.
43164 * elf/dynamic-link.h: Don't include <assert.h>.
43165 (elf_get_dynamic_info): Moved to ...
43166 * elf/get-dynamic-info.h: Here. New file.
43167 * elf/dynamic-link.h: Include "get-dynamic-info.h".
43168 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43169 * elf/setup-vdso.h: Here. New file.
43170 * elf/rtld.c: Include "setup-vdso.h".
43171 (dl_main): Call setup_vdso.
43173 2012-10-05 Joseph Myers <joseph@codesourcery.com>
43175 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43176 creal in comment listing functions tested. List finite, isinf,
43177 isnan, isless, islessequal, isgreater, isgreaterequal,
43178 islessgreater, isunordered, lgamma_r and pow10 as functions and
43179 macros not tested. Mention which functions not tested are aliases
43180 for other functions. Fix typo. Note that signs of NaNs are not
43183 * scripts/config.guess: Update from config.git.
43184 * scripts/config.sub: Likewise.
43186 2012-10-04 Roland McGrath <roland@hack.frob.com>
43188 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43189 * misc/madvise.c (madvise): Renamed to __madvise.
43190 Make madvise a weak alias.
43191 * include/sys/mman.h: Declare __madvise.
43192 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43193 * sysdeps/unix/syscalls.list
43194 (madvise): Make __madvise the strong name, and madvise a weak alias.
43195 * sysdeps/unix/sysv/linux/syscalls.list
43196 (madvise, mmap): Remove redundant entries.
43197 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43198 * malloc/malloc.c (mtrim): Likewise.
43199 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43201 2012-10-03 Roland McGrath <roland@hack.frob.com>
43203 * sysdeps/mach/hurd/dl-cache.c: File removed.
43204 * config.h.in (USE_LDCONFIG): New #undef.
43205 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43206 * configure: Regenerated.
43207 * elf/Makefile (dl-routines): Add dl-cache only under
43208 [$(use-ldconfig) = yes].
43209 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43210 cache on [USE_LDCONFIG].
43211 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43213 * elf/rtld.c (dl_main): Likewise.
43215 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
43217 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43218 _SC_LEVEL4_CACHE_LINESIZE.
43220 2012-10-03 Roland McGrath <roland@hack.frob.com>
43222 * sysdeps/unix/bsd/confstr.h: File removed.
43224 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
43226 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43229 2012-10-02 Roland McGrath <roland@hack.frob.com>
43231 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43232 Make 'mapoff' field ElfW(Off) rather than off_t.
43234 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
43236 * nscd/Makefile: Remove nscd-cflags and all its users.
43237 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43238 (CFLAGS-nonlib): Add compiler flags for nscd modules.
43241 * malloc.c (malloc_printerr): Clarify error message.
43243 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
43246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43247 Set bit_FMA_Usable if FMA is supported.
43248 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43250 (bit_FMA4_Usable): Updated.
43251 (index_FMA_Usable): New macro.
43252 (CPUID_FMA): Likewise
43253 (HAS_FMA): Defined with bit_FMA_Usable.
43255 2012-10-01 Roland McGrath <roland@hack.frob.com>
43257 * bits/types.h (__swblk_t): Type removed.
43258 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43259 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43260 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43261 (__SWBLK_T_TYPE): Likewise.
43262 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43263 (__SWBLK_T_TYPE): Likewise.
43264 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43265 (__SWBLK_T_TYPE): Likewise.
43266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43267 (__SWBLK_T_TYPE): Likewise.
43269 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
43270 Honza Horak <hhorak@redhat.com>
43272 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43273 (xdr_mapname): Use YPMAXMAP as maxsize.
43274 (xdr_peername): Use YPMAXPEER as maxsize.
43275 (xdr_keydat): Use YPAXRECORD as maxsize.
43276 (xdr_valdat): Use YPMAXRECORD as maxsize.
43278 2012-10-01 Roland McGrath <roland@hack.frob.com>
43280 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43282 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43283 * csu/init-first.c: ... here.
43284 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43285 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43287 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43288 * sysdeps/i386/init-first.c: File removed.
43289 * sysdeps/sh/init-first.c: File removed.
43291 2012-10-01 Joseph Myers <joseph@codesourcery.com>
43294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43295 if x * y might underflow to zero and z is zero.
43296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43298 * math/libm-test.inc (min_subnorm_value): New variable.
43299 (fma_test): Add more tests.
43300 (fma_test_towardzero): Likewise.
43301 (fma_test_downward): Likewise
43302 (fma_test_upward): Likewise.
43303 (initialize): Set min_subnorm_value.
43305 2012-09-29 Joseph Myers <joseph@codesourcery.com>
43308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43311 mode for addition resulting in exact zero.
43312 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43317 * math/libm-test.inc (fma_test): Add more tests.
43318 (fma_test_towardzero): New function.
43319 (fma_test_downward): Likewise.
43320 (fma_test_upward): Likewise.
43321 (main): Call the new functions.
43323 2012-09-28 David S. Miller <davem@davemloft.net>
43325 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43327 2012-09-28 Roland McGrath <roland@hack.frob.com>
43329 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43330 instead of SIGALRM.
43332 * sysdeps/gnu/_G_config.h: Moved to ...
43333 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43334 * sysdeps/mach/hurd/_G_config.h: Moved to ...
43335 * sysdeps/generic/_G_config.h: ... here.
43337 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
43339 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43341 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43342 Conditionalize target on [libnss_test1.so-version].
43344 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43346 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43347 (elfobjdir): Move out of conditionals.
43349 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43350 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43351 (__nss_lookup_function): Conditionalize label remove_from_tree on
43352 [!DO_STATIC_NSS || SHARED], matching its only use.
43354 2012-09-28 David S. Miller <davem@davemloft.net>
43356 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43357 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43359 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43361 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43363 when HWCAP_SPARC_CRYPTO is present.
43365 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43367 * io/tst-mknodat.c: Create a FIFO instead of a socket.
43369 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
43372 * stdio-common/vfprintf.c (process_string_arg): Revert
43375 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
43377 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43379 * stdio-common/tst-sprintf.c: Include <locale.h>
43380 (main): Test sprintf's handling of incomplete multibyte
43383 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
43385 * elf/dl-runtime.c (VERSYMIDX): Removed.
43386 * elf/dl-version.c (VERSYMIDX): Likewise.
43387 * elf/do-rel.h (VERSYMIDX): Likewise.
43388 (VALIDX): Likewise.
43389 * elf/dynamic-link.h (VERSYMIDX): Likewise.
43390 * elf/rtld.c (VALIDX): Likewise.
43391 (ADDRIDX): Likewise.
43392 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43393 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43394 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43395 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43396 (VALIDX): Likewise.
43397 (ADDRIDX): Likewise.
43399 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43401 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43403 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
43406 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43408 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43409 addresses are in the same scope as 192.0.2/24.
43410 * posix/gai.conf: Document new scope table defaults.
43412 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43415 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43416 for ftell. Compute offsets from write pointers instead.
43417 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43419 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43422 * libio/Makefile (tests): New test case tst-fseek.
43423 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43424 combination works in wide mode.
43425 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43426 state when the external buffer state changes.
43428 2012-09-27 David S. Miller <davem@davemloft.net>
43431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43432 pass reloc->r_addend in as the 'high' argument to
43433 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43437 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43439 * rt/tst-aio2.c: Include <pthread.h>.
43440 * rt/tst-aio3.c: Likewise.
43442 2012-09-27 Steve Ellcey <sellcey@mips.com>
43444 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43446 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43448 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43449 contents on [SHARED].
43451 2012-09-26 Marek Polacek <polacek@redhat.com>
43455 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43456 for C++ and GCC <4.3 as well as for non GCC compilers.
43458 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43462 2012-09-25 Roland McGrath <roland@hack.frob.com>
43464 * Makefile.in (all, install): Declare with .PHONY.
43465 Reported by Michael Hope <michael.hope@linaro.org>.
43467 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43469 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43470 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43472 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43474 (sydep_routines): Add the new and the internal functions.
43475 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43476 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43478 (GLIBC_2.17): Add the new function.
43479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43480 (GLIBC_2.17): Likewise.
43481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43482 (GLIBC_2.17): Likewise.
43483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43484 (GLIBC_2.17): Likewise.
43485 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43487 2012-09-25 Alan Modra <amodra@gmail.com>
43489 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43490 Add release barrier before setting once_control to say
43491 initialisation is done. Add hints on lwarx. Use macro in
43493 (clear_once_control): Add release barrier.
43495 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43498 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43500 * math/s_clog10.c (__clog10): Likewise.
43501 * math/s_clog10f.c (__clog10f): Likewise.
43502 * math/s_clog10l.c (__clog10l): Likewise.
43503 * math/s_clogf.c (__clogf): Likewise.
43504 * math/s_clogl.c (__clogl): Likewise.
43505 * math/Makefile (libm-calls): Add x2y2m1.
43506 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43507 (__x2y2m1): Likewise.
43508 (__x2y2m1l): Likewise.
43509 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43510 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43511 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43512 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43513 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43514 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43515 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43516 * sysdeps/i386/fpu/libm-test-ulps: Update.
43517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43520 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43521 int as type of variable DEPTH.
43522 (glob): Use size_t instead of int as type of variables NEWCOUNT
43525 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43527 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43528 Add s_sincosf-sse2.
43529 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43530 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43531 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43532 macros for using routine as __sincosf_ia32.
43533 Use macro for function declaration and weak_alias.
43534 * sysdeps/i386/fpu/libm-test-ulps: Update.
43536 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43539 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43540 subnormal argument.
43541 * math/s_cexpf.c (__cexpf): Likewise.
43542 * math/s_csinf.c (__csinf): Likewise.
43543 * math/s_csinhf.c (__csinhf): Likewise.
43544 * math/s_ctanf.c (__ctanf): Likewise.
43545 * math/s_ctanhf.c (__ctanhf): Likewise.
43546 * math/s_ccosh.c (__ccoshf): Likewise.
43547 * math/s_cexp.c (__cexpl): Likewise.
43548 * math/s_csin.c (__csin): Likewise.
43549 * math/s_csinh.c (__csinh): Likewise.
43550 * math/s_ctan.c (__ctan): Likewise.
43551 * math/s_ctanh.c (ctanh): Likewise.
43552 * math/s_ccoshl.c (__ccoshl): Likewise.
43553 * math/s_cexpl.c (__cexpl): Likewise.
43554 * math/s_csinl.c (__csinl): Likewise.
43555 * math/s_csinhl.c (__csinhl): Likewise.
43556 * math/s_ctanl.c (__ctanl): Likewise.
43557 * math/s_ctanhl.c (__ctanhl): Likewise.
43559 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43561 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43562 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43563 (_IO_off_t): Define to __off_t, not _G_off_t.
43564 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43565 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43566 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43567 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43568 type of __dummy and __dummy2 fields.
43569 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43570 (_G_ssize_t): Likewise.
43571 (_G_off_t): Likewise.
43572 (_G_pid_t): Likewise.
43573 (_G_uid_t): Likewise.
43574 (_G_wchar_t): Likewise.
43575 (_G_wint_t): Likewise.
43576 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43577 (_G_ssize_t): Likewise.
43578 (_G_off_t): Likewise.
43579 (_G_pid_t): Likewise.
43580 (_G_uid_t): Likewise.
43581 (_G_wchar_t): Likewise.
43582 (_G_wint_t): Likewise.
43583 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43584 (_G_ssize_t): Likewise.
43585 (_G_off_t): Likewise.
43586 (_G_pid_t): Likewise.
43587 (_G_uid_t): Likewise.
43588 (_G_wchar_t): Likewise.
43589 (_G_wint_t): Likewise.
43591 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43593 * malloc/arena.c: Include malloc-sysdep.h.
43594 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43595 is sufficient to shrink the heap or an unmap is needed.
43596 * sysdeps/generic/malloc-sysdep.h: New file. Define
43597 new function check_may_shrink_heap.
43598 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43599 new function check_may_shrink_heap.
43601 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43603 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43606 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43608 * catgets/test-gencat.sh: Add "set -e".
43609 * elf/tst-pathopt.sh: Likewise.
43610 * grp/tst_fgetgrent.sh: Likewise.
43611 * iconvdata/run-iconv-test.sh: Likewise.
43612 * intl/tst-gettext.sh: Likewise.
43613 * intl/tst-gettext2.sh: Likewise.
43614 * intl/tst-gettext4.sh: Likewise.
43615 * intl/tst-gettext6.sh: Likewise.
43616 * intl/tst-translit.sh: Likewise.
43617 * io/ftwtest-sh: Likewise.
43618 * libio/test-freopen.sh: Likewise.
43619 * malloc/tst-mtrace.sh: Likewise.
43620 * posix/globtest.sh: Likewise.
43621 * posix/tst-getconf.sh: Likewise.
43622 * posix/wordexp-tst.sh: Likewise.
43623 * stdio-common/tst-printf.sh: Likewise.
43624 * stdio-common/tst-unbputc.sh: Likewise.
43625 * stdlib/tst-fmtmsg.sh: Likewise.
43626 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43627 * catgets/Makefile: Do not specify -e option when running
43628 testsuite shell scripts.
43629 * elf/Makefile: Likewise.
43630 * grp/Makefile: Likewise.
43631 * iconvdata/Makefile: Likewise.
43632 * intl/Makefile: Likewise.
43633 * io/Makefile: Likewise.
43634 * libio/Makefile: Likewise.
43635 * malloc/Makefile: Likewise.
43636 * posix/Makefile: Likewise.
43637 * stdio-common/Makefile: Likewise.
43638 * stdlib/Makefile: Likewise.
43639 * sysdeps/x86_64/Makefile: Likewise.
43641 * io/ftwtest-sh: Add copyright header.
43642 * posix/globtest.sh: Likewise.
43643 * posix/tst-getconf.sh: Likewise.
43644 * posix/wordexp-tst.sh: Likewise.
43645 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43647 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43650 * Makeconfig (+link): Defined as $(+link-static) if
43651 $(build-shared) isn't yes.
43652 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43654 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43656 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43659 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43660 new chunk size with MALLOC_ALIGN_MASK.
43662 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43665 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43667 (__printf_fphex): Determine rounding using get_rounding_mode and
43669 * stdio-common/tst-printf-round.c (struct hex_test): New
43671 (hex_tests): New variable.
43672 (test_hex_in_one_mode): New function.
43673 (do_test): Also run tests for hex float output.
43675 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43677 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43678 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43679 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43680 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43681 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43682 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43683 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43684 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43686 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43688 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43689 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43690 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43691 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43693 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43696 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43698 * elf/tst-rtld-load-self.sh: New test.
43699 * elf/Makefile: Run it.
43701 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43703 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43704 (tst-writev-ENV): Remove.
43705 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43707 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43709 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43711 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43713 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43715 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43717 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43718 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43719 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43722 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43725 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43726 * config.make.in (have-cpp-asm-debuginfo): Removed.
43727 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43728 * configure: Regenerated.
43730 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43733 * stdio-common/printf_fp.c: Include <stdbool.h> and
43735 (___printf_fp): Determine rounding using get_rounding_mode and
43737 * stdio-common/tst-printf-round.c: New file.
43738 * stdio-common/Makefile (tests): Add tst-printf-round.
43739 (link-libm): New variable.
43740 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43742 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43745 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43746 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43748 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43751 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43753 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43754 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43755 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43756 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43758 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43761 * include/rounding-mode.h: New file.
43762 * sysdeps/generic/get-rounding-mode.h: Likewise.
43763 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43764 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43765 (MAX_VALUE): New macro.
43766 (MIN_VALUE): Likewise.
43767 (overflow_value): New function.
43768 (underflow_value): Likewise.
43769 (round_and_return): Use overflow_value and underflow_value to
43770 determine return values in overflow and underflow cases. Use
43771 round_away to determine rounding depending on rounding mode.
43772 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43773 determine return values in overflow and underflow cases.
43774 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43775 (struct test_results): New structure.
43776 (struct test): Use struct test_results to store expected results
43777 for all rounding modes.
43778 (TEST): Include expected results for all rounding modes.
43779 (test_in_one_mode): New function.
43780 (do_test): Use test_in_one_mode to compute and check results.
43781 Check results for all rounding modes.
43782 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43785 2012-12-09 Allan McRae <allan@archlinux.org>
43787 * sysdeps/i386/fpu/libm-test-ulps: Update
43789 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43791 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43792 (_G_int32_t): Likewise.
43793 (_G_uint16_t): Likewise.
43794 (_G_uint32_t): Likewise.
43795 (_G_HAVE_BOOL): Likewise.
43796 (_G_HAVE_ATEXIT): Likewise.
43797 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43798 (_G_HAVE_IO_FILE_OPEN): Likewise.
43799 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43800 (_G_int32_t): Likewise.
43801 (_G_uint16_t): Likewise.
43802 (_G_uint32_t): Likewise.
43803 (_G_HAVE_BOOL): Likewise.
43804 (_G_HAVE_ATEXIT): Likewise.
43805 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43806 (_G_HAVE_IO_FILE_OPEN): Likewise.
43807 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43808 (_G_int32_t): Likewise.
43809 (_G_uint16_t): Likewise.
43810 (_G_uint32_t): Likewise.
43811 (_G_HAVE_BOOL): Likewise.
43812 (_G_HAVE_ATEXIT): Likewise.
43813 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43814 (_G_HAVE_IO_FILE_OPEN): Likewise.
43816 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43818 * csu/libc-tls.c: Update copyright years.
43820 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43822 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43823 [!_G_USING_THUNKS]: Remove conditional code.
43824 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43825 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43827 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43828 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43829 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43830 (_G_VTABLE_LABEL_PREFIX): Likewise.
43831 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43832 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43833 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43834 (_G_VTABLE_LABEL_PREFIX): Likewise.
43835 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43836 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43837 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43838 (_G_VTABLE_LABEL_PREFIX): Likewise.
43839 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43841 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43843 * libio/Makefile: Include ../Makeconfig before tests.
43844 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43845 only if $(build-shared) is yes.
43847 * iconv/gconv_db.c: Update copyright years.
43849 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43851 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43852 unwind info if defined PIC. Fix special cases description.
43853 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43855 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43857 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43859 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43861 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43863 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43866 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43867 (LDLIBS-tst-chk4): This.
43868 (LDFLAGS-tst-chk5): Renamed to ...
43869 (LDLIBS-tst-chk5): This.
43870 (LDFLAGS-tst-chk6): Renamed to ...
43871 (LDLIBS-tst-chk6): This.
43872 (LDFLAGS-tst-lfschk4): Renamed to ...
43873 (LDLIBS-tst-lfschk4): This.
43874 (LDFLAGS-tst-lfschk5): Renamed to ...
43875 (LDLIBS-tst-lfschk5): This.
43876 (LDFLAGS-tst-lfschk6): Renamed to ...
43877 (LDLIBS-tst-lfschk6): This.
43879 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43880 on $(common-objpfx)soversions.mk.
43882 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43885 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43888 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43890 * malloc/arena.c (arena_get_retry): New function that gets
43891 another arena for the caller to try its request on.
43892 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43893 current arena cannot fulfill the request.
43894 (__libc_memalign): Likewise.
43895 (__libc_memalign): Likewise.
43896 (__libc_pvalloc): Likewise.
43897 (__libc_calloc): Likewise.
43899 2012-09-05 John Tobey <john.tobey@gmail.com>
43902 * manual/arith.texi (Operations on Complex): Fix description
43903 of carg branch cut.
43905 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43908 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43912 * manual/memory.texi (Memory): Make order of menu items match
43915 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43917 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43918 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43919 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43921 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43923 * csu/libc-tls.c (static_dtv): Renamed to ...
43924 (_dl_static_dtv): This. Make it global.
43925 (_dl_initial_dtv): Removed.
43926 (__libc_setup_tls): Updated.
43927 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43928 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43931 2012-09-06 Petr Machata <pmachata@redhat.com>
43933 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43934 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43935 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43936 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43938 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43941 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43942 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43945 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43948 * Makeconfig (link-static-before-libc): Replace $(+prector)
43950 (link-static-after-libc): Replace $(+postctor) with
43952 (link-bounded): Replace $(+prector)/$(+postctor) with
43953 $(+prectorT)/$(+postctorT).
43954 (+prectorT): New macro.
43955 (+postctorT): Likewise.
43957 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43959 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43960 (round_str): Handle values above the maximum for IBM long double
43962 * stdlib/tst-strtod-round.c (tests): Regenerated.
43964 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43966 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43968 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43969 zarch_nohighgprs around the zarch optimized routines.
43970 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43971 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43972 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43975 2012-09-05 David S. Miller <davem@davemloft.net>
43977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43979 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43980 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43981 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43982 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43985 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43987 * malloc/arena.c: Fold copyright years.
43988 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43990 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43992 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43994 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43996 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43998 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44000 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44001 change internal state upon failure.
44003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
44005 * malloc/mcheck.c (mcheck_check_all): Fix typo.
44006 * malloc/memusage.c (mmap): Likewise.
44007 (mmap64, mremap): Likewise. Adjust name in comment.
44009 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44011 * libio/fileops.c: Fix typos in comments.
44012 * libio/oldfileops.c: Likewise.
44013 * libio/wfileops.c: Likewise.
44015 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44018 * malloc/Makefile (tests): Add tst-malloc-usable test case.
44019 (tst-malloc-usable-ENV): Set environment for test case.
44020 * malloc/hooks.c (malloc_check_get_size): New function to get
44022 * malloc/malloc.c (musable): Use malloc_check_get_size.
44023 * malloc/tst-malloc-usable.c: New test case.
44025 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44027 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44029 2012-09-05 Allan McRae <allan@archlinux.org>
44032 * configure.in (CXX_SYSINCLUDES): Use compiler output to
44033 determine header location.
44034 * configure: Regenerated.
44036 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
44038 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44040 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44041 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44043 (test): Regenerate.
44045 2012-09-04 David S. Miller <davem@davemloft.net>
44047 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44048 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44049 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44051 2012-09-04 Florian Weimer <fweimer@redhat.com>
44053 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44056 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44058 2012-09-04 Joseph Myers <joseph@codesourcery.com>
44061 * libio/iogetdelim.c: Include <limits.h>.
44062 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44063 + len + 1 would overflow.
44065 2012-09-03 Andreas Jaeger <aj@suse.de>
44067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44068 * sysdeps/i386/fpu/libm-test-ulps: Update.
44070 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44072 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44073 Add s_sinf-sse2, s_conf-sse2.
44075 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44076 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44077 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44078 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44080 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44081 for using routine as __sinf_ia32.
44082 Use macro for function declaration and weak_alias.
44083 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44084 for using routine as __cosf_ia32.
44085 Use macro for function declaration and weak_alias.
44087 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44088 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44090 * sysdeps/x86_64/fpu/s_sinf.S: New file.
44091 * sysdeps/x86_64/fpu/s_cosf.S: New file.
44092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44094 * math/libm-test.inc (cos_test): Add more test cases.
44095 (sin_test): Likewise.
44096 (sincos_test): Likewise.
44098 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44101 (IFUNC_RESOLVE): Make pointers to the specialized implementations
44103 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44105 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
44108 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44109 first element of the GOT.
44110 (elf_machine_load_address): Return the difference between
44111 the runtime address of _DYNAMIC and elf_machine_dynamic ().
44113 2012-09-01 Allan McRae <allan@archlinux.org>
44116 * configure.in (AWK): Require gawk version 3.0 or later.
44117 * configure: Regenerated.
44119 2012-09-01 Joseph Myers <joseph@codesourcery.com>
44121 * sysdeps/unix/sysv/linux/kernel-features.h
44122 (__ASSUME_POSIX_CPU_TIMERS): Remove.
44123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44124 [__NR_clock_getres]: Make code unconditional.
44125 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44126 (clock_getcpuclockid): Remove code left unreachable by removal of
44128 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44129 code unconditional.
44130 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44131 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44132 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44133 Make code unconditional.
44134 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44135 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44136 * sysdeps/unix/sysv/linux/clock_settime.c
44137 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44139 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44140 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44142 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
44145 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44146 scripts/test-installation.pl.
44148 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44149 and $ld_so_version if it is set.
44151 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44155 failure if reading from procfs failed.
44156 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44158 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44160 * sysdeps/unix/sysv/linux/kernel-features.h
44161 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44162 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44163 Remove conditional code.
44164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44165 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44166 Remove conditional code.
44167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44168 * sysdeps/unix/sysv/linux/i386/fxstat.c
44169 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44171 * sysdeps/unix/sysv/linux/i386/fxstatat.c
44172 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44174 * sysdeps/unix/sysv/linux/i386/lxstat.c
44175 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44177 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44178 Remove conditional code.
44179 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44180 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44181 Remove conditional code.
44182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44183 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44184 <kernel-features.h>.
44185 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44187 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44188 Remove conditional code.
44189 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44190 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44191 Remove conditional.
44193 2012-08-27 Mike Frysinger <vapier@gentoo.org>
44196 * NEWS: Add fixed bug number.
44198 2012-08-27 Joseph Myers <joseph@codesourcery.com>
44201 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44202 underflowing exponent in case of negative sign.
44203 * stdlib/tst-strtod-round-data: Add more tests.
44204 * stdlib/tst-strtod-round.c (tests): Regenerated.
44207 * stdlib/strtod_l.c (NDIG): Remove.
44208 (HEXNDIG): Likewise.
44209 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44210 smallest representable value.
44211 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44212 lie within an exact representation of 1/2 ulp of the result.
44213 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44215 (TENS_P9_IDX): Define unconditionally.
44216 (TENS_P9_SIZE): Likewise.
44217 (TENS_P10_IDX): Likewise.
44218 (TENS_P10_SIZE): Likewise.
44219 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44220 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44221 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44222 entries for 10^2^13 and 10^2^14.
44223 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44224 (TENS_P13_IDX): Define.
44225 (TENS_P13_SIZE): Likewise.
44226 (TENS_P14_IDX): Likewise.
44227 (TENS_P14_SIZE): Likewise.
44228 (_fpioconst_pow10): Change array size to
44229 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
44231 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44232 1024]: Add entries for 10^2^13 and 10^2^14.
44233 [LAST_POW10 > _LAST_POW10]: Remove #error.
44234 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44235 (_fpioconst_pow10): Change array size to
44236 FPIOCONST_POW10_ARRAY_SIZE.
44237 * stdlib/gen-fpioconst.c: New file.
44238 * stdlib/gen-tst-strtod-round.c: Likewise.
44239 * stdlib/tst-strtod-round-data: Likewise.
44240 * stdlib/tst-strtod-round.c: Likewise.
44241 * stdlib/Makefile (tests): Add tst-strtod-round.
44244 * stdlib/strtod_l.c: Include <stdint.h>.
44245 (NDEBUG): Do not define.
44246 (round_and_return): Change EXPONENT parameter to type intmax_t.
44247 Rearrange calculations to avoid internal overflow possibilities.
44248 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44249 Rearrange calculations to avoid internal overflow possibilities.
44250 Assert that number fits inside MPNSIZE limbs.
44251 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44252 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
44253 calculations and add assertions to avoid internal overflow
44254 possibilities. Add casts to avoid signed/unsigned operations.
44255 * stdlib/tst-strtod-overflow.c: New file.
44256 * stdlib/Makefile (tests): Add tst-strtod-overflow.
44258 2012-08-25 Marek Polacek <polacek@redhat.com>
44260 * time/time.h: Fix some typos in comments.
44262 2012-08-23 Roland McGrath <roland@hack.frob.com>
44264 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44265 * posix/tst-rfc3484-2.c: Likewise.
44266 * posix/tst-rfc3484-3.c: Likewise.
44268 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
44270 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44271 (EF_ARM_ABI_FLOAT_HARD): Likewise.
44273 2012-08-23 Joseph Myers <joseph@codesourcery.com>
44275 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44276 #include of fxstatat64.c.
44278 2012-08-22 Roland McGrath <roland@hack.frob.com>
44280 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44281 * shadow/getspent_r.c: Likewise.
44282 * shadow/getspnam.c: Likewise.
44283 * shadow/getspnam_r.c: Likewise.
44284 * gshadow/getsgent.c: Likewise.
44285 * gshadow/getsgent_r.c: Likewise.
44286 * gshadow/getsgnam.c: Likewise.
44287 * gshadow/getsgnam_r.c: Likewise.
44288 * inet/getnetbyad.c: Likewise.
44289 * inet/getnetbyad_r.c: Likewise.
44290 * inet/getnetbynm.c: Likewise.
44291 * inet/getnetbynm_r.c: Likewise.
44292 * inet/getnetent.c: Likewise.
44293 * inet/getnetent_r.c: Likewise.
44294 * inet/getproto.c: Likewise.
44295 * inet/getproto_r.c: Likewise.
44296 * inet/getprtent.c: Likewise.
44297 * inet/getprtent_r.c: Likewise.
44298 * inet/getprtname.c: Likewise.
44299 * inet/getprtname_r.c: Likewise.
44300 * inet/getrpcbyname.c: Likewise.
44301 * inet/getrpcbyname_r.c: Likewise.
44302 * inet/getrpcbynumber.c: Likewise.
44303 * inet/getrpcbynumber_r.c: Likewise.
44304 * inet/getrpcent.c: Likewise.
44305 * inet/getrpcent_r.c: Likewise.
44306 * inet/getaliasent.c: Likewise.
44307 * inet/getaliasent_r.c: Likewise.
44308 * inet/getaliasname.c: Likewise.
44309 * inet/getaliasname_r.c: Likewise.
44310 * nscd/getgrgid_r.c: Likewise.
44311 * nscd/getgrnam_r.c: Likewise.
44312 * nscd/gethstbyad_r.c: Likewise.
44313 * nscd/gethstbynm3_r.c: Likewise.
44314 * nscd/getpwnam_r.c: Likewise.
44315 * nscd/getpwuid_r.c: Likewise.
44316 * nscd/getsrvbynm_r.c: Likewise.
44317 * nscd/getsrvbypt_r.c: Likewise.
44318 * nscd/gai.c: Likewise.
44320 * configure.in (build_nscd): New substituted variable, set
44321 by --disable-build-nscd and defaults to $use_nscd.
44322 * configure: Regenerated.
44323 * config.make.in (build-nscd): New substituted variable.
44324 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44325 Change conditional to require [$(build-nscd) = yes] as well.
44326 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44329 * configure.in (use_nscd): New substituted variable, set by
44330 --disable-nscd. If enabled, define USE_NSCD.
44331 * configure: Regenerated.
44332 * config.h.in: Add USE_NSCD.
44333 * config.make.in (use-nscd): New substituted variable.
44334 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44335 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44336 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44337 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44338 (CFLAGS-getgrnam_r.c): Likewise.
44339 (CFLAGS-initgroups.c): Likewise.
44340 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44341 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44343 * inet/getnetgrent_r.c
44344 (nscd_setnetgrent): New function, broken out of ...
44345 (setnetgrent): ... here. Call it.
44346 (innetgr): Conditionalize nscd bits on [USE_NSCD].
44347 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44348 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44349 * nscd/Makefile (routines, aux): Move definitions after include of
44350 Makeconfig. Conditionalize on [$(use-nscd) != no].
44351 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44352 Conditionalize on [USE_NSCD].
44353 (is_nscd, nscd_init_cb): Likewise.
44354 (nss_load_library): Conditionalize init callback on [USE_NSCD].
44355 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44356 * nss/nss_db/db-init.c: Likewise.
44357 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44359 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44360 (make_request): Use it.
44361 (cache_valid_p): New function.
44362 (__check_pf): Use it.
44363 * NEWS: Add item for --disable-nscd.
44365 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
44367 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44368 to support sed >= 4.2.1-20-ga9bf076.
44369 * configure: Regenerated.
44371 2012-08-22 Roland McGrath <roland@hack.frob.com>
44373 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44374 Conditionalize whole body on [IREL].
44376 2012-08-22 Jeff Law <law@redhat.com>
44379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44380 if the family is PF_UNSPEC.
44382 2012-08-22 Mike Frysinger <vapier@gentoo.org>
44384 * Makerules (lib-version): Rename from V.
44385 (install-lib-nosubdir): Change V to lib-version.
44387 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
44390 * powerpc32/power6/wcschr.c: New file.
44391 * powerpc32/power6/wcscpy.c: New file.
44392 * powerpc32/power6/wcsrchr.c: New file.
44393 * powerpc64/power6/wcschr.c: New file.
44394 * powerpc64/power6/wcscpy.c: New file.
44395 * powerpc64/power6/wcsrchr.c: New file.
44397 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44399 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44400 (two_way_short_needle): Use it.
44401 * string/strstr.c (AVAILABLE1_USES_J): Define.
44402 * string/strcasestr.c: Likewise.
44404 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44406 * string/strcasestr.c (TOLOWER): Make side-effect safe.
44409 * NEWS: Add an entry.
44410 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44411 define their defaults.
44412 (two_way_short_needle): Detect end-of-string on-the-fly.
44413 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44414 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44415 * string/bug-strcasestr1.c: New test.
44416 * string/Makefile: Run it.
44418 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44421 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44422 the first character.
44424 2012-08-21 Roland McGrath <roland@hack.frob.com>
44426 * csu/elf-init.c (__libc_csu_irel): Function removed.
44427 * csu/libc-start.c (apply_irel): New function.
44428 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44430 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44432 * sysdeps/unix/sysv/linux/kernel-features.h
44433 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44434 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44435 <kernel-features.h>.
44436 [__NR_fadvise64_64]: Make code unconditional.
44437 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44438 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44439 !__NR_fadvise64_64)]: Likewise.
44440 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44441 !__NR_fadvise64_64))]: Likewise.
44442 [__NR_fadvise64]: Make code unconditional.
44443 [!__NR_fadvise64]: Remove conditional code.
44444 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44445 <kernel-features.h>.
44446 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44448 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44451 not include <kernel-features.h>.
44452 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44454 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44456 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44457 include <kernel-features.h>.
44458 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44460 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44463 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44465 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44466 slight instruction rearrangements per scrollpipe analysis.
44467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44469 2012-08-20 Roland McGrath <roland@hack.frob.com>
44471 * manual/syslog.texi (syslog; vsyslog, closelog):
44472 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44473 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44475 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44476 DSOCAPS to match condition on defining it.
44478 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44480 * sysdeps/unix/sysv/linux/kernel-features.h
44481 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44483 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44484 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44486 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44487 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44489 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44490 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44492 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44493 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44495 * sysdeps/unix/sysv/linux/kernel-features.h
44496 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44497 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44499 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44500 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44501 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44502 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44503 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44504 Make code unconditional.
44505 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44506 (__mmap64) [!__NR_mmap2]: Likewise.
44507 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44508 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44509 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44510 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44511 [__NR_mmap2]: Make code unconditional.
44512 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44513 (__mmap64) [!__NR_mmap2]: Likewise.
44515 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44517 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44519 2012-08-18 Andreas Jaeger <aj@suse.de>
44521 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44523 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44525 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44526 * include/unistd.h (__have_sock_cloexec): Likewise.
44527 (__have_pipe2): Likewise.
44528 (__have_dup3): Likewise.
44530 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44533 * include/unistd.h (__have_pipe2): Change define into an extern int.
44534 (__have_dup3): Likewise.
44535 * socket/have_sock_cloexec.c: Include fcntl.h.
44536 (__have_pipe2): New variable.
44537 (__have_dup3): Likewise.
44539 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44541 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44543 2012-08-17 Marek Polacek <polacek@redhat.com>
44545 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44546 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44548 2012-08-17 Roland McGrath <roland@hack.frob.com>
44550 * configure.in: Add AC_SUBST for sysheaders.
44551 * configure: Regenerated.
44552 * config.make.in (sysheaders): New substituted variable.
44554 * sysdeps/unix/mkfifo.c: Moved ...
44555 * sysdeps/posix/mkfifo.c: ... here.
44556 * sysdeps/unix/mkfifoat.c: Moved ...
44557 * sysdeps/posix/mkfifoat.c: ... here.
44559 * sysdeps/unix/utime.c: Moved ...
44560 * sysdeps/posix/utime.c: ... here.
44562 * sysdeps/unix/time.c: Moved ...
44563 * sysdeps/posix/time.c: ... here.
44564 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44565 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44567 * sysdeps/unix/nice.c: Moved ...
44568 * sysdeps/posix/nice.c: ... here.
44570 * sysdeps/unix/alarm.c: Moved ...
44571 * sysdeps/posix/alarm.c: ... here.
44573 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44575 2012-08-17 Jeff Law <law@redhat.com>
44577 * intl/Makefile (codeset_mo): New variable.
44578 ($(codeset_mo)): New target.
44579 (tst-codeset.out): Depend on that. Remove explicit rule.
44580 (tst-gettext3.out, tst-gettext5.out): Likewise.
44581 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44582 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44583 * intl/tst-codeset.sh: Remove.
44584 * intl/tst-gettext3.sh: Likewise.
44585 * intl/tst-gettext5.sh: Likewise.
44587 2012-08-17 Roland McGrath <roland@hack.frob.com>
44589 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44590 * sysdeps/unix/syscalls.list: ... here.
44592 * sysdeps/posix/getaddrinfo.c
44593 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44594 (gaiconf_init, gaiconf_reload): Use them.
44595 [!_STATBUF_ST_NSEC]
44596 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44597 Define using time_t rather than struct timespec.
44599 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44600 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44602 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44604 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44605 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44608 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44609 __libc_cleanup_push argument.
44611 * bits/param.h: New file.
44612 * misc/sys/param.h: New file.
44613 * include/sys/param.h: New file.
44614 * misc/Makefile (headers): Add bits/param.h.
44615 * sysdeps/generic/sys/param.h: File removed.
44616 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44617 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44618 * sysdeps/mach/hurd/bits/param.h: New file.
44619 * sysdeps/mach/hurd/sys/param.h: File removed.
44621 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44624 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44626 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44627 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44630 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44631 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44632 rather than -D_IO_MTSAFE_IO conditionally.
44633 * stdio-common/Makefile (CPPFLAGS): Likewise.
44634 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44635 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44636 Use $(libio-mtsafe).
44637 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44638 of -D_IO_MTSAFE_IO.
44639 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44640 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44641 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44642 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44643 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44644 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44645 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44646 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44647 (CFLAGS-fread_u_chk.c): Likewise.
44648 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44649 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44650 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44651 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44652 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44653 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44654 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44655 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44656 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44658 * libio/Makefile: Test [$(libc-reentrant) = yes]
44659 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44662 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44663 * sysdeps/pthread/configure: File removed.
44664 * sysdeps/pthread/Makeconfig: New file.
44665 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44666 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44668 2012-08-16 Gary Benson <gbenson@redhat.com>
44670 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44671 unmapping the first object in a namespace.
44673 2012-08-16 Roland McGrath <roland@hack.frob.com>
44675 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44676 (__internal_setnetgrent): ... this. Add internal_function to
44677 definition. Add libc_hidden_def.
44678 (setnetgrent): Update caller.
44679 (internal_endnetgrent): Renamed to ...
44680 (__internal_endnetgrent): ... this. Add internal_function to
44681 definition. Add libc_hidden_def.
44682 (endnetgrent): Update caller.
44683 (internal_getnetgrent_r): Renamed to ...
44684 (__internal_getnetgrent_r): ... this. Add internal_function to
44685 definition. Add libc_hidden_def.
44686 (__getnetgrent_r): Update caller.
44687 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44689 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44691 * stdlib/longlong.h: Update from GCC.
44693 2012-08-16 Roland McGrath <roland@hack.frob.com>
44695 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44696 on _QL, which is set by umul_ppmm but never used.
44697 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44698 variables, which are set by GMP macros but never used.
44699 * stdio-common/_itowa.c (_itowa): Likewise.
44700 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44701 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44703 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44705 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44706 struct La_sh_regs is not constant.
44707 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44708 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44709 and struct La_sparc64_regs are not constant.
44711 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44713 * sysdeps/unix/sysv/linux/kernel-features.h
44714 (__ASSUME_POSIX_TIMERS): Remove.
44715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44717 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44718 Make code unconditional.
44719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44720 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44721 Make code unconditional.
44722 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44723 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44724 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44725 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44726 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44727 Make code unconditional.
44728 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44729 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44730 (__libc_missing_posix_timers): Remove.
44732 2012-08-15 Roland McGrath <roland@hack.frob.com>
44734 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44735 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44737 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44739 * elf/dl-sym.c: Include <stdlib.h>.
44741 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44742 constants, which avoids warnings in 32-bit builds.
44744 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44745 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44747 * misc/lseek.c: File moved to ...
44748 * io/lseek.c: ... here.
44750 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44752 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44753 shifting LEN more than 31 bits at once.
44755 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44758 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44759 segmentation fault for a case of two empty input strings.
44760 * string/test-strncasecmp.c (check1): Renamed to...
44761 (bz12205): ...this.
44762 (bz14195): Add new testcase for two empty input strings and N > 0.
44763 (test_main): Call new testcase, adapt for renamed function.
44765 2012-08-15 Andreas Jaeger <aj@suse.de>
44768 * crypt/md5test2.c: New test, based on test supplied by Serge
44769 Belyshev <belyshev@depni.sinp.msu.ru>.
44770 * crypt/Makefile (xtests): Add md5test-giant..
44771 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44773 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44776 * crypt/md5.c (md5_process_block): Don't assume the buffer
44777 length is less than 2**32.
44778 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44779 length is less than 2**64.
44781 2012-08-15 Roland McGrath <roland@hack.frob.com>
44783 * string/str-two-way.h: Include <sys/param.h>.
44784 (MAX): Macro removed.
44786 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44787 Move #define and #undef of memmove to just before and after
44788 including <string.h>.
44790 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44791 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44792 and after including <string.h>. Move declarations of
44793 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44794 to before #include "string/memmove.c".
44796 * include/dirent.h: Declare __getdirentries.
44798 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44799 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44801 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44803 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44804 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44805 * sysdeps/i386/configure: Regenerated.
44806 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44807 STABS_CURRENT_FILE, and STABS_FUN.
44808 (END): Remove call to STABS_FUN_END.
44809 (STABS_CURRENT_FILE1): Delete.
44810 (STABS_CURRENT_FILE): Likewise.
44811 (STABS_FUN): Likewise.
44812 (STABS_FUN_END): Likewise.
44813 (STABS_FUN2): Likewise.
44814 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44815 * sysdeps/x86_64/configure: Regenerated.
44817 2012-08-14 Roland McGrath <roland@hack.frob.com>
44819 * elf/dl-open.c: Include <atomic.h>.
44820 * elf/dl-lookup.c: Likewise.
44822 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44824 * sysdeps/unix/sysv/linux/kernel-features.h
44825 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44826 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44828 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44830 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44831 condition on __ASSUME_CLONE_THREAD_FLAGS.
44833 2012-08-14 Andreas Jaeger <aj@suse.de>
44835 * sysdeps/i386/fpu/libm-test-ulps: Update.
44837 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44839 * include/atomic.h (atomic_exchange_and_add): Split into ...
44840 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44843 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44847 2012-08-13 Jeff Law <law@redhat.com>
44849 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44850 null byte in the output string.
44852 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44854 * sysdeps/unix/sysv/linux/kernel-features.h
44855 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44856 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44857 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44858 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44859 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44860 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44861 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44863 2012-08-09 Jeff Law <law@redhat.com>
44866 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44867 When avoid_arena is set, don't retry in the that arena. Pick the
44868 next one, whatever it might be.
44869 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44870 (arena_lock): Pass in new parameter to arena_get2.
44871 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44873 (__libc_malloc): Unify retrying after main arena failure with
44874 __libc_memalign version.
44875 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44877 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44880 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44881 to __redirect_strstr.
44882 (__strstr_sse42): Use typeof __redirect_strstr.
44883 (__strstr_ia32): Likewise.
44884 (__libc_strstr): New prototype.
44885 (strstr): Renamed to ...
44886 (__libc_strstr): This.
44887 (strstr): New strong alias of __libc_strstr.
44888 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44889 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44892 (__libc_time): New prototype.
44893 (time_ifunc): Replace time with __libc_time.
44894 (time): New strong alias and hidden definition of __libc_time.
44895 (__GI_time): Remove strong alias.
44896 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44897 Include <stddef.h>.
44898 (memmove): Redefined to __redirect_memmove.
44899 (__memmove_sse2): Use typeof __redirect_memmove.
44900 (__memmove_ssse3): Likewise.
44901 (__memmove_ssse3_back): Likewise.
44902 (__libc_memmove): New prototype.
44903 (memmove): Renamed to ...
44904 (__libc_memmove): This.
44905 (memmove): New strong alias of __libc_memmove.
44907 2012-08-08 Mark Salter <msalter@redhat.com>
44910 (R_MN10300_TLS_GD): Define.
44911 (R_MN10300_TLS_LD): Likewise.
44912 (R_MN10300_TLS_LDO): Likewise.
44913 (R_MN10300_TLS_GOTIE): Likewise.
44914 (R_MN10300_TLS_IE): Likewise.
44915 (R_MN10300_TLS_LE): Likewise.
44916 (R_MN10300_TLS_DTPMOD): Likewise.
44917 (R_MN10300_TLS_DTPOFF): Likewise.
44918 (R_MN10300_TLS_TPOFF): Likewise.
44919 (R_MN10300_SYM_DIFF): Likewise.
44920 (R_MN10300_ALIGN): Likewise.
44921 (R_MN10300_NUM): Update.
44923 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44928 2012-08-08 Roland McGrath <roland@hack.frob.com>
44930 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44932 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44933 sysdeps/unix -> sysdeps/posix move.
44934 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44936 2012-08-07 Allan McRae <allan@archlinux.org>
44939 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44940 (SUNOS_CPP): Likewise.
44941 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44943 (open_input): Call CPP using execvp.
44945 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44947 * sysdeps/unix/sysv/linux/kernel-features.h
44948 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44949 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44950 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44951 (__ASSUME_WAITID_SYSCALL): Likewise.
44952 * sysdeps/unix/sysv/linux/dl-execstack.c
44953 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44954 code unconditional.
44955 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44958 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44959 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44961 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44963 [__ASSUME_WAITID_SYSCALL]: Likewise.
44964 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44966 2012-08-07 Roland McGrath <roland@hack.frob.com>
44968 * sysdeps/unix/closedir.c: Renamed to ...
44969 * sysdeps/posix/closedir.c: ... here.
44970 * sysdeps/unix/dirfd.c: Renamed to ...
44971 * sysdeps/posix/dirfd.c: ... here.
44972 * sysdeps/unix/dirstream.h: Renamed to ...
44973 * sysdeps/posix/dirstream.h: ... here.
44974 * sysdeps/unix/fdopendir.c: Renamed to ...
44975 * sysdeps/posix/fdopendir.c: ... here.
44976 * sysdeps/unix/opendir.c: Renamed to ...
44977 * sysdeps/posix/opendir.c: ... here.
44978 * sysdeps/unix/readdir.c: Renamed to ...
44979 * sysdeps/posix/readdir.c: ... here.
44980 * sysdeps/unix/readdir_r.c: Renamed to ...
44981 * sysdeps/posix/readdir_r.c: ... here.
44982 * sysdeps/unix/rewinddir.c: Renamed to ...
44983 * sysdeps/posix/rewinddir.c: ... here.
44984 * sysdeps/unix/seekdir.c: Renamed to ...
44985 * sysdeps/posix/seekdir.c: ... here.
44986 * sysdeps/unix/telldir.c: Renamed to ...
44987 * sysdeps/posix/telldir.c: ... here.
44988 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44989 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44990 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44991 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44993 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44994 * bits/fcntl.h: ... here.
44996 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44998 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44999 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45000 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45001 (struct flock): Move l_start, l_len to the beginning.
45002 Use __pid_t for l_pid.
45003 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45004 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45005 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45006 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45007 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45008 [__USE_LARGEFILE64] (struct flock64): New type.
45009 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45011 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45012 * bits/dirent.h: ... here.
45014 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45015 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45017 2012-08-07 Joseph Myers <joseph@codesourcery.com>
45019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45020 Change from 2.6.0 to 2.6.16.
45021 * sysdeps/unix/sysv/linux/configure: Regenerated.
45022 * sysdeps/unix/sysv/linux/kernel-features.h
45023 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45024 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45026 (__ASSUME_UTIMES): Likewise.
45027 (__ASSUME_CLONE_STOPPED): Remove.
45028 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45029 architectures, not kernel version.
45030 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45031 (__ASSUME_NO_CLONE_DETACHED): Likewise.
45032 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45033 (__ASSUME_WAITID_SYSCALL): Likewise.
45034 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45035 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45036 * README: State 2.6.16 as minimum Linux kernel version. Do not
45037 refer to older versions.
45039 2012-08-06 Roland McGrath <roland@hack.frob.com>
45041 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45042 Define alphasort64 as an alias.
45043 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45044 Define versionsort64 as an alias.
45045 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45046 Define scandir64 as an alias.
45047 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45048 Define scandirat64 as an alias.
45049 * dirent/alphasort64.c (alphasort64):
45050 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45051 * dirent/versionsort64.c: Likewise.
45052 * dirent/scandir64.c: Likewise.
45053 * dirent/scandirat64.c: Likewise.
45054 * sysdeps/wordsize-64/alphasort.c: File removed.
45055 * sysdeps/wordsize-64/alphasort64.c: File removed.
45056 * sysdeps/wordsize-64/scandir.c: File removed.
45057 * sysdeps/wordsize-64/scandir64.c: File removed.
45058 * sysdeps/wordsize-64/scandirat.c: File removed.
45059 * sysdeps/wordsize-64/scandirat64.c: File removed.
45060 * sysdeps/wordsize-64/versionsort.c: File removed.
45061 * sysdeps/wordsize-64/versionsort64.c: File removed.
45062 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45063 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45064 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45065 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45066 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45067 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45069 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45071 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45073 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45074 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45075 [defined __arch64__ || defined __sparcv9]
45076 (__INO_T_MATCHES_INO64_T): New macro.
45077 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45078 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45079 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45080 * sysdeps/unix/sysv/linux/bits/dirent.h
45081 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45082 (_DIRENT_MATCHES_DIRENT64): New macro.
45084 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45085 Define lockf64 as an alias.
45086 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45087 Define fseeko64 as an alias.
45088 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45089 Define ftello64 as an alias.
45090 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45091 Define _IO_fgetpos64 and fgetpos64 as aliases.
45092 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45093 Define _IO_fsetpos64 and fsetpos64 as aliases.
45094 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45095 Conditionalize body on this.
45096 * libio/fseeko64.c: Likewise.
45097 * libio/ftello64.c: Likewise.
45098 * libio/iofgetpos64.c: Likewise.
45099 * libio/iofsetpos64.c: Likewise.
45100 * sysdeps/wordsize-64/lockf.c: File removed.
45101 * sysdeps/wordsize-64/lockf64.c: File removed.
45102 * sysdeps/wordsize-64/fseeko.c: File removed.
45103 * sysdeps/wordsize-64/fseeko64.c: File removed.
45104 * sysdeps/wordsize-64/ftello.c: File removed.
45105 * sysdeps/wordsize-64/ftello64.c: File removed.
45106 * sysdeps/wordsize-64/iofgetpos.c: File removed.
45107 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45108 * sysdeps/wordsize-64/iofsetpos.c: File removed.
45109 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45110 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45112 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45113 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45114 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45115 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45116 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45117 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45118 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45119 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45121 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45123 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45125 [defined __arch64__ || defined __sparcv9]
45126 (__OFF_T_MATCHES_OFF64_T): New macro.
45127 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45128 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45130 (__OFF_T_MATCHES_OFF64_T): New macro.
45132 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45134 * stdlib/secure-getenv.c (__secure_getenv): Replace
45135 GLIBC_2_16 with GLIBC_2_17.
45137 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
45139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45140 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45142 2012-08-03 David S. Miller <davem@davemloft.net>
45144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45146 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45148 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45150 (__ASSUME_CORRECT_SI_PID): Likewise.
45151 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45152 (__ASSUME_TMPFS_NAME): Likewise.
45153 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45154 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45155 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45156 (HAVE_AUX_SECURE): Make definition unconditional.
45157 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45158 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45160 2012-08-03 Roland McGrath <roland@hack.frob.com>
45162 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45163 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45164 * sysdeps/mach/hurd/eloop-threshold.h: New file.
45165 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45166 __eloop_threshold instead of SYMLOOP_MAX.
45168 * sysdeps/generic/eloop-threshold.h: New file.
45169 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45171 * elf/chroot_canon.c (chroot_canon): Likewise.
45173 2012-08-03 Joseph Myers <joseph@codesourcery.com>
45176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45177 Change to 2.6.0 everywhere.
45178 * sysdeps/unix/sysv/linux/configure: Regenerated.
45179 * sysdeps/unix/sysv/linux/kernel-features.h
45180 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45181 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45183 (__ASSUME_POSIX_TIMERS): Define unconditionally.
45184 (__ASSUME_FUTEX_REQUEUE): Remove.
45185 (__ASSUME_STATFS64): Define unconditionally.
45186 (__ASSUME_AT_SECURE): Likewise.
45187 (__ASSUME_CORRECT_SI_PID): Likewise.
45188 (__ASSUME_TGKILL): Define without depending on kernel version for
45190 (__ASSUME_UTIMES): Likewise.
45191 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45193 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45194 (__ASSUME_TMPFS_NAME): Likewise.
45195 * README: Update reference to Linux kernel versions.
45197 2012-08-02 Marek Polacek <polacek@redhat.com>
45200 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
45201 libc_cv_asm_type_prefix with %.
45202 * configure: Regenerated.
45203 * include/libc-symbols.h: Remove comment about
45204 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45205 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45206 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45207 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45208 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45209 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45210 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45211 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45212 * elf/tst-unique2mod1.c: Likewise.
45213 * elf/tst-unique1mod2.c: Likewise.
45214 * elf/tst-unique1mod1.c: Likewise.
45215 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45216 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45217 Replace ASM_TYPE_DIRECTIVE with .type.
45218 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45219 * sysdeps/i386/sysdep.h: Likewise.
45220 * sysdeps/x86_64/sysdep.h: Likewise.
45221 * sysdeps/sh/sysdep.h: Likewise.
45222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45223 Do not define ASM_TYPE_DIRECTIVE.
45224 * sysdeps/powerpc/sysdep.h: Likewise.
45225 * sysdeps/powerpc/powerpc32/sysdep.h:
45226 Replace ASM_TYPE_DIRECTIVE with .type.
45227 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45228 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45229 * sysdeps/i386/fpu/e_powf.S: Likewise.
45230 * sysdeps/i386/fpu/e_expl.S: Likewise.
45231 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45232 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45233 * sysdeps/i386/fpu/e_pow.S: Likewise.
45234 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45236 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45237 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45238 * sysdeps/i386/fpu/e_log2.S: Likewise.
45239 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45240 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45241 * sysdeps/i386/fpu/e_powl.S: Likewise.
45242 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45243 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45244 * sysdeps/i386/fpu/e_logl.S: Likewise.
45245 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45246 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45247 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45248 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45249 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45250 * sysdeps/i386/fpu/e_log.S: Likewise.
45251 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45252 * sysdeps/i386/fpu/e_logf.S: Likewise.
45253 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45254 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45255 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45256 * sysdeps/i386/fpu/e_log10.S: Likewise.
45257 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45259 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45260 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45262 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45263 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45264 * sysdeps/i386/i686/strtok.S: Likewise.
45265 * sysdeps/i386/i386-mcount.S: Likewise.
45266 * sysdeps/i386/strtok.S: Likewise.
45267 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45268 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45269 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45270 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45271 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45272 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45273 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45274 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45275 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45276 * sysdeps/x86_64/_mcount.S: Likewise.
45277 * sysdeps/x86_64/strtok.S: Likewise.
45278 * sysdeps/sh/_mcount.S: Likewise.
45280 2012-08-01 Roland McGrath <roland@hack.frob.com>
45282 * libio/iofopen.c: Include <fcntl.h>.
45283 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45284 (_IO_fopen64, fopen64): Define as aliases.
45285 * libio/iofopen64.c: Include <fcntl.h>.
45286 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45287 Conditionalize body on this.
45288 * sysdeps/wordsize-64/iofopen.c: File removed.
45289 * sysdeps/wordsize-64/iofopen64.c: File removed.
45291 2012-08-01 Marek Polacek <polacek@redhat.com>
45293 * libc/Makeconfig: Use elf in place of binfmt-subdir.
45294 Use dlfcn directly instead of a variable.
45295 (binfmt-subdir): Do not define.
45298 2012-08-01 Joseph Myers <joseph@codesourcery.com>
45300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45301 Remove all definitions.
45302 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45303 <kernel-features.h>.
45304 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45305 (miss_F_GETOWN_EX): Remove all definitions.
45306 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45308 [!__ASSUME_FCNTL64]: Remove conditional code.
45309 [__ASSUME_FCNTL64]: Make code unconditional.
45310 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45311 <kernel-features.h>.
45312 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45313 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45314 (lockf64) [__NR_fcntl64]: Make code unconditional.
45315 (lockf64) [__ASSUME_FCNTL64]: Likewise.
45317 * sysdeps/unix/sysv/linux/kernel-features.h
45318 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45319 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45320 Make code unconditional.
45321 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45322 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45324 [__NR_vfork]: Make code unconditional.
45325 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45326 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45328 [__NR_vfork]: Make code unconditional.
45329 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45330 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45332 2012-08-01 Roland McGrath <roland@hack.frob.com>
45334 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45335 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45337 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45338 Define mkstemp64 as an alias.
45339 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45340 Define mkstemps64 as an alias.
45341 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45342 Define mkostemp64 as an alias.
45343 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45344 Define mkostemps64 as an alias.
45345 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45346 Conditionalize body on this.
45347 * misc/mkostemp64.c: Likewise.
45348 * misc/mkostemps64.c: Likewise.
45349 * misc/mkstemps64.c: Likewise.
45350 * sysdeps/wordsize-64/mkstemp64.c: File removed.
45351 * sysdeps/wordsize-64/mkostemp64.c: File removed.
45352 * sysdeps/wordsize-64/mkostemp.c: File removed.
45353 * sysdeps/wordsize-64/mkstemp.c: File removed.
45354 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45355 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45360 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45361 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45362 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45363 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45365 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45366 compat_symbol macros from <shlib-compat.h> rather than the underlying
45367 default_symbol_version and symbol_version macros, so that DEFAULT
45368 lines in shlib-versions are respected.
45369 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45371 2012-08-01 Florian Weimer <fweimer@redhat.com>
45373 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45374 Declare with warn_unused_result.
45375 (setgid, setregid, setegid, setresgid): Likewise.
45376 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45378 * WUR-REPORT: Remove set*id functions.
45380 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
45382 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45384 2012-07-31 Roland McGrath <roland@hack.frob.com>
45387 * include/sys/socket.h (__libc_accept, __libc_accept4):
45388 Add attribute_hidden.
45389 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45391 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45393 * inet/getnetgrent_r.c (setup): Likewise.
45395 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45397 2012-07-31 David S. Miller <davem@davemloft.net>
45399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45401 2012-07-31 Joseph Myers <joseph@codesourcery.com>
45404 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45405 value between 1.0 and 2.0 and smaller part has absolute value less
45407 * math/s_clog10.c (__clog10): Likewise.
45408 * math/s_clog10f.c (__clog10f): Likewise.
45409 * math/s_clog10l.c (__clog10l): Likewise.
45410 * math/s_clogf.c (__clogf): Likewise.
45411 * math/s_clogl.c (__clogl): Likewise.
45412 * math/libm-test.inc (clog_test): Add more tests.
45413 (clog10_test): Likewise.
45414 * sysdeps/i386/fpu/libm-test-ulps: Update.
45415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45417 2012-07-31 Florian Weimer <fweimer@redhat.com>
45419 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45420 Exit with zero in case no suitable GID is found, and write a
45421 message to standard error.
45423 2012-07-30 Roland McGrath <roland@hack.frob.com>
45425 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45427 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45428 (MAXPATHLEN): Removed.
45429 (NOGROUP, NODEV): New macros.
45430 (setbit, clrbit, isset, isclr): New macros.
45431 (howmany, roundup, powerof2): New macros.
45432 (DEV_BSIZE): New macro.
45434 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45435 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45437 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45438 definition on [!__NO_LONG_DOUBLE_MATH].
45440 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45441 PTR_MANGLE and PTR_DEMANGLE.
45443 * socket/accept4.c (accept4): Rename to __libc_accept4.
45444 Define accept4 as a weak alias.
45446 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45447 on [_DIRENT_HAVE_D_TYPE].
45448 * io/ftw.c (ftw_dir): Likewise.
45450 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45452 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45454 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45455 Use the BSD numbers rather than the arbitrary ones we had.
45456 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45457 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45458 (SIGXCPU, SIGXFSZ): New macros.
45461 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45462 initializer on [_LIBC_REENTRANT].
45464 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45465 definitions inside [_POSIX_MAPPED_FILES].
45467 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45469 * dirent/opendir.c: Include <fcntl.h>.
45471 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45472 (__libc_getspecific): Likewise.
45473 (__libc_key_create): Likewise.
45475 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45476 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45477 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45478 (tmpfile64): Define as alias.
45479 * sysdeps/wordsize-64/tmpfile.c: File removed.
45480 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45481 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45482 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45484 * stdio-common/vfscanf.c: Include <stdbool.h>.
45485 * nss/makedb.c: Likewise.
45486 * stdio-common/_i18n_number.h: Likewise.
45487 * argp/argp-help.c: Likewise.
45488 * posix/wordexp.c: Likewise.
45489 * sysdeps/posix/spawni.c: Likewise.
45490 * nss/nss_files/files-initgroups.c: Likewise.
45491 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45492 * nss/nss_files/files-initgroups.c: Likewise.
45493 * nss/nss_db/db-netgrp.c: Likewise.
45494 * nss/nss_db/db-initgroups.c: Likewise.
45495 * io/fchmodat.c: Include <sys/stat.h>.
45497 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45498 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45500 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45503 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45504 Add multiple inclusion protection.
45506 2012-07-27 David S. Miller <davem@davemloft.net>
45508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45510 2012-07-27 Gary Benson <gbenson@redhat.com>
45513 * elf/rtld.c: Include <stap-probe.h>.
45514 (dl_main): Added static probes "init_start" and "init_complete".
45515 * elf/dl-load.c: Include <stap-probe.h>.
45516 (lose): Take new parameter "nsid".
45517 Added static probe "map_failed".
45518 (_dl_map_object_from_fd): Pass namespace id to lose.
45519 Added static probe "map_start".
45520 (open_verify): Pass namespace id to lose.
45521 * elf/dl-open.c: Include <stap-probe.h>.
45522 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45523 and "reloc_complete".
45524 * elf/dl-close.c: Include <stap-probe.h>.
45525 (_dl_close_worker): Added static probes "unmap_start" and
45527 * elf/rtld-debugger-interface.txt: New file documenting the above.
45529 2012-07-26 Roland McGrath <roland@hack.frob.com>
45531 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45532 rather than a string variable.
45533 * sunrpc/rpc_main.c (h_output): Likewise.
45534 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45536 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45538 * inet/check_native.c: New file.
45540 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45543 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45544 if larger part has absolute value 1.0.
45545 * math/s_clog10.c (__clog10): Likewise.
45546 * math/s_clog10f.c (__clog10f): Likewise.
45547 * math/s_clog10l.c (__clog10l): Likewise.
45548 * math/s_clogf.c (__clogf): Likewise.
45549 * math/s_clogl.c (__clogl): Likewise.
45550 * math/libm-test.inc (clog_test): Add more tests.
45551 (clog10_test): Likewise.
45552 * sysdeps/i386/fpu/libm-test-ulps: Update.
45553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45555 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45556 (pltexit): Likewise.
45557 (La_regs): Likewise.
45558 (La_retval): Likewise.
45559 (int_retval): Likewise.
45560 Update #error for removed macros to refer only to definitions in
45562 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45564 (pltexit): Likewise.
45565 (La_regs): Likewise.
45566 (La_retval): Likewise.
45567 (int_retval): Likewise.
45568 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45570 (pltexit): Likewise.
45571 (La_regs): Likewise.
45572 (La_retval): Likewise.
45573 (int_retval): Likewise.
45574 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45576 (pltexit): Likewise.
45577 (La_regs): Likewise.
45578 (La_retval): Likewise.
45579 (int_retval): Likewise.
45580 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45582 (pltexit): Likewise.
45583 (La_regs): Likewise.
45584 (La_retval): Likewise.
45585 (int_retval): Likewise.
45586 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45588 (pltexit): Likewise.
45589 (La_regs): Likewise.
45590 (La_retval): Likewise.
45591 (int_retval): Likewise.
45592 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45594 (pltexit): Likewise.
45595 (La_regs): Likewise.
45596 (La_retval): Likewise.
45597 (int_retval): Likewise.
45598 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45599 macro definitions in tst-audit.h.
45600 * sysdeps/i386/tst-audit.h: New file.
45601 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45602 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45603 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45604 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45605 * sysdeps/sh/tst-audit.h: Likewise.
45606 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45607 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45608 * sysdeps/x86_64/tst-audit.h: Likewise.
45610 2012-07-26 Andreas Jaeger <aj@suse.de>
45612 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45615 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45616 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45617 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45619 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45620 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45621 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45623 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45626 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45628 (si_call_addr, si_syscall, si_arch): Define new macro.
45629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45631 (si_call_addr, si_syscall, si_arch): Define new marcro.
45632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45634 (si_call_addr, si_syscall, si_arch): Define new macro.
45635 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45637 (si_call_addr, si_syscall, si_arch): Define new macro.
45639 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45643 Change to 2.4.21 where previously 2.4.1.
45644 * sysdeps/unix/sysv/linux/configure: Regenerated.
45645 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45646 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45647 Linux kernel version.
45648 (__ASSUME_STD_AUXV): Remove.
45649 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45651 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45652 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45653 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45654 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45655 (__ASSUME_NETLINK_SUPPORT): Likewise.
45656 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45657 (__no_netlink_support): Remove conditional definition.
45658 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45660 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45661 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45662 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45663 (if_nameindex_ioctl): Remove.
45664 (if_nameindex_netlink): Do not handle __no_netlink_support.
45665 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45667 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45668 Remove conditional code.
45669 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45671 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45673 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45674 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45675 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45677 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45678 [!__ASSUME_STD_AUXV]: Remove conditional code.
45679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45680 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45681 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45683 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45684 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45686 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45688 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45689 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45691 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45693 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45696 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45699 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45700 code unconditional.
45701 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45703 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45705 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45708 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45710 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45713 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45714 code unconditional.
45715 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45717 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45719 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45722 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45723 code unconditional.
45724 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45726 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45728 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45731 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45733 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45734 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45735 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45736 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45737 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45738 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45739 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45740 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45741 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45742 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45743 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45744 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45745 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45746 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45747 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45748 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45749 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45750 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45751 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45753 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45754 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45755 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45757 2012-07-25 Florian Weimer <fweimer@redhat.com>
45759 * Versions.def: Add GLIBC_2.17.
45760 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45761 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45762 Introduce __libc_secure_getenv.
45763 * stdlib/Versions (2.17): Add secure_getenv
45764 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45765 * stdlib/secure-getenv.c: Rename __secure_getenv to
45766 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45767 symbol __secure_getenv for GLIBC_2.0.
45768 * stdlib/tst-secure-getenv.c: New.
45769 * stdlib/Makefile (tests): Add testcase.
45770 * manual/startup.texi (Environment Access): Document
45772 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45773 __libc_secure_getenv.
45774 * inet/ruserpass.c (ruserpass): Likewise.
45775 * malloc/mtrace.c (mtrace): Likewise.
45776 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45777 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45778 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45779 * sysdeps/posix/tempname.c: Likewise. Evaluate
45780 HAVE_SECURE_GETENV.
45781 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45782 __secure_getenv to __libc_secure_getenv.
45783 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45796 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45798 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45799 (struct La_i86_retval): Likewise.
45800 (struct La_x86_64_regs): Likewise.
45801 (struct La_x86_64_retval): Likewise.
45802 (struct La_x32_regs): Likewise.
45803 (struct La_x32_retval): Likewise.
45804 (struct La_ppc32_regs): Likewise.
45805 (struct La_ppc32_retval): Likewise.
45806 (struct La_ppc64_regs): Likewise.
45807 (struct La_ppc64_retval): Likewise.
45808 (struct La_sh_regs): Likewise.
45809 (struct La_sh_retval): Likewise.
45810 (struct La_s390_32_regs): Likewise.
45811 (struct La_s390_32_retval): Likewise.
45812 (struct La_s390_64_regs): Likewise.
45813 (struct La_s390_64_retval): Likewise.
45814 (struct La_sparc32_regs): Likewise.
45815 (struct La_sparc32_retval): Likewise.
45816 (struct La_sparc64_regs): Likewise.
45817 (struct La_sparc64_retval): Likewise.
45818 (struct audit_ifaces): Remove architecture-specific pltenter and
45820 * sysdeps/i386/ldsodefs.h: New file.
45821 * sysdeps/powerpc/ldsodefs.h: Likewise.
45822 * sysdeps/s390/ldsodefs.h: Likewise.
45823 * sysdeps/sh/ldsodefs.h: Likewise.
45824 * sysdeps/sparc/ldsodefs.h: Likewise.
45825 * sysdeps/x86_64/ldsodefs.h: Likewise.
45827 2012-07-25 Marek Polacek <polacek@redhat.com>
45830 * math/libm-test.inc (yn_test): Add another test.
45831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45832 to ERANGE when the result is +-Inf.
45833 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45834 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45835 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45836 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45838 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45840 * conform/data/time.h-data (NULL): Use macro-constant. Require
45842 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45844 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45846 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45848 * configure.in <sysdeps resolving>: Correct printing
45850 * configure: Regenerate.
45852 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45854 * math/w_ilogb.c: Include <limits.h>.
45855 * math/w_ilogbl.c: Likewise.
45857 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45859 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45860 va_copy. Document allowing for unavailable va_copy only as
45861 pre-C99 compatibility.
45862 * manual/string.texi (Copying and Concatenation): Use va_copy
45863 instead of __va_copy in concat example.
45865 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45867 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45868 (__sendto): Use create_address_port. Initialize APORT and deallocate
45871 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45872 with O_NOLINK passed to __file_name_lookup.
45874 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45875 with O_NOLINK passed to __file_name_lookup.
45877 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45878 negative N or less than NGIDS.
45880 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45881 type to string_t. Set ERANGE as errno and return it if NAME is not big
45882 enough. Use memcpy instead of strncpy.
45884 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45886 * elf/Makefile (check-data): Remove.
45887 (localplt.data): New vpath directive.
45888 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45889 instead of $(check-data).
45890 * scripts/data/localplt-generic.data: Move to ...
45891 * sysdeps/generic/localplt.data: ... here.
45892 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45893 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45894 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45897 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45900 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45903 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45906 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45909 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45913 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45915 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45916 PPC32 and PPC64 files.
45917 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45918 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45920 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45922 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45923 __makecontext_ret to ...
45924 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45925 ... here and call exit if uc_link is NULL. New file.
45926 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45927 __makecontext_ret.S.
45928 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45929 __makecontext_ret to ...
45930 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45931 ... here and call exit if uc_link is NULL. New file.
45932 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45933 __makecontext_ret.S.
45935 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45937 * elf/elf.h (R_390_IRELATIVE): New definition.
45938 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45939 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45940 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45942 (elf_machine_lazy_rel): Likewise.
45943 * sysdeps/s390/dl-irel.h: New file.
45944 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45945 * sysdeps/s390/s390-64/memset.S: New asm code.
45946 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45947 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45948 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45949 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45950 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45951 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45952 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45953 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45954 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45955 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45956 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45957 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45958 * sysdeps/s390/s390-32/memset.S: New asm code.
45959 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45961 2012-07-17 Marek Polacek <polacek@redhat.com>
45964 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45965 * sysdeps/s390/s390-64/configure.in: Likewise.
45966 * sysdeps/sparc/configure.in: Likewise.
45967 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45968 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45969 * sysdeps/i386/configure.in: Likewise.
45970 * sysdeps/x86_64/configure.in: Likewise.
45971 * sysdeps/sh/configure.in: Likewise.
45972 * sysdeps/s390/s390-32/configure: Regenerated.
45973 * sysdeps/s390/s390-64/configure: Likewise.
45974 * sysdeps/x86_64/configure: Likewise.
45975 * sysdeps/sh/configure: Likewise.
45976 * sysdeps/powerpc/powerpc64/configure: Likewise.
45977 * sysdeps/powerpc/powerpc32/configure: Likewise.
45978 * sysdeps/sparc/configure: Likwise.
45979 * sysdeps/i386/configure: Likewise.
45981 * elf/dl-open.c: Comment fixes.
45983 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45985 * Makefile [CXX] (check-data): Remove.
45986 [CXX] (c++-types.data): New vpath directive.
45987 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45988 vpath. Do not allow for C++ type data being missing.
45989 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45990 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45991 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45992 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45993 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45994 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45995 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45998 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46001 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46004 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46007 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46010 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46013 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46016 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46019 * elf/tls-macros.h (TLS_LE): Move architecture-specific
46020 definitions to architecture-specific files.
46021 (TLS_IE): Likewise.
46022 (TLS_LD): Likewise.
46023 (TLS_GD): Likewise.
46024 * sysdeps/i386/tls-macros.h: New file.
46025 * sysdeps/powerpc/tls-macros.h: Likewise.
46026 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46027 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46028 * sysdeps/sh/tls-macros.h: Likewise.
46029 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46030 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46031 * sysdeps/x86_64/tls-macros.h: Likewise.
46033 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46036 zero value for regular exit case.
46038 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46039 (__start_context): Preserve zero value for regular exit case.
46041 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
46042 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46044 * manual/setjmp.texi (setcontext): Clarify normal process
46045 termination when uc_link is the null pointer.
46046 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46049 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
46051 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46052 preprocessor. Test for each exception mask separately.
46054 2012-07-16 Andreas Jaeger <aj@suse.de>
46056 * po/ru.po: Update from translation team.
46058 2012-07-15 Joseph Myers <joseph@codesourcery.com>
46060 * conform/data/string.h-data (NULL): Use macro-constant. Require
46062 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46063 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46064 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46065 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46068 2012-07-13 Andreas Jaeger <aj@suse.de>
46070 * po/fr.po: Update from translation team.
46072 2012-07-12 Marek Polacek <polacek@redhat.com>
46075 * math/libm-test.inc (yn_test): Add test for BZ #14173.
46076 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46079 2012-07-12 Joseph Myers <joseph@codesourcery.com>
46082 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46083 Change to 2.4.1 where previously 2.4.0.
46084 * sysdeps/unix/sysv/linux/configure: Regenerated.
46085 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46086 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46088 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46089 (__ASSUME_AT_CLKTCK): Remove.
46090 (__ASSUME_AT_PAGESIZE): Likewise.
46091 (__ASSUME_AT_XID): Likewise.
46092 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46093 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46094 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46096 (HAVE_AUX_PAGESIZE): Likewise.
46097 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46098 [__ASSUME_AT_CLKTCK]: Make code unconditional.
46099 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46101 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
46104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46105 the temporary buffer used to invoke __gethostbyname2_r,
46106 __gethostbyaddr_r and gethostbyname4_r to make room for struct
46107 host_data / struct gaih_addrtuple.
46108 * resolv/nss_dns/dns-host.c (global scope): Move definition of
46109 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46110 header file nss/nsswitch.h.
46111 * nss/nsswitch.h (global scope): Add definition of implementation
46112 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46113 resolv/nss_dns/dns-host.c).
46115 2012-07-11 Andreas Jaeger <aj@suse.de>
46117 * po/fr.po: Update from translation team.
46119 * po/sv.po: Update from translation team
46120 * po/fr.po: Another update from translation team.
46122 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46124 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46125 for subnormals or multiply small sinh result by itself.
46126 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46129 2012-07-11 David S. Miller <davem@davemloft.net>
46131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46133 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
46136 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46137 (INTERNAL_MARK): Shift it here.
46139 2012-07-10 Marek Polacek <polacek@redhat.com>
46142 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
46143 libc_cv_asm_global_directive with .globl.
46144 * configure: Regenerated.
46145 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46147 * sysdeps/i386/configure: Regenerated.
46148 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46150 * sysdeps/x86_64/configure: Regenerated.
46151 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46152 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46153 * elf/tst-unique2mod2.c: Likewise.
46154 * elf/tst-unique2mod1.c: Likewise.
46155 * elf/tst-unique1mod2.c: Likewise.
46156 * elf/tst-unique1mod1.c: Likewise.
46157 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46158 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46160 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46161 * sysdeps/mach/sysdep.h: Likewise.
46162 * sysdeps/i386/sysdep.h: Likewise.
46163 * sysdeps/i386/i386-mcount.S: Likewise.
46164 * sysdeps/x86_64/_mcount.S: Likewise.
46165 * sysdeps/x86_64/sysdep.h: Likewise.
46166 * sysdeps/sh/_mcount.S: Likewise.
46167 * sysdeps/sh/sysdep.h: Likewise.
46168 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46169 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46170 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46171 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46172 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46173 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46174 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46175 * locale/localeinfo.h: Likewise.
46176 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46177 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46179 2012-07-09 Roland McGrath <roland@hack.frob.com>
46182 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46184 * manual/message.texi (The Uniforum approach): Likewise.
46185 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46186 (glibc iconv Implementation): Likewise.
46188 2012-07-09 Joseph Myers <joseph@codesourcery.com>
46191 * math/s_clog.c (__clog): Avoid scaling a value down where that
46192 could result in underflow.
46193 * math/s_clog10.c (__clog10): Likewise.
46194 * math/s_clog10f.c (__clog10f): Likewise.
46195 * math/s_clog10l.c (__clog10l): Likewise.
46196 * math/s_clogf.c (__clogf): Likewise.
46197 * math/s_clogl.c (__clogl): Likewise.
46198 * math/libm-test.inc (clog_test): Add more tests.
46199 (clog10_test): Likewise.
46200 * sysdeps/i386/fpu/libm-test-ulps: Update.
46201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46203 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
46206 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46207 by 7 not 8 to examine high bit of fractional part.
46210 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46211 for call to __mcount_internal.
46212 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46213 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46214 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46216 2012-07-06 Joseph Myers <joseph@codesourcery.com>
46219 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46220 approximation for values within 0x1p-13f of an odd multiple of
46222 * math/libm-test.inc (tan_test): Do not allow spurious underflow
46223 exception. Add more tests.
46224 * sysdeps/i386/fpu/libm-test-ulps: Update.
46227 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46228 inputs and return -1 for them. Do not check for +Inf in case not
46229 reachable for +Inf.
46230 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46231 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46233 and return -1 for them. Do not check for +Inf in case not
46234 reachable for +Inf.
46235 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46237 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46238 and return -1 for them. Do not check for +Inf in case not
46239 reachable for +Inf.
46240 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
46241 spurious underflow.
46242 * sysdeps/i386/fpu/libm-test-ulps: Update.
46243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46245 2012-07-06 Mike Frysinger <vapier@gentoo.org>
46247 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46249 2012-07-05 Joseph Myers <joseph@codesourcery.com>
46253 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46254 could result in spurious underflow. Scale down values above
46255 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46256 * math/s_csqrtf.c (__csqrtf): Likewise.
46257 * math/s_csqrtl.c (__csqrtl): Likewise.
46258 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
46259 spurious underflow.
46260 * sysdeps/i386/fpu/libm-test-ulps: Update.
46261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46263 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
46265 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46267 * catgets/xopen-msg.awk: New file.
46268 * catgets/xopen-msg.sed: Removed.
46270 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46272 * intl/po2test.awk: New file.
46273 * intl/po2test.sed: Removed.
46275 2012-07-04 Joseph Myers <joseph@codesourcery.com>
46278 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46279 or multiply small sinh result by itself.
46280 * math/s_ctanf.c (__ctanf): Likewise.
46281 * math/s_ctanh.c (__ctanh): Likewise.
46282 * math/s_ctanhf.c (__ctanhf): Likewise.
46283 * math/s_ctanhl.c (__ctanhl): Likewise.
46284 * math/s_ctanl.c (__ctanl): Likewise.
46285 * math/libm-test.inc (ctan_test_tonearest): New function.
46286 (ctan_test_towardzero): Likewise.
46287 (ctan_test_downward): Likewise.
46288 (ctan_test_upward): Likewise.
46289 (ctanh_test_tonearest): Likewise.
46290 (ctanh_test_towardzero): Likewise.
46291 (ctanh_test_downward): Likewise.
46292 (ctanh_test_upward): Likewise.
46293 (main): Call these new functions.
46294 * sysdeps/i386/fpu/libm-test-ulps: Update.
46295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46297 2012-07-03 Mike Frysinger <vapier@gentoo.org>
46299 * .gitignore: Delete /ports entry.
46301 2012-07-03 Andreas Jaeger <aj@suse.de>
46303 * po/bg.po: Update from translation team.
46304 * po/cs.po: Likewise.
46305 * po/de.po: Likewise.
46306 * po/hr.po: Likewise.
46307 * po/nl.pl: Likewise.
46308 * po/pl.po: Likewise.
46309 * po/vi.po: Likewise.
46311 2012-07-03 Joseph Myers <joseph@codesourcery.com>
46313 * Makeconfig [!+link] (+link-before-libc): New variable.
46314 [!+link] (+link-after-libc): Likewise.
46315 [!+link] (+link-tests): Likewise.
46316 [!+link] (+link): Define in terms of $(+link-before-libc) and
46317 $(+link-after-libc).
46318 [!+link-static] (+link-static-before-libc): New variable.
46319 [!+link-static] (+link-static-after-libc): Likewise.
46320 [!+link-static] (+link-static-tests): Likewise.
46321 [!+link-static] (+link-static): Define in terms of
46322 $(+link-static-before-libc) and $(+link-static-after-libc).
46323 [build-shared] (link-libc-before-gnulib): New variable.
46324 [build-shared] (link-libc-tests): Likewise.
46325 [build-shared] (link-libc): Define in terms of
46326 $(link-libc-before-gnulib).
46327 [!build-shared] (link-libc-tests): New variable.
46328 (link-libc-static-tests): New variable.
46329 [!gnulib] (gnulib-arch): New variable.
46330 [!gnulib] (gnulib-tests): Likewise.
46331 [!gnulib] (static-gnulib-arch): Likewise.
46332 [!gnulib] (static-gnulib-tests): Likewise.
46333 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
46334 Define with "=" instead of ":=".
46335 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
46336 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
46337 * Rules (binaries-all-notests): New variable.
46338 (binaries-all-tests): Likewise.
46339 (binaries-static-notests): Likewise.
46340 (binaries-static-tests): Likewise.
46341 (binaries-all): Define using $(binaries-all-notests) and
46342 $(binaries-all-tests).
46343 (binaries-static): Define using $(binaries-static-notests) and
46344 $(binaries-static-tests).
46345 (binaries-shared-tests): New variable.
46346 (binaries-shared-notests): Likewise.
46347 (binaries-shared): Remove variable.
46348 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46349 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46350 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46351 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46352 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46353 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46354 * elf/Makefile (sln-modules): New variable.
46355 (extra-objs): Add $(sln-modules:=.o).
46356 (ldconfig-modules): Add static-stubs.
46357 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46358 * elf/static-stubs.c: New file.
46361 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46362 by 7 not 8 to examine high bit of fractional part. Use volatile
46363 variables when splitting into final array of floats if
46364 __FLT_EVAL_METHOD__ != 0.
46365 * math/libm-test.inc (cos_test): Add another test.
46366 (sin_test): Likewise.
46367 * sysdeps/i386/fpu/libm-test-ulps: Update.
46370 * math/libm-test.inc (cosh_test): Add more tests.
46372 * version.h (RELEASE): Set to "development".
46373 (VERSION): Set to "2.16.90".
46375 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
46377 * NEWS: Update copyright. Remove last-updated date.
46378 Mention math library bug fixes and timezone data changes.
46379 * README: Mention GNU/Hurd, x32, and HPPA support status.
46381 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
46383 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46385 2012-06-27 Andreas Jaeger <aj@suse.de>
46387 * manual/contrib.texi (Contributors): Add Samuel Thibault.
46389 2012-06-25 Andreas Jaeger <aj@suse.de>
46391 * sysdeps/s390/fpu/libm-test-ulps: Update.
46393 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
46394 Thomas Schwinge <thomas@codesourcery.com>
46396 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46397 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46398 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46401 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
46403 * sysdeps/mach/start.c: Remove file.
46404 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46405 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46406 * sysdeps/sh/init-first.c: Likewise.
46408 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46409 registers for frame unwinding purposes, add CFI directives.
46410 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46411 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46412 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46415 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46416 __fortify_fail returning.
46417 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46420 sysdeps/sh/____longjmp_chk.S.
46421 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46422 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46423 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46424 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46426 * sysdeps/sh/abort-instr.h: New file.
46427 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46428 process in case exit returns.
46430 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46431 initialize the GOT register before use.
46433 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46434 calculation of ARGC > 4.
46436 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46437 meaningful names to some local labels.
46439 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46440 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46442 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46443 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46444 (__arch_compare_and_exchange_val_16_acq): Likewise.
46445 (__arch_compare_and_exchange_val_32_acq): Likewise.
46446 (atomic_exchange_and_add): Fix gUSA sequence.
46447 (atomic_add): Likewise.
46448 (atomic_add_negative): Likewise.
46449 (atomic_add_zero): Likewise.
46450 (atomic_bit_test_set): Likewise.
46452 2012-06-22 Andreas Schwab <schwab@redhat.com>
46455 * include/link.h (struct link_map): Add l_free_initfini.
46456 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46458 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46459 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46460 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46463 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46465 * configure.in: Use AC_LANG_SOURCE.
46466 * configure: Regenerate.
46468 2012-06-22 Roland McGrath <roland@hack.frob.com>
46470 * configure.in (libc_cv_localstatedir): New substituted variable.
46471 * configure: Regenerated.
46472 * config.make.in (localstatedir): New variable, substituted from
46473 libc_cv_localstatedir.
46474 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46475 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46476 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46477 * sysdeps/gnu/configure: Regenerated.
46479 2012-06-21 Jeff Law <law@redhat.com>
46482 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46483 free. Simplify list management for _LIBC case.
46485 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46488 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46489 Clear sign bit of 64-bit integer value before comparing against
46492 * sysdeps/mach/configure: Regenerated.
46494 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46497 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46499 2012-06-21 Jeff Law <law@redhat.com>
46502 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46503 uint16_t for elements in the "seen" array to avoid char overflows.
46504 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46505 * elf/dl-open.c (dl_open_worker): Likewise.
46507 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46509 * scripts/list-sources.sh: Scan PORTS for translations.
46510 * po/libc.pot: Regenerated.
46512 2012-06-21 Andreas Jaeger <aj@suse.de>
46515 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46517 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46518 * bits/byteswap-16.h (__bswap_16): Likewise.
46519 * bits/byteswap.h (__bswap_constant_16): Likewise.
46521 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46524 * sysdeps/i386/fpu_control.h: Removed.
46525 * sysdeps/x86_64/fpu_control.h: Moved to ...
46526 * sysdeps/x86/fpu_control.h: Here.
46528 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46529 (_FPU_SETCW): Likewise.
46531 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46534 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46535 * sysdeps/x86/fpu/bits/mathinline.h: This.
46536 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46540 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46541 functions if __x86_64__ is defined.
46543 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46545 * string/endian.h: Add !__ASSEMBLER__ condition for including
46546 conversion interfaces.
46548 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46552 of ABS(x) in calculating zero to negative powers other than odd
46554 * math/libm-test.inc (pow_test): Add more tests.
46556 2012-06-15 Andreas Jaeger <aj@suse.de>
46558 * manual/contrib.texi (Contributors): Update entry of Liubov
46559 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46562 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46564 * string/string.h: Add __wur to GNU version of strerror_r.
46566 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46569 * string/Makefile (tests): Add tst-strtok_r.
46570 * string/tst-strtok_r.c: New file.
46571 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46572 RAX_LP/RDX_LP on SAVE_PTR.
46574 2012-06-14 Roland McGrath <roland@hack.frob.com>
46576 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46578 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46580 * libm_test.inc (csqrt_test): Allow more spurious underflow
46582 (j0_test): Likewise.
46583 (j1_test): Likewise.
46584 (y0_test): Likewise.
46585 (y1_test): Likewise.
46587 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46589 * po/Makefile (libc.pot): Use UTF-8 charset.
46591 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46594 Suppress sign-conversion warning from FD_SET.
46595 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46596 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46597 not unsigned long int.
46598 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46600 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46604 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46605 __extern_always_inline instead of __extern_inline.
46606 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46607 (__signbit): Likewise.
46608 (__signbitl): Support C++ namespace.
46609 (lrintf): New inline function.
46611 (llrintf): Likewise.
46612 (llrint): Likewise.
46622 (floorf): Likewise.
46623 (nearbyint): Likewise.
46624 (nearbyintf): Likewise.
46626 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46629 non-default versions.
46631 2012-06-11 Roland McGrath <roland@hack.frob.com>
46634 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46636 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46638 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46639 (FE_UPWARD, FE_DOWNWARD): Don't define.
46640 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46641 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46645 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46646 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46648 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46650 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46651 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46652 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46653 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46655 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46658 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46659 * sysdeps/i386/fpu/Implies: New file.
46660 * sysdeps/x86_64/fpu/Implies: Likewise.
46661 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46662 * sysdeps/x86/fpu/bits/fenv.h: This.
46664 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46667 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46670 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46671 character 0xffff that matches the last element of the
46674 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46679 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46682 values higher than 25.6283.
46684 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46687 subnormal exponent extraction and add some __builtin_expect.
46688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46689 Fix for subnormal mantissa calculation.
46691 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46693 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46694 cpu2 is -1 and errno is not ENOSYS.
46696 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46699 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46700 * sysdeps/x86/bits/string.h: This.
46701 * sysdeps/x86_64/bits/string.h: Removed.
46703 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46704 if not compiling for x86-64, but compiling for >= i486.
46706 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46707 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46709 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46710 New macro from Linux kernel 3.4.0.
46711 (FP_XSTATE_MAGIC2): Likewise.
46712 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46713 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46714 (struct _fpx_sw_bytes): New struct.
46715 (struct _xsave_hdr): Likewise.
46716 (struct _ymmh_state): Likewise.
46717 (struct _xstate): Likewise.
46719 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46720 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46722 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46723 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46724 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46726 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46727 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46728 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46729 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46730 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46731 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46733 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46736 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46737 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46738 (sysdep_headers): Include sys/platform/ppc.h.
46739 * sysdeps/powerpc/test-gettimebase.c: Test for
46740 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46741 * manual/Makefile (appendices): Include platform.texi.
46742 * manual/contrib.texi (Contributors): Update @node pointers.
46743 * manual/maint.texi (Maintenance): Likewise.
46744 (Platform): New node.
46745 * manual/platform.texi: New file. Document the new features.
46747 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46748 Jakub Jelinek <jakub@redhat.com>
46751 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46752 where __builtin_expect is unavailable.
46754 2012-06-03 David S. Miller <davem@davemloft.net>
46756 * stdlib/longlong.h: Updated from GCC.
46758 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46761 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46762 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46765 (GLIBC_2.16): Likewise.
46767 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46771 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46774 (default-abi): New variable.
46775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46776 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46778 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46780 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46782 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46785 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46786 definition. Document in comment.
46788 2012-06-01 David S. Miller <davem@davemloft.net>
46790 * stdlib/longlong.h: Updated from GCC.
46792 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46795 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46796 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46797 sys/debugreg.h sys/io.h here.
46798 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46799 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46801 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46802 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46803 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46804 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46805 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46806 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46808 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46809 Define only if __x86_64__ is defined.
46811 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46814 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46815 Use int64_t for variable i.
46816 * math/libm-test.inc (fmod_test): Add more tests.
46818 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46819 z computation is not scheduled after fetestexcept.
46820 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46821 Use math_force_eval instead of asm to ensure calculation scheduled
46822 before exception test.
46823 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46824 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46826 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46829 computation is not scheduled after fetestexcept.
46831 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46834 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46835 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46837 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46839 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46840 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46842 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46845 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46847 (__WCHAR_MIN): Support __WORDSIZE == 64.
46848 (__WCHAR_MAX): Likewise.
46850 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46851 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46855 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46858 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46859 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46861 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46862 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46864 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46865 Defined to 1 if __x86_64__ isn't defined.
46866 (_STAT_VER_LINUX_OLD): New.
46867 (st_atime): Remove duplicate.
46868 (st_mtime): Likewise.
46869 (st_ctime): Likewise.
46871 2012-05-31 David S. Miller <davem@davemloft.net>
46873 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46876 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46878 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46882 * elf/dl-reloc.c: Include <_itoa.h>.
46883 (_dl_reloc_bad_type): Remove use of INTUSE.
46884 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46885 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46886 * stdio-common/psiginfo.c (psiginfo): Likewise.
46887 * stdio-common/psignal.c (psignal): Likewise.
46888 * string/strsignal.c (strsignal): Likewise.
46889 * include/signal.h (_sys_siglist): Declare hidden proto.
46890 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46891 INTVARDEF with libc_hidden_data_def.
46892 * stdio-common/itoa-udigits.c: Likewise.
46893 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46894 (_itoa_lower_digits_internal): Remove declaration.
46895 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46896 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46897 (_sys_sigabbrev_internal): Remove aliases.
46898 (_sys_siglist): Define hidden alias.
46900 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46905 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46908 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46909 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46911 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46912 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46913 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46914 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46916 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46918 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46919 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46920 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46922 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46931 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46932 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46934 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46935 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46937 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46938 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46939 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46941 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46942 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46944 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46945 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46947 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46949 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46951 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46952 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46954 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46956 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46957 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46958 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46960 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46962 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46964 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46966 * math/math.h (M_El): Use two more decimal places.
46967 (M_LOG2El): Likewise.
46968 (M_LOG10El): Likewise.
46969 (M_LN2l): Likewise.
46970 (M_LN10l): Likewise.
46972 (M_PI_2l): Likewise.
46973 (M_PI_4l): Likewise.
46974 (M_1_PIl): Likewise.
46975 (M_2_PIl): Likewise.
46976 (M_2_SQRTPIl): Likewise.
46977 (M_SQRT2l): Likewise.
46978 (M_SQRT1_2l): Likewise.
46980 2012-05-31 David S. Miller <davem@davemloft.net>
46982 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46983 values between float registers.
46984 * sysdeps/sparc/sparc64/memset.S: Likewise.
46985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46987 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46989 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46990 -D_FORTIFY_SOURCE=1.
46991 (CPPFLAGS-tst-longjmp_chk.c): Define.
46992 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46993 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46994 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46995 CFLAGS-tst-wchar-h.c.
46997 2012-05-31 Marek Polacek <polacek@redhat.com>
47000 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47001 __endmntent_internal): Remove declaration.
47002 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47003 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47004 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47006 2012-05-30 David S. Miller <davem@davemloft.net>
47008 * sysdeps/sparc/sparc32/soft-fp/q_util.c
47009 (___Q_simulate_exceptions): Use real FP ops rather than writing
47011 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47014 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47017 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47018 * sysdeps/x86/bits/xtitypes.h: This.
47020 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47021 * sysdeps/x86/bits/wordsize.h: This.
47023 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47024 * sysdeps/x86/bits/huge_vall.h: This.
47026 * sysdeps/i386/bits/select.h: Removed.
47027 * sysdeps/x86_64/bits/select.h: Renamed to ...
47028 * sysdeps/x86/bits/select.h: This.
47030 * sysdeps/i386/bits/setjmp.h: Removed.
47031 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47032 * sysdeps/x86/bits/setjmp.h: This.
47034 * sysdeps/i386/bits/mathdef.h: Removed.
47035 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47036 * sysdeps/x86/bits/mathdef.h: This.
47038 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
47041 * include/sys/socket.h (__connect_internal)
47042 (__libc_sa_len_internal): Remove declaration.
47043 (__connect, __libc_sa_len): Declare hidden_proto.
47044 (SA_LEN): Remove use of INTUSE.
47045 * socket/connect.c: Add libc_hidden_def.
47046 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47047 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47048 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47050 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47051 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47052 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47053 of adding _internal alias.
47055 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47058 * sysdeps/i386/bits/link.h: Removed.
47059 * sysdeps/i386/bits/linkmap.h: Likewise.
47060 * sysdeps/x86_64/bits/link.h: Renamed to ...
47061 * sysdeps/x86/bits/link.h: This.
47062 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47063 * sysdeps/x86/bits/linkmap.h: This.
47065 * sysdeps/i386/bits/endian.h: Removed.
47066 * sysdeps/x86_64/bits/endian.h: Renamed to ...
47067 * sysdeps/x86/bits/endian.h: This.
47069 * sysdeps/i386/bits/byteswap.h: Removed.
47070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47071 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47072 * sysdeps/x86/bits/byteswap.h: This.
47073 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47074 * sysdeps/x86/bits/byteswap-16.h: This.
47075 * sysdeps/i386/Implies: Add x86.
47076 * sysdeps/x86_64/Implies: Likewise.
47078 2012-05-30 David S. Miller <davem@davemloft.net>
47080 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47081 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47083 (FP_TRAPPING_EXCEPTIONS): Define.
47084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47085 (FP_TRAPPING_EXCEPTIONS): Define.
47086 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47087 subnormals only when inexact has been signalled or underflow
47088 exceptions are enabled.
47089 (_FP_PACK_CANONICAL): Likewise.
47091 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47094 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47095 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47097 2012-05-30 Richard Henderson <rth@twiddle.net>
47099 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47100 with #ifndef NOT_IN_libc.
47102 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
47103 marked to avoid plt entry.
47105 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
47108 * Makeconfig (default-abi): New macro.
47109 (abi-includes): Likewise.
47110 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
47111 $(abi-$(default-abi)-lib-soname) for soname if defined.
47112 ($(common-objpfx)gnu/lib-names.stmp): Generate from
47114 * Makefile (installed-stubs): Likewise.
47115 * include/stubs-biarch.h: Removed.
47116 * scripts/lib-names.awk: Only handle one library at a time.
47117 * scripts/soversions.awk: Remove WORDSIZE support.
47118 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47120 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47122 (syscall-list-default-condition): Likewise.
47123 (syscall-list-default-condition): Likewise.
47124 (syscall-list-includes): Likewise.
47125 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47126 syscall-list-* with abi-*. Handle undefined abi-variants.
47127 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47128 * sysdeps/unix/sysv/linux/i386/Implies: New file.
47129 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47130 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47131 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47132 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47134 (syscall-list-32-options): Likewise.
47135 (syscall-list-32-condition): Likewise.
47136 (syscall-list-64-options): Likewise.
47137 (syscall-list-64-condition): Likewise.
47138 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47140 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47143 (abi-64-ld-soname): New macro.
47144 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47145 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47148 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47149 * sysdeps/x86_64/x32/shlib-versions: Likewise.
47151 2012-05-30 Joseph Myers <joseph@codesourcery.com>
47153 * sysdeps/unix/sysv/linux/kernel-features.h
47154 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47155 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47156 include <kernel-features.h>.
47157 [!__NR_ftruncate64]: Remove conditional code.
47158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47159 [__NR_ftruncate64]: Make code unconditional.
47160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47161 * sysdeps/unix/sysv/linux/truncate64.c: Do not
47162 include <kernel-features.h>.
47163 [!__NR_ftruncate64]: Remove conditional code.
47164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47165 [__NR_ftruncate64]: Make code unconditional.
47166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47168 include <kernel-features.h>.
47169 [!__NR_ftruncate64]: Remove conditional code.
47170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47171 [__NR_ftruncate64]: Make code unconditional.
47172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47174 include <kernel-features.h>.
47175 [!__NR_ftruncate64]: Remove conditional code.
47176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47177 [__NR_ftruncate64]: Make code unconditional.
47178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47180 * configure.in (libc_cv_fpie): Weaken to a compile test using
47181 LIBC_TRY_CC_OPTION.
47182 * configure: Regenerated.
47184 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47199 2012-05-27 David S. Miller <davem@davemloft.net>
47201 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47203 (__Q_simulate_exceptions): Return void. Change to simulate
47204 exceptions by writing into the %fsr.
47205 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47206 (__Qp_handle_exceptions): Likewise.
47208 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47209 __Qp_handle_exceptions.
47210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47211 __Qp_handle_exceptions.
47212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47213 as unused and give dummy FP_RND_NEAREST initializer.
47214 (FP_INHIBIT_RESULTS): Define.
47215 (___Q_simulate_exceptions): Update declaration.
47216 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47218 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47219 as unused and give dummy FP_RND_NEAREST initializer.
47220 (__Qp_handle_exceptions): Update declaration.
47221 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47224 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
47226 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47227 the temporary FPU control word.
47228 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47229 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47230 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47231 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47232 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47234 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47235 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47236 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47237 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47238 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47240 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47242 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47245 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
47247 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47248 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47249 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47250 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47252 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47253 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47256 2012-05-27 Ulrich Drepper <drepper@gmail.com>
47258 * po/h.po: Update from translation team.
47260 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
47262 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47264 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47265 handling of denormals.
47266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47267 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47268 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47269 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47272 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47275 2012-05-26 Marek Polacek <polacek@redhat.com>
47278 * math/libm-test.inc (fma_test): Don't always expect underflow
47281 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47284 * elf/tst-execstack.c: Include stackinfo.h.
47285 (do_test): Adjust test case to ensure that pthread_getattr_np
47286 behaviour remains the same after marking stack executable.
47288 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47290 * sysdeps/unix/sysv/linux/kernel-features.h
47291 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47292 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47294 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47295 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47296 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47298 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47299 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47301 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
47303 * configure.in: Define the default includes to being none.
47304 * configure: Regenerated.
47306 2012-05-25 Roland McGrath <roland@hack.frob.com>
47308 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47309 * sysdeps/x86_64/setjmp.S: Likewise.
47310 * sysdeps/i386/bsd-setjmp.S: Likewise.
47311 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47312 * sysdeps/i386/setjmp.S: Likewise.
47313 * sysdeps/i386/__longjmp.S: Likewise.
47314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47315 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47317 * include/stap-probe.h: New file.
47318 * configure.in: Handle --enable-systemtap.
47319 * configure: Regenerated.
47320 * config.h.in (USE_STAP_PROBE): New #undef.
47321 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47322 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47323 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47325 2012-05-25 Joseph Myers <joseph@codesourcery.com>
47328 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47329 to 2.4.0 where earlier.
47330 * sysdeps/unix/sysv/linux/configure: Regenerated.
47331 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47332 <kernel-features.h>.
47333 [__ASSUME_32BITUIDS]: Make code unconditional.
47334 [!__ASSUME_32BITUIDS]: Remove conditional code.
47335 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47336 <kernel-features.h>.
47337 [__ASSUME_32BITUIDS]: Make code unconditional.
47338 [!__ASSUME_32BITUIDS]: Remove conditional code.
47339 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47340 [__ASSUME_32BITUIDS]: Make code unconditional.
47341 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47342 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47343 <kernel-features.h>.
47344 [__ASSUME_32BITUIDS]: Make code unconditional.
47345 [!__ASSUME_32BITUIDS]: Remove conditional code.
47346 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47347 <kernel-features.h>.
47348 [__ASSUME_32BITUIDS]: Make code unconditional.
47349 [!__ASSUME_32BITUIDS]: Remove conditional code.
47350 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47351 <kernel-features.h>.
47352 [__ASSUME_32BITUIDS]: Make code unconditional.
47353 [!__ASSUME_32BITUIDS]: Remove conditional code.
47354 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47355 <kernel-features.h>.
47356 [__ASSUME_32BITUIDS]: Make code unconditional.
47357 [!__ASSUME_32BITUIDS]: Remove conditional code.
47358 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47359 <kernel-features.h>.
47360 [__ASSUME_32BITUIDS]: Make code unconditional.
47361 [!__ASSUME_32BITUIDS]: Remove conditional code.
47362 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47363 <kernel-features.h>.
47364 [__ASSUME_32BITUIDS]: Make code unconditional.
47365 [!__ASSUME_32BITUIDS]: Remove conditional code.
47366 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47367 <kernel-features.h>.
47368 [__ASSUME_32BITUIDS]: Make code unconditional.
47369 [!__ASSUME_32BITUIDS]: Remove conditional code.
47370 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47371 <kernel-features.h>.
47372 [__ASSUME_32BITUIDS]: Make code unconditional.
47373 [!__ASSUME_32BITUIDS]: Remove conditional code.
47374 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47375 <kernel-features.h>.
47376 [__ASSUME_32BITUIDS]: Make code unconditional.
47377 [!__ASSUME_32BITUIDS]: Remove conditional code.
47378 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47379 <kernel-features.h>.
47380 [__ASSUME_32BITUIDS]: Make code unconditional.
47381 [!__ASSUME_32BITUIDS]: Remove conditional code.
47382 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47383 <kernel-features.h>.
47384 [__NR_setresgid] (__setresgid): Do not declare.
47385 [__ASSUME_32BITUIDS]: Make code unconditional.
47386 [!__ASSUME_32BITUIDS]: Remove conditional code.
47387 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47388 <kernel-features.h>.
47389 [__NR_setresuid] (__setresuid): Do not declare.
47390 [__ASSUME_32BITUIDS]: Make code unconditional.
47391 [!__ASSUME_32BITUIDS]: Remove conditional code.
47392 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47393 <kernel-features.h>.
47394 [__ASSUME_32BITUIDS]: Make code unconditional.
47395 [!__ASSUME_32BITUIDS]: Remove conditional code.
47396 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47397 <kernel-features.h>.
47398 [__ASSUME_32BITUIDS]: Make code unconditional.
47399 [!__ASSUME_32BITUIDS]: Remove conditional code.
47400 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47401 <kernel-features.h>.
47402 [__ASSUME_32BITUIDS]: Make code unconditional.
47403 [!__ASSUME_32BITUIDS]: Remove conditional code.
47404 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47405 <kernel-features.h>.
47406 [__ASSUME_32BITUIDS]: Make code unconditional.
47407 [!__ASSUME_32BITUIDS]: Remove conditional code.
47408 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47409 <kernel-features.h>.
47410 [__ASSUME_32BITUIDS]: Make code unconditional.
47411 [!__ASSUME_32BITUIDS]: Remove conditional code.
47412 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47413 <kernel-features.h>.
47414 [__ASSUME_32BITUIDS]: Make code unconditional.
47415 [!__ASSUME_32BITUIDS]: Remove conditional code.
47416 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47417 <kernel-features.h>.
47418 [__ASSUME_32BITUIDS]: Make code unconditional.
47419 [!__ASSUME_32BITUIDS]: Remove conditional code.
47420 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47421 <kernel-features.h>.
47422 [__ASSUME_32BITUIDS]: Make code unconditional.
47423 [!__ASSUME_32BITUIDS]: Remove conditional code.
47424 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47425 <kernel-features.h>.
47426 [__ASSUME_32BITUIDS]: Make code unconditional.
47427 [!__ASSUME_32BITUIDS]: Remove conditional code.
47428 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47429 <kernel-features.h>.
47430 [__ASSUME_32BITUIDS]: Make code unconditional.
47431 [!__ASSUME_32BITUIDS]: Remove conditional code.
47432 * sysdeps/unix/sysv/linux/kernel-features.h
47433 (__ASSUME_SETRESUID_SYSCALL): Remove.
47434 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47435 (__ASSUME_32BITUIDS): Likewise.
47436 (__ASSUME_LDT_WORKS): Likewise.
47437 (__ASSUME_O_DIRECTORY): Likewise.
47438 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47439 architecture but not kernel version.
47440 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47441 (__ASSUME_MMAP2_SYSCALL): Likewise.
47442 (__ASSUME_STAT64_SYSCALL): Likewise.
47443 (__ASSUME_IPC64): Likewise.
47444 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47445 <kernel-features.h>.
47446 [__ASSUME_32BITUIDS]: Make code unconditional.
47447 [!__ASSUME_32BITUIDS]: Remove conditional code.
47448 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47449 <kernel-features.h>.
47450 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47451 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47452 132096]: Remove conditional code.
47453 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47454 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47455 <kernel-features.h>.
47456 [__ASSUME_32BITUIDS]: Make code unconditional.
47457 [!__ASSUME_32BITUIDS]: Remove conditional code.
47458 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47459 <kernel-features.h>.
47460 [__ASSUME_32BITUIDS]: Make code unconditional.
47461 [!__ASSUME_32BITUIDS]: Remove conditional code.
47462 * sysdeps/unix/sysv/linux/setegid.c: Do not include
47463 <kernel-features.h>.
47464 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47466 (__setresgid): Do not declare.
47467 [__ASSUME_32BITUIDS]: Make code unconditional.
47468 [!__ASSUME_32BITUIDS]: Remove conditional code.
47469 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47470 <kernel-features.h>.
47471 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47473 (__setresuid): Do not declare.
47474 [__ASSUME_32BITUIDS]: Make code unconditional.
47475 [!__ASSUME_32BITUIDS]: Remove conditional code.
47476 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47477 <kernel-features.h>.
47478 [__ASSUME_32BITUIDS]: Make code unconditional.
47479 [!__ASSUME_32BITUIDS]: Remove conditional code.
47480 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47481 <kernel-features.h>.
47482 [__ASSUME_32BITUIDS]: Make code unconditional.
47483 [!__ASSUME_32BITUIDS]: Remove conditional code.
47485 2012-05-25 Richard Henderson <rth@twiddle.net>
47487 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47488 dl_hwcap to ifunc resolver.
47489 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47491 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47492 dl_hwcap to ifunc resolver.
47493 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47495 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47498 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47499 for |x| <= 2**-26, not 2**-57.
47500 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47503 2012-05-24 Jeff Law <law@redhat.com>
47505 * stdio-common/Makefile (tests): Add bug25.
47506 * stdio-common/bug25.c: New test.
47508 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47511 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47512 multiple of MALLOC_ALIGNMENT in size.
47513 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47515 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47517 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47519 (FILENAME_MAX): Use macro-int-constant.
47520 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47521 (_IOFBF): Use macro-int-constant.
47522 (_IOLBF): Likewise.
47523 (_IONBF): Likewise.
47524 (SEEK_CUR): Likewise.
47525 (SEEK_END): Likewise.
47526 (SEEK_SET): Likewise.
47527 (TMP_MAX): Likewise.
47528 (EOF): Use macro-int-constant. Require < 0.
47529 (NULL): Use macro-constant. Require == 0.
47530 (stdin): Require type to be FILE *.
47531 (stdout): Likewise.
47532 (stderr): Likewise.
47533 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47534 macro-int-constant.
47535 (EXIT_SUCCESS): Likewise.
47536 (NULL): Use macro-constant. Require == 0.
47537 (RAND_MAX): Use macro-int-constant.
47538 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47539 [C99-based standards] (strtof): Require function.
47540 [C99-based standards] (strtold): Likewise.
47541 [C99-based standards] (strtoll): Likewise.
47542 [C99-based standards] (strtoull): Likewise.
47543 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47544 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47545 [ISO || ISO99 || ISO11] (math.h): Likewise.
47546 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47547 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47550 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47553 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47554 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47555 * intl/dgettext.c (DCGETTEXT): Likewise.
47556 * intl/gettext.c (DCGETTEXT): Likewise.
47557 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47558 * posix/regex_internal.h (gettext): Likewise.
47559 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47560 Remove declaration.
47561 * include/argz.h (__argz_count_internal)
47562 (__argz_stringify_internal): Remove declaration.
47563 (__argz_count, __argz_stringify): Declare hidden proto.
47564 * intl/dcgettext.c: Remove use of INTDEF.
47565 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47566 * string/argz-stringify.c: Likewise.
47567 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47568 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47569 Declare hidden proto.
47570 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47571 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47572 Declare hidden proto.
47573 * include/stdio.h (__asprintf_internal): Don't declare.
47574 (__asprintf): Don't define as macro. Declare hidden proto.
47575 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47576 (__fsetlocking): Declare hidden proto.
47577 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47578 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47580 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47581 (_IO_setlinebuf): Remove use of INTUSE.
47582 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47583 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47584 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47585 Remove declaration.
47586 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47587 (_IO_do_flush): Remove use of INTUSE.
47588 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47589 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47590 (_IO_adjust_column, _IO_least_wmarker)
47591 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47592 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47593 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47594 (_IO_default_doallocate, _IO_wdefault_doallocate)
47595 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47596 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47597 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47598 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47599 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47600 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47601 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47602 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47603 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47604 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47605 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47606 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47607 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47609 (_IO_flush_all_internal, _IO_adjust_column_internal)
47610 (_IO_default_uflow_internal, _IO_default_finish_internal)
47611 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47612 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47613 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47614 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47615 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47616 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47617 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47618 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47619 (_IO_file_close_internal, _IO_file_close_it_internal)
47620 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47621 (_IO_file_init_internal, _IO_file_attach_internal)
47622 (_IO_file_fopen_internal, _IO_file_read_internal)
47623 (_IO_file_sync_internal, _IO_file_seek_internal)
47624 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47625 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47626 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47627 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47628 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47629 (_IO_list_all_internal, _IO_link_in_internal)
47630 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47631 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47632 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47633 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47634 (_IO_do_write_internal, _IO_padn_internal)
47635 (_IO_getline_info_internal, _IO_getline_internal)
47636 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47637 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47638 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47639 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47640 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47641 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47642 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47643 with libc_hidden_ver, remove use of INTUSE.
47644 * libio/genops.c: Likewise.
47645 * libio/freopen.c: Likewise.
47646 * libio/freopen64.c: Likewise.
47647 * libio/iofclose.c: Likewise.
47648 * libio/iofdopen.c: Likewise.
47649 * libio/iofflush.c: Likewise.
47650 * libio/iofflush_u.c: Likewise.
47651 * libio/iofgets.c: Likewise.
47652 * libio/iofgets_u.c: Likewise.
47653 * libio/iofopen.c: Likewise.
47654 * libio/iofopncook.c: Likewise.
47655 * libio/iofread.c: Likewise.
47656 * libio/iofread_u.c: Likewise.
47657 * libio/ioftell.c: Likewise.
47658 * libio/iofwrite.c: Likewise.
47659 * libio/iogetline.c: Likewise.
47660 * libio/iogets.c: Likewise.
47661 * libio/iogetwline.c: Likewise.
47662 * libio/iopadn.c: Likewise.
47663 * libio/iopopen.c: Likewise.
47664 * libio/ioseekoff.c: Likewise.
47665 * libio/ioseekpos.c: Likewise.
47666 * libio/iosetbuffer.c: Likewise.
47667 * libio/iosetvbuf.c: Likewise.
47668 * libio/ioungetc.c: Likewise.
47669 * libio/ioungetwc.c: Likewise.
47670 * libio/iovdprintf.c: Likewise.
47671 * libio/iovsprintf.c: Likewise.
47672 * libio/iovsscanf.c: Likewise.
47673 * libio/memstream.c: Likewise.
47674 * libio/obprintf.c: Likewise.
47675 * libio/oldfileops.c: Likewise.
47676 * libio/oldiofclose.c: Likewise.
47677 * libio/oldiofdopen.c: Likewise.
47678 * libio/oldiofopen.c: Likewise.
47679 * libio/oldiopopen.c: Likewise.
47680 * libio/oldstdfiles.c: Likewise.
47681 * libio/putc.c: Likewise.
47682 * libio/setbuf.c: Likewise.
47683 * libio/setlinebuf.c: Likewise.
47684 * libio/stdfiles.c: Likewise.
47685 * libio/strops.c: Likewise.
47686 * libio/vasprintf.c: Likewise.
47687 * libio/vscanf.c: Likewise.
47688 * libio/vsnprintf.c: Likewise.
47689 * libio/vswprintf.c: Likewise.
47690 * libio/wfiledoalloc.c: Likewise.
47691 * libio/wfileops.c: Likewise.
47692 * libio/wgenops.c: Likewise.
47693 * libio/wmemstream.c: Likewise.
47694 * libio/wstrops.c: Likewise.
47695 * libio/__fpurge.c: Likewise.
47696 * libio/__fsetlocking.c: Likewise.
47697 * assert/assert.c: Likewise.
47698 * debug/fgets_chk.c: Likewise.
47699 * debug/fgets_u_chk.c: Likewise.
47700 * debug/fread_chk.c: Likewise.
47701 * debug/fread_u_chk.c: Likewise.
47702 * debug/gets_chk.c: Likewise.
47703 * debug/obprintf_chk.c: Likewise.
47704 * debug/vasprintf_chk.c: Likewise.
47705 * debug/vdprintf_chk.c: Likewise.
47706 * debug/vsnprintf_chk.c: Likewise.
47707 * debug/vsprintf_chk.c: Likewise.
47708 * malloc/mtrace.c: Likewise.
47709 * misc/error.c: Likewise.
47710 * misc/syslog.c: Likewise.
47711 * stdio-common/asprintf.c: Likewise.
47712 * stdio-common/fxprintf.c: Likewise.
47713 * stdio-common/getw.c: Likewise.
47714 * stdio-common/isoc99_fscanf.c: Likewise.
47715 * stdio-common/isoc99_scanf.c: Likewise.
47716 * stdio-common/isoc99_vfscanf.c: Likewise.
47717 * stdio-common/isoc99_vscanf.c: Likewise.
47718 * stdio-common/isoc99_vsscanf.c: Likewise.
47719 * stdio-common/printf-prs.c: Likewise.
47720 * stdio-common/printf_fp.c: Likewise.
47721 * stdio-common/printf_fphex.c: Likewise.
47722 * stdio-common/printf_size.c: Likewise.
47723 * stdio-common/putw.c: Likewise.
47724 * stdio-common/scanf.c: Likewise.
47725 * stdio-common/sprintf.c: Likewise.
47726 * stdio-common/tmpfile.c: Likewise.
47727 * stdio-common/vfprintf.c: Likewise.
47728 * stdio-common/vfscanf.c: Likewise.
47729 * stdlib/strfmon_l.c: Likewise.
47730 * sunrpc/openchild.c: Likewise.
47731 * sunrpc/xdr_stdio.c: Likewise.
47732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47733 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47735 2012-05-24 Roland McGrath <roland@hack.frob.com>
47737 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47739 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47740 in the third column, to generate for the shared library an IFUNC
47741 that uses _dl_vdso_vsym.
47742 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47743 * Makeconfig (object-suffixes-noshared): New variable.
47745 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47746 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47747 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47748 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47751 * include/sys/time.h (__gettimeofday): Remove macro.
47752 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47753 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47755 (__gettimeofday): Add libc_hidden_def.
47756 (gettimeofday): Add libc_hidden_weak.
47757 * sysdeps/mach/gettimeofday.c: Likewise.
47758 * sysdeps/posix/gettimeofday.c: Likewise.
47759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47760 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47762 (__gettimeofday_internal): Remove strong_alias.
47763 (__gettimeofday): Add libc_hidden_def.
47764 (gettimeofday): Add libc_hidden_weak.
47765 * sysdeps/unix/syscalls.list (gettimeofday):
47766 Remove __gettimeofday_internal alias.
47768 2012-05-24 Daniel Jacobowitz <drow@false.org>
47769 H.J. Lu <hongjiu.lu@intel.com>
47772 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47773 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47774 (largebin_index_32_big): New.
47775 (largebin_index): Use it for 16-byte alignment.
47776 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47777 correction with front_misalign.
47779 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47807 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47808 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47810 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47814 * math/libm-test.inc (exp_test): Add test from bug 14036.
47815 (pow_test): Add test from bug 10846.
47817 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47819 (special_function): Do not include flags in test name.
47820 (parse_args): Likewise.
47821 * sysdeps/i386/fpu/libm-test-ulps: Update.
47822 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47823 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47824 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47827 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47829 * math/libm-test.inc ("Philosophy"): Update comment about
47831 (UNDERFLOW_EXCEPTION): New macro.
47832 (UNDERFLOW_EXCEPTION_OK): Likewise.
47833 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47834 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47835 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47836 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47837 (INVALID_EXCEPTION_OK): Update value.
47838 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47839 (OVERFLOW_EXCEPTION_OK): Likewise.
47840 (IGNORE_ZERO_INF_SIGN): Likewise.
47841 (test_exceptions): Handle underflow exceptions.
47842 (acos_test): Update for underflow exception expectations.
47843 (cexp_test): Likewise.
47844 (clog_test): Likewise.
47845 (clog10_test): Likewise.
47846 (csqrt_test): Likewise.
47847 (ctan_test): Likewise.
47848 (ctanh_test): Likewise.
47849 (exp_test): Likewise.
47850 (exp10_test): Likewise.
47851 (exp2_test): Likewise.
47852 (expm1_test): Likewise.
47853 (fma_test): Likewise.
47854 (j0_test): Likewise.
47855 (jn_test): Likewise.
47856 (nexttoward_test): Likewise.
47857 (pow_test): Likewise.
47858 (scalbn_test): Likewise.
47859 (scalbln_test): Likewise.
47860 (tan_test): Likewise.
47861 (y1_test): Likewise.
47862 * sysdeps/i386/fpu/libm-test-ulps: Update.
47863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47865 2012-05-23 David S. Miller <davem@davemloft.net>
47867 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47868 (__libc_sigaction): Remove unused local variables.
47870 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47872 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47874 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47876 mktime: avoid signed integer overflow
47877 * time/mktime.c (__mktime_internal): Do not mishandle the case
47878 where diff == INT_MIN.
47880 mktime: simplify computation of average
47881 * time/mktime.c (ranged_convert): Use new time_t_avg function
47882 instead of rolling our own (probably-slower) code.
47884 mktime: do not assume signed right shift propagates sign bit
47885 * time/mktime.c (isdst_differ): New static function.
47886 (__mktime_internal): No need to normalize tm_isdst now.
47887 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47890 mktime: merge another wrapv change from gnulib
47891 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47892 from some compilers.
47894 mktime: remove incorrect attempt at unusual arithmetics
47895 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47896 The code didn't really work on such machines anyway.
47897 (TYPE_MINIMUM): Assume two's complement.
47898 (twos_complement_arithmetic): Verify that long_int and time_t
47899 are two's complement (or unsigned, in the latter case).
47901 mktime: check signed shifts on long_int and time_t, too
47902 * time/mktime.c (SHR): Check that shifts work as desired
47903 on the types long_int and time_t too, as SHR is used on
47906 mktime: do not assume 'long' is wide enough
47907 * time/mktime.c (verify): Move decl up.
47908 (long_int): New type.
47909 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47910 to remove assumption in the code that 'long' is wide enough to
47911 store year values. This assumption is not true on x32 and on
47912 some non-glibc platforms.
47914 mktime: merge wrapv change from gnulib
47915 * time/mktime.c (WRAPV): New macro.
47916 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47917 (guess_time_tm, __mktime_internal): Do not assume that signed
47918 integer overflow wraps around; modern compilers generate code
47919 where this assumption is no longer valid.
47921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47923 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47924 Replace "jmp L(pseudo_end)" with "ret".
47925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47928 2012-05-23 Andreas Jaeger <aj@suse.de>
47930 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47931 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47933 2012-05-23 Andreas Jaeger <aj@suse.de>
47934 Maximilian Attems <max@stro.at>
47936 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47939 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47942 code so that pseudo_end is just ret and the stack pointer is
47943 correct also for static library in error case.
47945 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47947 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47948 move to syscalls.list.
47949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47954 * manual/install.texi (Running make install): Do not mention Linux
47955 kernel version for which pt_chown is not needed.
47956 (Linux): Do not mention problems with nscd with 2.0 kernels.
47957 * INSTALL: Regenerated.
47959 2012-05-23 Andreas Jaeger <aj@suse.de>
47961 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47962 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47964 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47966 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47968 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47970 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47974 * sysdeps/unix/sysv/linux/bits/in.h
47975 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47977 2012-05-22 Roland McGrath <roland@hack.frob.com>
47979 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47980 (PREPARE_VERSION): Just use assert instead, it will be elided
47981 under [NDEBUG] anyway.
47983 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47985 * sysdeps/unix/sysv/linux/Makefile: Include
47986 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47987 (sysdep_routines): Remove sysctl.
47988 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47989 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47990 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47991 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47992 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47994 2012-05-22 Andreas Jaeger <aj@suse.de>
47996 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47997 that pseudo_end is just ret and the stack pointer is correct also
47998 for static library in error case.
48000 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
48003 * nss/nsswitch.c (defconfig_entries): New variable.
48004 (__nss_database_lookup): Don't leak defconfig entries.
48005 (nss_parse_service_list): Don't leak on error paths.
48006 (free_database_entries): New function.
48007 (free_defconfig): New function.
48008 (free_mem): Move common code to free_database_entries.
48010 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48012 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48014 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48016 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48017 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48020 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48021 (INTERNAL_SYSCALL_TYPES): Likewise.
48022 (LOAD_ARGS_TYPES_[1-6]): Likewise.
48023 (LOAD_REGS_TYPES_[1-6]): Likewise.
48024 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48025 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48027 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48029 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48030 copysignl for GLIBC_2_0.
48031 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48032 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48034 logbl for GLIBC_2_0.
48035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48036 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48038 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48046 * time/mktime.c: Update copyright years.
48048 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
48050 mktime: merge comment-quoting-style change from gnulib
48051 * time/mktime.c: Quote 'like this' in comments.
48052 The GNU coding standards suggest that we no longer quote `like this',
48053 as "`" and "'" are typically rendered asymmetrically nowadays.
48054 The typical gnulib style is to quote 'like this' when quoting
48055 code, and "like this" when quoting English.
48057 * time/mktime.c (compile-command): Add "-I.".
48059 mktime: merge mktime-internal.h change from gnulib
48060 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48062 mktime: merge time_r change from gnulib
48063 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48065 mktime: merge DEBUG change from gnulib
48066 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48067 case system <time.h> has a #define.
48069 mktime: merge <sys/types.h> change from gnulib
48070 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48071 since <time.t> is now guaranteed to define time_t.
48073 mktime: merge HAVE_CONFIG_H change from gnulib
48074 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48076 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
48078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48081 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48083 (struct rusage): Use anonymous union to pad each field to
48086 2012-05-21 David S. Miller <davem@davemloft.net>
48088 * Makefules (o-iterator): Remove .s cases.
48089 (compile-command.s): Delete.
48090 (COMPILE.s): Delete.
48091 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48093 2012-05-21 Joseph Myers <joseph@codesourcery.com>
48095 * configure.in (libc_cv_predef_stack_protector): Only consider
48096 "foobar" and "__stack_chk_fail" lines in libc_undefs.
48097 * configure: Regenerated.
48099 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48102 New macro. Use R*LP on int and pointer.
48103 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48104 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48105 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48106 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48108 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48109 [__WORDSIZE_TIME64_COMPAT32] instead of
48110 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48111 (struct utmp): Likewise.
48112 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48113 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48115 (__WORDSIZE_TIME64_COMPAT32): This.
48116 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48117 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48118 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48119 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48120 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48121 (__WORDSIZE_TIME64_COMPAT32): New macro.
48123 2012-05-21 Andreas Jaeger <aj@suse.de>
48125 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48126 only if [SHARED]. Add prototype for __wcschr_ia32.
48128 2012-05-21 Roland McGrath <roland@hack.frob.com>
48130 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48131 of %rbp unmolested in the jmp_buf while mangling the low bits.
48132 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48133 unmolested high bits of %rbp while demangling the low bits.
48134 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48136 2012-05-21 Andreas Jaeger <aj@suse.de>
48138 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48139 * sunrpc/svc_simple.c: Use it for registerrpc.
48140 * sunrpc/xcrypt.c: Use it for passwd2des.
48142 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48144 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48146 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48147 Don't define if [__SYSCALL_WORDSIZE != 32].
48148 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48151 2012-05-21 Bruno Haible <bruno@clisp.org>
48152 Andreas Jaeger <aj@suse.de>
48154 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48155 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48156 inptr and inend for must_buffer_ch.
48157 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48158 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48159 * stdio-common/Makefile (tests): Remove bug15.
48160 (bug15-ENV): Remove macro.
48161 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48164 2012-05-19 Andreas Jaeger <aj@suse.de>
48165 Roland McGrath <roland@hack.frob.com>
48167 * manual/contrib.texi: Completely rewritten. It contains now an
48168 alphabetical list of contributors and their contributions.
48170 2012-05-21 Richard Henderson <rth@twiddle.net>
48172 * misc/getauxval.c (__getauxval): Use unsigned long int.
48173 * misc/sys/auxv.h: Include <sys/cdefs.h>.
48174 (getauxval): Use unsigned long int.
48176 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
48178 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48180 2012-05-21 Roland McGrath <roland@hack.frob.com>
48182 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48183 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48184 __alignof__ (long double).
48186 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48190 2012-05-20 Richard Henderson <rth@twiddle.net>
48192 * misc/getauxval.c: New file.
48193 * misc/sys/auxv.h: New file.
48194 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48195 (routines): Add getauxval.
48196 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48197 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48198 * elf/dl-sysdep.c (_dl_auxv): Remove.
48199 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48200 * elf/dl-support.c (_dl_auxv): New variable.
48201 (_dl_aux_init): Initialize it.
48202 * manual/startup.texi (Auxiliary Vector): New node.
48203 * sysdeps/generic/bits/hwcap.h: New file.
48204 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48205 * sysdeps/powerpc/sysdep.h: ... here. Include it.
48206 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48207 * sysdeps/sparc/sysdep.h: ... here. Include it.
48208 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48209 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48221 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48225 2012-05-19 David S. Miller <davem@davemloft.net>
48227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48229 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48232 * math/s_ccosh.c: Include <float.h>
48233 (__ccosh): Avoid internal overflow calculating sinh and cosh
48234 values before multiplying by sin and cos values.
48235 * math/s_ccoshf.c: Likewise.
48236 * math/s_ccoshl.c: Likewise.
48237 * math/s_csin.c: Likewise.
48238 * math/s_csinf.c: Likewise.
48239 * math/s_csinl.c: Likewise.
48240 * math/s_csinh.c: Likewise.
48241 * math/s_csinhf.c: Likewise.
48242 * math/s_csinhl.c: Likewise.
48243 * math/libm-test.inc (ccos_test): Add more tests.
48244 (ccosh_test): Likewise.
48245 (csin_test): Likewise.
48246 (csinh_test): Likewise.
48247 * sysdeps/i386/fpu/libm-test-ulps: Update.
48248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48250 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
48252 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48253 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48255 * sysdeps/x86_64/x32/_itoa.h: Add comment.
48257 2012-05-19 Joseph Myers <joseph@codesourcery.com>
48259 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48260 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48261 * sysdeps/powerpc/soft-fp/Versions: Likewise.
48262 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48263 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48264 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48265 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48266 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48267 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48268 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48269 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48270 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48271 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48272 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48273 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48274 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48275 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48276 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48277 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48278 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48279 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48280 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48281 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48282 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48283 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48284 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48285 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48286 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48287 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48288 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48289 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48291 2012-05-18 Andreas Jaeger <aj@suse.de>
48293 * csu/.gitignore: Delete.
48295 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48297 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48298 (timex): Use __syscall_slong_t.
48300 2012-05-18 Andreas Jaeger <aj@suse.de>
48301 Carlos O'Donell <carlos_odonell@mentor.com>
48303 * manual/install.texi (Configuring and compiling): Update
48304 description about files modified in the source directory.
48305 * INSTALL: Regenerated.
48307 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48309 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48310 value. Use "or" to set return value to -1.
48311 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48312 negate return value.
48314 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48316 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48317 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48318 failure if the compiler has Graphite support disabled.
48319 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48321 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48322 (CFLAGS-memmove.c): Likewise.
48323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48326 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
48328 * sysdeps/x86_64/x32/_itoa.h: New file.
48330 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48331 getdents system call only if kernel and user dirents have the
48332 same d_ino and d_off.
48334 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48335 LLONG_MAX != LONG_MAX.
48336 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48337 (_fitoa_word): Likewise.
48339 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48341 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48342 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48343 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48345 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48346 include <bits/wordsize.h>. Check __x86_64__ instead of
48348 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48349 if __x86_64__ is defined. Use anonymous union on fpstate.
48351 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48354 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
48356 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48357 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48358 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48359 Refer to _rtld_local_ro instead of _rtld_global_ro.
48360 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48362 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48364 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48366 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48367 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48368 of _rtld_global, and rtld_progname instead of _dl_argv[0].
48370 * sysdeps/powerpc/powerpc32/dl-machine.c
48371 (__elf_machine_runtime_setup) [PROF]: Don't reference
48374 2012-05-18 Andreas Jaeger <aj@suse.de>
48376 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48377 function only available for GCCs before 3.4 since GCC 3.4
48378 introduced a builtin.
48380 (llrintf): Likewise.
48381 (llrint): Likewise.
48388 (nearbyint): Likewise.
48389 (nearbyintf): Likewise.
48393 (floorf): Likewise.
48395 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48397 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48398 on both fields and cast pointer to __syscall_ulong_t.
48400 * bits/types.h (__fsword_t): New type.
48401 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48402 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48403 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48404 (__FSWORD_T_TYPE): Likewise.
48405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48406 (__FSWORD_T_TYPE): Likewise.
48407 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48408 (__FSWORD_T_TYPE): Likewise.
48409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48410 (__FSWORD_T_TYPE): Likewise.
48411 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48412 __SWORD_TYPE with __fsword_t.
48413 (statfs64): Likewise.
48415 2012-05-17 David S. Miller <davem@davemloft.net>
48417 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48419 2012-05-17 Andreas Jaeger <aj@suse.de>
48421 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48424 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48426 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48428 2012-05-17 Andreas Jaeger <aj@suse.de>
48430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48433 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48435 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48437 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48439 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48440 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48442 2012-05-17 Andreas Jaeger <aj@suse.de>
48443 Carlos O'Donell <carlos_odonell@mentor.com>
48446 * sysdeps/x86_64/multiarch/init-arch.h
48447 (bit_YMM_Usable): Rename to...
48448 (bit_AVX_Usable): ... this.
48449 (bit_FMA4_Usable): New macro.
48450 (bit_XMM_state): New macro.
48451 (bit_YMM_state): New macro.
48452 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48453 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48454 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48455 (CPUID_OSXSAVE): New macro.
48456 (CPUID_AVX): New macro.
48457 (CPUID_FMA4): New macro.
48458 (index_YMM_Usable): Rename to...
48459 (index_AVX_Usable): ... this.
48460 (HAS_AVX): Use HAS_ARCH_FEATURE.
48461 (HAS_FMA4): Likewise.
48462 (HAS_YMM_USABLE): Remove.
48463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48464 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48466 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48467 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48468 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48469 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48470 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48472 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48474 * math/libm-test.c: Support platforms without multiple rounding modes.
48475 * math/bug-nextafter.c: Support platforms without FP exceptions.
48476 * math/bug-nexttoward.c: Likewise.
48477 * math/test-fenv.c: Likewise.
48478 * math/test-misc.c: Likewise.
48479 * stdlib/bug-getcontext.c: Likewise.
48481 2012-05-17 Andreas Jaeger <aj@suse.de>
48483 * manual/examples/search.c (critter_cmp): Change signature to
48485 * manual/string.texi (Collation Functions): Likewise.
48487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48489 * bits/types.h: Fold copyright years.
48490 * bits/typesizes.h: Likewise.
48491 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48495 * time/time.h: Likewise.
48497 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48500 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48501 in instead of returning them. Return void.
48502 (__libc_mallinfo): Accumulate over all arenas.
48503 (__malloc_stats): Adjust for change in int_mallinfo interface.
48505 2012-05-16 Roland McGrath <roland@hack.frob.com>
48508 * configure.in (NM): Add AC_CHECK_TOOL for it.
48509 (libc_extra_cflags): New substituted variable.
48510 Check for -fstack-protector being used implicitly.
48511 * configure: Regenerated.
48512 * config.make.in (config-extra-cflags): New variable,
48513 gets @libc_extra_cflags@.
48514 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48517 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48518 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48519 * configure: Regenerated.
48520 * config.make.in (CPPUNDEFS): New substituted variable.
48521 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48522 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48523 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48527 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48528 (mq_attr): Use __syscall_slong_t.
48530 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48532 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48533 Check __x86_64__ instead of __WORDSIZE.
48534 (_STAT_VER_LINUX): Likewise.
48535 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48536 __syscall_ulong_t and __syscall_slong_t.
48537 (stat64): Likewise.
48539 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48545 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48547 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48549 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48552 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48553 include <bits/wordsize.h>. Check __x86_64__ instead of
48555 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48557 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48560 include <bits/wordsize.h>. Check __x86_64__ instead of
48562 (user_regs_struct): Use "__extension__ unsigned long long"
48563 instead of "unsigned long" if __x86_64__ is defined.
48564 (user): Likewise. Pad after pointer field if __ILP32__ is
48567 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48569 * configure.in (makeinfo): Require version 4.5 or later. Allow
48571 * configure: Regenerated.
48572 * manual/install.texi (texinfo): Increase version requirement to
48574 * INSTALL: Regenerated.
48576 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48578 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48580 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48582 * sysdeps/x86_64/x32/ffs.c: New file.
48584 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48586 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48587 defined. Use __syscall_ulong_t.
48588 (shminfo): Use __syscall_ulong_t.
48589 (shm_info): Likewise.
48591 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48594 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48596 (msgqnum_t): Use __syscall_ulong_t.
48597 (msglen_t): Likewise.
48598 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48601 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48602 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48604 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48606 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48607 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48609 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48612 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48613 include <bits/wordsize.h>. Check __x86_64__ instead of
48616 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48617 "unsigned long long int" if __x86_64__ is defined.
48618 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48620 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48621 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48622 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48624 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48626 (GET_PC): Cast to uintptr_t first.
48627 (GET_FRAME): Likewise.
48628 (GET_STACK): Likewise.
48630 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48631 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48632 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48633 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48634 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48635 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48636 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48637 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48638 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48639 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48640 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48641 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48642 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48643 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48644 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48645 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48646 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48647 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48648 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48649 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48650 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48651 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48652 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48653 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48654 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48655 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48656 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48657 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48658 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48660 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48662 * Makerules (+depfiles): Also collect depfiles from .oS in
48664 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48665 .oS, $(libnldbl-routines)).
48667 * Makerules (native-compile-mkdep-flags): Define.
48668 * sunrpc/Makefile (extra-objs): Add $(addprefix
48669 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48670 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48671 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48672 calling $(make-target-directory).
48674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48676 * bits/types.h (__snseconds_t): Removed.
48677 * time/time.h (struct timespec): Replace __snseconds_t with
48679 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48680 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48682 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48683 (__SNSECONDS_T_TYPE): Likewise.
48684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48685 (__SNSECONDS_T_TYPE): Likewise.
48686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48687 (__SNSECONDS_T_TYPE): Likewise.
48689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48691 * sysdeps/mach/hurd/bits/typesizes.h
48692 (__SYSCALL_SLONG_TYPE): New macro.
48693 (__SYSCALL_ULONG_TYPE): Likewise.
48695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48697 * bits/types.h (__syscall_slong_t): New type.
48698 (__syscall_ulong_t): Likewise.
48700 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48701 (__SYSCALL_ULONG_TYPE): Likewise.
48702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48703 (__SYSCALL_SLONG_TYPE): Likewise.
48704 (__SYSCALL_ULONG_TYPE): Likewise.
48705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48706 (__SYSCALL_SLONG_TYPE): Likewise.
48707 (__SYSCALL_ULONG_TYPE): Likewise.
48708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48709 (__SYSCALL_SLONG_TYPE): Likewise.
48710 (__SYSCALL_ULONG_TYPE): Likewise.
48712 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48714 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48715 Add sigaltstack-offsets.sym.
48716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48717 <sigaltstack-offsets.h>.
48718 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48719 longjmp_msg pointer.
48720 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48721 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48723 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48725 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48727 * elf/stackguard-macros.h: Remove file.
48728 * sysdeps/generic/stackguard-macros.h: New file.
48729 * sysdeps/i386/stackguard-macros.h: Likewise.
48730 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48731 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48732 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48733 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48734 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48735 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48736 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48737 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48738 <elf/stackguard-macros.h>.
48741 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48742 __aligned__ in attribute.
48743 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48744 (gregset_t): Likewise.
48746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48748 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48749 * sysdeps/x86_64/64/Implies-after: Here. New file.
48750 * sysdeps/x86_64/x32/Implies-after: New file.
48752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48754 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48755 and access return value for _dl_profile_fixup. Use R10_LP to
48758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48760 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48764 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48765 * sysdeps/x86_64/x32/sysdep.h: New file.
48767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48769 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48770 * sysdeps/x86_64/setjmp.S: Likewise.
48772 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48774 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48775 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48776 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48777 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48778 remove unused global constant.
48780 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48782 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48783 include of <not-cancel.h>.
48785 2012-05-15 Roland McGrath <roland@hack.frob.com>
48787 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48789 2012-05-15 Jeff Law <law@redhat.com>
48790 Andreas Jaeger <aj@suse.de>
48793 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48795 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48796 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48797 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48798 code changing __hst_map_handle.map.
48800 2012-05-15 Roland McGrath <roland@hack.frob.com>
48802 * configure.in (sysnames): Look for Implies-before and Implies-after
48804 * configure: Regenerated.
48806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48809 8-byte data alignment with LP_SIZE alignment.
48811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48813 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48818 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48822 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48823 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48824 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48826 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48830 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48831 (stackinfo_sub_sp): Likewise.
48833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48840 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48845 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48850 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48854 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48855 into R11_LP and load __x86_64_shared_cache_size_half into
48858 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48863 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48872 powerpc32/power7/fpu/s_logb.c via #include.
48873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48874 powerpc32/power7/fpu/s_logbf.c via #include.
48875 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48876 powerpc32/power7/fpu/s_logbl.c via #include.
48878 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48880 * README.libm: Remove file.
48882 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48884 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48885 count for x32. Use R*_LP and omit operand-size suffix.
48887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48889 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48890 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48891 * sysdeps/x86_64/x32/shlib-versions: New file.
48893 2012-05-14 Roland McGrath <roland@hack.frob.com>
48895 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48896 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48897 Use _dl_fatal_printf instead.
48899 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48901 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48902 set if not set by the user. Do not allow for being unset.
48903 * sysdeps/unix/sysv/linux/configure: Regenerated.
48905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48907 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48908 the `q' suffix from lea and replace .quad with ASM_ADDR.
48910 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48913 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48915 (PTR_DEMANGLE): Likewise.
48917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48919 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48921 (ASM_ADDR): Likewise.
48922 (RAX_LP): Likewise.
48923 (RBP_LP): Likewise.
48924 (RBX_LP): Likewise.
48925 (RCX_LP): Likewise.
48926 (RDI_LP): Likewise.
48927 (RSI_LP): Likewise.
48928 (RSP_LP): Likewise.
48931 (R10_LP): Likewise.
48932 (R10_LP): Likewise.
48933 (R11_LP): Likewise.
48934 (R12_LP): Likewise.
48935 (R13_LP): Likewise.
48936 (R14_LP): Likewise.
48937 (R15_LP): Likewise.
48939 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48941 * sysdeps/x86_64/x32/dl-machine.h: New file.
48943 2012-05-14 Andreas Jaeger <aj@suse.de>
48945 * manual/Makefile (subdir): Remove export of subdir.
48946 (all): Remove target.
48947 (.PHONY): Remove all from list.
48948 (mkinstalldirs): Remove.
48949 (.PHONY): Remove installdirs from list.
48950 ($(inst_infodir)/libc.info): Use make-target-directory.
48951 (installdirs): Remove.
48952 (subdir_%): Remove.
48953 (glibc-targets): Remove.
48956 ($(objpfx)stubs ../po/manual.pot): Remove.
48957 ($(objpfx)stamp%): Remove.
48958 (make-target-directory): Remove.
48959 (subdir_install): Remove.
48960 (routines): Remove.
48967 * manual/.gitignore: Remove, it's not needed anymore.
48968 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48970 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48972 (texis): Renamed to $(objpfx)texis.
48973 (texis-path): New, contains path to generated files.
48974 (chapters.%): Use texis-path for complete path, add extra argument
48976 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48977 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48978 (summary,texi, stamp-summary): Use complete path of
48979 files. Generate files in build dir.
48980 (dir-add.texi): Build in build dir.
48981 (libm-err.texi,stamp-libm-err): Likewise.
48982 (version.texi, stamp-version): Likewise.
48983 (.%c.texi): Likewise.
48984 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48985 (mostlyclean): Remove target.
48986 (realclean): Remove target.
48987 (generated): Add new variable with contents from mostlyclean and
48988 realclean, remove entries duplicated in common-mostlyclean, add
48989 stamp-libm-err and stamp-version.
48990 (generated-dirs): Add libc directory.
48991 ($(inst_infodir)/libc.info): Install files from build dir.
48993 * manual/install.texi (Configuring and compiling): Adjust since
48994 the info files are not part of the tar ball anymore.
48996 2012-05-14 Andreas Jaeger <aj@suse.de>
48998 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49001 2012-05-14 Joseph Myers <joseph@codesourcery.com>
49004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49005 to 2.2.0 where earlier.
49006 * sysdeps/unix/sysv/linux/configure: Regenerated.
49007 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49008 Remove conditional code.
49009 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49010 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49011 Remove conditional code.
49012 [!__NR_lchown]: Likewise.
49013 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49014 [__NR_lchown]: Likewise.
49015 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49016 comment referencing __ASSUME_LCHOWN_SYSCALL.
49017 * sysdeps/unix/sysv/linux/i386/sigaction.c
49018 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49019 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49020 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49021 Remove conditional code.
49022 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49023 (__protocol_available): Remove #if 0 code.
49024 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49026 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49027 * sysdeps/unix/sysv/linux/kernel-features.h
49028 (__ASSUME_GETCWD_SYSCALL): Don't define.
49029 (__ASSUME_REALTIME_SIGNALS): Likewise.
49030 (__ASSUME_PREAD_SYSCALL): Likewise.
49031 (__ASSUME_PWRITE_SYSCALL): Likewise.
49032 (__ASSUME_POLL_SYSCALL): Likewise.
49033 (__ASSUME_LCHOWN_SYSCALL): Likewise.
49034 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49036 (__ASSUME_SIOCGIFNAME): Don't define.
49037 (__ASSUME_MSG_NOSIGNAL): Likewise.
49038 (__ASSUME_SENDFILE): Define unconditionally.
49039 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49040 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49042 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49043 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49044 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49045 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49046 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49047 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49048 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49050 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49053 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49056 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49059 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49062 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49065 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49073 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49074 Remove conditional code.
49075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49076 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49077 Remove conditional code.
49078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49079 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49080 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49081 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49082 Remove conditional code.
49083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49084 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49085 Remove conditional code.
49086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49087 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49088 Remove conditional code.
49089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49090 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49091 Remove conditional code.
49092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49093 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49094 Remove conditional code.
49095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49096 * sysdeps/unix/sysv/linux/sh/pwrite64.c
49097 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49099 * sysdeps/unix/sysv/linux/sigaction.c
49100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49102 * sysdeps/unix/sysv/linux/sigpending.c
49103 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49104 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49105 * sysdeps/unix/sysv/linux/sigprocmask.c
49106 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49107 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49108 * sysdeps/unix/sysv/linux/sigsuspend.c
49109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49112 (__libc_missing_rt_sigs): Remove.
49113 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49114 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49115 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49116 Remove conditional code.
49117 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49118 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49120 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49121 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49122 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49123 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49125 2012-05-14 Andreas Jaeger <aj@suse.de>
49127 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49128 it's not used in glibc.
49129 (__coshm1): Likewise.
49130 (__acosh1p): Likewise.
49133 * manual/string.texi (Copying and Concatenation): Add missing
49134 variable in concat example.
49135 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49141 __builtin_clzl with __builtin_clzll.
49143 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
49146 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49149 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49151 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49152 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49153 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49154 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49156 2012-05-14 Mike Frysinger <vapier@gentoo.org>
49158 * NEWS: Update ia64 info.
49160 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
49162 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49165 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
49167 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49168 * sysdeps/unix/syscalls.list (dup3): Likewise.
49169 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49170 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49172 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49174 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49175 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49177 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
49179 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49181 (TLS_IE): Use mov/add instead of movq/addq to load thread
49183 (TLS_GD_PREFIX): New.
49186 2012-05-11 David S. Miller <davem@davemloft.net>
49188 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49189 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49190 (_FPU_SETCW): Likewise.
49192 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49194 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49195 is 32-byte aligned.
49197 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
49200 * iconvdata/gb18030.c: Update tables.
49201 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
49202 characters specially.
49203 (BODY for TO_LOOP): Add encoding of missing ranges.
49205 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
49208 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49209 * sysdeps/mach/hurd/dup3.c: Likewise.
49210 * sysdeps/mach/hurd/readlinkat.c: Likewise.
49211 * sysdeps/powerpc/memmove.c:: Likewise.
49213 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49216 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49218 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49220 * elf/elf.h (R_X86_64_RELATIVE64): New.
49221 (R_X86_64_NUM): Updated.
49222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49223 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
49224 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49225 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49226 tst-quad1pie tst-quad2pie
49227 (modules-names): Add tst-quadmod1 tst-quadmod2.
49228 ($(objpfx)tst-quad1): New dependency.
49229 ($(objpfx)tst-quad2): Likewise.
49230 ($(objpfx)tst-quad1pie): Likewise.
49231 ($(objpfx)tst-quad2pie): Likewise.
49232 * sysdeps/x86_64/tst-quad1.c: New file.
49233 * sysdeps/x86_64/tst-quad1pie.c: New file.
49234 * sysdeps/x86_64/tst-quad2.c: Likewise.
49235 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49236 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49237 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49238 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49239 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49241 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49243 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49244 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49245 * streams/stropts.h (t_scalar_t): Define type.
49247 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49248 (_PATH_PRESERVE): Set to "/var/lib".
49249 (_PATH_RWHODIR): Set to "/var/spool/rwho".
49251 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49254 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49255 if __dir_mkfile succeeded.
49257 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49258 checking for _hurd_dtablesize. Unlock it right after having
49259 finished _hurd_dtable allocation.
49261 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49263 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49264 * sysdeps/mach/hurd/configure: Regenerated.
49265 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49266 special-casing to...
49267 * sysdeps/gnu/configure.in: ... this new file.
49268 * sysdeps/unix/sysv/linux/configure: Regenerated.
49269 * sysdeps/gnu/configure: New generated file.
49271 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49272 for Linux: use nsec instead of usec, as well as:
49273 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49274 members of type struct timespec.
49275 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49277 (struct stat64): Likewise.
49278 (_STATBUF_ST_NSEC): New macro.
49279 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49281 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49282 __strtoul_internal rather than strtoul.
49284 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49286 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49291 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49292 which preserves existing values.
49293 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49295 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49297 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49298 TIMEOUT values. Return EINVAL for NFDS values either negative or
49299 greater than FD_SETSIZE.
49301 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49303 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49304 allocated, call __vm_protect to finish enabling the existing space, and
49305 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49306 allocate the remainder.
49308 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49310 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49311 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
49313 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49315 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49316 sysdeps/mach/hurd/readlink.c.
49318 * posix/tst-sysconf.c (posix_options): Only use
49319 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49320 _POSIX_SYNCHRONIZED_IO when they are defined
49321 * sysdeps/mach/hurd/bits/posix_opt.h:
49322 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49323 (_XOPEN_REALTIME): Undefine macro.
49324 (_XOPEN_REALTIME_THREADS): Undefine macro.
49325 (_XOPEN_SHM): Undefine macro.
49326 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49328 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49330 (_POSIX_ASYNC_IO): Undefine macro.
49331 (_POSIX_PRIORITIZED_IO): Undefine macro.
49332 (_POSIX_SPIN_LOCKS): Define macro to -1.
49334 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49335 SA_NODEFER, SA_RESETHAND.
49336 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49337 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49342 * elf/Makefile (pldd-modules): Define unconditionally.
49344 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49346 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49348 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49350 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49351 Return ENOENT when name is empty.
49352 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49354 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49356 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49358 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49360 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49362 Fix mlock in all cases except non-readable pages.
49363 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49364 instead of VM_PROT_ALL as parameter to __vm_wire function.
49366 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49367 (__mkdir): When path is `/', just fail with EEXIST.
49368 * sysdeps/mach/hurd/mkdirat.c: Likewise.
49370 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49372 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49373 <sys/uio.h> (for writev).
49374 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49375 and <sys/param.h> (for MIN).
49377 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
49379 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49380 REQUESTED_TIME. Properly set the remaining time and return EINTR
49383 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49385 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49386 Depend on against $(link-rpcuserlibs).
49388 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49390 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49391 (__libc_stack_end): Do not use attribute_relro.
49392 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49393 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49394 to libthread-provided value.
49395 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49398 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49401 * bits/libc-lock.h (__libc_once_get): New macro.
49402 * sysdeps/mach/bits/libc-lock.h: Likewise.
49403 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49405 instead of using implementation details.
49407 * libio/fileops.c: Unconditionally include <kernel-features.h>.
49408 * libio/freopen.c: Likewise.
49409 * libio/freopen64.c: Likewise.
49410 * misc/syslog.c: Likewise.
49411 * nscd/connections.c: Likewise.
49412 * nscd/netgroupcache.c: Likewise.
49413 * sysdeps/posix/getcwd.c: Likewise.
49415 2012-05-10 Roland McGrath <roland@hack.frob.com>
49417 * math/w_ilogbf.c: Add #include <limits.h>.
49419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49421 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49422 path instead of returning without unlocking.
49424 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49425 immediate-write ioctls.
49426 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49430 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49431 __builtin_frame_address instead of making assumptions about the
49432 location of the return address relative to DATA. Force early load of
49433 the return address.
49434 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49435 __builtin_frame_address.
49438 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49439 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49440 implement dup3 and do some further code clean-ups.
49441 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49442 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49446 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49448 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49449 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49450 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49451 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49452 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49455 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49456 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49457 when handler == SIG_ERR, not when handler != SIG_ERR.
49459 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49461 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49462 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49465 accept4 for GNU Hurd.
49466 * include/sys/socket.h (__libc_accept4): New prototype.
49467 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49468 to implement __libc_accept4.
49469 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49471 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49473 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49474 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49475 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49476 signal-defines.sym.
49478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49480 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49484 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49485 assertion on O_CLOEXEC flag.
49486 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49487 * hurd/intern-fd.c: Likewise.
49488 * hurd/port2fd.c: Likewise.
49490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49493 * bits/in.h (IPV6_PKTINFO): Define new macro.
49494 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49496 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49501 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49503 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49504 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49506 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49507 * math/libm-test.inc (logb_test) : Additional logb tests.
49509 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49510 Andreas Jaeger <aj@suse.de>
49512 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49513 * configure: Regenerated.
49514 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49515 * config.make.in (link-obsolete-rpc): New substituted variable.
49516 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49517 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49518 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49519 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49520 so that libc.a contains the symbols.
49521 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49522 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49523 * sunrpc/auth_none.c: Likewise.
49524 * sunrpc/auth_unix.c: Likewise.
49525 * sunrpc/authdes_prot.c: Likewise.
49526 * sunrpc/authuxprot.c: Likewise.
49527 * sunrpc/clnt_gen.c: Likewise.
49528 * sunrpc/clnt_perr.c: Likewise.
49529 * sunrpc/clnt_raw.c: Likewise.
49530 * sunrpc/clnt_simp.c: Likewise.
49531 * sunrpc/clnt_tcp.c: Likewise.
49532 * sunrpc/clnt_udp.c: Likewise.
49533 * sunrpc/clnt_unix.c: Likewise.
49534 * sunrpc/des_crypt.c: Likewise.
49535 * sunrpc/des_soft.c: Likewise.
49536 * sunrpc/get_myaddr.c: Likewise.
49537 * sunrpc/key_call.c: Likewise.
49538 * sunrpc/key_prot.c: Likewise.
49539 * sunrpc/netname.c: Likewise.
49540 * sunrpc/pm_getmaps.c: Likewise.
49541 * sunrpc/pm_getport.c: Likewise.
49542 * sunrpc/pmap_clnt.c: Likewise.
49543 * sunrpc/pmap_prot.c: Likewise.
49544 * sunrpc/pmap_prot2.c: Likewise.
49545 * sunrpc/pmap_rmt.c: Likewise.
49546 * sunrpc/publickey.c: Likewise.
49547 * sunrpc/rpc_cmsg.c: Likewise.
49548 * sunrpc/rpc_common.c: Likewise.
49549 * sunrpc/rpc_dtable.c: Likewise.
49550 * sunrpc/rpc_prot.c: Likewise.
49551 * sunrpc/rpc_thread.c: Likewise.
49552 * sunrpc/rtime.c: Likewise.
49553 * sunrpc/svc.c: Likewise.
49554 * sunrpc/svc_auth.c: Likewise.
49555 * sunrpc/svc_raw.c: Likewise.
49556 * sunrpc/svc_run.c: Likewise.
49557 * sunrpc/svc_tcp.c: Likewise.
49558 * sunrpc/svc_udp.c: Likewise.
49559 * sunrpc/svc_unix.c: Likewise.
49560 * sunrpc/svcauth_des.c: Likewise.
49561 * sunrpc/xcrypt.c: Likewise.
49562 * sunrpc/xdr.c: Likewise.
49563 * sunrpc/xdr_array.c: Likewise.
49564 * sunrpc/xdr_float.c: Likewise.
49565 * sunrpc/xdr_intXX_t.c: Likewise.
49566 * sunrpc/xdr_mem.c: Likewise.
49567 * sunrpc/xdr_rec.c: Likewise.
49568 * sunrpc/xdr_ref.c: Likewise.
49569 * sunrpc/xdr_sizeof.c: Likewise.
49570 * sunrpc/xdr_stdio.c: Likewise.
49572 2012-05-10 Roland McGrath <roland@hack.frob.com>
49574 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49575 change. Update copyright years.
49577 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49579 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49581 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49582 Joseph Myers <joseph@codesourcery.com>
49583 Paul Pluzhnikov <ppluzhnikov@google.com>
49586 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49588 [cross-compiling] (extra-libs): Likewise.
49589 [cross-compiling] (extra-libs-others): Likewise.
49590 [cross-compiling] (librpcsvc-routines): Likewise.
49591 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49592 [cross-compiling] (omit-deps): Likewise.
49593 (sunrpc-CPPFLAGS): New variable.
49594 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49595 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49596 (cross-rpcgen-objs): New variable.
49597 (extra-objs): Append $(cross-rpcgen-objs).
49598 ($(cross-rpcgen-objs)): New rule.
49599 ($(objpfx)cross-rpcgen): Likewise.
49600 (rpcgen-cmd): Define to use $(built-program-file). Expand
49602 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49603 ($(objpfx)x%.stmp): Likewise.
49604 * sunrpc/proto.h [IS_IN_build] (_): Define.
49605 [IS_IN_build] (_libc_intl_domainname): Likewise.
49607 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49609 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49610 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49611 and R_X86_64_TPOFF64.
49613 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49615 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49616 sysdeps/unix/sysv/syscalls.list.
49619 * sysdeps/unix/sysv/syscalls.list: Remove file.
49621 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49624 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49625 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49626 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49627 (__LC_IDENTIFICATION): Make these macros useful in #if
49628 expressions, as required by C99.
49630 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49632 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49633 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49636 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49638 * stdlib/longlong.h: Updated from GCC.
49640 2012-05-09 Andreas Jaeger <aj@suse.de>
49642 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49643 default is first entry.
49644 (run_mode): Set type.
49645 (main): Remove informal message about syslog.
49646 (options): Fix typo.
49649 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49652 (llrintf): Likewise.
49653 (llrint): Likewise.
49656 (nearbyint): Likewise.
49657 (nearbyintf): Likewise.
49659 2012-05-09 Andreas Jaeger <aj@suse.de>
49660 Pedro Alves <palves@redhat.com>
49662 * nscd/nscd.c (run_mode): Use enum.
49663 (main): Cleanup coding style issue.
49665 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49666 Andreas Jaeger <aj@suse.de>
49668 * nscd/nscd.c (go_background): Replaced with...
49669 (run_mode): ... this.
49670 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49671 (options): Add -F --foreground.
49672 (main): Implement it.
49673 (parse_opt): Parse it.
49675 2012-05-09 Andreas Jaeger <aj@suse.de>
49678 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49679 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49680 -Wconversion warning.
49681 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49684 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49686 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49688 (LC_ALL): Use macro-int-constant.
49689 (LC_COLLATE): Likewise.
49690 (LC_CTYPE): Likewise.
49691 (LC_MESSAGES): Likewise.
49692 (LC_MONETARY): Likewise.
49693 (LC_NUMERIC): Likewise.
49694 (LC_TIME): Likewise.
49695 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49696 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49698 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49700 [C99-based standards] (float_t): Expect type.
49701 [C99-based standards] (double_t): Expect type.
49702 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49704 [C99-based standards] (HUGE_VALL): Likewise.
49705 [C99-based standards] (INFINITY): Likewise.
49706 [C99-based standards] (NAN): Likewise.
49707 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49708 [C99-based standards] (FP_NAN): Likewise.
49709 [C99-based standards] (FP_NORMAL): Likewise.
49710 [C99-based standards] (FP_SUBNORMAL): Likewise.
49711 [C99-based standards] (FP_ZERO): Likewise.
49712 [C99-based standards] (FP_FAST_FMA): Use
49713 optional-macro-int-constant. Specify type. Require == 1.
49714 [C99-based standards] (FP_FAST_FMAF): Likewise.
49715 [C99-based standards] (FP_FAST_FMAL): Likewise.
49716 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49717 [C99-based standards] (FP_ILOGBNAN): Likewise.
49718 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49720 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49721 [C99-based standards] (math_errhandling): Specify type.
49722 [ISO99 || ISO11] (signgam): Do not allow.
49723 [non-C99-based standards] (copysignf): Do not allow.
49724 [non-C99-based standards] (exp2f): Likewise.
49725 [non-C99-based standards] (log2f): Likewise.
49726 [non-C99-based standards] (modff): Allow.
49727 [non-C99-based standards] (erff): Do not allow.
49728 [non-C99-based standards] (erfcf): Likewise.
49729 [non-C99-based standards] (gammaf): Likewise.
49730 [non-C99-based standards] (hypotf): Likewise.
49731 [non-C99-based standards] (j0f): Likewise.
49732 [non-C99-based standards] (j1f): Likewise.
49733 [non-C99-based standards] (jnf): Likewise.
49734 [non-C99-based standards] (lgammaf): Likewise.
49735 [non-C99-based standards] (tgammaf): Likewise.
49736 [non-C99-based standards] (y0f): Likewise.
49737 [non-C99-based standards] (y1f): Likewise.
49738 [non-C99-based standards] (ynf): Likewise.
49739 [non-C99-based standards] (isnanf): Likewise.
49740 [non-C99-based standards] (acoshf): Likewise.
49741 [non-C99-based standards] (asinhf): Likewise.
49742 [non-C99-based standards] (atanhf): Likewise.
49743 [non-C99-based standards] (cbrtf): Likewise.
49744 [non-C99-based standards] (expm1f): Likewise.
49745 [non-C99-based standards] (ilogbf): Likewise.
49746 [non-C99-based standards] (log1pf): Likewise.
49747 [non-C99-based standards] (logbf): Likewise.
49748 [non-C99-based standards] (nextafterf): Likewise.
49749 [non-C99-based standards] (remainderf): Likewise.
49750 [non-C99-based standards] (rintf): Likewise.
49751 [non-C99-based standards] (scalbf): Likewise.
49752 [non-C99-based standards] (copysignl): Likewise.
49753 [non-C99-based standards] (exp2l): Likewise.
49754 [non-C99-based standards] (log2l): Likewise.
49755 [non-C99-based standards] (modfl): Allow.
49756 [non-C99-based standards] (erfl): Do not allow.
49757 [non-C99-based standards] (erfcl): Likewise.
49758 [non-C99-based standards] (gammal): Likewise.
49759 [non-C99-based standards] (hypotl): Likewise.
49760 [non-C99-based standards] (j0l): Likewise.
49761 [non-C99-based standards] (j1l): Likewise.
49762 [non-C99-based standards] (jnl): Likewise.
49763 [non-C99-based standards] (lgammal): Likewise.
49764 [non-C99-based standards] (tgammal): Likewise.
49765 [non-C99-based standards] (y0l): Likewise.
49766 [non-C99-based standards] (y1l): Likewise.
49767 [non-C99-based standards] (ynl): Likewise.
49768 [non-C99-based standards] (isnanl): Likewise.
49769 [non-C99-based standards] (acoshl): Likewise.
49770 [non-C99-based standards] (asinhl): Likewise.
49771 [non-C99-based standards] (atanhl): Likewise.
49772 [non-C99-based standards] (cbrtl): Likewise.
49773 [non-C99-based standards] (expm1l): Likewise.
49774 [non-C99-based standards] (ilogbl): Likewise.
49775 [non-C99-based standards] (log1pl): Likewise.
49776 [non-C99-based standards] (logbl): Likewise.
49777 [non-C99-based standards] (nextafterl): Likewise.
49778 [non-C99-based standards] (remainderl): Likewise.
49779 [non-C99-based standards] (rintl): Likewise.
49780 [non-C99-based standards] (scalbl): Likewise.
49781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49782 [non-C99-based standards] (FP_*): Do not allow.
49783 [C99-based standards] (FP_*): Change to
49784 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49785 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49787 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49788 (SIG_ERR): Likewise.
49789 [X/Open-based standards] (SIG_HOLD): Likewise.
49790 (SIG_IGN): Likewise.
49791 (SIGABRT): Use macro-int-constant. Specify type. Require
49793 (SIGFPE): Likewise.
49794 (SIGILL): Likewise.
49795 (SIGINT): Likewise.
49796 (SIGSEGV): Likewise.
49797 (SIGTER): Likewise.
49798 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49799 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49800 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49801 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49802 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49803 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49804 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49805 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49806 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49807 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49808 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49809 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49810 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49811 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49812 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49813 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49814 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49815 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49816 [X/Open-based standards] (SIGTRAP): Likewise.
49817 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49818 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49819 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49820 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49821 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49824 2012-05-08 Ian Wienand <ianw@vmware.com>
49827 * time/tzset.c (__tzset_parse_tz): Update default rules for
49828 daylight time changes in the Energy Policy Act of 2005.
49830 2012-05-09 Andreas Jaeger <aj@suse.de>
49833 * elf/ldconfig.c (parse_conf): Change string to make clear that
49834 ldconfig only issued a warning if ld.so.conf does not exist.
49836 2012-05-08 David S. Miller <davem@davemloft.net>
49838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49839 movxtod instead of popping the value on the stack.
49841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49843 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49845 * config.h.in: Add HAVE_ARM_PCS_VFP.
49847 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49850 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49851 checking but the checks are disabled for any reason.
49853 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49855 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49856 and ELF64_R_TYPE with ELFW(R_TYPE).
49858 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49860 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49861 (ulimit): Likewise.
49863 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49864 (settimeofday): Likewise.
49866 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49868 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49869 a struct th_u2 inside the union, and move tu_block/tu_code into
49870 a new th_u3 union of tu_block/tu_code inside of that. Move
49871 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49872 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49873 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49874 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49875 (th_stuff): Change to th_u1.tu_stuff.
49877 (th_msg): Change to th_u1.th_u2.tu_data.
49879 2012-05-07 David S. Miller <davem@davemloft.net>
49881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49884 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49885 (SETUP_PIC_REG): Use it.
49886 (SETUP_PIC_REG_LEAF): Use it.
49888 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49892 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49894 (EXPL_FINITE): Likewise.
49895 (FLDLOG): Likewise.
49896 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49897 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49899 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49901 (EXPL_FINITE): Likewise.
49902 (FLDLOG): Likewise.
49903 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49904 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49906 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49907 test of -max_value argument for long double.
49908 * sysdeps/i386/fpu/libm-test-ulps: Update.
49909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49911 2012-05-06 David S. Miller <davem@davemloft.net>
49913 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49914 quad soft-float symbols whose references which are compiler
49916 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49918 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49924 (EXPL_FINITE): Likewise.
49925 (FLDLOG): Likewise.
49928 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49929 Adjust comments for base varying.
49930 (__expl_finite): Change alias to EXPL_FINITE.
49931 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49933 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49934 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49935 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49936 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49937 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49939 (EXPL_FINITE): Likewise.
49940 (FLDLOG): Likewise.
49943 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49944 Adjust comments for base varying.
49945 (__expl_finite): Change alias to EXPL_FINITE.
49946 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49951 * math/libm-test.inc (check_float_internal): Correct ulp
49952 calculation for subnormal expected results.
49954 2012-05-06 Andreas Jaeger <aj@suse.de>
49956 * Makeconfig (+math-flags): New, set to -frounding-math.
49957 (+cflags): Add +math-flags so that all of glibc gets compiled with
49960 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49962 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49964 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49970 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49971 (__ieee754_expl): Allow for and saturate large arguments.
49972 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49973 (u_threshold): Likewise.
49974 (__exp): Call __ieee754_exp before checking for overflow and
49976 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49977 (u_threshold): Likewise.
49978 (__expf): Call __ieee754_expf before checking for overflow and
49980 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49981 (u_threshold): Likewise.
49982 (__expl): Call __ieee754_expl before checking for overflow and
49984 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49985 (__ieee754_expl): Allow for and saturate large arguments.
49986 * math/libm-test.inc (exp_test): Add another test. Do not allow
49987 missing overflow exception on overflow.
49988 (expm1_test): Do not allow missing overflow exception on overflow.
49990 * sysdeps/i386/fpu/e_expl.c: Move to ...
49991 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49992 rather than using inline asm.
49993 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49994 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49995 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49997 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50000 (signal): Likewise.
50004 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50006 * sysdeps/unix/syscalls.list (adjtime): Add entry from
50007 sysdeps/unix/common/syscalls.list.
50008 (fchmod): Likewise.
50009 (fchown): Likewise.
50010 (ftruncate): Likewise.
50011 (getrusage): Likewise.
50012 (gettimeofday): Likewise.
50013 (setpgid): Likewise.
50014 (setregid): Likewise.
50015 (setreuid): Likewise.
50016 (sigaction): Likewise.
50017 (truncate): Likewise.
50018 (vhangup): Likewise.
50019 * sysdeps/unix/common/syscalls.list: Remove file.
50020 * sysdeps/unix/bsd/Implies: Don't include unix/common.
50021 * sysdeps/unix/sysv/linux/Implies: Likewise.
50023 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
50025 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50027 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50031 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50034 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50037 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50040 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50043 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50046 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50049 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50053 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50057 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50060 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50064 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50068 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50070 * sysdeps/unix/common/bits/dirent.h: Remove file.
50071 * sysdeps/unix/common/bits/fcntl.h: Likewise.
50073 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50074 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50075 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50076 * sysdeps/unix/bsd/isatty.c: Likewise.
50077 * sysdeps/unix/bsd/tcdrain.c: Likewise.
50078 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50079 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50081 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50085 long double comparison inaccuracies.
50086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50089 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
50091 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50094 2012-05-04 Joseph Myers <joseph@codesourcery.com>
50097 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50098 nonzero digits before rounding a hex value.
50099 * stdlib/tst-strtod.c (tests): Add another test.
50101 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50103 * sysdeps/s390/fpu/libm-test-ulps: Update.
50105 2012-05-03 Andreas Jaeger <aj@suse.de>
50107 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50108 does not get optimized out.
50109 (malloc_opt_barrier): New.
50111 2012-05-03 Andreas Jaeger <aj@suse.de>
50112 Roland McGrath <roland@hack.frob.com>
50114 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50115 intermediate file deletion.
50116 (generated): Add .symlist files.
50118 2012-05-03 Joseph Myers <joseph@codesourcery.com>
50121 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50122 Redirect under this condition.
50123 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50124 [__USE_GNU] (__dprintf_chk): Not under this condition.
50125 [__USE_GNU] (__vdprintf_chk): Likewise.
50126 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50127 under this condition.
50128 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50129 [__USE_XOPEN2K8] (dprintf): Define under this condition.
50130 [__USE_XOPEN2K8] (vdprintf): Likewise.
50131 [__USE_GNU] (__dprintf_chk): Not under this condition.
50132 [__USE_GNU] (__vdprintf_chk): Likewise.
50133 [__USE_GNU] (dprintf): Likewise.
50134 [__USE_GNU] (vdprintf): Likewise.
50136 2012-05-03 Roland McGrath <roland@hack.frob.com>
50138 * elf/Makefile (common-generated): Set this instead of generated for
50139 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
50140 $(all-built-dso)-derived lists.
50142 2012-05-03 Andreas Jaeger <aj@suse.de>
50144 * sysdeps/i386/fpu/libm-test-ulps: Update.
50147 * FAQ.in: Likewise.
50148 * scripts/gen-FAQ.pl: Likewise.
50149 * manual/install.texi (Installation): Point to online location of
50151 * Makefile (files-for-dist): Remove FAQ.
50154 2012-05-02 Allan McRae <allan@archlinux.org>
50156 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50157 (LDFLAGS-reldepmod5.so): Likewise.
50158 (LDFLAGS-reldep6mod1.so): Likewise.
50159 (LDFLAGS-reldep6mod4.so): Likewise.
50160 (LDFLAGS-reldep8mod3.so): Likewise.
50161 (LDFLAGS-unload4mod1.so): Likewise.
50162 (LDFLAGS-unload4mod2.so): Likewise.
50163 (LDFLAGS-tst-initorder): Likewise.
50164 (LDFLAGS-tst-initordera2.so): Likewise.
50165 (LDFLAGS-tst-initordera3.so): Likewise.
50166 (LDFLAGS-tst-initordera4.so): Likewise.
50167 (LDFLAGS-tst-initorderb2.so): Likewise.
50168 (LDFLAGS-noload): Likewise.
50169 (LDFLAGS-next): Likewise.
50170 (LDFLAGS-order2mod1.so): Likewise.
50171 (LDFLAGS-order2mod2.so): Likewise.
50172 (LDFLAGS-tst-initorder2): Likewise.
50173 (LDFLAGS-tst-initorder2a.so): Likewise.
50174 (LDFLAGS-tst-initorder2b.so): Likewise.
50175 (LDFLAGS-tst-initorder2c.so): Likewise.
50176 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50178 2012-05-02 David S. Miller <davem@davemloft.net>
50180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50182 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
50185 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50187 2012-05-02 Andreas Jaeger <aj@suse.de>
50189 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50190 since we manipulate rounding mode.
50191 (CPPFLAGS-test-idouble.c): Likewise.
50192 (CPPFLAGS-test-ifloat.c): Likewise.
50193 (CFLAGS-test-ldouble.c): Likewise.
50194 (CFLAGS-test-double.c): Likewise.
50195 (CFLAGS-test-float.c): Likewise.
50196 (CFLAGS-test-misc.c): Likewise.
50197 (CFLAGS-test-test-fenv.c): Likewise.
50199 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50203 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50204 comparisons to determine direction to adjust input.
50206 2012-05-01 Roland McGrath <roland@hack.frob.com>
50208 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50209 output to the target.
50211 * scripts/localplt.awk: New file.
50212 * elf/Makefile ($(objpfx)check-localplt): Target removed.
50213 (check-localplt-CFLAGS): Variable removed.
50214 ($(all-built-dso:=.jmprel)): New static pattern rule.
50215 (generated): Add those targets.
50216 (localplt-built-dso): New variable.
50217 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50219 * elf/check-localplt.c: File removed.
50221 * scripts/check-execstack.awk: New file.
50222 * elf/Makefile ($(objpfx)check-execstack): Target removed.
50223 (check-execstack-CFLAGS): Variable removed.
50224 ($(objpfx)check-execstack.h): Target removed.
50225 ($(objpfx)execstack-default): New target.
50226 (generated): Add that instead of check-execstack.h.
50227 ($(all-built-dso:=.phdr)): New static pattern rule.
50228 (generated): Add those targets.
50229 * elf/check-execstack.c: File removed.
50231 * scripts/check-textrel.awk: New file.
50232 * elf/Makefile ($(objpfx)check-textrel): Target removed.
50233 (check-textrel-CFLAGS): Variable removed.
50234 (all-built-dso): Use := to define.o
50235 ($(all-built-dso:=.dyn)): New static pattern rule.
50236 (generated): Add those targets.
50237 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50238 * config.make.in (READELF): New substituted variable.
50239 * elf/check-textrel.c: File removed.
50241 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50243 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50245 * conform/data/ctype.h-data [C99-based standards] (isblank):
50247 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50248 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50249 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50250 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50251 Specify type. Require positive value.
50252 (EILSEQ): Likewise.
50253 (ERANGE): Likewise.
50254 [ISO || POSIX] (EILSEQ): Do not expect.
50255 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50256 Specify type. Require positive value.
50257 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50258 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50259 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50260 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50261 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50262 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50263 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50264 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50265 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50266 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50267 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50268 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50269 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50270 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50271 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50272 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50273 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50274 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50275 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50276 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50277 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50278 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50279 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50280 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50281 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50282 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50283 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50284 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50285 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50286 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50287 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50288 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50289 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50290 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50291 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50292 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50293 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50294 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50295 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50296 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50297 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50298 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50299 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50300 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50301 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50302 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50303 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50304 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50305 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50306 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50307 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50308 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50309 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50310 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50311 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50312 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50313 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50314 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50315 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50316 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50317 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50318 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50319 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50320 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50321 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50322 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50323 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50324 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50325 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50326 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50327 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50328 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50329 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50330 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50331 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50332 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50333 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50335 (FLT_ROUNDS): Expect as macro, not constant.
50336 (FLT_MANT_DIG): Use macro-int-constant.
50337 (DBL_MANT_DIG): Likewise.
50338 (LDBL_MANT_DIG): Likewise.
50339 (FLT_DIG): Likewise.
50340 (DBL_DIG): Likewise.
50341 (LDBL_DIG): Likewise.
50342 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
50343 (DBL_MIN_EXP): Likewise.
50344 (LDBL_MIN_EXP): Likewise.
50345 (FLT_MAX_EXP): Use macro-int-constant.
50346 (DBL_MAX_EXP): Likewise.
50347 (LDBL_MAX_EXP): Likewise.
50348 (FLT_MAX_10_EXP): Likewise.
50349 (DBL_MAX_10_EXP): Likewise.
50350 (LDBL_MAX_10_EXP): Likewise.
50351 (FLT_MAX): Use macro-constant.
50352 (DBL_MAX): Likewise.
50353 (LDBL_MAX): Likewise.
50354 (FLT_EPSILON): Use macro-constant. Give upper bound.
50355 (DBL_EPSILON): Likewise.
50356 (LDBL_EPSILON): Likewise.
50357 (FLT_MIN): Likewise.
50358 (DBL_MIN): Likewise.
50359 (LDBL_MIN): Likewise.
50360 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50361 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50362 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50363 [ISO11] (FLT_HAS_SUBNORM): Likewise.
50364 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50365 [ISO11] (DBL_DECIMAL_DIG): Likewise.
50366 [ISO11] (FLT_DECIMAL_DIG): Likewise.
50367 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50368 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50369 [ISO11] (FLT_TRUE_MIN): Likewise.
50370 [ISO11] (LDBL_TRUE_MIN): Likewise.
50371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50372 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50373 (SCHAR_MIN): Use macro-int-constant. Specify type.
50374 (SCHAR_MAX): Likewise.
50375 (UCHAR_MAX): Likewise.
50376 (CHAR_MIN): Likewise.
50377 (CHAR_MAX): Likewise.
50378 (MB_LEN_MAX): Use macro-int-constant.
50379 (SHRT_MIN): Use macro-int-constant. Specify type.
50380 (SHRT_MAX): Likewise.
50381 (USHRT_MAX): Likewise.
50382 (INT_MAX): Likewise.
50383 (INT_MIN): Use macro-int-constant. Specify type. Make upper
50385 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
50387 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50389 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
50390 bound negative. Suffix upper bound with "L".
50391 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
50393 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50395 [C99-based standards] (LLONG_MAX): Likewise.
50396 [C99-based standards] (ULLONG_MAX): Likewise.
50397 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
50399 [ISO11] (max_align_t): Require type.
50400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50402 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50403 from $CFLAGS, without defining away __attribute__ calls.
50404 (checknamespace): Use $CFLAGS_namespace.
50406 * conform/conformtest.pl (@keywords): Only include C99 keywords
50407 for standards based on C99 or C11.
50409 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50411 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50414 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50415 usability of symbols in #if.
50417 * conform/conformtest.pl: If macro or constant types start
50418 "promoted:", expect the symbol to be of the following type
50419 promoted by the integer promotions.
50421 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50422 in one place. Also handle "macro-constant".
50424 * conform/conformtest.pl: Only accept expected macro values with
50425 "==". Parse all "macro" lines in one place.
50426 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50428 * conform/conformtest.pl: Handle braced types on "constant" lines
50429 instead of handling "typed-constant".
50430 * conform/data/signal.h-data: Use "constant" instead of
50433 * conform/conformtest.pl: Handle "optional-" at start of lines in
50434 one place rather than duplicating several cases. Handle each
50435 format of "macro" line with initial "optional-".
50437 * conform/conformtest.pl: Only accept expected constant or
50438 optional-constant values with "==". Parse all "constant" lines in
50439 one place. Parse all "optional-constant" lines in one place.
50440 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50441 * conform/data/fmtmsg.h-data: Likewise.
50442 * conform/data/netinet/in.h-data: Likewise.
50443 * conform/data/tar.h-data: Likewise.
50444 * conform/data/limits.h-data: Use "==" form on "constant" and
50445 "optional-constant" lines.
50447 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50448 Use -std=c99 for XOPEN2K.
50449 (@knownproblems): Remove.
50450 (newtoken): Don't check %isknown.
50452 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50453 Do not expect macro.
50454 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50455 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50456 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50457 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50458 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50459 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50460 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50461 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50462 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50463 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50464 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50465 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50466 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50467 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50468 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50469 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50470 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50471 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50472 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50473 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50474 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50475 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50476 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50477 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50478 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50479 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50480 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50481 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50482 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50483 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50484 [XPG3] (acosh): Likewise.
50485 [XPG3] (asinh): Likewise.
50486 [XPG3] (atanh): Likewise.
50487 [XPG3] (cbrt): Likewise.
50488 [XPG3] (expm1): Likewise.
50489 [XPG3] (ilogb): Likewise.
50490 [XPG3] (log1p): Likewise.
50491 [XPG3] (logb): Likewise.
50492 [XPG3] (nextafter): Likewise.
50493 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50494 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50495 [XPG3] (remainder): Likewise.
50496 [XPG3] (rint): Likewise.
50497 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50498 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50499 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50500 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50501 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50502 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50503 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50504 [UNIX98 || XOPEN2K] (scalb): Expect.
50505 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50506 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50507 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50508 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50509 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50510 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50511 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50512 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50513 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50514 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50515 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50516 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50517 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50518 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50519 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50520 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50521 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50522 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50523 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50524 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50525 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50526 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50527 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50528 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50529 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50530 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50531 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50532 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50533 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50534 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50535 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50536 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50537 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50538 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50539 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50540 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50541 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50542 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50543 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50544 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50545 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50546 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50547 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50548 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50549 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50550 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50551 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50552 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50553 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50554 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50555 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50556 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50557 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50558 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50559 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50560 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50561 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50562 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50563 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50564 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50565 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50566 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50567 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50568 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50569 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50570 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50571 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50572 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50573 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50574 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50575 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50576 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50577 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50578 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50579 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50580 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50581 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50582 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50583 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50584 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50585 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50586 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50587 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50588 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50589 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50590 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50591 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50592 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50593 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50594 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50595 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50596 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50597 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50598 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50599 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50600 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50601 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50602 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50603 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50604 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50605 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50606 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50607 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50608 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50609 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50610 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50611 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50612 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50613 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50614 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50615 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50616 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50617 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50618 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50619 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50620 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50621 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50622 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50623 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50624 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50625 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50626 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50627 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50628 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50629 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50630 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50631 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50632 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50633 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50634 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50635 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50636 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50637 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50638 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50639 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50640 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50641 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50643 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50644 _XOPEN_SOURCE_EXTENDED for XPG4.
50646 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50648 * Makeconfig (localtime): Remove variable.
50649 (inst_localtime-file): Likewise.
50651 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50672 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50676 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50677 comparisons to determine direction to adjust input.
50678 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50679 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50680 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50689 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50691 * math/libm-test.inc (nexttoward_test): Add more tests.
50693 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50697 in version GLIBC_2.1, not GLIBC_2.0.
50698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50701 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50704 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50706 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50707 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50708 * math/libm-test.inc (acos_test): Add more tests.
50709 (asin_test): Likewise.
50710 * sysdeps/i386/fpu/libm-test-ulps: Update.
50711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50714 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50716 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50717 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50718 * math/libm-test.inc (acos_test_tonearest): New function.
50719 (acos_test_towardzero): Likewise.
50720 (acos_test_downward): Likewise.
50721 (acos_test_upward): Likewise.
50722 (asin_test_tonearest): Likewise.
50723 (asin_test_towardzero): Likewise.
50724 (asin_test_downward): Likewise.
50725 (asin_test_upward): Likewise.
50726 (main): Call the new functions.
50727 * sysdeps/i386/fpu/libm-test-ulps: Update.
50728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50732 * math/e_exp10.c: Include <float.h>.
50733 (__ieee754_exp10): Handle underflow here rather than multiplying
50734 large negative argument by M_LN10.
50735 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50737 * math/e_exp10l.c: Include <float.h>.
50738 (__ieee754_exp10l): Handle underflow here rather than multiplying
50739 large negative argument by M_LN10l.
50740 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50741 spurious overflow exception on underflow.
50743 2012-04-29 Marek Polacek <polacek@redhat.com>
50745 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50746 (__fortify_function): New macro.
50747 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50748 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50749 __extern_always_inline.
50750 * libio/bits/stdio2.h: Likewise.
50751 * libio/bits/stdio.h: Likewise.
50752 * string/string.h: Likewise.
50753 * string/bits/string3.h: Likewise.
50754 * include/stdio.h: Likewise.
50755 * stdlib/bits/stdlib.h: Likewise.
50756 * stdlib/stdlib.h: Likewise.
50757 * rt/bits/mqueue2.h: Likewise.
50758 * rt/mqueue.h: Likewise.
50759 * posix/bits/unistd.h: Likewise.
50760 * posix/unistd.h: Likewise.
50761 * io/bits/poll2.h: Likewise.
50762 * io/bits/fcntl2.h: Likewise.
50763 * io/fcntl.h: Likewise.
50764 * io/sys/poll.h: Likewise.
50765 * misc/bits/syslog.h: Likewise.
50766 * misc/bits/syslog-ldbl.h: Likewise.
50767 * misc/sys/syslog.h: Likewise.
50768 * socket/bits/socket2.h: Likewise.
50769 * socket/sys/socket.h: Likewise.
50770 * debug/tst-chk1.c: Likewise.
50771 * wcsmbs/bits/wchar2.h: Likewise.
50772 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50773 * wcsmbs/wchar.h: Likewise.
50775 2012-04-29 Andreas Jaeger <aj@suse.de>
50777 * Makerules (tests): Remove enable-check-abi protection.
50778 (check-abi-warn): Remove.
50779 (check-abi-%): Remove check-abi-warn usage.
50781 * configure.in: Remove check-abi configure option.
50782 * configure: Regenerated.
50783 * config.make.in (enable-check-abi): Remove.
50785 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50788 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50789 double functions to double *_finite functions.
50792 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50793 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50795 * stdio-common/Makefile (tests): Add tst-sprintf3.
50796 * stdio-common/tst-sprintf3.c: New file.
50798 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50799 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50801 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50803 * conform/conformtest.pl: Remove duplicate typed-constant
50806 2012-04-28 David S. Miller <davem@davemloft.net>
50808 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50809 (check-abi-%): Remove AWK script prerequisite and explicit
50811 (check-abi): Rewrite to just diff the symlist with the abilist.
50812 (config-tls, config-abi-config): Delete, no longer used.
50813 (update-abi-%): Remove AWK script and explicit abilist directory.
50814 (update-abi): Rewrite to simply compare and conditionally copy the
50815 symlist and the sysdep abilist file. Remove update-abi-config
50817 * abilist/ld.abilist: Remove.
50818 * abilist/libBrokenLocale.abilist: Remove.
50819 * abilist/libanl.abilist: Remove.
50820 * abilist/libcrypt.abilist: Remove.
50821 * abilist/libdl.abilist: Remove.
50822 * abilist/librt.abilist: Remove.
50823 * abilist/libthread_db.abilist: Remove.
50824 * abilist/libutil.abilist: Remove.
50825 * scripts/extract-abilist.awk: Remove.
50826 * scripts/merge-abilist.awk: Remove.
50827 * sysdeps/generic/libcidn.abilist: New file.
50828 * sysdeps/generic/libnss_compat.abilist: New file.
50829 * sysdeps/generic/libnss_db.abilist: New file.
50830 * sysdeps/generic/libnss_dns.abilist: New file.
50831 * sysdeps/generic/libnss_files.abilist: New file.
50832 * sysdeps/generic/libnss_hesiod.abilist: New file.
50833 * sysdeps/generic/libnss_nis.abilist: New file.
50834 * sysdeps/generic/libnss_nisplus.abilist: New file.
50835 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50836 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50837 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50840 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50841 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50842 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50843 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50844 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50845 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50846 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50847 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50849 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50850 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50851 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50852 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50854 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50855 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50856 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50857 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50858 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50859 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50861 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50862 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50863 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50865 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50968 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50969 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50970 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50973 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50974 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50975 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50976 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50977 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50978 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50979 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50980 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50981 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51033 2012-04-28 Joseph Myers <joseph@codesourcery.com>
51035 * conform/conformtest.pl: Fix typo in handling typed-constant from
51038 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51040 * README: Cut down references to pre-2.6 Linux kernels and
51041 Linuxthreads. Update lists of configurations in libc and ports
51042 and sort alphabetically. Say "or newer" with Linux kernel version
51045 * config.h.in [IS_IN_build]: Allow compiling without optimization.
51047 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51050 * math/libm-test.inc (logb_test_downward): New test to expose
51051 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51054 2012-04-27 Joseph Myers <joseph@codesourcery.com>
51057 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51059 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51060 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51062 2012-04-26 Joseph Myers <joseph@codesourcery.com>
51064 * sysdeps/unix/i386/brk.S: Remove file.
51065 * sysdeps/unix/i386/dl-brk.S: Likewise.
51066 * sysdeps/unix/i386/pipe.S: Likewise.
51067 * sysdeps/unix/i386/sigreturn.S: Likewise.
51068 * sysdeps/unix/i386/syscall.S: Likewise.
51069 * sysdeps/unix/i386/vfork.S: Likewise.
51070 * sysdeps/unix/i386/wait.S: Likewise.
51072 * sysdeps/unix/common/tcsendbrk.c: Move to ...
51073 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51075 * configure.in (arm*-none*): Do not allow without
51076 --enable-hacker-mode.
51077 (netbsd*): Remove case setting base_os.
51078 (386bsd*): Likewise.
51079 (freebsd*): Likewise.
51082 (sunos*): Likewise.
51083 (ultrix*): Likewise.
51084 (newsos*): Likewise.
51085 (dynix*): Likewise.
51091 (minix*): Likewise.
51092 (irix4*): Likewise.
51093 (irix6*): Likewise.
51094 (solaris[2-9]*): Likewise.
51096 * configure: Regenerated.
51098 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51101 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51102 overflow or cancellation in calculating denominator.
51103 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51104 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51105 down expression to avoid unexpected rounding in newer GCCs.
51106 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51108 2012-04-26 David S. Miller <davem@davemloft.net>
51110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51111 long-double compat symbols.
51112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51126 2012-04-25 David S. Miller <davem@davemloft.net>
51128 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51129 HWCAP_* values only after the memory barriers have been defined.
51130 (atomic_full_barrier): Define.
51131 (atomic_read_barrier): Define.
51132 (atomic_write_barrier): Define.
51134 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51136 * shlib-versions: Add libgcc_s version information.
51137 * sysdeps/generic/libgcc_s.h: Remove.
51138 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51140 * sysdeps/gnu/unwind-resume.c: Likewise.
51141 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51143 2012-04-25 David S. Miller <davem@davemloft.net>
51145 * sysdeps/unix/sparc/brk.S: Delete.
51146 * sysdeps/unix/sparc/dl-brk.S: Delete.
51147 * sysdeps/unix/sparc/pipe.S: Delete.
51148 * sysdeps/unix/sparc/sysdep.S: Delete.
51149 * sysdeps/unix/sparc/sysdep.h: Delete.
51150 * sysdeps/unix/sparc/vfork.S: Delete.
51151 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51152 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51153 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51154 (ret_ERRVAL, r0, r1, MOVE): Define.
51155 (JUMPTARGET): Remove.
51156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51157 sysdeps/unix/sparc/sysdep.h
51158 (ENTRY, END): Remove.
51159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51161 2012-04-25 Joseph Myers <joseph@codesourcery.com>
51163 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51164 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51167 * timezone/README: Update upstream location and email address for
51169 * timezone/zdump.c: Update from tzcode 2012b.
51170 * timezone/zic.c: Likewise.
51172 * configure.in (libc_cv_as_needed): Remove test.
51173 * configure: Regenerated.
51174 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51175 conditional definition.
51176 [$(have-as-needed) != yes] (no-as-needed): Likewise.
51177 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51178 * config.make.in (have-as-needed): Remove variable.
51180 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51181 Paul Pluzhnikov <ppluzhnikov@google.com>
51183 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51186 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
51188 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51189 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51190 * sysdeps/sh/strlen.S: Likewise.
51192 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51194 * sysdeps/unix/fork.S: Remove file.
51195 * sysdeps/unix/i386/fork.S: Likewise.
51196 * sysdeps/unix/sparc/fork.S: Likewise.
51198 * sysdeps/unix/system.c: Remove file.
51199 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51201 * sysdeps/unix/getegid.S: Remove file.
51202 * sysdeps/unix/geteuid.S: Likewise.
51204 2012-04-24 Roland McGrath <roland@hack.frob.com>
51206 * scripts/check-localplt.awk: New file.
51207 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51209 * scripts/data/localplt-generic.data: Add a comment.
51211 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51212 NODE when __dir_mkfile failed.
51213 * sysdeps/mach/hurd/symlinkat.c: Likewise.
51214 Reported by Ludovic Courtès <ludo@gnu.org>.
51216 2012-04-24 Andreas Jaeger <aj@suse.de>
51218 * Makerules (common-clean): Also remove gen-as-const-headers
51221 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51223 * Makerules (native-compile): Do not change working directory for
51224 build. Use $(OUTPUT_OPTION) in command.
51225 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51227 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51230 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51231 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51232 * math/libm-test.inc (floor_test): Add more tests.
51233 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51235 2012-04-24 Joseph Myers <joseph@codesourcery.com>
51237 * sysdeps/unix/getdents.c: Remove file.
51238 * sysdeps/unix/sysv/getdents.c: Likewise.
51239 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51241 * sysdeps/unix/syscalls.list (madvise): Add syscall from
51242 sysdeps/unix/mman/syscalls.list.
51244 (mprotect): Likewise.
51246 (munmap): Likewise.
51247 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51248 * sysdeps/unix/mman/syscalls.list: Remove.
51249 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51251 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51252 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51253 * configure: Regenerated.
51254 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51255 $(libgcc_s_suffix).
51256 * config.make.in (libgcc_s_suffix): Remove variable.
51258 2012-04-23 Joseph Myers <joseph@codesourcery.com>
51260 * sysdeps/unix/sysv/gethostname.c: Move to ...
51261 * sysdeps/posix/gethostname.c: ... here.
51263 * sysdeps/unix/execve.S: Remove file.
51265 * sysdeps/unix/_exit.S: Remove file.
51267 2012-04-23 Andreas Jaeger <aj@suse.de>
51270 * manual/Makefile: Remove make dist support, there's no
51271 need for a stand-alone documentation tar ball.
51272 (TEXI2DVI): Define always, it's not in Makeconfig.
51275 (edition): Removed.
51276 (glibc-doc-$(edition).tar): Removed
51280 (ETAGS): Remove, it's in Makeconfig.
51281 (move-if-change): Remove, it's in Makeconfig.
51283 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
51286 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51287 (strtod, strtof, strtold, strtol, strtoul, strtoq)
51288 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51289 (strtod_l, strtof_l, strtold_l): Remove __wur.
51290 It is not necessarily an error to ignore strtol's return value.
51291 One can reliably look at the stored endptr to decide whether
51292 the number had valid syntax.
51294 2012-04-21 Andreas Jaeger <aj@suse.de>
51297 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51299 2012-04-21 Joseph Myers <joseph@codesourcery.com>
51301 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51302 * sysdeps/unix/sysv/Versions: Remove file.
51304 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
51307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51309 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
51312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51313 version from __vm86.
51315 2012-04-20 Joseph Myers <joseph@codesourcery.com>
51317 * sysdeps/unix/common/lxstat.c: Remove file.
51318 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51320 * sysdeps/unix/sysv/Makefile: Remove file.
51322 * sysdeps/unix/sysv/direct.h: Remove file.
51324 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51325 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51326 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51327 * sysdeps/unix/sysv/bits/signum.h: Likewise.
51328 * sysdeps/unix/sysv/bits/stat.h: Likewise.
51329 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51330 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51332 * sysdeps/unix/sysv/setrlimit.c: Remove file.
51334 * sysdeps/unix/xmknod.c: Remove file.
51335 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51337 * sysdeps/unix/sysv/settimeofday.c: Remove file.
51339 * sysdeps/unix/sysv/i386/time.S: Remove file.
51341 * sysdeps/unix/fxstat.c: Remove file.
51342 * sysdeps/unix/xstat.c: Likewise.
51343 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51345 * sysdeps/unix/sysv/sigaction.c: Remove file.
51347 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51348 (sysdep_headers): Remove variable.
51349 [termio.h not in sysdep_headers] (generated): Likewise.
51350 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51351 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51352 * sysdeps/unix/sysv/tcdrain.c: Likewise.
51353 * sysdeps/unix/sysv/tcflow.c: Likewise.
51354 * sysdeps/unix/sysv/tcflush.c: Likewise.
51355 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51356 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51357 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51358 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51359 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51361 * sysdeps/unix/siglist.c: Remove file.
51363 * sysdeps/unix/getppid.S: Remove file.
51365 * sysdeps/unix/mkdir.c: Remove file.
51366 * sysdeps/unix/rmdir.c: Likewise.
51368 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
51370 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51372 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51373 errlist-compat value.
51375 2012-04-18 David S. Miller <davem@davemloft.net>
51377 * sysdeps/generic/memcopy.h (reg_char): Delete.
51378 * debug/strcat_chk.c: Use char, not reg_char.
51379 * debug/strcpy_chk.c: Likewise.
51380 * debug/strncat_chk.c: Likewise.
51381 * debug/strncpy_chk.c: Likewise.
51382 * string/memchr.c: Likewise.
51383 * string/memrchr.c: Likewise.
51384 * string/rawmemchr.c: Likewise.
51385 * string/strcat.c: Likewise.
51386 * string/strchr.c: Likewise.
51387 * string/strchrnul.c: Likewise.
51388 * string/strcmp.c: Likewise.
51389 * string/strcpy.c: Likewise.
51390 * string/strncat.c: Likewise.
51391 * string/strncmp.c: Likewise.
51392 * string/strncpy.c: Likewise.
51394 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51396 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51397 __builtin_memcopy is called when src and dest ranges are known to not
51400 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51402 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51403 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51404 fwd_align_merge macro call.
51405 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51406 bwd_align_merge macro call.
51407 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51409 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51411 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51412 bwd_align_merge macros.
51413 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51414 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51417 2012-04-18 David S. Miller <davem@davemloft.net>
51419 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51421 2012-04-18 Andreas Jaeger <aj@suse.de>
51424 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51425 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51426 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51428 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51429 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51430 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51432 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51433 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51434 Adjust for changed ldbl-128 files.
51436 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51437 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51438 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51440 2012-04-17 David S. Miller <davem@davemloft.net>
51442 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51444 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51446 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51447 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51448 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51449 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51450 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51451 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51453 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51456 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51457 * math/libm-test.inc: Add ilogb errno and exception tests.
51458 * math/w_ilogb.c: New file: ilogb wrapper.
51459 * math/w_ilogbf.c: New file: ilogbf wrapper.
51460 * math/w_ilogbl.c: New file: ilogbl wrapper.
51461 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51462 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51463 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51464 exception being thrown with 0.0 as argument.
51465 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51466 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51467 exception being thrown with 0.0 as argument.
51468 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51469 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51470 exception being thrown with 0.0 as argument.
51471 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51472 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51473 exception being thrown with 0.0 as argument.
51474 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51475 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51477 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51478 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51479 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51480 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51481 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51482 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51484 2012-04-17 Petr Baudis <pasky@ucw.cz>
51486 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51489 2012-04-16 Marek Polacek <polacek@redhat.com>
51491 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51493 2012-04-16 Marek Polacek <polacek@redhat.com>
51495 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51496 operands of fdivp instruction.
51498 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51500 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51501 * elf/tst-auditmod3b.c: Likewise.
51502 * elf/tst-auditmod4b.c: Likewise.
51503 * elf/tst-auditmod5b.c: Likewise.
51504 * elf/tst-auditmod6b.c: Likewise.
51505 * elf/tst-auditmod6c.c: Likewise.
51506 * elf/tst-auditmod7b.c: Likewise.
51507 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51508 * sysdeps/x86_64/preconfigure.in: Likewise.
51509 * sysdeps/x86_64/preconfigure: Regenerated.
51511 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51513 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51516 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51518 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51519 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51521 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51524 * locale/iso-639.def: Fix gl language name. Spotted by
51527 2012-04-12 Roland McGrath <roland@hack.frob.com>
51530 * libio/libio.h (__io_write_fn): Update comment.
51532 2012-04-12 Petr Baudis <pasky@ucw.cz>
51535 * stdio.texi (Hook Functions): The user provided writer function
51536 is not allowed to return -1.
51538 2012-04-11 David S. Miller <davem@davemloft.net>
51540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51542 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51544 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51545 Add a leading slash to rtkaio.
51547 2012-04-11 Jim Meyering <meyering@redhat.com>
51550 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51551 It is not necessarily an error to ignore fwrite's return
51552 value. One can reliably use ferror to test for errors after
51555 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51557 * bits/types.h (__snseconds_t): New type.
51558 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51560 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51562 (__SNSECONDS_T_TYPE): Likewise.
51563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51564 (__SNSECONDS_T_TYPE): Likewise.
51565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51566 (__SNSECONDS_T_TYPE): Likewise.
51568 2012-04-10 Andreas Jaeger <aj@suse.de>
51571 * manual/time.texi (Processor Time): Return type of times is
51572 elapsed real time since an arbitrary point in the past.
51573 (CPU Time): Move CLK_TCK from here...
51574 (Processor Time): ...to here. Correct description.
51575 * manual/conf.texi (Constants for Sysconf): Correct description of
51578 2012-04-10 David S. Miller <davem@davemloft.net>
51581 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51582 where the is a gap between DT_REL(A) and DT_JMPREL.
51584 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51586 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51587 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51588 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51590 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51592 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51593 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51594 (dl_main): Handle --inhibit-cache.
51595 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51597 * elf/dl-load.c (_dl_map_object): Use it.
51598 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51600 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51603 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51604 (__ieee754_powl): Saturate large exponents rather than testing for
51605 overflow of y*log2(x).
51606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51607 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51611 * math/s_ctan.c: Include <float.h>.
51612 (__ctan): Avoid internal overflow or cancellation in calculating
51614 * math/s_ctanf.c: Likewise.
51615 * math/s_ctanl.c: Likewise.
51616 * math/s_ctanh.c: Likewise.
51617 * math/s_ctanhf.c: Likewise.
51618 * math/s_ctanhl.c: Likewise.
51619 * math/libm-test.inc (ctan_test): Add more tests.
51620 (ctanh_test): Likewise.
51621 * sysdeps/i386/fpu/libm-test-ulps: Update.
51622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51624 2012-04-09 Andreas Jaeger <aj@suse.de>
51627 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51628 is an optional BSD extension.
51631 * manual/stdio.texi (Opening Streams): Document additional fopen
51634 2012-04-09 Roland McGrath <roland@hack.frob.com>
51636 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51637 %eax without telling the compiler.
51639 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51642 * manual/install.texi: Use sourceware.org.
51644 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51647 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51648 (__ieee754_pow): Generate overflow and underflow using huge*huge
51649 and tiny*tiny rather than just returning constant infinity or zero
51650 for large exponents.
51651 * math/libm-test.inc (pow_test): Require overflow exceptions for
51652 applicable cases of large exponents.
51655 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51656 (__ieee754_pow): Use iterative multiplication algorithm only for
51657 integer exponents with absolute value below 1024. Check for odd
51658 integer exponents when using algorithm for real exponents.
51659 * math/libm-test.inc (pow_test): Add more tests.
51660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51662 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51665 * math/libm-test.inc (exp_test): Do not allow overflow exception
51668 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51671 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51672 instead of __kernel_standard_f.
51674 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51676 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51677 * sysdeps/x86_64/memset_chk.S: Likewise.
51679 2012-04-08 Andreas Jaeger <aj@suse.de>
51682 * manual/startup.texi (Environment Access): Describe return value
51683 for putenv and setenv.
51686 * manual/filesys.texi (Directory Entries): Add description for
51690 * manual/filesys.texi (Directory Entries): Clarify that it's file
51691 system not operating system in the description of DT_UNKNOWN.
51694 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51696 2012-04-08 Stephen Compall <s11@member.fsf.org>
51699 * manual/llio.texi (Opening and Closing Files): Add cross
51700 reference to explain mode argument.
51702 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51704 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51705 * sysdeps/x86_64/memset_chk.S: Likewise.
51707 2012-04-07 David S. Miller <davem@davemloft.net>
51709 * elf/elf.h (R_SPARC_WDISP10): Define.
51710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51713 R_SPARC_SIZE64 and R_SPARC_H34.
51715 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51718 conditions and remove no longer applicable assertion.
51720 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51722 * bits/byteswap.h: Include <features.h>.
51723 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51724 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51726 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51728 * bits/byteswap.h (__bswap_16): Removed.
51729 Include <bits/byteswap-16.h> to get __bswap_16.
51730 * sysdeps/i386/bits/byteswap.h: Likewise.
51731 * sysdeps/s390/bits/byteswap.h: Likewise.
51732 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51733 * bits/byteswap-16.h: New file.
51734 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51735 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51736 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51737 * string/Makefile (headers): Add bits/byteswap-16.h.
51739 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51742 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51744 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51745 * nss/tst-nss-static.c: New.
51747 2012-04-06 Robert Millan <rmh@gnu.org>
51750 * manual/llio.texi (File Position Primitive): lseek
51751 refers to WHENCE when it really means OFFSET.
51753 2012-04-06 Andreas Jaeger <aj@suse.de>
51755 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51756 strncmp declarations.
51758 * abilist/libc.abilist: Add __poll and __ppoll.
51760 2012-04-05 David S. Miller <davem@davemloft.net>
51762 * scripts/check-local-headers.sh: Accept a host triplet in the
51763 path matched by the exclude regexp.
51765 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51767 * sysdeps/powerpc/powerpc32/dl-machine.h
51768 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51769 * sysdeps/s390/s390-32/dl-machine.h
51770 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51771 * sysdeps/sparc/sparc32/dl-machine.h
51772 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51773 * sysdeps/sparc/sparc64/dl-machine.h
51774 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51776 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51778 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51779 undefined symbol errors.
51781 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51784 2012-04-05 Michael Matz <matz@suse.de>
51787 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51789 2012-04-05 Andreas Jaeger <aj@suse.de>
51792 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51795 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51797 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51798 which ROUND is no valid rounding mode.
51800 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51804 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51806 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51808 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51809 an exception using FPU order intentionally.
51811 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51813 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51814 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51815 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51816 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51818 2012-04-05 Simon Josefsson <simon@josefsson.org>
51821 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51822 EINVAL when BUFLEN is too smal.
51824 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51827 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51828 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51830 2012-04-03 Andreas Jaeger <aj@suse.de>
51833 * manual/setjmp.texi (System V contexts): Fix sentence.
51836 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51837 New macro for this case.
51838 [!__GNUC__] (__bswap_64): New inline function for this case.
51839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51840 * bits/byteswap.h: Likewise.
51841 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51842 ull, guard with __GLIBC_HAVE_LONG_LONG.
51844 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51845 __GLIBC_HAVE_LONG_LONG.
51847 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51848 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51850 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51853 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51854 inptr and inend, rather than using last_ch.
51856 2012-04-02 David S. Miller <davem@davemloft.net>
51858 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51859 * stdio-common/printf-parse.h (read_int): Change return type to
51860 'int', return -1 on INT_MAX overflow.
51861 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51862 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51863 overflows INT_MAX. Check for overflow of in-format-string precision
51864 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51865 SIZE_MAX not INT_MAX for integer overflow test.
51866 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51867 skip the construct in the format string but do not record anything.
51868 * stdio-common/bug22.c: Adjust to test both width/prevision
51869 INT_MAX overflow as well as total length INT_MAX overflow. Check
51870 explicitly for proper errno values.
51872 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51874 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51876 * string/test-strcmp.c [! WIDE]: Likewise.
51877 * time/tst-mktime2.c: Likewise for INT_MAX.
51878 * string/test-string.h: #include <sys/param.h> for MIN.
51880 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51881 * sysdeps/i386/init-first.c (init): Likewise.
51882 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51883 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51884 * sysdeps/sh/init-first.c (init): Likewise.
51886 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51888 * po/ru.po: Update from translation team.
51889 * po/vi.po: Likewise.
51891 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51893 * resolv/nss_dns/dns-host.c: Merge copyright years.
51895 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51898 Optimize memcpy with prefetch if
51899 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51900 src, dst pointers have unequal 16 byte alignments.
51902 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51905 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51906 from a CNAME entry and return the minimum ttl for the query.
51907 (gaih_getanswer_slice): Likewise.
51909 2012-03-30 Jeff Law <law@redhat.com>
51911 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51913 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51914 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51916 * resolv/nss_dns/dns-host.c: Update copyright year.
51918 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51920 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51921 requests to save a system call. Fix check that all bytes are sent.
51923 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51924 comments for sendmmsg.
51926 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51929 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51930 with only 1 character between 0x0041 and 0x01b0.
51931 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51932 * wcsmbs/tst-mbsnrtowcs.c: New file.
51934 2012-03-29 David S. Miller <davem@davemloft.net>
51936 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51937 small copies by hand.
51939 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51942 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51943 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51946 2012-03-28 David S. Miller <davem@davemloft.net>
51948 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51949 that branches into memcpy.
51950 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51951 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51953 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51956 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51957 implementation too.
51958 * sysdeps/sparc/mempcpy.S: New file.
51960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51961 the IFUNC routine in the libc case.
51962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51964 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51965 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51966 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51967 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51968 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51969 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51970 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51971 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51973 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51974 loop to 256 bytes instead of 64 bytes and fix test signedness.
51976 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51977 * sysdeps/sparc/sparc32/Makefile: rather than here...
51978 * sysdeps/sparc/sparc64/Makefile: and here.
51980 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51982 * malloc/mallocbug.c: Avoid warnings about unused variables.
51984 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51987 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51988 in the right place. Discard and retry query if response is
51989 larger than input buffer size.
51991 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51996 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51997 x for large integer exponent.
51998 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51999 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
52000 sign of result as needed afterwards.
52001 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52002 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52003 result for underflowing pow the same as for overflow.
52004 (__kernel_standard_l): Handle powl overflow and underflow here
52005 rather than calling __kernel_standard.
52006 * math/libm-test.inc (pow_test): Add more tests.
52021 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52022 * sysdeps/ieee754/k_standard.c: Include <float.h>.
52023 (__kernel_standard_l): New function.
52024 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52026 * math/w_acosl.c (__acosl): Likewise.
52027 * math/w_asinl.c (__asinl): Likewise.
52028 * math/w_atan2l.c (__atan2l): Likewise.
52029 * math/w_atanhl.c (__atanhl): Likewise.
52030 * math/w_coshl.c (__coshl): Likewise.
52031 * math/w_exp10l.c (__exp10l): Likewise.
52032 * math/w_exp2l.c (__exp2l): Likewise.
52033 * math/w_fmodl.c (__fmodl): Likewise.
52034 * math/w_hypotl.c (__hypotl): Likewise.
52035 * math/w_j0l.c (__j0l, __y0l): Likewise.
52036 * math/w_j1l.c (__j1l, __y1l): Likewise.
52037 * math/w_jnl.c (__jnl, __ynl): Likewise.
52038 * math/w_lgammal.c (__lgammal): Likewise.
52039 * math/w_log10l.c (__log10l): Likewise.
52040 * math/w_log2l.c (__log2l): Likewise.
52041 * math/w_logl.c (__logl): Likewise.
52042 * math/w_powl.c (__powl): Likewise.
52043 * math/w_remainderl.c (__remainderl): Likewise.
52044 * math/w_scalbl.c (sysv_scalbl): Likewise.
52045 * math/w_sinhl.c (__sinhl): Likewise.
52046 * math/w_sqrtl.c (__sqrtl): Likewise.
52047 * math/w_tgammal.c (__tgammal): Likewise.
52048 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52049 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52050 * math/libm-test.inc (acos_test): Add more tests.
52051 (acosh_test): Likewise.
52052 (asin_test): Likewise.
52053 (atanh_test): Likewise.
52054 (exp_test): Likewise.
52055 (exp10_test): Likewise.
52056 (exp2_test): Likewise.
52057 (expm1_test): Likewise.
52058 (lgamma_test): Likewise.
52059 (log_test): Likewise.
52060 (log10_test): Likewise.
52061 (log1p_test): Likewise.
52062 (log2_test): Likewise.
52063 (pow_test): Do not allow some spurious overflow exceptions.
52064 (sqrt_test): Add more tests.
52065 (tgamma_test): Likewise.
52066 (y0_test): Likewise.
52067 (y1_test): Likewise.
52068 (yn_test): Likewise.
52070 2012-03-27 Anton Blanchard <anton@samba.org>
52072 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52074 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52075 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52076 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52078 2012-03-27 David S. Miller <davem@davemloft.net>
52080 * conform/Makefile: Run run-conformtest.sh using $(BASH).
52082 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52083 have-as-vis3 check.
52085 2012-03-27 Andreas Jaeger <aj@suse.de>
52087 * sysdeps/x86_64/elf/configure.in: Moved to ...
52088 * sysdeps/x86_64/configure.in: ... here.
52089 * sysdeps/x86_64/elf/start.S: Moved to ...
52090 * sysdeps/x86_64/start.S: ... here.
52091 * sysdeps/x86_64/elf/configure: Delete.
52093 * sysdeps/x86_64/configure.in: Merge contents from
52094 sysdeps/i386/configure.in (without i686 check).
52096 * sysdeps/i386/elf/Versions: Merge into ...
52097 * sysdeps/i386/Versions: ... this.
52098 * sysdeps/i386/elf/Versions: Delete file.
52099 * sysdeps/i386/elf/start.S: Moved to ...
52100 * sysdeps/i386/start.S: ...here.
52101 * sysdeps/i386/elf/configure.in: Merge into...
52102 * sysdeps/i386/configure.in: ...here.
52103 * sysdeps/i386/elf/configure.in: Delete file.
52104 * sysdeps/i386/elf/configure: Delete file.
52106 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52107 * debug/backtracesyms.c: ... here.
52108 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52109 * debug/backtracesymsfd.c: ... here.
52110 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52111 * sysdeps/generic/ifunc-sel.h: ... here.
52113 * sysdeps/unix/i386/start.c: Delete file.
52114 * sysdeps/unix/sparc/start.c: Delete file.
52115 * sysdeps/unix/start.c: Delete file.
52117 * sysdeps/sh/elf/configure.in: Moved to ...
52118 * sysdeps/sh/configure.in: ... here.
52119 * sysdeps/sh/elf/start.S: Moved to ...
52120 * sysdeps/sh/start.S: ... here.
52121 * sysdeps/sh/elf/configure: Delete file.
52123 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52124 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52125 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52126 * sysdeps/powerpc/powerpc64/entry.h: ... here.
52127 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52128 * sysdeps/powerpc/powerpc64/start.S: here.
52129 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52130 * sysdeps/powerpc/powerpc64/Makefile: ... this.
52131 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52132 * sysdeps/powerpc/powerpc64/configure.in: ... this.
52133 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52135 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52136 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52137 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52138 * sysdeps/powerpc/powerpc32/start.S: ... here.
52139 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52140 * sysdeps/powerpc/powerpc32/configure.in: ... this.
52141 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52143 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52144 * sysdeps/powerpc/ifunc-sel.h: ... here.
52145 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52146 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52148 * sysdeps/sparc/elf/configure.in: Moved to ...
52149 * sysdeps/sparc/configure.in: ... here.
52150 * sysdeps/sparc/elf/configure: Delete file.
52151 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52152 * sysdeps/sparc/sparc32/start.S: ... here.
52153 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52154 * sysdeps/sparc/sparc64/start.S: ... here.
52155 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52156 * sysdeps/sparc/sparc32/Makefile: ... this.
52157 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52158 * sysdeps/sparc/sparc64/Makefile: ... this.
52160 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52161 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52162 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52163 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52164 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52165 * sysdeps/s390/s390-32/setjmp.S: ... here.
52166 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52167 * sysdeps/s390/s390-32/configure.in: ... here.
52168 * sysdeps/s390/s390-32/elf/configure: Delete file.
52169 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52170 * sysdeps/s390/s390-32/start.S: ... here.
52172 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52173 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52174 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52175 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52176 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52177 * sysdeps/s390/s390-64/setjmp.S: ... here.
52178 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52179 * sysdeps/s390/s390-64/configure.in: ... here
52180 * sysdeps/s390/s390-64/elf/configure: Delete file.
52181 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52182 * sysdeps/s390/s390-64/start.S: ... here.
52183 * sysdeps/s390/s390-64/elf/configure: Delete.
52185 * configure.in: Remove support for elf directories in sysdeps.
52187 * configure: Regenerated.
52188 * sysdeps/i386/configure: Regenerated.
52189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52190 * sysdeps/powerpc/powerpc64/configure: Regenerated.
52191 * sysdeps/s390/s390-32/configure: Regenerated.
52192 * sysdeps/s390/s390-64/configure: Regenerated.
52193 * sysdeps/sh/configure: Regenerated.
52194 * sysdeps/sparc/configure: Regenerated.
52195 * sysdeps/x86_64/configure: Regenerated.
52197 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
52199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52202 denormal result into account.
52204 2012-03-25 Roland McGrath <roland@hack.frob.com>
52206 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52207 Reported by Allan McRae <allan@archlinux.org>.
52209 2012-03-23 Jeff Law <law@redhat.com>
52211 * nss/getnssent.c (__nss_getent): Fix typo.
52213 2012-03-23 David S. Miller <davem@davemloft.net>
52215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52217 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
52219 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52220 to pad to uint64_t for each field.
52221 (dl_tls_index): Replace unsigned long with uint64_t.
52223 2012-03-23 Daniel Jacobowitz <dmj@google.com>
52224 Paul Pluzhnikov <ppluzhnikov@google.com>
52227 * grp/Makefile (otherlibs): Don't set it.
52228 * inet/Makefile (otherlibs): Likewise.
52229 * login/Makefile (otherlibs): Likewise.
52230 * nscd/Makefile (otherlibs): Likewise.
52231 * posix/Makefile (otherlibs): Likewise.
52232 * pwd/Makefile (otherlibs): Likewise.
52233 * rt/Makefile (otherlibs): Likewise.
52234 * sunrpc/Makefile (otherlibs): Likewise.
52235 * nss/Makefile (otherlibs): Likewise.
52236 Add libnss_files to routines and static-only-routines.
52237 ($(objpfx)getent): Remove rule.
52238 * resolv/Makefile: Add libnss_dns and libresolv to routines and
52239 static-only-routines.
52241 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52244 * math/s_cexp.c: Include <float.h>.
52245 (__cexp): Handle exp result overflowing not necessarily
52246 overflowing both real and imaginary parts of result.
52247 * math/s_cexpf.c: Likewise.
52248 * math/s_cexpl.c: Likewise.
52249 * math/libm-test.inc (cexp_test): Add more tests.
52250 * sysdeps/i386/fpu/libm-test-ulps: Update.
52251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52253 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52255 * include/link.h (ELFW): New macro.
52256 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52257 Replace ELF64_R_TYPE with ELFW(R_TYPE).
52259 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52261 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52264 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52266 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52268 (struct La_x32_retval): Likewise.
52270 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
52272 * sysdeps/x86_64/preconfigure.in: New file.
52273 * sysdeps/x86_64/preconfigure: New generated file.
52275 2012-03-22 Joseph Myers <joseph@codesourcery.com>
52278 * math/e_exp2l.c: Include <float.h>.
52279 (__ieee754_exp2l): Handle overflow and underflow cases
52280 separately. Only pass fractional part of argument to
52282 * math/libm-test.inc (exp2_test): Add more tests.
52284 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52285 negating x to take absolute value.
52286 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52288 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52289 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52291 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52292 computing low part if x was negated.
52293 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52297 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52298 la_x32_gnu_pltexit.
52299 (pltexit): Cast int_retval to ptrdiff_t.
52300 * elf/tst-auditmod3b.c: Likewise.
52301 * elf/tst-auditmod4b.c: Likewise.
52302 * elf/tst-auditmod5b.c: Likewise.
52303 * elf/tst-auditmod6b.c: Likewise.
52304 * elf/tst-auditmod6c.c: Likewise.
52305 * elf/tst-auditmod7b.c: Likewise.
52307 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52308 and x32_gnu_pltexit.
52310 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52311 __ELF_NATIVE_CLASS.
52312 (La_x32_regs): New macro.
52313 (La_x32_retval): Likewise.
52314 (la_x32_gnu_pltenter): New function prototype.
52315 (la_x32_gnu_pltexit): Likewise.
52317 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
52319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52324 * configure.in (libc_cv_cc_nofma): Check for option to disable
52325 generation of FMA instructions.
52326 * configure: Regenerate.
52327 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52328 * sysdeps/ieee754/dbl-64/Makefile: New file.
52329 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52330 Remove brandred-fma4.
52331 (CFLAGS-brandred-fma4.c): Remove.
52332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52333 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52335 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52338 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52340 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52341 LLONG_MAX != LONG_MAX.
52342 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52343 (_fitoa_word): Likewise.
52344 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52345 LLONG_MAX != LONG_MAX.
52346 * stdio-common/_itowa.h: Include <_itoa.h>.
52347 (_itowa_word): Use _ITOA_WORD_TYPE on value.
52348 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
52349 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
52350 only if not defined.
52351 (_ITOA_WORD_TYPE): Likewise.
52352 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52353 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52355 2012-03-21 David S. Miller <davem@davemloft.net>
52357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52359 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
52361 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52362 of x86_64 when setting libc_cv_slibdir, libdir and
52364 * sysdeps/unix/sysv/linux/configure: Regenerated.
52366 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52368 * manual/lang.texi (Old Varargs): Remove section.
52369 (How Variadic): Update menu.
52370 (va_start): Do not mention varargs.h.
52372 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52373 Joseph Myers <joseph@codesourcery.com>
52375 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52377 * configure: Regenerated.
52379 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
52381 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52382 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52385 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52388 * Makefile (files-for-dist): Remove NOTES.
52389 (NOTES): Remove rule.
52390 * README: Don't refer to NOTES.
52391 * manual/creature.texi: Don't include macros.texi.
52392 * manual/intro.texi (creature.texi): Remove comment referring to
52395 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52396 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52397 * configure: Regenerated.
52398 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52399 LIBC_TRY_CC_OPTION.
52400 (libc_cv_as_i686): Likewise.
52401 (libc_cv_cc_avx): Likewise.
52402 (libc_cv_cc_sse2avx): Likewise.
52403 (libc_cv_cc_fma4): Likewise.
52404 (libc_cv_cc_novzeroupper): Likewise.
52405 * sysdeps/i386/configure: Regenerated.
52408 * sysdeps/i386/fpu/s_cexp.S: Remove.
52409 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52410 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52411 * math/libm-test.inc (cexp_test): Add more tests.
52412 * sysdeps/i386/fpu/libm-test-ulps: Update.
52413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52415 2012-03-21 Allan McRae <allan@archlinux.org>
52417 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52419 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52422 * math/w_exp2.c: Do not include <float.h>.
52423 (o_threshold, u_threshold): Remove.
52424 (__exp2): Calculate result before checking finiteness and calling
52426 * math/w_exp2f.c: Likewise.
52427 * math/w_exp2l.c: Likewise.
52428 * math/libm-test.inc (exp2_test): Require overflow exception for
52432 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52433 range of signed 64-bit integers before using fistpll. Remove
52434 checks for whether integers fit in mantissa bits.
52435 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52436 the range of signed 32-bit integers before using fistpl. Remove
52437 checks for whether integers fit in mantissa bits.
52438 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52439 (__ieee754_powl): Test for y outside the range of signed 64-bit
52440 integers before using fistpll. Reduce 64-bit values to 63-bit
52442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52443 divide-by-zero is raised for zero to large negative powers.
52444 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52445 (__ieee754_powl): Test for y outside the range of signed 64-bit
52446 integers before using fistpll. Reduce 64-bit values to 63-bit
52448 * math/libm-test.inc (pow_test): Add more tests.
52450 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52452 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52453 <stdio-common/_itoa.h>.
52454 * debug/segfault.c: Likewise.
52455 * elf/dl-cache.c: Likewise.
52456 * elf/dl-minimal.c: Likewise.
52457 * elf/dl-misc.c: Likewise.
52458 * elf/dl-sysdep.c: Likewise.
52459 * elf/dl-version.c: Likewise.
52460 * elf/rtld.c: Likewise.
52461 * hurd/hurdsock.c: Likewise.
52462 * hurd/lookup-retry.c: Likewise.
52463 * malloc/malloc.c: Likewise.
52464 * malloc/mtrace.c: Likewise.
52465 * nscd/nscd_getgr_r.c: Likewise.
52466 * nscd/nscd_getpw_r.c: Likewise.
52467 * nscd/nscd_getserv_r.c: Likewise.
52468 * posix/getopt_init.c: Likewise.
52469 * posix/wordexp.c: Likewise.
52470 * stdio-common/_itoa.c: Likewise.
52471 * stdio-common/printf_fphex.c: Likewise.
52472 * stdio-common/vfprintf.c: Likewise.
52473 * string/_strerror.c: Likewise.
52474 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52475 * sysdeps/i386/i686/hp-timing.h: Likewise.
52476 * sysdeps/mach/_strerror.c: Likewise.
52477 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52478 * sysdeps/mach/hurd/sethostid.c: Likewise.
52479 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52480 * sysdeps/mach/xpg-strerror.c: Likewise.
52481 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52482 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52483 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52484 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52485 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52486 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52487 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52488 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52489 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52490 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52491 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52492 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52493 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52494 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52495 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52496 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52497 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52498 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52499 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52500 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52501 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52503 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52505 * stdio-common/_itoa.h: Moved to ...
52506 * sysdeps/generic/_itoa.h: Here.
52508 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52510 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52511 instead of "_itoa.h" and "_itowa.h".
52512 * stdio-common/vfprintf.: Likewise.
52514 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52516 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52518 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52519 (__signbit): Likwise.
52520 (llrintf): Likwise.
52523 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52525 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52528 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52530 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52531 OVERFLOW_EXCEPTION_OK.
52532 * math/libm-test.inc ("Philosophy"): Update comment about
52534 (OVERFLOW_EXCEPTION): Define.
52535 (OVERFLOW_EXCEPTION_OK): Likewise.
52536 (INVALID_EXCEPTION_OK): Renumber.
52537 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52538 (IGNORE_ZERO_INF_SIGN): Likewise.
52539 (test_exceptions): Handle FE_OVERFLOW.
52540 (exp10_test): Expect overflow exceptions.
52541 (exp2_test): Likewise.
52542 (expm1_test): Likewise.
52543 (nextafter_test): Likewise.
52544 (pow_test): Likewise.
52545 (scalbn_test): Likewise.
52546 (scalbln_test): Likewise.
52548 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52550 * sysdeps/x86_64/bits/atomic.h
52551 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52553 (atomic_exchange_acq): Likewise.
52554 (__arch_exchange_and_add_body): Likewise.
52555 (__arch_add_body): Likewise.
52556 (atomic_add_negative): Likewise.
52557 (atomic_add_zero): Likewise.
52559 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52561 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52562 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52564 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52566 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52567 Check __x86_64__ instead of __WORDSIZE.
52569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52571 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52573 2012-03-19 David S. Miller <davem@davemloft.net>
52575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52577 * sysdeps/sparc/fpu/fenv_private.h: New file.
52578 * sysdeps/sparc/fpu/math_private.h: Use it.
52579 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52581 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52582 (libc_feholdexcept_setroundl): Remove.
52583 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52585 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52586 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52590 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52591 int64_t instead of long int.
52592 (INSERT_WORDS64): Likwise.
52594 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52596 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52597 _Unwind_GetCFA return to _Unwind_Ptr first.
52599 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52602 * math/s_clog.c: Include <float.h>.
52603 (__clog): Scale large or subnormal inputs.
52604 * math/s_clogf.c: Likewise.
52605 * math/s_clogl.c: Likewise.
52606 * math/s_clog10.c: Include <float.h>.
52607 (M_LOG10_2): Define.
52608 (__clog10): Scale large or subnormal inputs.
52609 * math/s_clog10f.c: Likewise.
52610 * math/s_clog10l.c: Likewise.
52611 * math/libm-test.inc (clog_test): Add more tests.
52612 (clog10_test): Likewise.
52613 * sysdeps/i386/fpu/libm-test-ulps: Update.
52614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52617 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52619 * math/libm-test.inc (atan2_test): Add another test.
52621 * Makerules (common-objdir-compile): Remove.
52622 * sysdeps/unix/Makefile (config-generated): Do not add
52623 $(unix-generated) to variable.
52624 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52625 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52627 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52629 [generic bits/local_lim.h] (before-compile): Do not append to
52631 [generic bits/local_lim.h] (common-generated): Likewise.
52632 [generic sys/param.h] (before-compile): Do not append to variable.
52633 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52634 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52635 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52636 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52638 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52639 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52640 [generic sys/param.h] ($(addprefix
52641 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52642 [generic sys/param.h] (common-generated): Do not append to
52644 [generic sys/param.h] (sysdep_headers): Likewise.
52645 [generic bits/errno.h] (before-compile): Do not append to
52647 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52649 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52650 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52651 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52652 [generic bits/errno.h] (common-generated): Do not append to
52654 [generic bits/ioctls.h] (before-compile): Do not append to
52656 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52658 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52659 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52660 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52662 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52663 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52664 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52665 [generic bits/ioctls.h] (common-generated): Do not append to
52667 [generic sys/syscall.h] (syscall.h): Remove variable.
52668 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52670 [generic sys/syscall.h] (before-compile): Do not append to
52672 [generic sys/syscall.h] (common-generated): Likewise.
52673 * sysdeps/unix/errnos-tmpl.c: Remove file.
52674 * sysdeps/unix/errnos.awk: Likewise.
52675 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52676 * sysdeps/unix/ioctls.awk: Likewise.
52677 * sysdeps/unix/mk-local_lim.c: Likewise.
52678 * sysdeps/unix/snarf-ioctls: Likewise.
52680 2012-03-19 Richard Henderson <rth@twiddle.net>
52682 * sysdeps/i386/fpu/fenv_private.h: New file.
52683 * sysdeps/i386/fpu/math_private.h: Use it.
52684 (math_opt_barrier, math_force_eval): Remove.
52685 (libc_feholdexcept_setround_53bit): Remove.
52686 (libc_feupdateenv_53bit): Remove.
52687 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52688 (math_opt_barrier, math_force_eval): Remove.
52689 (libc_feholdexcept): Remove.
52690 (libc_feholdexcept_setround): Remove.
52691 (libc_fetestexcept, libc_fesetenv): Remove.
52692 (libc_feupdateenv_test): Remove.
52693 (libc_feupdateenv, libc_feholdsetround): Remove.
52694 (libc_feresetround): Remove.
52696 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52697 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52699 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52700 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52701 (libc_feupdateenv_testl): New.
52702 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52703 (libc_feupdateenv_testf): New.
52704 (libc_feupdateenv): Use libc_feupdateenv_test.
52705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52706 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52708 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52709 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52710 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52711 (libc_feresetround_noex): New.
52712 (libc_feresetround_noexf): New.
52713 (libc_feresetround_noexl): New.
52714 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52715 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52716 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52717 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52720 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52722 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52723 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52724 SET_RESTORE_ROUND_NOEX.
52725 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52726 SET_RESTORE_ROUND_NOEXF.
52727 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52728 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52729 (libc_feholdsetroundf): New.
52730 (libc_feresetround, libc_feresetroundf): New.
52732 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52733 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52734 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52736 * sysdeps/generic/math_private.h: Include <fenv.h>.
52737 (default_libc_feholdexcept): New.
52738 (default_libc_feholdexcept_setround): New.
52739 (default_libc_fesetenv, default_libc_feupdateenv): New.
52740 (libc_feholdexcept): Only define if undefined.
52741 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52742 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52743 (libc_feholdexcept_setroundl): Likewise.
52744 (libc_feholdexcept_setround_53bit): Likewise.
52745 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52746 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52747 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52748 (libc_feupdateenv_53bit): Likewise.
52749 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52750 (libc_feholdexcept): Convert from macro to inline function.
52751 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52752 (libc_fesetenv, libc_feupdateenv): Likewise.
52754 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52755 not previously defined.
52756 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52757 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52758 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52759 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52760 * sysdeps/ieee754/flt-32/math_private.h: New file.
52761 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52762 math_private.h below SET_FLOAT_WORD.
52763 (__isnan, __isinf_ns, __finite): Remove.
52764 (__isnanf, __isinf_nsf, __finitef): Remove.
52766 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52770 2012-03-17 David S. Miller <davem@davemloft.net>
52773 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52776 2012-03-16 David S. Miller <davem@davemloft.net>
52778 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52782 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52784 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52785 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52786 sysdep_routines when subdir is sysvipc.
52787 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52788 __getshmlba helper.
52790 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52792 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52794 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52797 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52800 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52801 (__lround): Renamed to ...
52802 (__llround): This. Replace long int with long long int.
52803 Define lround functions as aliases of llround functions.
52804 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52806 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52808 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52809 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52810 adresses to uintptr_t. Replace "long int" and "unsigned long
52811 int" with "greg_t" on va_arg.
52813 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52815 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52816 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52818 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52819 Move e_machine check before EI_CLASS check. Handle x32
52820 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52821 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52822 SKIP_EM_IA_64 and include
52823 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52825 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52826 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52827 (add_system_dir): New macro.
52829 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52830 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52832 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52843 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52845 * math/w_j0f.c (j0f): Likewise.
52847 * math/w_j0l.c (__j0l): Likewise.
52849 * math/w_j1.c (j1): Likewise.
52851 * math/w_j1f.c (j1f): Likewise.
52853 * math/w_j1l.c (__j1l): Likewise.
52855 * math/w_jn.c (jn): Likewise.
52857 * math/w_jnf.c (jnf): Likewise.
52859 * math/w_jnl.c (__jnl): Likewise.
52861 * math/libm-test.inc (j0_test): Add more tests.
52862 (j1_test): Likewise.
52863 (jn_test): Likewise. Add trailing semicolon to existing test.
52864 (y0_test): Likewise.
52865 (y1_test): Likewise.
52866 * sysdeps/i386/fpu/libm-test-ulps: Update.
52867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52872 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52873 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52874 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52875 (__tanl): Set errno for infinite argument.
52876 * sysdeps/i386/fpu/mptan.c: Remove.
52877 * sysdeps/i386/fpu/s_tan.S: Likewise.
52878 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52879 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52880 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52881 * math/libm-test.inc (tan_test): Add more tests and enable more
52882 tests for double and long double.
52883 * sysdeps/i386/fpu/libm-test-ulps: Update.
52884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52886 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52888 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52889 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52891 2012-03-16 Roland McGrath <roland@hack.frob.com>
52893 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52894 * configure.in: Use it for both main tree and add-ons.
52895 * configure: Regenerated.
52897 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52899 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52901 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52903 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52907 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52908 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52909 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52910 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52911 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52913 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52915 != 0 for prec == 2.
52916 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52917 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52918 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52919 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52920 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52921 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52922 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52923 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52924 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52925 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52926 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52927 * math/libm-test.inc (cos_test): Add more tests and enable more
52928 tests for long double.
52929 (sin_test): Likewise.
52930 (sincos_test): Likewise.
52931 * sysdeps/i386/fpu/libm-test-ulps: Update.
52932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52934 2012-03-16 David S. Miller <davem@davemloft.net>
52936 * sysdeps/sparc/fpu/math_private.h: New file.
52938 2012-03-15 David S. Miller <davem@davemloft.net>
52940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52950 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52954 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52955 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52957 * sysdeps/sparc/sparc-ifunc.h: New file.
52958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52984 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52985 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52998 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52999 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53003 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53005 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53009 2012-03-15 Andreas Jaeger <aj@suse.de>
53012 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53013 ieee754/flt-32 implementation for sin, cos and sincos.
53014 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53015 * sysdeps/i386/fpu/s_cosf.S: Likewise.
53016 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53017 * sysdeps/i386/fpu/s_sinf.S: Likewise.
53018 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53019 ieee754/flt-32 implementation for tan.
53021 * math/libm-test.inc (cos_test): Enable some large input tests for
53023 (sin_test): Likewise.
53024 (sincos_test): Likewise.
53025 (tan_test): Add tests for large input.
53027 * sysdeps/i386/fpu/libm-test-ulps: Update.
53029 2012-03-15 Andreas Jaeger <aj@suse.de>
53032 * math/libm-test.inc (cos_test): Add more test cases.
53033 (sin_test): Likewise.
53034 (sincos_test): Likewise.
53036 2012-03-15 Andreas Jaeger <aj@suse.de>
53039 * math/libm-test.inc (cos_test): Add a test case for large input
53041 (sin_test): Likewise.
53042 (sincos_test): Likewise.
53044 2012-03-15 Andreas Jaeger <aj@suse.de>
53045 Joseph Myers <joseph@codesourcery.com>
53048 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53049 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53050 * sysdeps/i386/fpu/branred.c: Likewise.
53051 * sysdeps/i386/fpu/dosincos.c: Likewise.
53052 * sysdeps/i386/fpu/mpa.c: Likewise.
53053 * sysdeps/i386/fpu/s_cos.S: Likewise.
53054 * sysdeps/i386/fpu/s_sin.S: Likewise.
53055 * sysdeps/i386/fpu/s_sincos.S: Likewise.
53056 * sysdeps/i386/fpu/sincos32.c: Likewise.
53058 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53060 (libc_feupdateenv_53bit): Define.
53061 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53063 (libc_feupdateenv_53bit): Define.
53065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53066 53 bit (without extend i386 double precision).
53068 * math/libm-test.inc (sincos_test): Add tests for large input.
53072 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53074 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
53076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53078 2012-03-15 David S. Miller <davem@davemloft.net>
53080 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53081 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53082 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53083 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53107 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53108 fmin/fmax sysdep routines.
53109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53111 2012-03-14 David S. Miller <davem@davemloft.net>
53113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53117 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53118 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53119 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53121 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53122 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53185 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53190 * sysdeps/sparc/configure.in: New file.
53191 * sysdeps/sparc/configure: Generate.
53192 * configure.in (libc_cv_sparc_as_vis3): Substitute.
53193 * configure: Regenerate.
53194 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53195 * config.make.in (have-as-vis3): New.
53196 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53197 available use -Av9d instead of -Av9a.
53198 * sysdeps/sparc/sparc64/Makefile: Likewise.
53199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53214 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53215 fzeros/fnegs to load 0x80000000 into a float register instead of
53217 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53219 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53223 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53224 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53225 ($(inst_includedir)/bits/syscall.h): Remove rule.
53226 ($(objpfx)bits/syscall.d): Include instead of
53227 $(objpfx)syscall-list.d.
53228 (generated): Change syscall-list.h and syscall-list.d to
53229 bits/syscall.h and bits/syscall.d.
53231 2012-03-14 Roland McGrath <roland@hack.frob.com>
53234 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53236 2012-03-14 Joseph Myers <joseph@codesourcery.com>
53239 * math/s_csqrt.c: Include <float.h>.
53240 (__csqrt): Scale large or subnormal inputs.
53241 * math/s_csqrtf.c: Likewise.
53242 * math/s_csqrtl.c: Likewise.
53243 * math/libm-test.inc (csqrt_test): Add more tests.
53244 * sysdeps/i386/fpu/libm-test-ulps: Update.
53245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53248 * math/libm-test.inc (hypot_test): Add more tests.
53250 2012-03-13 David S. Miller <davem@davemloft.net>
53253 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53254 double-precision for the calculation instead of scaling.
53256 2012-03-13 Joseph Myers <joseph@codesourcery.com>
53258 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53259 manipulate bits before adding and subtracting TWO52[sx].
53260 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53261 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53263 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53265 2012-03-13 David S. Miller <davem@davemloft.net>
53267 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53268 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53270 rtld-global-offsets.h
53271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53273 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53276 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53278 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53279 'err' in the ifdef scope in which it is actually used.
53281 * nss/nss_db/db-init.c: Include string.h
53283 2012-03-12 David S. Miller <davem@davemloft.net>
53285 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53286 masking out of the most significant byte of random value used.
53287 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53288 Fix coding style in previous change.
53290 * sysdeps/unix/sysv/linux/kernel-features.h
53291 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53292 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53294 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53297 2012-03-11 David S. Miller <davem@davemloft.net>
53299 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53300 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53302 for 'resultvar' otherwise things get truncated on 64-bit.
53304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53305 Fix masking out of the most significant byte of random value used.
53307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53309 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
53311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53313 2012-03-09 David S. Miller <davem@davemloft.net>
53315 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53316 variables with appropriate CPP guards.
53317 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53318 from the frame pointer, not the stack pointer. Correct layout
53319 comments. Fix test on resulting framesize and the management of
53320 the outregs buffer for pltexit. Preserve floating point return
53321 values across _dl_call_pltexit call.
53322 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53323 framesize and the management of the outregs buffer for pltexit.
53324 Preserve floating point return values across _dl_call_pltexit
53326 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53327 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53328 (la_sparc64_gnu_pltexit): New functions.
53329 (print_exit): Fix format string for return register value.
53331 2012-03-10 Joseph Myers <joseph@codesourcery.com>
53333 * sunrpc/Makefile (others): Add rpcgen.
53334 ($(objpfx)rpcgen): Remove special build rule and dependency on
53336 * sunrpc/rpcgen.c: New file.
53338 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
53341 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53342 * stdio-common/bug-vfprintf-nargs.c: Likewise.
53343 * sysdeps/i386/crti.S: Likewise.
53344 * sysdeps/i386/crtn.S: Likewise.
53345 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53346 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53347 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53348 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53349 * sysdeps/sh/crti.S: Likewise.
53350 * sysdeps/sh/crtn.S: Likewise.
53351 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53354 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53356 * locale/programs/locfile-kw.gperf: Likewise.
53357 * locale/programs/charmap-kw.h: Regenerated.
53358 * locale/programs/locfile-kw.h: Likewise.
53361 * intl/plural.y: Replace FSF snail mail address with URL.
53362 * intl/plural.c: Regenerated.
53364 2012-03-09 Richard Henderson <rth@twiddle.net>
53366 * include/math_private.h: Remove file.
53367 * math/math_private.h: Move file ...
53368 * sysdeps/generic/math_private.h: ... here.
53370 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53371 * sysdeps/powerpc/fpu/math_private.h: Likewise.
53372 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53374 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53375 and <math_private.h>.
53376 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53377 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53378 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53379 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53380 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53381 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53384 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53387 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53388 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53390 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53391 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53392 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53393 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53394 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53395 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53397 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53398 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53400 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53402 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53407 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53408 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53409 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53410 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53413 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53414 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53416 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53419 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53420 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53421 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53422 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53423 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53425 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53426 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53427 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53428 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53429 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53430 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53431 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53435 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53439 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53440 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53441 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53442 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53443 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53444 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53447 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53449 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53450 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53456 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53457 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53459 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53460 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53463 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53464 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53465 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53466 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53467 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53469 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53470 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53471 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53472 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53473 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53474 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53475 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53476 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53477 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53478 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53479 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53480 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53481 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53482 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53483 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53488 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53490 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53492 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53493 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53494 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53496 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53497 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53498 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53499 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53500 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53501 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53502 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53503 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53504 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53505 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53506 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53507 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53508 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53509 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53510 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53511 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53512 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53513 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53514 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53515 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53517 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53519 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53520 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53521 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53522 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53523 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53524 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53525 * sysdeps/ieee754/k_standard.c: Likewise.
53526 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53527 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53529 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53530 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53531 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53532 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53533 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53534 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53538 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53539 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53540 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53541 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53542 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53543 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53544 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53545 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53546 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53547 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53548 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53549 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53550 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53551 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53552 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53553 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53554 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53556 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53557 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53558 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53559 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53560 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53561 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53562 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53563 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53564 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53565 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53566 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53567 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53568 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53569 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53570 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53571 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53577 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53578 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53579 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53582 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53583 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53584 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53587 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53588 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53593 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53596 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53598 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53599 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53603 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53608 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53609 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53610 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53611 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53612 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53613 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53615 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53616 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53617 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53618 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53619 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53620 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53622 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53623 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53625 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53627 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53630 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53631 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53632 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53633 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53634 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53635 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53636 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53637 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53638 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53639 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53640 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53641 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53642 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53645 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53647 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53649 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53650 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53651 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53659 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53660 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53661 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53662 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53663 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53664 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53665 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53666 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53667 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53668 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53669 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53670 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53671 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53672 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53675 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53677 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53680 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53681 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53682 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53683 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53684 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53685 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53686 * sysdeps/ieee754/s_lib_version.c: Likewise.
53687 * sysdeps/ieee754/s_matherr.c: Likewise.
53688 * sysdeps/ieee754/s_signgam.c: Likewise.
53689 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53690 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53691 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53692 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53693 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53694 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53695 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53696 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53697 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53698 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53699 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53700 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53701 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53702 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53703 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53704 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53706 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53709 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53711 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53713 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53714 * sunrpc/rpc_main.c: Likewise.
53715 * sunrpc/rpc_svcout.c: Likewise.
53717 2012-03-09 David S. Miller <davem@davemloft.net>
53719 * include/math_private.h: New file.
53721 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53723 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53724 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53725 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53726 from <bits/socket_type.h>.
53727 (enum __socket_type): Don't define here.
53728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53730 bits/socket_type.h.
53733 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53734 checking __USE_GNU.
53736 * Makerules ($(inst_includedir)/%.h): New rule.
53737 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53738 (install-others): Remove variable setting.
53739 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53741 2012-03-08 Richard Henderson <rth@twiddle.net>
53743 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53744 from macro to inline function; merge with the
53745 !__LIBC_INTERNAL_MATH_INLINES version.
53746 (__ieee754_sqrtf): Likewise.
53748 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53749 to inline function.
53750 (__rintf, __floor, __floorf): Likewise.
53752 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53753 macro to inline function.
53754 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53757 not <math/math_private.h>.
53759 2012-03-08 David S. Miller <davem@davemloft.net>
53761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53763 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53765 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53767 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53769 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53770 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53772 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53774 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53775 be defined individually, they must be defined as a block. Define
53776 S for printing a string instead of hidint the different by using a
53777 macro for adding the 'l'.
53778 * stdio-common/tst-fphex-wide.c: Adjust.
53780 2012-03-07 Marek Polacek <polacek@redhat.com>
53782 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53784 2012-03-08 Marek Polacek <polacek@redhat.com>
53787 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53788 * stdio-common/tst-fphex.c: Define a few macros to make the
53789 test reusable. Use them.
53790 * stdio-common/tst-fphex-wide.c: New file.
53792 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53795 * manual/macros.texi (gnusystems): New macro.
53796 (nongnusystems): Likewise.
53797 (gnulinuxhurdsystems): Likewise.
53798 (gnuhurdsystems): Likewise..
53799 (gnulinuxsystems): Likewise.
53800 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53801 variants of the GNU system, not "GNU system".
53802 * manual/conf.texi: Likewise.
53803 * manual/errno.texi: Likewise. Update example of errno macro
53805 * manual/filesys.texi: Likewise.
53806 (getumask): Document as specific to GNU/Hurd.
53807 * manual/install.texi: Likewise. Reword some references to
53809 * manual/intro.texi: Likewise.
53810 * manual/io.texi: Likewise.
53811 (File Name Portability): Detail which constraints are inapplicable
53812 to all GNU systems and which are only inapplicable to GNU/Hurd.
53813 * manual/job.texi: Likewise.
53814 * manual/llio.texi: Likewise.
53815 (O_NOCTTY): Document as present on GNU/Linux.
53816 * manual/maint.texi: Likewise.
53817 * manual/memory.texi: Likewise.
53818 * manual/pattern.texi: Likewise.
53819 * manual/pipe.texi: Likewise.
53820 * manual/process.texi: Likewise.
53821 * manual/resource.texi: Likewise.
53822 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53824 * manual/setjmp.texi: Likewise.
53825 * manual/signal.texi: Likewise.
53826 * manual/startup.texi: Likewise.
53827 * manual/stdio.texi: Likewise.
53828 * manual/terminal.texi: Likewise.
53829 (ONLCR): Document as POSIX.
53830 (OXTABS): Document availability on GNU/Linux as XTABS.
53831 (ONOEOT): Document availability separately from other bits.
53832 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53833 * manual/time.texi: Likewise.
53834 * manual/users.texi: Likewise.
53835 * INSTALL: Regenerated.
53836 * sysdeps/gnu/errlist.c: Regenerated.
53838 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53839 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53840 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53842 * configure: Regenerated.
53844 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53846 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53847 default includes instead of AC_HEADER_CHECK.
53848 * sysdeps/i386/configure: Regenerated.
53851 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53852 * math/s_cacoshf.c (__cacoshf): Likewise.
53853 * math/s_cacoshl.c (__cacoshl): Likewise.
53854 * math/s_casinh.c (__casinh): Set signs of result from argument.
53855 * math/s_casinhf.c (__casinhf): Likewise.
53856 * math/s_casinhl.c (__casinhl): Likewise.
53857 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53858 (casinh_test): Add more tests.
53859 * sysdeps/i386/fpu/libm-test-ulps: Update.
53860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53862 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53864 * po/zh_TW.po: Update from translation team.
53866 * login/Makefile (distribute): Remove variable.
53867 * catgets/Makefile: Likewise.
53868 * mach/Makefile: Likewise.
53869 * malloc/Makefile: Likewise.
53870 * misc/Makefile: Likewise.
53871 * iconv/Makefile: Likewise.
53872 * nscd/Makefile: Likewise.
53873 * hurd/Makefile: Likewise.
53874 * manual/Makefile: Likewise.
53875 * locale/Makefile: Likewise.
53876 * intl/Makefile: Likewise.
53877 * conform/Makefile: Likewise.
53878 * nss/Makefile: Likewise.
53879 * time/Makefile: Likewise.
53880 * soft-fp/Makefile: Likewise.
53881 * dirent/Makefile: Likewise.
53882 * gmon/Makefile: Likewise.
53883 * po/Makefile: Likewise.
53884 * rt/Makefile: Likewise.
53885 * socket/Makefile: Likewise.
53886 * math/Makefile: Likewise.
53887 * signal/Makefile: Likewise.
53888 * debug/Makefile: Likewise.
53889 * elf/Makefile: Likewise.
53890 * timezone/Makefile: Likewise.
53891 * stdlib/Makefile: Likewise.
53892 * iconvdata/Makefile: Likewise.
53893 * sunrpc/Makefile: Likewise.
53894 * io/Makefile: Likewise.
53895 * argp/Makefile: Likewise.
53896 * inet/Makefile: Likewise.
53897 * hesiod/Makefile: Likewise.
53898 * grp/Makefile: Likewise.
53899 * csu/Makefile: Likewise.
53900 * wctype/Makefile: Likewise.
53901 * crypt/Makefile: Likewise.
53902 * libio/Makefile: Likewise.
53903 * string/Makefile: Likewise.
53904 * nis/Makefile: Likewise.
53905 * resolv/Makefile: Likewise.
53906 * stdio-common/Makefile: Likewise.
53907 * wcsmbs/Makefile: Likewise.
53908 * dlfcn/Makefile: Likewise.
53909 * posix/Makefile: Likewise.
53912 * timezone/Makefile: Don't install timezone files, just the programs
53915 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53917 * nss/databases.def: Add missing gshadow entry.
53919 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53921 2012-03-06 Marek Polacek <polacek@redhat.com>
53924 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53925 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53926 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53927 * stdio-common/tst-long-dbl-fphex.c: New file.
53929 2012-03-06 David S. Miller <davem@davemloft.net>
53931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53932 (set_obp_int): New function.
53933 (get_obp_int): New function.
53934 (__get_clockfreq_via_dev_openprom): Likewise.
53935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53936 Avoid unused variable warnings on 'val' and use builtin_expect.
53937 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53939 (INLINE_CLONE_SYSCALL): Likewise.
53941 2012-03-05 David S. Miller <davem@davemloft.net>
53943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53945 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53950 only for |x| >= 40.
53951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53953 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53956 Replace gettimeofday with __vdso_gettimeofday.
53958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53959 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53960 __vdso_clock_gettime and __vdso_getcpu.
53962 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53963 time with __vdso_time.
53965 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53967 * manual/lang.texi (size_t): Note types to which size_t may be
53968 equivalent with the GNU C Library, but do not describe when
53969 differences between them are significant.
53971 2012-03-05 Andreas Jaeger <aj@suse.de>
53973 * sysdeps/i386/fpu/libm-test-ulps: Update.
53975 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53978 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53979 (__ieee754_pow): Save and restore rounding mode and use
53980 round-to-nearest for main computations.
53981 * math/libm-test.inc (pow_test_tonearest): New function.
53982 (pow_test_towardzero): Likewise.
53983 (pow_test_downward): Likewise.
53984 (pow_test_upward): Likewise.
53985 (main): Call the new functions.
53986 * sysdeps/i386/fpu/libm-test-ulps: Update.
53987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53990 * math/libm-test.inc (cosh_test_tonearest): New function.
53991 (cosh_test_towardzero): Likewise.
53992 (cosh_test_downward): Likewise.
53993 (cosh_test_upward): Likewise.
53994 (sinh_test_tonearest): Likewise.
53995 (sinh_test_towardzero): Likewise.
53996 (sinh_test_downward): Likewise.
53997 (sinh_test_upward): Likewise.
53998 (main): Call the new functions.
53999 * sysdeps/i386/fpu/libm-test-ulps: Update.
54000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54002 2012-03-05 Tom de Vries <tom@codesourcery.com>
54004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54005 default stack guard is set in last bytes.
54006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54008 2012-03-05 Kees Cook <keescook@chromium.org>
54010 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54013 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54014 possibly allocate from heap instead of stack.
54015 * stdio-common/bug-vfprintf-nargs.c: New file.
54016 * stdio-common/Makefile (tests): Add nargs overflow test.
54018 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
54020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54022 2012-03-03 Marek Polacek <polacek@redhat.com>
54024 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54025 * math/math_private.h: Likewise.
54026 * stdlib/tst-strtod.c: Likewise.
54027 * sysdeps/i386/i486/bits/atomic.h: Likewise.
54028 * sysdeps/x86_64/bits/atomic.h: Likewise.
54030 2012-03-02 David S. Miller <davem@davemloft.net>
54032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54036 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54037 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54038 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54039 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54041 2012-03-02 Roland McGrath <roland@hack.frob.com>
54044 * manual/examples/README: New file, says the example source files
54045 can be used under GPL>=2.
54046 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54047 line containing just "*/".
54048 * manual/examples/add.c: Add copyright header (GPL>=2).
54049 * manual/examples/argp-ex1.c: Likewise.
54050 * manual/examples/argp-ex2.c: Likewise.
54051 * manual/examples/argp-ex3.c: Likewise.
54052 * manual/examples/argp-ex4.c: Likewise.
54053 * manual/examples/atexit.c: Likewise.
54054 * manual/examples/db.c: Likewise.
54055 * manual/examples/dir.c: Likewise.
54056 * manual/examples/dir2.c: Likewise.
54057 * manual/examples/execinfo.c: Likewise.
54058 * manual/examples/filecli.c: Likewise.
54059 * manual/examples/filesrv.c: Likewise.
54060 * manual/examples/fmtmsgexpl.c: Likewise.
54061 * manual/examples/genpass.c: Likewise.
54062 * manual/examples/inetcli.c: Likewise.
54063 * manual/examples/inetsrv.c: Likewise.
54064 * manual/examples/isockad.c: Likewise.
54065 * manual/examples/longopt.c: Likewise.
54066 * manual/examples/memopen.c: Likewise.
54067 * manual/examples/memstrm.c: Likewise.
54068 * manual/examples/mkfsock.c: Likewise.
54069 * manual/examples/mkisock.c: Likewise.
54070 * manual/examples/mygetpass.c: Likewise.
54071 * manual/examples/pipe.c: Likewise.
54072 * manual/examples/popen.c: Likewise.
54073 * manual/examples/rprintf.c: Likewise.
54074 * manual/examples/search.c: Likewise.
54075 * manual/examples/select.c: Likewise.
54076 * manual/examples/setjmp.c: Likewise.
54077 * manual/examples/sigh1.c: Likewise.
54078 * manual/examples/sigusr.c: Likewise.
54079 * manual/examples/stpcpy.c: Likewise.
54080 * manual/examples/strdupa.c: Likewise.
54081 * manual/examples/strftim.c: Likewise.
54082 * manual/examples/strncat.c: Likewise.
54083 * manual/examples/subopt.c: Likewise.
54084 * manual/examples/swapcontext.c: Likewise.
54085 * manual/examples/termios.c: Likewise.
54086 * manual/examples/testopt.c: Likewise.
54087 * manual/examples/testpass.c: Likewise.
54088 * manual/examples/timeval_subtract.c: Likewise.
54091 * manual/time.texi (Elapsed Time): Move timeval_subtract example
54093 * manual/timeval_subtract.c.texi: ... here, new file.
54095 2012-03-02 David S. Miller <davem@davemloft.net>
54097 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54099 2012-03-02 Joseph Myers <joseph@codesourcery.com>
54102 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54103 (__sin): Save and restore rounding mode and use round-to-nearest
54104 for all computations.
54105 (__cos): Save and restore rounding mode and use round-to-nearest
54106 for all computations.
54107 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54109 (tan): Save and restore rounding mode and use round-to-nearest for
54111 * math/libm-test.inc (cos_test_tonearest): New function.
54112 (cos_test_towardzero): Likewise.
54113 (cos_test_downward): Likewise.
54114 (cos_test_upward): Likewise.
54115 (sin_test_tonearest): Likewise.
54116 (sin_test_towardzero): Likewise.
54117 (sin_test_downward): Likewise.
54118 (sin_test_upward): Likewise.
54119 (tan_test_tonearest): Likewise.
54120 (tan_test_towardzero): Likewise.
54121 (tan_test_downward): Likewise.
54122 (tan_test_upward): Likewise.
54123 (main): Call the new functions.
54124 * sysdeps/i386/fpu/libm-test-ulps: Update.
54125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54128 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54129 small n, then large n, before computing and testing k+n.
54130 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54135 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54136 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54143 * math/libm-test.inc (scalbn_test): Add more tests.
54144 (scalbln_test): Likewise.
54146 * manual/filesys.texi (mode_t): Describe constraints on size and
54147 signedness, not exact equivalence to a particular type.
54149 (ino64_t): Likewise.
54151 (nlink_t): Likewise.
54152 (blkcnt_t): Likewise.
54153 (blkcnt64_t): Likewise.
54154 * manual/llio.texi (off_t): Likewise.
54157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54158 (__ieee754_exp): Save and restore rounding mode and use
54159 round-to-nearest for all computations.
54160 * math/libm-test.inc (exp_test_tonearest): New function.
54161 (exp_test_towardzero): Likewise.
54162 (exp_test_downward): Likewise.
54163 (exp_test_upward): Likewise.
54164 (main): Call the new functions.
54165 * sysdeps/i386/fpu/libm-test-ulps: Update.
54166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54168 2012-03-01 Chris Demetriou <cgd@google.com>
54170 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54171 have predictable order.
54173 2012-03-01 David S. Miller <davem@davemloft.net>
54175 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54177 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54178 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54179 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54180 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54182 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54183 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54184 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54186 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54187 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54188 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54189 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54190 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54195 * sysdeps/sparc/fpu/libm-test-ulps: to here.
54196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54198 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54199 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54200 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54201 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54202 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54205 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54206 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54207 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54208 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54209 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54211 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54212 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54214 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54215 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54216 * sysdeps/sparc/elf/configure: Regenerated.
54218 2012-03-01 Joseph Myers <joseph@codesourcery.com>
54220 * configure.in (AS, LD): Require binutils 2.20 or later.
54221 * configure: Regenerated.
54222 * manual/install.texi (Tools for Compilation): Give binutils 2.20
54223 as required minimum version.
54224 * INSTALL: Regenerated.
54228 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54229 before squaring exponent.
54230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54231 bottom long double and 27 bits of top long double before squaring
54233 * math/libm-test.inc (erfc_test): Add more tests.
54234 * sysdeps/i386/fpu/libm-test-ulps: Update.
54235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54238 2012-03-01 Kai Tietz <ktietz@redhat.com>
54240 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54241 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54242 containing bit-fields.
54243 * soft-fp/extended.h (_FP_UNION_E): Likewise.
54244 * soft-fp/single.h (_FP_UNION_S): Likewise.
54245 * soft-fp/double.h (_FP_UNION_D): Likewise.
54247 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54250 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54251 not include ../strcmp.S.
54252 [USE_AS_STRNCASECMP_L]: Likewise.
54253 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54254 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54255 * sysdeps/i386/i686/multiarch/strncase_l-c.c
54256 (__strncasecmp_l_ia32): Define as alias to
54257 __strncasecmp_l_nonascii.
54260 * math/libm-test.inc (expm1_test): Add test for bug 5794.
54261 * sysdeps/i386/fpu/libm-test-ulps: Update.
54262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54264 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54267 2012-02-29 Jeff Law <law@redhat.com>
54269 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54270 out of bounds read.
54272 2012-02-29 Marek Polacek <polacek@redhat.com>
54275 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54276 * elf/Makefile: Add rules to run tst-unused-dep.out.
54278 2012-02-28 David S. Miller <davem@davemloft.net>
54280 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54281 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54283 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54284 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54285 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54287 2012-02-29 Joseph Myers <joseph@codesourcery.com>
54289 * math/libm-test.inc (llround_test): Move one test from
54290 lround_test. Use TEST_f_L in moved test.
54291 (lround_test): Move misplaced test to llround_test. Add testcase
54294 2012-02-28 Ulrich Drepper <drepper@gmail.com>
54296 * sysdeps/x86_64/fpu/e_expf.S: New file.
54297 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54299 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
54302 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54303 of remain_len that may cause incomplete multi-byte character and
54305 * posix/bug-regex33.c: New file.
54306 * posix/Makefile (tests): Add bug-regex33.
54308 2012-02-28 Joseph Myers <joseph@codesourcery.com>
54310 * manual/macros.texi: New file.
54311 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54312 * manual/libc.texinfo: Include macros.texi.
54313 * manual/creatute.texi: Likewise.
54314 * manual/install.texi: Likewise.
54315 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54316 @glibcadj{} in references to the GNU C Library.
54317 * manual/charset.texi: Likewise.
54318 * manual/conf.texi: Likewise.
54319 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
54320 when not using those macros.
54321 * manual/creature.texi: Likewise.
54322 * manual/crypt.texi: Likewise.
54323 * manual/errno.texi: Likewise.
54324 * manual/filesys.texi: Likewise.
54325 * manual/header.texi: Likewise.
54326 * manual/install.texi: Likewise.
54327 * manual/intro.texi: Likewise.
54328 * manual/io.texi: Likewise.
54329 * manual/job.texi: Likewise.
54330 * manual/lang.texi: Likewise.
54331 * manual/libc.texiinfo: Likewise.
54332 * manual/llio.texi: Likewise.
54333 * manual/locale.texi: Likewise.
54334 * manual/maint.texi: Likewise.
54335 * manual/math.texi: Likewise.
54336 * manual/memory.texi: Likewise.
54337 * manual/message.texi: Likewise.
54338 * manual/nss.texi: Likewise.
54339 * manual/pattern.texi: Likewise.
54340 * manual/process.texi: Likewise.
54341 * manual/resource.texi: Likewise.
54342 * manual/search.texi: Likewise.
54343 * manual/setjmp.texi: Likewise.
54344 * manual/signal.texi: Likewise.
54345 * manual/socket.texi: Likewise.
54346 * manual/startup.texi: Likewise.
54347 * manual/stdio.texi: Likewise.
54348 * manual/string.texi: Likewise.
54349 * manual/sysinfo.texi: Likewise.
54350 * manual/syslog.texi: Likewise.
54351 * manual/terminal.texi: Likewise.
54352 * manual/time.texi: Likewise.
54353 * manual/users.texi: Likewise.
54354 * INSTALL: Regenerated.
54355 * NOTES: Regenerated.
54356 * sysdeps/gnu/errlist.c: Regenerated.
54358 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
54360 * include/dirent.h: Include <dirstream.h> before
54363 2012-02-28 David S. Miller <davem@davemloft.net>
54365 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54366 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54367 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54368 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54370 2012-02-27 David S. Miller <davem@davemloft.net>
54372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54374 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54375 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54378 frame pointer instead of stack pointer relative arg slot.
54379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54383 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
54386 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54388 2012-02-27 David S. Miller <davem@davemloft.net>
54390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54396 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54397 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54399 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54401 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54402 later. Allow versions 5-9.
54403 * configure: Regenerated.
54404 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54405 required minimum version and 4.6 as recommended version. Do not
54406 mention bugs in GCC 2.7 and 2.8.
54407 * INSTALL: Regenerated.
54409 2012-02-27 David S. Miller <davem@davemloft.net>
54411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54415 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54416 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54417 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54418 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54421 manipulate bits before adding and subtracting TWO112[sx].
54422 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54424 2012-02-27 Roland McGrath <roland@hack.frob.com>
54427 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54428 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54429 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54430 being in POSIX, because they are in 1003.1-2008.
54432 * rt/tst-aio.c: Include <fcntl.h>.
54433 * rt/tst-aio7.c: Likewise.
54434 * rt/tst-aio64.c: Likewise.
54436 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54438 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54440 * manual/install.texi (--with-headers): Describe headers as
54441 interface headers, not private headers.
54442 (Specific advice for GNU/Linux systems): Describe use of headers
54443 from "make headers_install", not private headers from older
54445 * INSTALL: Regenerated.
54446 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54448 * sysdeps/unix/sysv/linux/configure: Regenerated.
54450 * manual/llio.texi (fclean): Remove documentation.
54452 * manual/Makefile (libc-texi-generated): New variable. Include
54454 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54455 $(libc-texi-generated), not duplicated list of files.
54456 (version.texi, stamp-version): New rules.
54457 (realclean): Remove $(libc-texi-generated), not individual files
54458 from that list. Do not remove dir-add.texinfo.
54459 * manual/libc.texinfo: Comment out uses of edition numbers and
54460 references to printed manual. Remove last-updated dates.
54461 (EDITION): Comment out.
54463 (VERSION, UPDATED): Remove.
54464 (version.texi): Include.
54466 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54468 * sysdeps/posix/spawni.c: Include <signal.h>.
54469 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54470 * sysdeps/pthread/aio_fsync.c: Likewise.
54472 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54474 * conform/Makefile (tests): Run only when not cross-compiling and
54475 when fast-check is not defined.
54477 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54478 * conform/data/limits.h-data: Fixes for POSIX2008.
54479 * conform/run-conformtest.sh: Run all tests.
54480 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54482 * include/bits/dlfcn.h: Likewise.
54483 * include/langinfo.h: Likewise.
54484 * include/monetary.h: Likewise.
54485 * include/sys/poll.h: Likewise.
54487 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54489 * posix/spawn.h: Define __need_sigset_t.
54490 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54491 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54492 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54493 to get sigevent_t only.
54494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54495 only for __USE_GNU.
54496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54497 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54498 process_vm_writev only for __USE_GNU.
54499 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54501 * conform/Makefile: For now ignore errors from run-conformtest.
54502 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54503 POSIX to avoid namespace pollution. Don't prepend headers.
54504 * conform/data/aio.h-data: Fixes for POSIX testing.
54505 * conform/data/fcntl.h-data: Likewise.
54506 * conform/data/glob.h-data: Likewise.
54507 * conform/data/grp.h-data: Likewise.
54508 * conform/data/pthread.h-data: Likewise.
54509 * conform/data/pwd.h-data: Likewise.
54510 * conform/data/signal.h-data: Likewise.
54511 * conform/data/spawn.h-data: Likewise.
54512 * conform/data/stdio.h-data: Likewise.
54513 * conform/data/stdlib.h-data: Likewise.
54514 * conform/data/stropts.h-data: Likewise.
54515 * conform/data/sys/mman.h-data: Likewise.
54516 * conform/data/sys/stat.h-data: Likewise.
54517 * conform/data/sys/types.h-data: Likewise.
54518 * conform/data/sys/wait.h-data: Likewise.
54519 * conform/data/time.h-data: Likewise.
54520 * conform/data/unistd.h-data: Likewise.
54521 * conform/data/utime.h-data: Likewise.
54523 * io/sys/stat.h: fchmod was always in POSIX.
54524 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54525 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54526 * rt/aio.h: Define __need_timespec before including <time.h>.
54527 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54528 struct. Add forward declaration of pthread_attr_t and use it in
54530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54532 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54533 always remove CLK_TCK definition.
54535 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54537 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54539 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54541 * conform/run-conformtest.sh: New file.
54542 * conform/Makefile: Run run-conformtest for tests.
54543 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54546 * conform/data/uchar.h-data: New file.
54547 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54548 * conform/data/arpa/inet.h-data: Likewise.
54549 * conform/data/assert.h-data: Likewise.
54550 * conform/data/complex.h-data: Likewise.
54551 * conform/data/cpio.h-data: Likewise.
54552 * conform/data/ctype.h-data: Likewise.
54553 * conform/data/dirent.h-data: Likewise.
54554 * conform/data/dlfcn.h-data: Likewise.
54555 * conform/data/errno.h-data: Likewise.
54556 * conform/data/fcntl.h-data: Likewise.
54557 * conform/data/float.h-data: Likewise.
54558 * conform/data/fmtmsg.h-data: Likewise.
54559 * conform/data/fnmatch.h-data: Likewise.
54560 * conform/data/ftw.h-data: Likewise.
54561 * conform/data/glob.h-data: Likewise.
54562 * conform/data/grp.h-data: Likewise.
54563 * conform/data/iconv.h-data: Likewise.
54564 * conform/data/inttypes.h-data: Likewise.
54565 * conform/data/langinfo.h-data: Likewise.
54566 * conform/data/libgen.h-data: Likewise.
54567 * conform/data/limits.h-data: Likewise.
54568 * conform/data/locale.h-data: Likewise.
54569 * conform/data/math.h-data: Likewise.
54570 * conform/data/monetary.h-data: Likewise.
54571 * conform/data/mqueue.h-data: Likewise.
54572 * conform/data/ndbm.h-data: Likewise.
54573 * conform/data/net/if.h-data: Likewise.
54574 * conform/data/netdb.h-data: Likewise.
54575 * conform/data/netinet/in.h-data: Likewise.
54576 * conform/data/nl_types.h-data: Likewise.
54577 * conform/data/poll.h-data: Likewise.
54578 * conform/data/pthread.h-data: Likewise.
54579 * conform/data/pwd.h-data: Likewise.
54580 * conform/data/regex.h-data: Likewise.
54581 * conform/data/sched.h-data: Likewise.
54582 * conform/data/search.h-data: Likewise.
54583 * conform/data/semaphore.h-data: Likewise.
54584 * conform/data/setjmp.h-data: Likewise.
54585 * conform/data/signal.h-data: Likewise.
54586 * conform/data/spawn.h-data: Likewise.
54587 * conform/data/stdarg.h-data: Likewise.
54588 * conform/data/stdio.h-data: Likewise.
54589 * conform/data/stdlib.h-data: Likewise.
54590 * conform/data/string.h-data: Likewise.
54591 * conform/data/strings.h-data: Likewise.
54592 * conform/data/stropts.h-data: Likewise.
54593 * conform/data/sys/ipc.h-data: Likewise.
54594 * conform/data/sys/mman.h-data: Likewise.
54595 * conform/data/sys/msg.h-data: Likewise.
54596 * conform/data/sys/resource.h-data: Likewise.
54597 * conform/data/sys/select.h-data: Likewise.
54598 * conform/data/sys/sem.h-data: Likewise.
54599 * conform/data/sys/shm.h-data: Likewise.
54600 * conform/data/sys/socket.h-data: Likewise.
54601 * conform/data/sys/stat.h-data: Likewise.
54602 * conform/data/sys/statvfs.h-data: Likewise.
54603 * conform/data/sys/time.h-data: Likewise.
54604 * conform/data/sys/timeb.h-data: Likewise.
54605 * conform/data/sys/times.h-data: Likewise.
54606 * conform/data/sys/types.h-data: Likewise.
54607 * conform/data/sys/uio.h-data: Likewise.
54608 * conform/data/sys/un.h-data: Likewise.
54609 * conform/data/sys/utsname.h-data: Likewise.
54610 * conform/data/sys/wait.h-data: Likewise.
54611 * conform/data/syslog.h-data: Likewise.
54612 * conform/data/tar.h-data: Likewise.
54613 * conform/data/termios.h-data: Likewise.
54614 * conform/data/utime.h-data: Likewise.
54615 * conform/data/utmpx.h-data: Likewise.
54616 * conform/data/varargs.h-data: Likewise.
54617 * conform/data/wchar.h-data: Likewise.
54618 * conform/data/wctype.h-data: Likewise.
54619 * conform/data/wordexp.h-data: Likewise.
54621 * include/stropts.h: New file.
54622 * include/uchar.h: New file.
54623 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54624 * include/assert.h: Likewise.
54625 * include/ctype.h: Likewise.
54626 * include/dirent.h: Likewise.
54627 * include/dlfcn.h: Likewise.
54628 * include/fcntl.h: Likewise.
54629 * include/fnmatch.h: Likewise.
54630 * include/glob.h: Likewise.
54631 * include/grp.h: Likewise.
54632 * include/libio.h: Likewise.
54633 * include/locale.h: Likewise.
54634 * include/math.h: Likewise.
54635 * include/net/if.h: Likewise.
54636 * include/netdb.h: Likewise.
54637 * include/netinet/in.h: Likewise.
54638 * include/pthread.h: Likewise.
54639 * include/pwd.h: Likewise.
54640 * include/regex.h: Likewise.
54641 * include/sched.h: Likewise.
54642 * include/search.h: Likewise.
54643 * include/setjmp.h: Likewise.
54644 * include/signal.h: Likewise.
54645 * include/stdio.h: Likewise.
54646 * include/stdlib.h: Likewise.
54647 * include/string.h: Likewise.
54648 * include/sys/cdefs.h: Likewise.
54649 * include/sys/mman.h: Likewise.
54650 * include/sys/msg.h: Likewise.
54651 * include/sys/resource.h: Likewise.
54652 * include/sys/select.h: Likewise.
54653 * include/sys/socket.h: Likewise.
54654 * include/sys/stat.h: Likewise.
54655 * include/sys/statvfs.h: Likewise.
54656 * include/sys/time.h: Likewise.
54657 * include/sys/times.h: Likewise.
54658 * include/sys/uio.h: Likewise.
54659 * include/sys/utsname.h: Likewise.
54660 * include/sys/wait.h: Likewise.
54661 * include/termios.h: Likewise.
54662 * include/time.h: Likewise.
54663 * include/ulimit.h: Likewise.
54664 * include/unistd.h: Likewise.
54665 * include/utime.h: Likewise.
54666 * include/wchar.h: Likewise.
54667 * include/wctype.h: Likewise.
54668 * include/wordexp.h: Likewise.
54670 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54672 * time/time.h: TIME_UTC must be a macro.
54673 Make timespec_get available for ISO C11 only as well.
54675 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54677 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54678 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54680 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54682 * configure.in: Use -o not -a in test for unsupported multi-arch.
54684 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54686 * manual/texinfo.tex: Update to version 2012-01-19.16.
54688 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54690 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54692 2012-02-24 Roland McGrath <roland@hack.frob.com>
54695 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54696 * manual/fdl-1.3.texi: New file.
54697 * manual/fdl-1.1.texi: File removed.
54700 * manual/libc.texinfo (FDL_VERSION): New @set.
54701 Use it for mention of FDL in cover text.
54702 (Documentation License): Use it in @include file name.
54704 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54705 Roland McGrath <roland@hack.frob.com>
54708 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54709 (not LONG_LONG_MAX and LONG_LONG_MIN.
54710 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54711 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54713 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54715 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54719 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54720 manipulate bits before adding and subtracting TWO23[sx].
54721 * math/libm-test.inc (nearbyint_test): Add more tests.
54723 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54726 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54727 bits before adding and subtracting TWO23[sx].
54728 * math/libm-test.inc (rint_test): Add more tests.
54729 (rint_test_tonearest): Likewise.
54730 (rint_test_towardzero): Likewise.
54731 (rint_test_downward): Likewise.
54732 (rint_test_upward: Likewise.
54734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54737 * include/stdc-predef.h: New file. Extracted from features.h.
54738 * include/features.h: Include stdc-predef.h.
54739 * Makefile (headers): Add stdc-predef.h.
54740 * CONFORMANCE (Compiler limitations): Update.
54742 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54744 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54746 2012-02-21 David S. Miller <davem@davemloft.net>
54748 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54749 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54751 2012-02-20 David S. Miller <davem@davemloft.net>
54753 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54754 using a normal save/restore sequence, rather than allocating a
54755 dummy stack frame just to store a frame pointer and restore.
54756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54758 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54760 * manual/install.texi: Fix stray word in line-wrapped comment.
54762 2012-02-20 David S. Miller <davem@davemloft.net>
54764 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54765 both binutils and gcc support GOTDATA.
54767 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54768 "rd %pc" in the PIC register setup sequences.
54770 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54771 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54772 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54773 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54779 (SYSCALL_ERROR_HANDLER): Likewise.
54780 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54781 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54783 (SYSCALL_ERROR_HANDLER): Likewise.
54785 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54786 (HAVE_GCC_GOTDATA): New.
54787 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54788 relocation support in both binutils and gcc.
54789 * sysdeps/sparc/elf/configure: Regenerate.
54791 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54792 * sysdeps/sparc/sparc32/elf/configure: Delete.
54793 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54794 * sysdeps/sparc/sparc64/elf/configure: Delete.
54795 * sysdeps/sparc/elf/configure.in: New file.
54796 * sysdeps/sparc/elf/configure: Generate.
54798 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54799 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54800 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54801 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54802 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54804 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54806 * manual/install.texi: Do not mention specific glibc version
54808 * manual/libc.texinfo (VERSION, UPDATED): Update.
54809 (@copying): Use @copyright{} and range of years.
54811 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54814 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54815 [crti.S not in sysdirs] (generated): Do not append.
54816 [crti.S not in sysdirs] (omit-deps): Likewise.
54817 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54818 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54819 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54820 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54821 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54823 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54824 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54825 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54826 * csu/defs.awk: Remove file.
54827 * sysdeps/generic/initfini.c: Likewise.
54828 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54830 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54833 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54835 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54836 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54837 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54838 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54840 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54842 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54843 (__EPOLL_PACKED): Define to empty if not defined by
54845 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54849 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54851 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54852 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54853 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54854 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54856 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54860 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54862 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54865 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54869 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54874 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54876 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54877 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54879 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54881 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54884 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54886 * math/w_acos.c: Use non-signaling floating-point comparisons.
54887 * math/w_acosf.c: Likewise.
54888 * math/w_acosh.c: Likewise.
54889 * math/w_acoshf.c: Likewise.
54890 * math/w_acoshl.c: Likewise.
54891 * math/w_acosl.c: Likewise.
54892 * math/w_asin.c: Likewise.
54893 * math/w_asinf.c: Likewise.
54894 * math/w_asinl.c: Likewise.
54895 * math/w_atanh.c: Likewise.
54896 * math/w_atanhf.c: Likewise.
54897 * math/w_atanhl.c: Likewise.
54898 * math/w_exp2.c: Likewise.
54899 * math/w_exp2f.c: Likewise.
54900 * math/w_exp2l.c: Likewise.
54901 * math/w_j0.c: Likewise.
54902 * math/w_j0f.c: Likewise.
54903 * math/w_j0l.c: Likewise.
54904 * math/w_j1.c: Likewise.
54905 * math/w_j1f.c: Likewise.
54906 * math/w_j1l.c: Likewise.
54907 * math/w_jn.c: Likewise.
54908 * math/w_jnf.c: Likewise.
54909 * math/w_log.c: Likewise.
54910 * math/w_log10.c: Likewise.
54911 * math/w_log10f.c: Likewise.
54912 * math/w_log10l.c: Likewise.
54913 * math/w_log2.c: Likewise.
54914 * math/w_log2f.c: Likewise.
54915 * math/w_log2l.c: Likewise.
54916 * math/w_logf.c: Likewise.
54917 * math/w_logl.c: Likewise.
54918 * math/w_sqrt.c: Likewise.
54919 * math/w_sqrtf.c: Likewise.
54920 * math/w_sqrtl.c: Likewise.
54921 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54922 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54924 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54925 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54927 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54930 * manual/string.texi (strnlen): Use correct parameter name in
54931 equivalent expression.
54933 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54936 * manual/users.texi (seteuid): Consistently use neweuid for
54939 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54942 * manual/nss.texi (Services in the NSS configuration): Correct
54943 list of services in example configuration file.
54945 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54948 * manual/arith.texi: Remove statements about negative zero
54949 behaving identically to zero.
54951 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54954 * manual/install.texi: Do not document upgrading from libc5.
54956 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54959 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54961 2012-02-18 David S. Miller <davem@davemloft.net>
54963 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54964 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54965 %o7 across the call.
54966 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54969 SETUP_PIC_REG_LEAF.
54970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54971 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54972 * sysdeps/sparc/crtn.S: Likewise.
54974 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54976 * aout/Makefile: Remove.
54978 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54981 * manual/examples/argp-ex1.c (main): Format definition in GNU
54983 * manual/examples/argp-ex2.c (main): Likewise.
54984 * manual/examples/argp-ex3.c (main): Likewise.
54985 * manual/examples/argp-ex4.c (main): Likewise.
54986 * manual/examples/longopt.c (main): Use new-style prototype
54988 * manual/examples/strncat.c (main): Specify return type and use
54989 (void) for arguments.
54990 * manual/examples/subopt.c (main): Use char **argv argument.
54992 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54995 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54998 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
55001 * manual/string.texi (strchr): Change when strchrnul is
55004 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
55007 * manual/locale.texi (setlocale): Document LOCPATH.
55009 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55012 * manual/process.texi (execle): Move @dots{} before last argument.
55014 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
55017 * manual/charset.texi (Generic Charset Conversion): Fix typo
55018 (LC_TYPE -> LC_CTYPE).
55020 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
55023 * manual/arith.texi (scalbn): Use @var{} on parameter names.
55024 (scalbnf): Likewise.
55025 (scalbnl): Likewise.
55026 (scalbln): Likewise.
55027 (scalblnf): Likewise.
55028 (scalblnl): Likewise.
55029 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55030 (vwarnx): Likewise.
55033 * manual/filesys.texi (telldir): Use braces around return type.
55034 * manual/llio.texi (mmap): Add space after comma.
55035 (mmap64): Likewise.
55036 * manual/math.texi (jn): Use @var{} on parameter names.
55042 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55044 * manual/resource.texi (ulimit): Use @dots{} instead of literal
55046 (sched_get_priority_min): Remove semicolon on @deftypefun line.
55047 (sched_get_priority_max): Likewise.
55048 * manual/signal.texi (sigvec): Add space after comma.
55049 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55051 (if_indextoname): Likewise.
55052 (if_freenameindex): Likewise.
55053 (sendto): Use ',' instead of '.' in prototype.
55054 * manual/startup.texi (syscall): Use @dots{} instead of literal
55056 * manual/stdio.texi (__fpending): Separate initial words of
55057 paragraph from @deftypefun line.
55058 * manual/syslog.texi (syslog): Use @dots{} instead of literal
55060 (vsyslog): Use @var{} on parameter names.
55061 * manual/terminal.texi (stty): Use @var{} on parameter names.
55062 * manual/users.texi (getutmp): Use @var{} on parameter names.
55063 (getutmpx): Likewise.
55065 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55068 * manual/stdio.texi (fopen): Fix typos in description of
55071 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
55074 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55075 get clock_id definition.
55077 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
55080 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55081 (madvise): Cast every argument to void on its own.
55083 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55086 * manual/startup.texi (Exit Status): Fix typo.
55088 2012-02-17 Joseph Myers <joseph@codesourcery.com>
55091 * manual/examples/argp-ex1.c: Include <stdlib.h>.
55092 * manual/examples/argp-ex2.c: Likewise.
55093 * manual/examples/argp-ex3.c: Likewise.
55095 2012-02-16 Richard Henderson <rth@redhat.com>
55097 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55098 * sysdeps/s390/s390-32/initfini.c: Remove.
55099 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55100 * sysdeps/s390/s390-64/initfini.c: Remove.
55102 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55104 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55105 compiler output for sysdeps/generic/initfini.c.
55106 * sysdeps/sh/elf/initfini.c: Remove file.
55108 2012-02-16 David S. Miller <davem@davemloft.net>
55111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55113 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55114 * sysdeps/sparc/crti.S: New file.
55115 * sysdeps/sparc/crtn.S: New file.
55116 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55117 * sysdeps/sparc/sparc64/Makefile: Likewise.
55119 2012-02-15 Mike Frysinger <vapier@gentoo.org>
55122 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55124 2012-02-15 Roland McGrath <roland@hack.frob.com>
55127 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55129 * mach/devstream.c (cookie_io_functions_t): Macro removed.
55130 (write, read, close): Likewise.
55131 Patch by Aurelien Jarno <aurelien@aurel32.net>.
55133 2012-02-15 Joseph Myers <joseph@codesourcery.com>
55135 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55136 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55137 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55138 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55140 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55144 2012-02-14 Marek Polacek <polacek@redhat.com>
55146 * sysdeps/x86_64/crti.S: New file.
55147 * sysdeps/x86_64/crtn.S: New file.
55148 * sysdeps/x86_64/elf/initfini.c: Remove file.
55150 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55152 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55153 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55154 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55155 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55157 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55161 2012-02-13 Joseph Myers <joseph@codesourcery.com>
55163 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55164 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55165 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55166 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55168 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55172 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
55174 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55175 __feraiseexcept instead of feraiseexcept.
55177 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55178 nanosleep invocations.
55179 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55180 strings, and add error checking for a nanosleep invocations.
55182 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
55184 Replace FSF snail mail address with URLs, as per GNU coding standards.
55185 Most of the snail mail addresses were wrong anyway, and omitting
55186 them makes the source code easier to maintain. Almost all of the
55187 changes are to license notices and to locale LC_IDENTIFICATION
55188 addresses, except for this one:
55189 * manual/libc.texinfo: In "Published by", give the FSF's URL,
55190 not its snail mail address.
55192 2012-02-09 Richard Henderson <rth@twiddle.net>
55194 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55195 of kernel-features.h.
55197 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55199 2012-02-08 Marek Polacek <polacek@redhat.com>
55201 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55202 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55203 * sysdeps/gnu/_G_config.h: Likewise.
55204 * sysdeps/generic/_G_config.h: Likewise.
55206 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
55208 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55212 * sysdeps/powerpc/powerpc32/crti.S: New file.
55213 * sysdeps/powerpc/powerpc32/crtn.S: New file.
55214 * sysdeps/powerpc/powerpc64/crti.S: New file.
55215 * sysdeps/powerpc/powerpc64/crtn.S: New file.
55217 * Makeconfig (have-initfini): Don't set.
55218 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55219 * configure.in (nopic_initfini): Don't substitute.
55220 * config.h.in (HAVE_INITFINI): Don't #undef.
55221 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55222 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55224 2012-02-08 Joseph Myers <joseph@codesourcery.com>
55226 Support crti.S and crtn.S provided directly by architectures.
55227 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55228 [crti.S in sysdirs] (omit-deps): Likewise.
55229 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55230 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55231 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55232 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55233 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55234 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55235 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55236 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55237 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55238 compiler output for sysdeps/generic/initfini.c.
55239 * sysdeps/i386/elf/Makefile: Remove file.
55240 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55242 2012-02-07 Marek Polacek <polacek@redhat.com>
55244 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55245 * sysdeps/gnu/_G_config.h: Likewise.
55246 * sysdeps/mach/hurd/_G_config.h: Likewise.
55248 2012-02-07 Marek Polacek <polacek@redhat.com>
55250 * math/Makefile (tests): Add tst-CMPLX2.
55251 * math/tst-CMPLX2.c: New file.
55253 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
55255 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55257 * math/libm-test.inc (jn_test): Add missing L suffix.
55259 2012-02-06 Marek Polacek <polacek@redhat.com>
55261 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55262 * sysdeps/i386/fpu/e_powf.S: Likewise.
55263 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55264 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55265 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55266 * sysdeps/i386/fpu/e_pow.S: Likewise.
55267 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55269 * sysdeps/i386/fpu/s_expm1.S: Likewise.
55270 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55271 * sysdeps/i386/fpu/e_log2.S: Likewise.
55272 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55274 * sysdeps/i386/fpu/e_powl.S: Likewise.
55275 * sysdeps/i386/fpu/s_log1p.S: Likewise.
55276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55277 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55278 * sysdeps/i386/fpu/e_logl.S: Likewise.
55279 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55280 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55281 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55282 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55283 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55285 * sysdeps/i386/fpu/e_log.S: Likewise.
55286 * sysdeps/i386/fpu/s_cexp.S: Likewise.
55287 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55288 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55289 * sysdeps/i386/fpu/e_logf.S: Likewise.
55290 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55292 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55293 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55294 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55295 * sysdeps/i386/fpu/e_log10.S: Likewise.
55296 * sysdeps/i386/fpu/s_frexp.S: Likewise.
55297 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55298 * sysdeps/i386/fpu/s_asinh.S: Likewise.
55299 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55300 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55301 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55302 * sysdeps/i386/asm-syntax.h: Likewise.
55303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55304 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55305 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55306 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55307 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55308 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55309 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55310 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55311 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55312 * sysdeps/powerpc/sysdep.h: Likewise.
55313 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55316 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55319 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55321 2012-02-06 Joseph Myers <joseph@codesourcery.com>
55323 * sysdeps/i386/sysdep.h: Include <features.h>.
55324 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55327 2012-02-05 Joseph Myers <joseph@codesourcery.com>
55329 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55331 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55334 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55336 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55337 (SETUP_PIC_REG): Use GET_PC_THUNK.
55338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55341 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55343 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55344 for non-PIC compilation.
55345 (SETUP_PIC_REG): Add .p2align directive.
55346 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55347 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55348 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55349 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55351 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55352 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55354 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55355 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55356 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55357 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55358 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55359 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55360 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55361 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55362 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55363 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55364 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55365 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55366 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55370 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55372 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55373 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55374 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55375 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55376 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55378 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55379 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55380 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55388 2012-02-03 Joseph Myers <joseph@codesourcery.com>
55390 * math/tst-CMPLX.c: Include <stdio.h>.
55392 2012-01-31 Joseph Myers <joseph@codesourcery.com>
55394 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55396 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55397 * sysdeps/sparc/bits/mathdef.h: Likewise.
55399 2012-01-31 Marek Polacek <polacek@redhat.com>
55401 * libio/libio.h: Don't define _PARAMS.
55402 * locale/programs/config.h: Don't define PARAMS.
55403 * stdlib/strtol_l.c: Likewise.
55404 (__strtol_l): Remove PARAMS from the prototype.
55406 2012-01-31 Ulrich Drepper <drepper@gmail.com>
55408 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
55409 names. Just use the correct names. Remove unnecessary wrapper
55411 * malloc/arena.c: Likewise.
55412 * malloc/hooks.c: Likewise.
55414 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55415 ARENA_TEST says not to. Simplify test for creation of a new arena.
55416 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55418 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55420 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55422 (update_get_addr): New function.
55423 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55424 GET_ADDR_MODULE parameter.
55426 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55428 * crypt/cert.c: Remove __STDC__ conditionals.
55429 * crypt/crypt-entry.c: Likewise.
55430 * crypt/crypt_util.c: Likewise.
55431 * libio/filedoalloc.c: Likewise.
55432 * libio/fileops.c: Likewise.
55433 * libio/genops.c: Likewise.
55434 * libio/iofclose.c: Likewise.
55435 * libio/iofdopen.c: Likewise.
55436 * libio/iofopen.c: Likewise.
55437 * libio/iofopen64.c: Likewise.
55438 * libio/iogetdelim.c: Likewise.
55439 * libio/iopopen.c: Likewise.
55440 * libio/obprintf.c: Likewise.
55441 * libio/oldfileops.c: Likewise.
55442 * libio/oldiofclose.c: Likewise.
55443 * libio/oldiofdopen.c: Likewise.
55444 * libio/oldiofopen.c: Likewise.
55445 * libio/oldiopopen.c: Likewise.
55446 * libio/wfiledoalloc.c: Likewise.
55447 * libio/wgenops.c: Likewise.
55448 * locale/programs/xmalloc.c: Likewise.
55449 * misc/syslog.c: Likewise.
55450 * stdio-common/xbug.c: Likewise.
55451 * string/memchr.c: Likewise.
55452 * string/memcmp.c: Likewise.
55453 * string/memrchr.c: Likewise.
55454 * string/rawmemchr.c: Likewise.
55455 * sysdeps/posix/getcwd.c: Likewise.
55456 * time/strftime_l.c: Likewise.
55458 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55460 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55461 * config.make.in (config-cflags-sse2avx): Define.
55462 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55465 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55467 * scripts/config.guess: Update from upstream config git repository.
55468 * scripts/config.sub: Likewise.
55470 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55472 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55474 (R_TILEPRO_*, R_TILEGX_*): New macros.
55476 * scripts/firstversions.awk: Fix bug in version range handling.
55478 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55480 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55482 * include/sys/epoll.h: New file.
55483 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55486 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55488 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55489 Avoid unnecessary __WORDSIZE == 64 test.
55490 (fmaxf): Use VEX format if possible.
55495 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55496 * math/math_private.h: Remove libc_fegetround* and
55498 * sysdeps/i386/configure.in: Check for -msse2avx.
55499 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55500 also if SSE2AVX is defined.
55501 Remove libc_fegetround* and libc_fesetround*.
55502 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55503 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55507 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55508 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55509 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55510 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55512 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55514 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55516 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55518 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55520 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55523 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55525 * Makeconfig (libm): Define.
55526 * elf/Makefile: Add rules to build and run tst-relsort1.
55527 * elf/tst-relsort1.c: New file.
55528 * elf/tst-relsort1mod1.c: New file.
55529 * elf/tst-relsort1mod2.c: New file.
55531 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55533 * math/s_ldexp.c: Remove __STDC__ conditionals.
55534 * math/s_ldexpf.c: Likewise.
55535 * math/s_ldexpl.c: Likewise.
55536 * math/s_nextafter.c: Likewise.
55537 * math/s_nexttowardf.c: Likewise.
55538 * math/s_significand.c: Likewise.
55539 * math/s_significandf.c: Likewise.
55540 * math/s_significandl.c: Likewise.
55541 * math/w_jnl.c: Likewise.
55542 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55543 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55544 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55545 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55546 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55548 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55549 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55550 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55551 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55563 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55564 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55568 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55569 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55570 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55571 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55572 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55573 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55574 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55575 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55576 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55577 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55578 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55579 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55580 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55581 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55582 * sysdeps/ieee754/k_standard.c: Likewise.
55583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55584 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55585 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55586 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55587 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55588 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55589 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55590 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55591 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55593 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55594 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55595 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55632 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55633 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55644 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55645 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55647 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55648 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55649 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55657 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55658 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55659 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55660 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55661 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55662 * sysdeps/ieee754/s_matherr.c: Likewise.
55663 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55664 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55668 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55670 * crypt/md5.h: Remove __STDC__ conditionals.
55671 * libio/libioP.h: Likewise.
55672 * locale/programs/config.h: Likewise.
55673 * sysdeps/generic/sysdep.h: Likewise.
55674 * sysdeps/i386/asm-syntax.h: Likewise.
55675 * sysdeps/s390/asm-syntax.h: Likewise.
55676 * sysdeps/unix/sysdep.h: Likewise.
55677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55680 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55682 * libio/libio.h: Remove __STDC__ conditionals.
55683 * malloc/obstack.h: Likewise.
55684 * math/complex.h: Likewise.
55685 * math/math.h: Likewise.
55686 * sysdeps/generic/_G_config.h: Likewise.
55687 * sysdeps/gnu/_G_config.h: Likewise.
55688 * sysdeps/mach/hurd/_G_config.h: Likewise.
55689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55690 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55691 * sysdeps/sparc/bits/mathdef.h: Likewise.
55693 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55697 Clean up HAS_* macros.
55698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55699 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55703 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55704 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55706 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55709 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55711 * elf/tst-unique3.cc (gets): Remove declaration.
55712 * elf/tst-unique3lib.cc (gets): Likewise.
55713 * elf/tst-unique3lib2.cc (gets): Likewise.
55714 * elf/tst-unique4.cc (gets): Likewise.
55716 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55718 * include/stdio.h: Add C++ protection. Add gets declarations and
55720 * debug/tst-chk1.c: Don't declare gets here.
55721 * stdio-common/tst-gets.c: Likewise.
55723 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55725 * posix/glob: Remove directory.
55727 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55729 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55731 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55733 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55734 of the non-standard EPFNOSUPPORT.
55736 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55738 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55739 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55740 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55742 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55744 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55746 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55748 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55750 * nscd/grpcache.c (cache_addgr): Likewise.
55751 * nscd/hstcache.c (cache_addhst): Likewise.
55752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55753 * nscd/pwdcache.c (cache_addpw): Likewise.
55754 * nscd/servicescache.c (cache_addserv): Likewise.
55756 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55758 * malloc/malloc.c: Various cleanups.
55759 * malloc/hooks.c: Likewise.
55761 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55762 * stdlib/bug-fmtmsg1.c: New file.
55764 * stdlib/fmtmsg.c (init): Add missing unlock.
55765 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55767 2012-01-12 Marek Polacek <polacek@redhat.com>
55769 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55772 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55774 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55775 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55776 macro to ensure uniqueness of label name.
55777 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55778 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55780 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55782 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55784 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55785 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55789 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55791 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55793 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55794 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55795 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55797 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55800 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55804 * math/bits/math-finite.h: Add ldexp support.
55806 2012-01-10 Marek Polacek <polacek@redhat.com>
55808 * locale/programs/localedef.h (show_archive_content): Add noreturn
55811 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55813 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55815 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55817 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55819 * io/Makefile (headers): Add bits/poll2.h.
55821 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55824 typo #include statement.
55826 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55828 * include/sys/cdefs.h: Define __attribute_alloc_size.
55829 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55830 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55831 * elf/pldd.c: Likewise.
55832 * iconv/iconv_charmap.c: Likewise.
55833 * iconv/iconvconfig.c: Likewise.
55834 * iconv/strtab.c: Likewise.
55835 * locale/programs/locale.c: Likewise.
55836 * locale/programs/localedef.h: Likewise.
55837 * locale/programs/simple-hash.c: Likewise.
55838 * nscd/nscd.h: Likewise.
55839 * nss/makedb.c: Likewise.
55840 * sysdeps/generic/ldconfig.h: Likewise.
55841 * locale/programs/localedef.c: Remove xmalloc prototype.
55842 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55844 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55846 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55849 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55851 * math/Makefile (tests): Add tst-CMPLX.
55852 * math/tst-CMPLX.c: New file.
55854 * math/complex.h (CMPLXL): Fix typo.
55856 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55857 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55859 * debug/tst-chk1.c: Add poll and ppoll tests.
55860 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55861 * include/sys/poll.h: Add hidden proto for ppoll.
55862 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55863 * sysdeps/mach/hurd/ppoll.c: Likewise.
55864 * io/ppoll.c: Likewise.
55865 * debug/poll_chk.c: New file.
55866 * debug/ppoll_chk.c: New file.
55867 * include/bits/poll2.h: New file.
55868 * io/bits/poll2.h: New file.
55871 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55873 * configure.in: static is always set to yes. Remove.
55874 * config.make.in: Don't set build-static.
55875 * Makeconfig: Remove use of build-static.
55876 * dlfcn/Makefile: Likewise.
55877 * elf/Makefile: Likewise.
55878 * math/Makefile: Likewise.
55879 * misc/Makefile: Likewise.
55880 * nptl/Makefile: Likewise.
55881 * sysdeps/mach/hurd/Makefile: Likewise.
55883 * configure.in: PWD_P is not used anymore.
55884 * config.make.in: Remove PWD_P entry.
55886 * configure.in: Remove last remnants of RANLIB.
55887 No need to check for signed size_t anymore.
55888 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55890 Remove __builtin_expect test because we require at least gcc 3.4.
55891 * aclocal.m4: Likewise.
55893 * wcsmbs/mbrtoc16.c: Implement using towc function.
55894 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55895 * wcsmbs/wcsmbsload.c: Likewise.
55896 * iconv/gconv_simple.c: Likewise.
55897 * iconv/gconv_int.h: Likewise.
55898 * iconv/gconv_builtin.h: Likewise.
55899 * iconv/iconv_prog.c: Remove CHAR16 handling.
55901 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55903 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55905 * configure.in: Remove --with-elf and --enable-bounded options.
55906 Dont set base_machine for ia64. More non-ELF conditions removed.
55907 Remove testing and setting of leading underscore information.
55908 * config.make.in (build-bounded): Set to no.
55909 * config.h.in: Remove NO_UNDERSCORES entry.
55910 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55912 * csu/start.c: Remove !NO_UNDERSCORE code.
55913 * locale/localeinfo.h: Likewise.
55914 * sysdeps/generic/machine-gmon.h: Likewise.
55915 * sysdeps/generic/sysdep.h: Likewise.
55916 * sysdeps/i386/sysdep.h: Likewise.
55917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55918 * sysdeps/mach/sysdep.h: Likewise.
55919 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55921 * sysdeps/sh/sysdep.h: Likewise.
55922 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55923 * sysdeps/unix/i386/sysdep.S: Likewise.
55924 * sysdeps/unix/sparc/start.c: Likewise.
55925 * sysdeps/unix/sparc/sysdep.S: Likewise.
55926 * sysdeps/unix/sparc/sysdep.h: Likewise.
55927 * sysdeps/unix/start.c: Likewise.
55928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55929 * sysdeps/x86_64/sysdep.h: Likewise.
55931 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55934 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55936 * argp/argp-fmtstream.h: Use const instead __const.
55937 * argp/argp.h: Likewise.
55938 * assert/assert.h: Likewise.
55939 * bits/fenv.h: Likewise.
55940 * bits/sched.h: Likewise.
55941 * bits/sigset.h: Likewise.
55942 * bits/sigthread.h: Likewise.
55943 * catgets/nl_types.h: Likewise.
55944 * conform/data/pthread.h-data: Likewise.
55945 * crypt/crypt-private.h: Likewise.
55946 * crypt/crypt.h: Likewise.
55947 * crypt/crypt_util.c: Likewise.
55948 * ctype/ctype.h: Likewise.
55949 * debug/execinfo.h: Likewise.
55950 * debug/mbsnrtowcs_chk.c: Likewise.
55951 * debug/mbsrtowcs_chk.c: Likewise.
55952 * debug/wcsnrtombs_chk.c: Likewise.
55953 * debug/wcsrtombs_chk.c: Likewise.
55954 * debug/wcstombs_chk.c: Likewise.
55955 * dirent/dirent.h: Likewise.
55956 * dlfcn/dlfcn.h: Likewise.
55957 * elf/neededtest4.c: Likewise.
55958 * grp/grp.h: Likewise.
55959 * gshadow/gshadow.h: Likewise.
55960 * iconv/gconv.h: Likewise.
55961 * iconv/gconv_int.h: Likewise.
55962 * iconv/gconv_simple.c: Likewise.
55963 * iconv/iconv.h: Likewise.
55964 * iconv/loop.c: Likewise.
55965 * iconv/skeleton.c: Likewise.
55966 * include/aio.h: Likewise.
55967 * include/aliases.h: Likewise.
55968 * include/argz.h: Likewise.
55969 * include/arpa/inet.h: Likewise.
55970 * include/assert.h: Likewise.
55971 * include/dirent.h: Likewise.
55972 * include/dlfcn.h: Likewise.
55973 * include/execinfo.h: Likewise.
55974 * include/fcntl.h: Likewise.
55975 * include/fenv.h: Likewise.
55976 * include/glob.h: Likewise.
55977 * include/grp.h: Likewise.
55978 * include/libintl.h: Likewise.
55979 * include/mntent.h: Likewise.
55980 * include/netdb.h: Likewise.
55981 * include/pwd.h: Likewise.
55982 * include/rpc/netdb.h: Likewise.
55983 * include/sched.h: Likewise.
55984 * include/search.h: Likewise.
55985 * include/shadow.h: Likewise.
55986 * include/signal.h: Likewise.
55987 * include/stdio.h: Likewise.
55988 * include/stdlib.h: Likewise.
55989 * include/string.h: Likewise.
55990 * include/sys/socket.h: Likewise.
55991 * include/sys/stat.h: Likewise.
55992 * include/sys/statfs.h: Likewise.
55993 * include/sys/statvfs.h: Likewise.
55994 * include/sys/syslog.h: Likewise.
55995 * include/sys/time.h: Likewise.
55996 * include/sys/uio.h: Likewise.
55997 * include/time.h: Likewise.
55998 * include/unistd.h: Likewise.
55999 * include/utmp.h: Likewise.
56000 * include/wchar.h: Likewise.
56001 * include/wctype.h: Likewise.
56002 * inet/aliases.h: Likewise.
56003 * inet/arpa/inet.h: Likewise.
56004 * inet/netinet/ether.h: Likewise.
56005 * inet/netinet/in.h: Likewise.
56006 * intl/libintl.h: Likewise.
56007 * io/bits/fcntl2.h: Likewise.
56008 * io/fcntl.h: Likewise.
56009 * io/ftw.h: Likewise.
56010 * io/sys/poll.h: Likewise.
56011 * io/sys/stat.h: Likewise.
56012 * io/sys/statfs.h: Likewise.
56013 * io/sys/statvfs.h: Likewise.
56014 * io/utime.h: Likewise.
56015 * libio/bits/stdio.h: Likewise.
56016 * libio/bits/stdio2.h: Likewise.
56017 * libio/libio.h: Likewise.
56018 * libio/libioP.h: Likewise.
56019 * libio/stdio.h: Likewise.
56020 * locale/lc-ctype.c: Likewise.
56021 * locale/locale.h: Likewise.
56022 * login/utmp.h: Likewise.
56023 * malloc/arena.c: Likewise.
56024 * malloc/malloc.c: Likewise.
56025 * malloc/malloc.h: Likewise.
56026 * malloc/mcheck.c: Likewise.
56027 * malloc/mtrace.c: Likewise.
56028 * math/bits/mathcalls.h: Likewise.
56029 * math/fenv.h: Likewise.
56030 * math/math_private.h: Likewise.
56031 * misc/bits/error.h: Likewise.
56032 * misc/bits/syslog.h: Likewise.
56033 * misc/err.h: Likewise.
56034 * misc/error.h: Likewise.
56035 * misc/fstab.h: Likewise.
56036 * misc/mntent.h: Likewise.
56037 * misc/regexp.h: Likewise.
56038 * misc/search.h: Likewise.
56039 * misc/sgtty.h: Likewise.
56040 * misc/sys/mman.h: Likewise.
56041 * misc/sys/syslog.h: Likewise.
56042 * misc/sys/uio.h: Likewise.
56043 * misc/sys/xattr.h: Likewise.
56044 * misc/ttyent.h: Likewise.
56045 * nis/rpcsvc/ypclnt.h: Likewise.
56046 * nss/nss.h: Likewise.
56047 * posix/bits/unistd.h: Likewise.
56048 * posix/fnmatch.h: Likewise.
56049 * posix/glob.h: Likewise.
56050 * posix/sched.h: Likewise.
56051 * posix/spawn.h: Likewise.
56052 * posix/sys/wait.h: Likewise.
56053 * posix/unistd.h: Likewise.
56054 * posix/wordexp.h: Likewise.
56055 * pwd/pwd.h: Likewise.
56056 * resolv/netdb.h: Likewise.
56057 * resource/sys/resource.h: Likewise.
56058 * rt/aio.h: Likewise.
56059 * rt/bits/mqueue2.h: Likewise.
56060 * rt/mqueue.h: Likewise.
56061 * shadow/shadow.h: Likewise.
56062 * signal/signal.h: Likewise.
56063 * socket/send.c: Likewise.
56064 * socket/sendto.c: Likewise.
56065 * socket/sys/socket.h: Likewise.
56066 * stdio-common/printf.h: Likewise.
56067 * stdlib/bits/stdlib.h: Likewise.
56068 * stdlib/fmtmsg.h: Likewise.
56069 * stdlib/monetary.h: Likewise.
56070 * stdlib/stdlib.h: Likewise.
56071 * stdlib/ucontext.h: Likewise.
56072 * streams/stropts.h: Likewise.
56073 * string/argz.h: Likewise.
56074 * string/bits/string2.h: Likewise.
56075 * string/string.h: Likewise.
56076 * string/strings.h: Likewise.
56077 * sunrpc/rpc/auth.h: Likewise.
56078 * sunrpc/rpc/auth_des.h: Likewise.
56079 * sunrpc/rpc/clnt.h: Likewise.
56080 * sunrpc/rpc/netdb.h: Likewise.
56081 * sunrpc/rpc/pmap_clnt.h: Likewise.
56082 * sunrpc/rpc/xdr.h: Likewise.
56083 * sysdeps/generic/inttypes.h: Likewise.
56084 * sysdeps/generic/net/if.h: Likewise.
56085 * sysdeps/generic/sys/swap.h: Likewise.
56086 * sysdeps/gnu/net/if.h: Likewise.
56087 * sysdeps/gnu/utmpx.h: Likewise.
56088 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56089 * sysdeps/i386/i486/bits/string.h: Likewise.
56090 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56091 * sysdeps/s390/bits/string.h: Likewise.
56092 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56093 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56094 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56095 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56096 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56097 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56098 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56099 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56100 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56101 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56102 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56103 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56104 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56105 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56106 * sysdeps/unix/sysv/linux/readv.c: Likewise.
56107 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56108 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56111 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56112 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56113 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56114 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56115 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56116 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56117 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56118 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56120 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56121 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56122 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56123 * sysvipc/sys/ipc.h: Likewise.
56124 * sysvipc/sys/msg.h: Likewise.
56125 * sysvipc/sys/sem.h: Likewise.
56126 * sysvipc/sys/shm.h: Likewise.
56127 * termios/termios.h: Likewise.
56128 * time/sys/time.h: Likewise.
56129 * time/time.h: Likewise.
56130 * wcsmbs/bits/wchar2.h: Likewise.
56131 * wcsmbs/uchar.h: Likewise.
56132 * wcsmbs/wchar.h: Likewise.
56133 * wctype/wctype.h: Likewise.
56136 * Makeconfig: Remove all but ELF support including AIX support.
56137 * Makerules: Likewise.
56138 * config.h.in: Likewise.
56139 * config.make.in: Likewise.
56140 * configure: Likewise.
56141 * configure.in: Likewise.
56142 * csu/Makefile: Likewise.
56143 * csu/version.c: Likewise.
56144 * debug/Makefile: Likewise.
56145 * dlfcn/Makefile: Likewise.
56146 * elf/Makefile: Likewise.
56147 * extra-lib.mk: Likewise.
56148 * iconv/Makefile: Likewise.
56149 * include/libc-symbols.h: Likewise.
56150 * include/shlib-compat.h: Likewise.
56151 * resolv/Makefile: Likewise.
56152 * resolv/res_libc.c: Likewise.
56153 * rt/Makefile: Likewise.
56154 * sysdeps/i386/asm-syntax.h: Likewise.
56155 * sysdeps/i386/sysdep.h: Likewise.
56156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56157 * sysdeps/mach/sysdep.h: Likewise.
56158 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56159 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56160 * sysdeps/s390/asm-syntax.h: Likewise.
56161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
56162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
56163 * sysdeps/sh/sysdep.h: Likewise.
56164 * sysdeps/unix/sparc/sysdep.h: Likewise.
56165 * sysdeps/wordsize-32/divdi3.c: Likewise.
56166 * sysdeps/x86_64/sysdep.h: Likewise.
56168 * argp/Versions: Remove _argp_unlock_xxx.
56171 * abilist/ld.abilist: Update. Adjust for removal of tls option.
56172 * abilist/libBrokenLocale.abilist: Likewise.
56173 * abilist/libanl.abilist: Likewise.
56174 * abilist/libc.abilist: Likewise.
56175 * abilist/libcrypt.abilist: Likewise.
56176 * abilist/libdl.abilist: Likewise.
56177 * abilist/libm.abilist: Likewise.
56178 * abilist/libnsl.abilist: Likewise.
56179 * abilist/libpthread.abilist: Likewise.
56180 * abilist/libresolv.abilist: Likewise.
56181 * abilist/librt.abilist: Likewise.
56182 * abilist/libthread_db.abilist: Likewise.
56183 * abilist/libutil.abilist: Likewise.
56184 * abilist/libnss_db.abilist: New file.
56186 * scripts/abilist.awk: Add support for indirect functions.
56188 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56190 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56192 * shlib-versions: Remove entries for ports architectures.
56194 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
56196 * elf/stackguard-macros.h: Remove support for IA-64.
56197 * elf/tst-auditmod1.c: Likewise.
56198 * sysdeps/generic/ldsodefs.h: Likewise.
56200 * sysdeps/unix/sysv/linux/configure.in: Ports should define
56201 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56205 * configure.in: Remove --enable-omitfp support.
56207 * config.make.in: Likewise.
56208 * Makeconfig: Likewise.
56209 * manual/install.texi: Likewise.
56211 In case anyone cares, the IA-64 architecture could move to ports.
56212 * sysdeps/ia64/*: Removed.
56213 * sysdeps/unix/sysv/linux/ia64/*: Removed.
56214 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56217 * configure.in: Remove entries for unsupported architectures.
56220 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56221 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
56223 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56224 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56225 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
56226 fall back to using wcrtomb.
56227 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56228 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
56230 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56231 * wcsmbs/tst-c16c32-1.c: New file.
56233 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56236 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56238 * elf/tst-unique3.cc: Add explicit declaration of gets.
56239 * elf/tst-unique3lib.cc: Likewise.
56240 * elf/tst-unique3lib2.cc: Likewise.
56241 * elf/tst-unique4.cc: Likewise.
56243 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56245 2012-01-06 Joseph Myers <joseph@codesourcery.com>
56248 * assert/assert.h (static_assert): Don't define for C++.
56249 * libio/stdio.h (gets): Do declare for C++ <= C++11.
56250 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56252 2012-01-03 Ulrich Drepper <drepper@gmail.com>
56254 * iconv/loop.c (single loop): Fix assertion in storing of
56257 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56259 2012-01-01 Ulrich Drepper <drepper@gmail.com>
56261 * posix/getconf.c: Update copyright year.
56262 * nss/getent.c: Likewise.
56263 * nss/makedb.c: Likewise.
56264 * iconv/iconvconfig.c: Likewise.
56265 * iconv/iconv_prog.c: Likewise.
56266 * elf/ldconfig.c: Likewise.
56267 * elf/pldd.c: Likewise.
56268 * elf/sotruss.ksh: Likewise.
56269 * catgets/gencat.c: Likewise.
56270 * csu/version.c: Likewise.
56271 * elf/ldd.bash.in: Likewise.
56272 * elf/sprof.c (print_version): Likewise.
56273 * locale/programs/locale.c: Likewise.
56274 * locale/programs/localedef.c: Likewise.
56275 * login/programs/pt_chown.c: Likewise.
56276 * nscd/nscd.c (print_version): Likewise.
56277 * debug/xtrace.sh: Likewise.
56278 * malloc/memusage.sh: Likewise.
56279 * malloc/mtrace.pl: Likewise.
56280 * debug/catchsegv.sh: Likewise.
56282 2011-12-30 Jakub Jelinek <jakub@redhat.com>
56284 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56287 2011-12-24 Ulrich Drepper <drepper@gmail.com>
56290 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56291 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56293 * iconv/gconv_int.h: Likewise.
56294 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56295 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56296 from libc for GLIBC_2.16.
56297 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56298 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56299 * wcsmbs/uchar.h: Really define mbstate_t.
56300 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56301 * wcsmbs/c16rtomb.c: New file.
56302 * wcsmbs/mbrtoc16.c: New file.
56303 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56304 for C/POSIX locale.
56305 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56306 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56308 * wcsmbs/wchar.h: Add missing __restrict.
56310 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56313 * time/Makefile (routines): Add timespec_get.
56314 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56315 * time/time.h: Define TIME_UTC and declare timespec_get. Define
56316 timespec for ISO C11.
56317 * time/timespec_get.c: New file.
56318 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56319 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56322 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56323 * stdlib/stdlib.h: Declare aligned_alloc.
56324 * Versions.def: Add GLIBC_2.16 for libc.
56325 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56328 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56331 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56335 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56338 * assert/assert.h (static_assert): Define.
56340 * version.h: Update for 2.16 development version.
56343 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56346 * version.h (RELEASE): Bump for 2.15 release.
56347 * include/features.h (__GLIBC_MINOR__): Bump to 15.
56349 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56350 Patch by Marek Polacek <mpolacek@redhat.com>.
56352 * bits/byteswap.h: Protect long long constants with __extension__.
56353 * sysdeps/i386/bits/byteswap.h: Likewise.
56354 * sysdeps/ia64/bits/byteswap.h: Likewise.
56355 * sysdeps/s390/bits/byteswap.h: Likewise.
56356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56358 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56362 destination buffer.
56363 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56365 2011-12-23 Marek Polacek <polacek@redhat.com>
56367 * elf/dl-addr.c (determine_info): Add inline keyword.
56368 * elf/tst-auditmod4b.c (check_avx): Likewise.
56369 * elf/tst-auditmod6b.c (check_avx): Likewise.
56370 * elf/tst-auditmod6c.c (check_avx): Likewise.
56371 * elf/tst-auditmod7b.c (check_avx): Likewise.
56373 2011-12-23 Ulrich Drepper <drepper@gmail.com>
56375 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56378 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56381 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56382 processing for last bytes.
56384 2011-08-06 Bruno Haible <bruno@clisp.org>
56387 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56388 U+0385, not to U+1FEE.
56391 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56392 entry for U+00A5 U+0301.
56394 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56397 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56398 buffer for the output is too small.
56400 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56404 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56405 SSE flags if possible.
56407 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56411 processing for last bytes.
56413 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56415 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56416 (syscall-list-default-options, syscall-list-default-condition)
56417 (syscall-list-includes): Define.
56418 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56419 list of ABIs and options and #if conditions for each ABI. Do not
56420 handle common syscalls between ABIs specially.
56421 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56423 (syscall-list-variants, syscall-list-32bit-options)
56424 (syscall-list-32bit-condition, syscall-list-64bit-options)
56425 (syscall-list-64bit-condition): Define.
56426 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56427 (syscall-list-variants, syscall-list-32bit-options)
56428 (syscall-list-32bit-condition, syscall-list-64bit-options)
56429 (syscall-list-64bit-condition): Define.
56430 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56432 (syscall-list-variants, syscall-list-32bit-options)
56433 (syscall-list-32bit-condition, syscall-list-64bit-options)
56434 (syscall-list-64bit-condition): Define.
56435 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56437 (syscall-list-variants, syscall-list-32bit-options)
56438 (syscall-list-32bit-condition, syscall-list-64bit-options)
56439 (syscall-list-64bit-condition): Define.
56441 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56443 * locale/iso-639.def: Add brx entry.
56446 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56447 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56449 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56450 __feraiseexcept_renamed.
56452 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56455 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56456 EPOLLET with unsigned values.
56457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56460 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56461 to large cancellation.
56462 * math/s_cacoshf.c: Likewise.
56463 * math/s_cacoshl.c: Likewise.
56465 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56469 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56470 * math/s_cacoshf.c: Likewise.
56471 * math/s_cacoshl.c: Likewise.
56473 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56476 * iconv/gconv.h: Define __GCONV_SWAP.
56477 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56478 * iconvdata/utf-16.c: Likewise.
56479 * iconvdata/utf-32.c: Likewise.
56481 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56485 numerator after shifting it by one limb.
56487 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56490 under [__USE_EXTERN_INLINES].
56492 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56495 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56497 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56499 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56500 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56502 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56504 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56505 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56506 for strncasecmp/strncasecmp_l compilation.
56507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56508 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56510 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56513 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56516 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56519 * time/tzfile.c (__tzfile_read): Check values from file header.
56521 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56523 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56524 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56525 * powerpc/powerpc32/dl-start.S: Likewise.
56526 * powerpc/powerpc32/elf/start.S: Likewise.
56527 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56528 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56529 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56530 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56531 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56532 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56533 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56534 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56535 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56536 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56537 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56538 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56539 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56540 * powerpc/powerpc32/memset.S: Likewise.
56541 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56542 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56543 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56544 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56545 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56546 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56547 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56548 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56549 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56550 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56551 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56555 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56557 * math/libm-test.inc: Added more nearbyint tests.
56558 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56563 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56565 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56568 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56570 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56571 Add wcscpy-ssse3 wcscpy-c.
56572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56573 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56574 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56575 * sysdeps/x86_64/wcschr.S: New file.
56576 * sysdeps/x86_64/wcsrchr.S: New file.
56577 * string/test-strcmp.c: Remove checking of wcscmp function for
56579 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56580 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56581 wcsrchr-sse2 wcsrchr-c.
56582 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56583 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56584 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56585 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56586 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56587 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56588 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56589 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56591 * wcsmbc/wcschr.c (WCSCHR): New macro.
56593 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56595 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56596 * wcsmbs/test-wcsrchr.c: New file.
56597 * string/test-strrchr.c: Add wcsrchr support.
56599 * wcsmbs/test-wcscpy.c: New file.
56600 * string/test-strcpy.c: Add wcscpy support.
56603 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56608 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56611 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56613 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56615 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56616 Minor optimizations.
56618 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56619 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56620 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56622 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56624 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56625 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56626 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56627 for gcc to avoid warnings.
56628 * inet/Makefile (tests): Add tst-checks.
56629 * inet/tst-checks.c: New file.
56631 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56634 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56637 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56638 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56640 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56642 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56644 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56647 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56649 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56651 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56652 conditional on GCC version.
56653 (__arch_compare_and_exchange_val_8_acq)
56654 (__arch_compare_and_exchange_val_16_acq)
56655 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56656 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56657 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56659 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56661 * sysdeps/sh/backtrace.c: New file.
56663 2011-12-02 Andreas Schwab <schwab@redhat.com>
56665 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56668 2011-12-01 Andreas Schwab <schwab@redhat.com>
56670 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56671 falling back to utime.
56673 2011-11-30 Andreas Schwab <schwab@redhat.com>
56675 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56676 expectations for float.
56678 2011-11-29 Andreas Schwab <schwab@redhat.com>
56680 * locale/weight.h (findidx): Add parameter len.
56681 * locale/weightwc.h (findidx): Likewise.
56682 * posix/fnmatch_loop.c (FCT): Adjust caller.
56683 * posix/regcomp.c (build_equiv_class): Likewise.
56684 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56685 * posix/regexec.c (check_node_accept_bytes): Likewise.
56686 * string/strcoll_l.c (STRCOLL): Likewise.
56687 * string/strxfrm_l.c (STRXFRM): Likewise.
56689 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56691 * Makefile.in: Remove CVSOPT handling.
56692 * configure.in: Remove use of AC_REVISION.
56693 * iconvdata/Makefile (distribute): No need to filter out CVS.
56694 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56697 2011-11-16 Andreas Schwab <schwab@redhat.com>
56699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56700 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56701 [USE_AS_STRNCASECMP_L]: Likewise.
56702 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56703 NO_TLS_DIRECT_SEG_REFS.
56704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56705 Fix argument offsets for non-PIC.
56706 [USE_AS_STRNCASECMP_L]: Likewise.
56707 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56708 NO_TLS_DIRECT_SEG_REFS.
56710 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56712 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56714 * locale/loadlocale.c (_nl_load_locale): Likewise.
56716 2011-11-15 Andreas Schwab <schwab@redhat.com>
56718 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56719 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56720 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56721 (SYSCALL_GETTIME): Set errno on error.
56723 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56724 count references to noai6ai_cached.
56726 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56728 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56730 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56731 FD_CLOEXEC for /proc/self/maps.
56733 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56734 FD_CLOEXEC for /proc/meminfo.
56736 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56739 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56740 FD_CLOEXEC for given file.
56742 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56744 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56745 FD_CLOEXEC for /etc/hosts.
56746 (_gethtent): Likewise.
56748 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56750 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56751 cancellation and set FD_CLOEXEC for /etc/netgroup.
56753 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56754 reading /etc/publickey.
56756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56757 allow cancellation when reading /etc/group.
56759 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56761 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56763 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56764 when using data file.
56766 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56768 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56769 (write_nis_obj): Use "c" and "e" in fopen.
56771 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56773 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56775 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56777 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56779 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56782 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56784 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56786 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56788 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56789 file parsing and set FD_CLOEXEC.
56791 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56793 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56795 2011-11-14 Andreas Schwab <schwab@redhat.com>
56797 * malloc/arena.c (arena_get2): Don't call reused_arena when
56798 _int_new_arena failed.
56800 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56802 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56803 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56804 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56806 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56808 to compile strcasecmp and strncasecmp.
56809 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56810 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56814 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56816 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56817 locale-defines.sym to gen-as-const-headers.
56818 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56819 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56821 to compile strcasecmp and strncasecmp.
56822 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56823 strcasecmp_l and strncasecmp_l.
56824 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56825 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56826 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56827 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56828 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56829 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56830 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56831 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56832 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56833 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56834 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56836 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56838 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56839 result of SYSDEP_GETTIME_CPU to retval.
56840 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56841 parameter list to macro. Remove trailing semicolon. Adjust users.
56843 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56846 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56848 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56850 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56851 from unused variable.
56853 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56855 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56858 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56861 * sunrpc/rpc_prot.c (rejected): Fix case value.
56863 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56864 unsigned long long int to avoid warnings in shift.
56866 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56868 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56871 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56872 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56873 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56875 * nis/nis_table.c (nis_list): Use variable of correct type for
56876 result of __follow_path call.
56878 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56880 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56881 of math functions ceil, trunc, floor, round, and sqrt, when
56882 avaliable on the platform.
56883 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56886 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56887 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56889 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56891 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56892 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56894 2011-11-11 Roland McGrath <roland@hack.frob.com>
56896 * include/unistd.h: Fix __readlink return type.
56897 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56899 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56901 * stdlib/ucontext.h: Undo last change for makecontext.
56903 2011-11-11 Andreas Schwab <schwab@redhat.com>
56905 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56907 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56908 * setjmp/setjmp.h: Mark functions as non-leaf.
56909 * setjmp/bits/setjmp2.h: Likewise.
56910 * stdlib/ucontext.h: Likewise.
56912 2011-11-10 Andreas Schwab <schwab@redhat.com>
56914 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56915 (reused_arena): Don't check arena limit.
56916 (arena_get2): Atomically check arena limit.
56918 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56920 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56921 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56926 2011-11-07 Andreas Schwab <schwab@redhat.com>
56928 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56929 handler when locking.
56931 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56932 Fix size of allocated buffer.
56934 2011-11-04 Andreas Schwab <schwab@redhat.com>
56937 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56938 declarations for long double functions.
56939 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56941 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56943 2011-11-03 Andreas Schwab <schwab@redhat.com>
56945 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56948 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56951 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56953 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56955 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56957 * include/alloca.h (stackinfo_alloca_round): Define.
56958 (extend_alloca): Use it.
56959 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56960 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56963 * scripts/check-local-headers.sh: Ignore libaudit.h.
56965 * nscd/Makefile (extra-objs): Make recursively expanded.
56967 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56969 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56970 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56972 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56973 * posix/tst-rfc3484-2.c: Likewise.
56974 * posix/tst-rfc3484-3.c: Likewise.
56976 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56978 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56980 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56981 process_vm_writev from libc using GLIBC_2.15 version.
56983 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56985 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56987 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56990 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56993 * nss/getent.c (initgroups_keys): Show error message in case no group
56996 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56997 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56998 __bump_nl_timestamp.
56999 * nscd/connections (nscd_init): When host database is served open
57000 netlink socket and request notification about configuration changes.
57001 (main_loop_poll): Track netlink file descriptor and bump timestamp
57002 in case data becomes available.
57003 (main_loop_epoll): Likewise.
57004 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57005 (database_pers_head): Add extra_data fileds.
57006 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57007 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57008 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57011 in6ai data, call __free_in6ai.
57012 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57013 Add -DHAVE_NETLINK.
57014 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
57015 interface information. Reuse previous data if netlink timestamp
57017 (__bump_nl_timestamp): New function.
57018 (__free_in6ai): New function.
57020 2011-10-30 Ulrich Drepper <drepper@gmail.com>
57022 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57023 close_not_cancel_no_status here.
57024 (__check_pf): Reorganize code a bit to not call close twice if OOM.
57026 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57029 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57032 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57033 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57034 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57036 2011-07-03 Andreas Jaeger <aj@suse.de>
57039 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57040 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57041 * math/libm-test.inc (sin_test): Add test case.
57043 2011-10-29 Ulrich Drepper <drepper@gmail.com>
57046 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57047 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57049 * elf/chroot_canon.c (chroot_canon): Cleanups.
57051 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57054 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57055 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57057 * string/test-strchr.c: Make usable for strchrnul testing.
57058 * string/test-strchrnul.c: New file.
57059 * string/Makefile (strop-tests): Add strchrnul.
57061 * po/it.po: Update from translation team.
57062 * po/es.po: Likewise.
57064 2011-10-28 Ulrich Drepper <drepper@gmail.com>
57066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57067 the three constants needed as parameters. Drop the others.
57068 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57069 __m128i_strloadu_tolower.
57070 Create and initialize variable zero and use it in all the places
57071 where _mm_setzero_si128 was used.
57073 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57074 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57075 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57076 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57078 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57079 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57080 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57081 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57082 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57083 __mpranred, __mptan.
57084 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57085 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57086 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57087 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57091 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57092 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57094 2011-10-28 Andreas Schwab <schwab@redhat.com>
57096 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57097 redefine if SHARED.
57098 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57101 wide char related routines to wcsmbs subdir.
57103 2011-10-27 Andreas Schwab <schwab@redhat.com>
57106 * misc/sys/cdefs.h (__THROWNL): Define.
57107 * posix/unistd.h: Use __THREADNL instead of __THREAD
57108 for memory synchronization functions.
57110 2011-10-26 Roland McGrath <roland@hack.frob.com>
57113 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57115 * manual/stdio.texi (Obstack Streams): Node removed.
57117 2011-10-26 Andreas Schwab <schwab@redhat.com>
57119 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57120 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57121 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57123 * math/math_private.h (math_force_eval): Allow non-addressable
57125 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57127 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57129 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57130 file is not needed.
57132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57133 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57134 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57135 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57139 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57141 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57142 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57143 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57144 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57145 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57146 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57147 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57148 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57149 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57150 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57151 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57152 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57154 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57155 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57156 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57157 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57158 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57159 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57161 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57162 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
57164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57165 place. Use VEX encoding when compiling for AVX.
57167 2011-10-25 Andreas Schwab <schwab@redhat.com>
57169 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57170 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57172 * string/test-strchr.c (do_test): Don't generate NUL bytes.
57174 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57176 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57177 useless if() expression.
57178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57179 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57181 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57184 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57186 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57188 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57190 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57192 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57193 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57195 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57196 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57198 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57200 2011-10-25 Andreas Schwab <schwab@redhat.com>
57202 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
57206 2011-10-25 Ulrich Drepper <drepper@gmail.com>
57208 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57209 .text section. Avoid duplicate constants.
57210 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57219 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57220 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57221 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57222 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57223 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57224 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57225 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57226 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57227 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57228 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57230 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57231 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57232 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57233 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57234 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57235 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57236 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57238 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57240 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57250 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57252 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57253 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57256 2011-10-24 Ulrich Drepper <drepper@gmail.com>
57258 * sysdeps/x86_64/dla.h: Move to ...
57259 * sysdeps/x86_64/fpu/dla.h: ...here.
57260 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57261 situations. Use __builtin_fma only for gcc 4.6 and up.
57263 * config.make.in: Add have-mfma4 entry.
57264 * configure.in: Substitute libc_cv_cc_fma4.
57265 * math/Makefile (dbl-only-routines): Add sincostab.
57266 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57267 Use __sincostab not sincos.
57268 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57270 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
57275 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
57276 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
57277 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57278 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57281 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57283 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
57284 define aliases when function name is a macro.
57285 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57286 sysdeps/ieee754/dbl-64/sincos.tbl.
57287 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57288 fma4-enabled routines.
57289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57290 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57291 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57292 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57294 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57298 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57299 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57300 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57301 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57302 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57303 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57304 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57305 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57306 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57307 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57308 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57309 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57310 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57316 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57317 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57320 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57331 2011-10-24 Andreas Schwab <schwab@redhat.com>
57333 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57335 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57339 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57341 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57343 * string/strnlen.c: Don't define STRNLEN, reverse logic.
57344 Remove unused variable magic_bits.
57345 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57347 * string/strnlen.c: Define and use STRNLEN macro.
57348 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57349 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57351 * wcsmbs/wcslen.c: Define and use WCSLEN.
57352 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57353 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57354 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57355 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57356 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57357 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57358 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57360 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57363 strnlen-sse2-no-bsf.
57364 Rename strlen-no-bsf to strlen-sse2-no-bsf.
57365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57366 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57367 Add strnlen support.
57368 (USE_AS_STRNLEN): New macro.
57369 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57370 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57371 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57372 * sysdeps/x86_64/wcslen.S: New file.
57374 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
57376 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57377 XMM-moves are used for copying on small sizes.
57379 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57381 * wcsmbs/Makefile (strop-tests): Add wcschr.
57382 * wcsmbs/test-wcschr.c: New file.
57383 * string/test-strchr.c: Update.
57384 Add wcschr support.
57387 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57389 * wcsmbs/Makefile (strop-tests): Add wcslen.
57390 * wcsmbs/test-wcslen.c: New file.
57391 * string/test-strlen.c: Update.
57392 Add wcslen support.
57395 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57397 * po/it.po: Update from translation team.
57399 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57401 * sysdeps/x86_64/wcscmp.S: Update.
57402 Fix wrong comparison semantics.
57403 wcscmp shall use signed comparison not unsigned.
57404 Don't use substraction to avoid overflow bug.
57405 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57406 * wcsmbc/wcscmp.c: Likewise.
57407 * string/test-strcmp.c: Likewise.
57408 Add new tests to check cases with negative values.
57410 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57412 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57413 * sysdeps/x86_64/dla.h: ...here. New file.
57414 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57424 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57427 __ynl_finite aliases.
57429 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57433 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57435 [DLA_FMA] (EMULV): Use DLA_FMA.
57436 [DLA_FMA] (MUL12): Use EMULV.
57437 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57438 that are not needed.
57439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57447 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57449 * math/s_nan.c: Undef __nan.
57450 * math/s_nanf.c: Undef __nanf.
57451 * math/s_nanl.c: Undef __nanl.
57452 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57455 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57457 * math/s_catan.c: Add branch predictions.
57458 * math/s_catanf.c: Likewise.
57459 * math/s_catanh.c: Likewise.
57460 * math/s_catanhf.c: Likewise.
57461 * math/s_catanhl.c: Likewise.
57462 * math/s_catanl.c: Likewise.
57463 * math/s_cexp.c: Likewise.
57464 * math/s_cexpf.c: Likewise.
57465 * math/s_cexpl.c: Likewise.
57466 * math/s_clog.c: Likewise.
57467 * math/s_clog10.c: Likewise.
57468 * math/s_clog10f.c: Likewise.
57469 * math/s_clog10l.c: Likewise.
57470 * math/s_clogf.c: Likewise.
57471 * math/s_clogl.c: Likewise.
57472 * math/s_csqrt.c: Likewise.
57473 * math/s_csqrtf.c: Likewise.
57474 * math/s_csqrtl.c: Likewise.
57475 * math/s_ctanf.c: Likewise.
57476 * math/s_ctanh.c: Likewise.
57477 * math/s_ctanhf.c: Likewise.
57478 * math/s_ctanhl.c: Likewise.
57479 * math/s_ctanl.c: Likewise.
57481 * math/math_private.h: Define __nan, __nanf, __nanl.
57482 * math/s_cacosh.c: Include <math_private.h>.
57483 * math/s_cacoshl.c: Likewise.
57484 * math/s_casinh.c: Likewise.
57485 * math/s_casinhf.c: Likewise.
57486 * math/s_casinhl.c: Likewise.
57487 * math/s_ccos.c: Rely entire on ccosh.
57488 * math/s_ccosf.c: Rely entire on ccoshf.
57489 * math/s_ccosl.c: Rely entirely on ccoshl.
57490 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57491 Remove tests for FE_INVALID.
57492 * math/s_ccoshf.c: Likewise.
57493 * math/s_ccoshl.c: Likewise.
57494 * math/s_csin.c: Likewise.
57495 * math/s_csinf.c: Likewise.
57496 * math/s_csinh.c Likewise.
57497 * math/s_csinhf.c: Likewise.
57498 * math/s_csinhl.c: Likewise.
57499 * math/s_csinl.c: Likewise.
57500 * math/s_ctan.c: Likewise.
57501 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57502 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57503 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57505 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57508 compilation problems.
57510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57513 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57515 * sysdeps/i386/configure.in: Test for -mfma4 option.
57516 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57517 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57518 COMMON_CPUID_INDEX_80000001.
57519 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57520 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57521 use it if FMA3 is not supported.
57522 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57524 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57525 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57527 2011-10-20 Andreas Schwab <schwab@redhat.com>
57530 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57531 it would create a cycle with a link time dependency.
57533 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57535 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57537 * string/Makefile (strop-tests): Add rawmemchr.
57538 * string/test-rawmemchr.c: New file.
57540 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57542 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57543 when compiling str{,n}casecmp and when AVX is available. Hook up
57544 new optimized code in initializers.
57546 2011-10-19 Andreas Schwab <schwab@redhat.com>
57548 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57549 __feraiseexcept instead of feraiseexcept.
57551 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57553 * math/math_private.h: Define defaults for libc_fetestexcept and
57555 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57556 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57557 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57559 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57560 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57561 libc_fetestexcept and libc_feupdateenv.
57563 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57564 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57565 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57566 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57567 libc_feholdexcept_setround.
57569 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57570 Add s_nearbyint-c and s_nearbyintf-c.
57571 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57572 nearbyintf inlines.
57573 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57574 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57575 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57576 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57578 * math/math_private.h: Define defaults for libc_fegetround,
57579 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57580 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57581 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57583 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57584 standard functions.
57585 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57586 Remove comments and hacks for old compiler versions.
57587 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57588 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57589 libc_feholdexceptl.
57591 2011-10-18 Andreas Schwab <schwab@redhat.com>
57593 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57594 (__feraiseexcept_renamed): Add __NTH.
57595 (feraiseexcept): Add __NTH. Rename local variables to fix
57596 namespace violations.
57598 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57600 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57604 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57605 recently added interfaces.
57606 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57608 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57609 about macro parameter expansion.
57611 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57612 __NO_MATH_INLINES is defined. Cleanups.
57614 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57615 and __floorf is target has SSE4.1.
57616 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57617 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57618 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57621 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57623 (floorf): Likewise.
57625 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57627 2011-10-17 Andreas Schwab <schwab@redhat.com>
57629 * misc/sys/cdefs.h: Fix last change.
57631 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57634 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57636 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57638 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57640 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57641 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57643 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57645 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57646 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57647 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57648 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57649 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57650 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57651 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57652 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57653 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57654 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57655 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57656 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57657 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57658 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57659 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57661 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57662 ceil, ceilf, floor, floorf.
57664 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57665 Perform IRELATIVE relocations last.
57667 * elf/do-rel.h: Add another parameter nrelative, replacing the
57668 local variable with the same name. Change name of the function
57669 to end in Rel or Rela (uppercase).
57670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57671 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57672 elf_dynamic_do_##reloc function.
57674 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57676 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57677 is sufficient, at least on modern CPUs.
57679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57681 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57684 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57686 * math/bits/math-finite.h: Add entries for exp.
57687 * math/e_expl.c: Add __*_finite alias.
57688 * sysdeps/i386/fpu/e_exp.S: Likewise.
57689 * sysdeps/i386/fpu/e_expf.S: Likewise.
57690 * sysdeps/i386/fpu/e_expl.c: Likewise.
57691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57692 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57695 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57696 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57697 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57699 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57700 is sufficient, at least on modern CPUs.
57702 * ctype/ctype-info.c (__ctype_init): Define.
57703 * include/ctype.h (__ctype_init): Declare.
57704 (__ctype_b_loc): The variable is always initialized.
57705 (__ctype_toupper_loc): Likewise.
57706 (__ctype_tolower_loc): Likewise.
57707 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57708 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57710 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57712 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57714 * configure.in: Also look in $cxxmachine/include for C++ system
57717 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57719 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57720 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57721 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57722 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57724 (USE_AS_WMEMCMP): New macro.
57726 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57727 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57728 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57729 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57731 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57732 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57733 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57734 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57735 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57736 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57737 (USE_AS_WMEMCMP): New macro.
57738 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57739 * sysdeps/string/test-memcmp.c: Update.
57740 Fix simple_wmemcmp.
57742 * wcsmbs/wmemcmp.c: Update.
57743 (WMEMCMP): New macro.
57746 2011-10-12 Andreas Jaeger <aj@suse.de>
57749 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57751 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57753 * libio/iofwide.c (do_length): Avoid warning.
57755 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57757 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57759 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57761 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57762 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57763 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57764 * sysdeps/i386/i686/fpu/e_log.S: New file.
57765 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57766 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57768 * ctype/ctype.h: Add support for inlined isXXX functions when
57769 compiling C++ code.
57771 2011-10-14 Andreas Schwab <schwab@redhat.com>
57773 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57775 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57777 2011-10-13 Roland McGrath <roland@hack.frob.com>
57780 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57782 2011-10-13 Andreas Schwab <schwab@redhat.com>
57784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57785 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57788 * sysdeps/x86_64/memrchr.S: Check for zero size.
57790 * string/stratcliff.c: Add memrchr tests.
57792 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57795 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57796 rawmemchr-sse2 rawmemchr-sse2-bsf.
57797 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57798 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57799 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57800 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57801 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57802 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57803 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57804 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57805 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57806 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57807 * string/memrchr.c (MEMRCHR): New macro.
57809 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57811 Add integration with gcc's -ffinite-math-only and optimize wrapper
57813 * Versions.def: Define GLIBC_2.15 version for libm.
57814 * math/Makefile (headers): Add bits/math-finite.h.
57815 * math/bits/math-finite.h: New file.
57816 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57817 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57818 * math/e_acoshl.c: Add __*_finite alias.
57819 * math/e_acosl.c: Likewise.
57820 * math/e_asinl.c: Likewise.
57821 * math/e_atan2l.c: Likewise.
57822 * math/e_atanhl.c: Likewise.
57823 * math/e_coshl.c: Likewise.
57824 * math/e_exp10.c: Likewise.
57825 * math/e_exp10f.c: Likewise.
57826 * math/e_exp10l.c: Likewise.
57827 * math/e_exp2l.c: Likewise.
57828 * math/e_fmodl.c: Likewise.
57829 * math/e_gammal_r.c: Likewise.
57830 * math/e_hypotl.c: Likewise.
57831 * math/e_j0l.c: Likewise.
57832 * math/e_j1l.c: Likewise.
57833 * math/e_jnl.c: Likewise.
57834 * math/e_lgammal_r.c: Likewise.
57835 * math/e_log10l.c: Likewise.
57836 * math/e_log2l.c: Likewise.
57837 * math/e_logl.c: Likewise.
57838 * math/e_powl.c: Likewise.
57839 * math/e_sinhl.c: Likewise.
57840 * math/e_sqrtl.c: Likewise.
57841 * math/e_scalb.c: Completely rewritten and optimized.
57842 * math/e_scalbf.c: Likewise.
57843 * math/e_scalbl.c: Likewise.
57844 * math/w_acos.c: Likewise.
57845 * math/w_acosf.c: Likewise.
57846 * math/w_acosl.c: Likewise.
57847 * math/w_acosh.c: Likewise.
57848 * math/w_acoshf.c: Likewise.
57849 * math/w_acoshl.c: Likewise.
57850 * math/w_asin.c: Likewise.
57851 * math/w_asinf.c: Likewise.
57852 * math/w_asinl.c: Likewise.
57853 * math/w_atan2.c: Likewise.
57854 * math/w_atan2f.c: Likewise.
57855 * math/w_atan2l.c: Likewise.
57856 * math/w_atanh.c: Likewise.
57857 * math/w_atanhf.c: Likewise.
57858 * math/w_atanhl.c: Likewise.
57859 * math/w_exp10.c: Likewise.
57860 * math/w_exp10f.c: Likewise.
57861 * math/w_exp10l.c: Likewise.
57862 * math/w_fmod.c: Likewise.
57863 * math/w_fmodf.c: Likewise.
57864 * math/w_fmodl.c: Likewise.
57865 * math/w_j0.c: Likewise.
57866 * math/w_j0f.c: Likewise.
57867 * math/w_j0l.c: Likewise.
57868 * math/w_j1.c: Likewise.
57869 * math/w_j1f.c: Likewise.
57870 * math/w_j1l.c: Likewise.
57871 * math/w_jn.c: Likewise.
57872 * math/w_jnf.c: Likewise.
57873 * math/w_log.c: Likewise.
57874 * math/w_logf.c: Likewise.
57875 * math/w_logl.c: Likewise.
57876 * math/w_log10.c: Likewise.
57877 * math/w_log10f.c: Likewise.
57878 * math/w_log10l.c: Likewise.
57879 * math/w_log2.c: Likewise.
57880 * math/w_log2f.c: Likewise.
57881 * math/w_log2l.c: Likewise.
57882 * math/w_pow.c: Likewise.
57883 * math/w_powf.c: Likewise.
57884 * math/w_powl.c: Likewise.
57885 * math/w_remainder.c: Likewise.
57886 * math/w_remainderf.c: Likewise.
57887 * math/w_remainderl.c: Likewise.
57888 * math/w_scalb.c: Likewise.
57889 * math/w_scalbf.c: Likewise.
57890 * math/w_scalbl.c: Likewise.
57891 * math/w_sqrt.c: Likewise.
57892 * math/w_sqrtf.c: Likewise.
57893 * math/w_sqrtl.c: Likewise.
57894 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57895 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57897 * math/math_private.h: Declare __kernel_standard_f.
57898 * math/w_cosh.c: Remove cruft and optimize a bit.
57899 * math/w_coshf.c: Likewise.
57900 * math/w_coshl.c: Likewise.
57901 * math/w_exp2.c: Likewise.
57902 * math/w_exp2f.c: Likewise.
57903 * math/w_exp2l.c: Likewise.
57904 * math/w_hypot.c: Likewise.
57905 * math/w_hypotf.c: Likewise.
57906 * math/w_hypotl.c: Likewise.
57907 * math/w_lgamma.c: Likewise.
57908 * math/w_lgamma_r.c: Likewise.
57909 * math/w_lgammaf.c: Likewise.
57910 * math/w_lgammaf_r.c: Likewise.
57911 * math/w_lgammal.c: Likewise.
57912 * math/w_lgammal_r.c: Likewise.
57913 * math/w_sinh.c: Likewise.
57914 * math/w_sinhf.c: Likewise.
57915 * math/w_sinhl.c: Likewise.
57916 * math/w_tgamma.c: Likewise.
57917 * math/w_tgammaf.c: Likewise.
57918 * math/w_tgammal.c: Likewise.
57919 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57921 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57922 Minor optimizations. Pretty printing. Remove cruft.
57923 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57926 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57927 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57928 * sysdeps/i386/fpu/e_asin.S: Likewise.
57929 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57930 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57931 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57932 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57933 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57935 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57936 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57937 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57938 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57939 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57940 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57941 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57942 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57943 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57944 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57945 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57946 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57947 * sysdeps/i386/fpu/e_log.S: Likewise.
57948 * sysdeps/i386/fpu/e_log10.S: Likewise.
57949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57951 * sysdeps/i386/fpu/e_log2.S: Likewise.
57952 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57953 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57954 * sysdeps/i386/fpu/e_logf.S: Likewise.
57955 * sysdeps/i386/fpu/e_logl.S: Likewise.
57956 * sysdeps/i386/fpu/e_pow.S: Likewise.
57957 * sysdeps/i386/fpu/e_powf.S: Likewise.
57958 * sysdeps/i386/fpu/e_powl.S: Likewise.
57959 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57960 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57961 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57962 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57963 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57964 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57965 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57966 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57967 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57971 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57972 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57973 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57974 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57975 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57982 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57984 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57985 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57988 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57989 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57990 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57991 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57992 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57993 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57994 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57995 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57996 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57997 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57998 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58002 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58003 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58004 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58005 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58006 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58007 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58008 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58009 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58010 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58011 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58013 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58014 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58015 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58016 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58018 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58023 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58024 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58025 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58026 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58027 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58028 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58032 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58033 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58034 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58035 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58037 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58038 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58039 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58040 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58045 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58046 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58047 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58049 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58059 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58060 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58061 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58062 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58063 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58064 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58065 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58066 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58067 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58068 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58069 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58070 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58071 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58072 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58073 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58074 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58075 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58076 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58077 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58078 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
58079 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58080 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58081 (__isnanf): Likewise.
58082 (__isinf_ns): Likewise.
58083 (__isinf_nsf): Likewise.
58084 (__finite): Likewise.
58085 (__finitef): Likewise.
58086 (__ieee754_sqrt): Define as macro.
58087 (__ieee754_sqrtf): Define as macro.
58088 (__ieee754_sqrtl): Define as macro.
58089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58091 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58092 __FINITE_MATH_ONLY__ consistent.
58093 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58095 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
58097 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58100 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58102 2011-10-09 Ulrich Drepper <drepper@gmail.com>
58104 * po/ja.po: Update from translation team.
58106 2011-10-08 Roland McGrath <roland@hack.frob.com>
58108 * locale/programs/locarchive.c (prepare_address_space): New function.
58109 (create_archive, enlarge_archive, open_archive): Use it.
58111 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58112 inside [SHARED], where it is used.
58114 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58116 * nss/getent.c (netgroup_keys): Remove unused variable.
58117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58119 2011-10-08 Ulrich Drepper <drepper@gmail.com>
58121 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58122 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58124 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58125 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58126 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58127 * math/Makefile (libm-calls): Add s_isinf_ns.
58128 * math/divtc3.c: Use __isinf_nsl instead of isinf.
58129 * math/multc3.c: Likewise.
58130 * math/s_casin.c: Likewise.
58131 * math/s_casinf.c: Likewise.
58132 * math/s_casinl.c: Likewise.
58133 * math/s_ccos.c: Likewise.
58134 * math/s_ccosf.c: Likewise.
58135 * math/s_ccosl.c: Likewise.
58136 * math/s_ctan.c: Likewise.
58137 * math/s_ctanf.c: Likewise.
58138 * math/s_ctanh.c: Likewise.
58139 * math/s_ctanhf.c: Likewise.
58140 * math/s_ctanhl.c: Likewise.
58141 * math/s_ctanl.c: Likewise.
58142 * math/w_fmod.c: Likewise.
58143 * math/w_fmodf.c: Likewise.
58144 * math/w_fmodl.c: Likewise.
58145 * math/w_remainder.c: Likewise.
58146 * math/w_remainderf.c: Likewise.
58147 * math/w_remainderl.c: Likewise.
58148 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58149 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58150 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58152 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58153 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58154 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58155 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58157 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58159 * stdio-common/printf_fphex.c: Likewise.
58160 * stdio-common/printf_size.c: Likewise.
58162 * math/e_exp10.c: Include math_private.h using <...> not "...".
58163 * math/e_exp10f.c: Likewise.
58164 * math/e_exp10l.c: Likewise.
58165 * math/e_exp2l.c: Likewise.
58166 * math/e_j0l.c: Likewise.
58167 * math/e_j1l.c: Likewise.
58168 * math/e_jnl.c: Likewise.
58169 * math/e_lgammal_r.c: Likewise.
58170 * math/e_rem_pio2l.c: Likewise.
58171 * math/e_scalb.c: Likewise.
58172 * math/e_scalbf.c: Likewise.
58173 * math/e_scalbl.c: Likewise.
58174 * math/k_cosl.c: Likewise.
58175 * math/k_sinl.c: Likewise.
58176 * math/k_tanl.c: Likewise.
58177 * math/s_cacoshf.c: Likewise.
58178 * math/s_catan.c: Likewise.
58179 * math/s_catanf.c: Likewise.
58180 * math/s_catanh.c: Likewise.
58181 * math/s_catanhf.c: Likewise.
58182 * math/s_catanhl.c: Likewise.
58183 * math/s_catanl.c: Likewise.
58184 * math/s_ccosh.c: Likewise.
58185 * math/s_ccoshf.c: Likewise.
58186 * math/s_ccoshl.c: Likewise.
58187 * math/s_cexp.c: Likewise.
58188 * math/s_cexpf.c: Likewise.
58189 * math/s_cexpl.c: Likewise.
58190 * math/s_clog.c: Likewise.
58191 * math/s_clog10.c: Likewise.
58192 * math/s_clog10f.c: Likewise.
58193 * math/s_clog10l.c: Likewise.
58194 * math/s_clogf.c: Likewise.
58195 * math/s_clogl.c: Likewise.
58196 * math/s_csin.c: Likewise.
58197 * math/s_csinf.c: Likewise.
58198 * math/s_csinh.c: Likewise.
58199 * math/s_csinhf.c: Likewise.
58200 * math/s_csinhl.c: Likewise.
58201 * math/s_csinl.c: Likewise.
58202 * math/s_csqrt.c: Likewise.
58203 * math/s_csqrtf.c: Likewise.
58204 * math/s_csqrtl.c: Likewise.
58205 * math/s_ctan.c: Likewise.
58206 * math/s_ctanf.c: Likewise.
58207 * math/s_ctanh.c: Likewise.
58208 * math/s_ctanhf.c: Likewise.
58209 * math/s_ctanhl.c: Likewise.
58210 * math/s_ctanl.c: Likewise.
58211 * math/s_ldexp.c: Likewise.
58212 * math/s_ldexpf.c: Likewise.
58213 * math/s_ldexpl.c: Likewise.
58214 * math/s_significand.c: Likewise.
58215 * math/s_significandf.c: Likewise.
58216 * math/s_significandl.c: Likewise.
58217 * math/w_acos.c: Likewise.
58218 * math/w_acosf.c: Likewise.
58219 * math/w_acosh.c: Likewise.
58220 * math/w_acoshf.c: Likewise.
58221 * math/w_acoshl.c: Likewise.
58222 * math/w_acosl.c: Likewise.
58223 * math/w_asin.c: Likewise.
58224 * math/w_asinf.c: Likewise.
58225 * math/w_asinl.c: Likewise.
58226 * math/w_atan2.c: Likewise.
58227 * math/w_atan2f.c: Likewise.
58228 * math/w_atan2l.c: Likewise.
58229 * math/w_atanh.c: Likewise.
58230 * math/w_atanhf.c: Likewise.
58231 * math/w_atanhl.c: Likewise.
58232 * math/w_cosh.c: Likewise.
58233 * math/w_coshf.c: Likewise.
58234 * math/w_coshl.c: Likewise.
58235 * math/w_dremf.c: Likewise.
58236 * math/w_exp10.c: Likewise.
58237 * math/w_exp10f.c: Likewise.
58238 * math/w_exp10l.c: Likewise.
58239 * math/w_exp2.c: Likewise.
58240 * math/w_exp2f.c: Likewise.
58241 * math/w_fmod.c: Likewise.
58242 * math/w_fmodf.c: Likewise.
58243 * math/w_fmodl.c: Likewise.
58244 * math/w_hypot.c: Likewise.
58245 * math/w_hypotf.c: Likewise.
58246 * math/w_hypotl.c: Likewise.
58247 * math/w_j0.c: Likewise.
58248 * math/w_j0f.c: Likewise.
58249 * math/w_j0l.c: Likewise.
58250 * math/w_j1.c: Likewise.
58251 * math/w_j1f.c: Likewise.
58252 * math/w_j1l.c: Likewise.
58253 * math/w_jn.c: Likewise.
58254 * math/w_jnf.c: Likewise.
58255 * math/w_jnl.c: Likewise.
58256 * math/w_lgamma.c: Likewise.
58257 * math/w_lgamma_r.c: Likewise.
58258 * math/w_lgammaf.c: Likewise.
58259 * math/w_lgammaf_r.c: Likewise.
58260 * math/w_lgammal.c: Likewise.
58261 * math/w_lgammal_r.c: Likewise.
58262 * math/w_log.c: Likewise.
58263 * math/w_log10.c: Likewise.
58264 * math/w_log10f.c: Likewise.
58265 * math/w_log10l.c: Likewise.
58266 * math/w_log2.c: Likewise.
58267 * math/w_log2f.c: Likewise.
58268 * math/w_log2l.c: Likewise.
58269 * math/w_logf.c: Likewise.
58270 * math/w_logl.c: Likewise.
58271 * math/w_pow.c: Likewise.
58272 * math/w_powf.c: Likewise.
58273 * math/w_powl.c: Likewise.
58274 * math/w_remainder.c: Likewise.
58275 * math/w_remainderf.c: Likewise.
58276 * math/w_remainderl.c: Likewise.
58277 * math/w_scalb.c: Likewise.
58278 * math/w_scalbf.c: Likewise.
58279 * math/w_scalbl.c: Likewise.
58280 * math/w_sinh.c: Likewise.
58281 * math/w_sinhf.c: Likewise.
58282 * math/w_sinhl.c: Likewise.
58283 * math/w_sqrt.c: Likewise.
58284 * math/w_sqrtf.c: Likewise.
58285 * math/w_sqrtl.c: Likewise.
58286 * math/w_tgamma.c: Likewise.
58287 * math/w_tgammaf.c: Likewise.
58288 * math/w_tgammal.c: Likewise.
58290 * po/ja.po: Update from translation team.
58292 2011-09-29 Andreas Jaeger <aj@suse.de>
58295 * sunrpc/netname.c (netname2host): Fix logic.
58299 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58301 * math/w_remainder.c (__remainder): Likewise.
58302 * math/w_remainderf.c (__remainderf): Likewise.
58303 * math/libm-test.inc (remainder_test): Add test cases.
58305 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58307 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
58310 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58312 * string/test-memcmp.c: Avoid unncessary #defines.
58313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58315 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58317 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58318 Use new sse2 version for core i3 - i7 as it's faster
58319 than sse42 version.
58320 (bit_Prefer_PMINUB_for_stringop): New.
58321 * sysdeps/x86_64/rawmemchr.S: Update.
58322 Replace with faster SSE2 version.
58323 * sysdeps/x86_64/memrchr.S: New file.
58324 * sysdeps/x86_64/memchr.S: Update.
58325 Replace with faster SSE2 version.
58327 2011-09-12 Marek Polacek <mpolacek@redhat.com>
58329 * elf/dl-load.c (lose): Add cast to avoid warning.
58331 2011-10-07 Ulrich Drepper <drepper@gmail.com>
58333 * po/ca.po: Update from translation team.
58335 * inet/getnetgrent_r.c: Hook up nscd.
58336 * nscd/Makefile (routines): Add nscd_netgroup.
58337 (nscd-modules): Add netgroupcache.
58338 (CFLAGS-netgroupcache.c): Define.
58339 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58340 (cache_search): Add const to second parameter.
58341 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58343 (dbs): Add netgrdb entry.
58344 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58345 (verify_persistent_db): Handle netgrdb.
58346 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58347 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58349 (netgroup_response_header): Define.
58350 (innetgroup_response_header): Define.
58351 (datahead): Add netgroup_response_header and innetgroup_response_header
58353 * nscd/nscd.conf: Add entries for netgroup cache.
58354 * nscd/nscd.h (dbtype): Add netgrdb.
58355 (_PATH_NSCD_NETGROUP_DB): Define.
58356 (netgroup_iov_disabled): Declare.
58357 (xmalloc, xcalloc, xrealloc): Move declarations here.
58358 (cache_search): Adjust prototype.
58359 Add netgroup-related prototypes.
58360 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58361 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58362 (__nscd_innetgr): Declare.
58363 * nscd/selinux.c (perms): Use access_vector_t as element type and
58364 add netgroup-related initializers.
58365 * nscd/netgroupcache.c: New file.
58366 * nscd/nscd_netgroup.c: New file.
58367 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58368 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58369 For four parameters use innetgr.
58370 * nss/nss_files/files-init.c: Add definition and callback for netgr.
58371 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58372 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58373 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58375 * nscd/connections.c (register_traced_file): Don't register file
58376 for disabled databases.
58378 2011-10-06 Ulrich Drepper <drepper@gmail.com>
58380 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58382 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58383 from tree and freeing node.
58385 2011-09-25 Jiri Olsa <jolsa@redhat.com>
58387 * nss/nsswitch.c (__nss_database_lookup): Handle
58388 nss_parse_service_list out of memory case.
58390 2011-09-15 Jiri Olsa <jolsa@redhat.com>
58392 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58393 out of memory case.
58395 2011-10-04 Andreas Schwab <schwab@redhat.com>
58397 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58398 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58400 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58401 elf_machine_rela, elf_machine_lazy_rel.
58402 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58403 (ELF_DYNAMIC_DO_REL): Likewise.
58404 (ELF_DYNAMIC_DO_RELA): Likewise.
58405 (ELF_DYNAMIC_RELOCATE): Likewise.
58406 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58407 to ELF_DYNAMIC_DO_REL.
58408 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58409 (dl_main): In trace mode always set __RTLD_NOIFUNC.
58410 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58413 skip_ifunc, don't call ifunc function if non-zero.
58414 (elf_machine_rela): Likewise.
58415 (elf_machine_lazy_rel): Likewise.
58416 (elf_machine_lazy_rela): Likewise.
58417 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58418 (elf_machine_lazy_rel): Likewise.
58419 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58421 (elf_machine_lazy_rel): Likewise.
58422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58424 (elf_machine_lazy_rel): Likewise.
58425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58426 (elf_machine_lazy_rel): Likewise.
58427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58428 (elf_machine_lazy_rel): Likewise.
58429 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58430 (elf_machine_lazy_rel): Likewise.
58431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58432 (elf_machine_lazy_rel): Likewise.
58433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58434 (elf_machine_lazy_rel): Likewise.
58435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58436 (elf_machine_lazy_rel): Likewise.
58438 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58440 * nss/nss_files/files-init.c (_nss_files_init): Use static
58441 initialization for all the *_traced_file variables.
58443 2011-09-28 Andreas Schwab <schwab@redhat.com>
58445 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58447 2011-09-27 Roland McGrath <roland@hack.frob.com>
58450 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58452 2011-09-27 Andreas Schwab <schwab@redhat.com>
58454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58455 Reread the line before reparsing it.
58457 2011-09-26 Andreas Schwab <schwab@redhat.com>
58459 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58461 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58462 Maxim Kuvyrkov <maxim@codesourcery.com>
58463 Joseph Myers <joseph@codesourcery.com>
58465 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58466 if needed for __stack_chk_guard.
58468 2011-09-19 Roland McGrath <roland@hack.frob.com>
58470 * sysdeps/posix/spawni.c (script_execute): Always define it.
58471 It will be optimized away if unused.
58472 (maybe_script_execute): New function.
58473 (__spawni): Call it.
58475 * Makerules: Don't include tls.make.
58476 (config-tls): Always set to thread.
58477 * tls.make.c: File removed.
58479 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58481 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58482 * config.make.in (CPPFLAGS-config): New substituted variable.
58484 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58486 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58489 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58490 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58492 2011-09-15 Roland McGrath <roland@hack.frob.com>
58494 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58495 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58497 (CALL_FAIL): Likewise.
58498 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58499 (CALL_FAIL): Macro removed.
58500 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58502 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58504 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58505 for __FINITE_MATH_ONLY__ == 1.
58507 2011-09-15 Andreas Schwab <schwab@redhat.com>
58509 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58510 __ieee754_sqrt instead of sqrt.
58511 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58512 __ieee754_sqrtf instead of sqrtf.
58513 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58514 __floorf instead of floorf.
58515 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58516 __floorf, __truncf instead of floorf, truncf.
58518 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58520 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58522 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58523 __extern_always_inline.
58524 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58527 2011-09-14 Andreas Schwab <schwab@redhat.com>
58529 * elf/rtld.c (dl_main): Also relocate in dependency order when
58530 doing symbol dependency testing.
58532 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58535 Always define `refsym'.
58537 2011-09-13 Andreas Schwab <schwab@redhat.com>
58539 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58540 (__FD_ELT): Renamed from __FDELT.
58541 * misc/bits/select2.h (__FD_ELT): Likewise.
58542 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58543 __FD_MASK instead of __FDELT, __FDMASK.
58544 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58546 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58549 * elf/Makefile (gen-ldd): Fix pattern.
58551 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58552 (init_tls): Likewise.
58554 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58558 2011-09-12 Andreas Schwab <schwab@redhat.com>
58560 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58561 `struct cmsghdr *' instead of `void *'.
58562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58565 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58567 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58569 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58570 ldd_rewrite_script.
58572 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58574 * configure.in: Remove --with-tls option.
58575 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58576 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58577 out in case it is missing.
58578 * sysdeps/ia64/elf/configure.in: Likewise.
58579 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58580 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58581 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58582 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58583 * sysdeps/sh/elf/configure.in: Likewise.
58584 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58585 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58586 * sysdeps/x86_64/elf/configure.in: Likewise.
58587 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58588 * sysdeps/mach/hurd/tls.h: Likewise.
58591 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58594 * configure.in: Fix use of AC_INIT.
58596 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58598 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58600 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58602 * malloc/hooks.c: Likewise.
58605 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58606 variables statically.
58607 (narenas): Initialize.
58608 (list_lock): Initialize.
58609 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58610 initializtion of main_arena and list_lock. Small cleanups.
58611 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58612 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58613 Add initializers to main_arena and mp_.
58614 (malloc_state): Remove pagesize member. Change all users to use
58617 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58618 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58619 is always initialized.
58621 * malloc/malloc.c: Removed unused configurations and dead code.
58622 * malloc/arena.c: Likewise.
58623 * malloc/hooks.c: Likewise.
58624 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58626 * include/tls.h: Removed. USE___THREAD must always be defined.
58627 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58628 * elf/dl-libc.c: Likewise.
58629 * elf/dl-tsd.c: Likewise.
58630 * include/errno.h: Likewise.
58631 * include/netdb.h: Likewise.
58632 * include/resolv.h: Likewise.
58633 * inet/herrno-loc.c: Likewise.
58634 * inet/herrno.c: Likewise.
58635 * malloc/arena.c: Likewise.
58636 * malloc/hooks.c: Likewise.
58637 * malloc/malloc.c: Likewise.
58638 * resolv/res-state.c: Likewise.
58639 * resolv/res_libc.c: Likewise.
58640 * sysdeps/i386/dl-machine.h: Likewise.
58641 * sysdeps/ia64/dl-machine.h: Likewise.
58642 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58643 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58644 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58645 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58646 * sysdeps/sh/dl-machine.h: Likewise.
58647 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58649 * sysdeps/unix/i386/sysdep.S: Likewise.
58650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58651 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58654 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58655 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58656 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58660 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58661 * sysdeps/x86_64/dl-machine.h: Likewise.
58662 * tls.make.c: Likewise.
58664 * configure.in: Remove --with-__thread option. Make tests for
58665 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58666 tls_model attribute fail if no support is available. Remove
58668 * Makeconfig: Adjust for dropped configure option. All features are
58670 * Makerules: Likewise.
58671 * Versions.def: Likewise.
58672 * argp/argp-fmtstream.c: Likewise.
58673 * argp/argp-fmtstream.h: Likewise.
58674 * argp/argp-help.c: Likewise.
58675 * assert/assert.c: Likewise.
58676 * config.h.in: Likewise.
58677 * config.make.in: Likewise.
58678 * configure: Likewise.
58679 * configure.in: Likewise.
58680 * csu/Versions: Likewise.
58681 * csu/init.c: Likewise.
58682 * elf/tst-audit2.c: Likewise.
58683 * elf/tst-tls10.c: Likewise.
58684 * elf/tst-tls10.h: Likewise.
58685 * elf/tst-tls11.c: Likewise.
58686 * elf/tst-tls12.c: Likewise.
58687 * elf/tst-tls14.c: Likewise.
58688 * elf/tst-tlsmod11.c: Likewise.
58689 * elf/tst-tlsmod12.c: Likewise.
58690 * elf/tst-tlsmod13.c: Likewise.
58691 * elf/tst-tlsmod13a.c: Likewise.
58692 * elf/tst-tlsmod14a.c: Likewise.
58693 * elf/tst-tlsmod15b.c: Likewise.
58694 * elf/tst-tlsmod16a.c: Likewise.
58695 * elf/tst-tlsmod16b.c: Likewise.
58696 * elf/tst-tlsmod7.c: Likewise.
58697 * elf/tst-tlsmod8.c: Likewise.
58698 * elf/tst-tlsmod9.c: Likewise.
58699 * gmon/gmon.c: Likewise.
58700 * grp/fgetgrent_r.c: Likewise.
58701 * grp/putgrent.c: Likewise.
58702 * hurd/fopenport.c: Likewise.
58703 * include/libc-symbols.h: Likewise.
58704 * include/tls.h: Likewise.
58705 * intl/gettextP.h: Likewise.
58706 * intl/loadinfo.h: Likewise.
58707 * locale/global-locale.c: Likewise.
58708 * locale/localeinfo.h: Likewise.
58709 * mach/devstream.c: Likewise.
58710 * malloc/arena.c: Likewise.
58711 * malloc/set-freeres.c: Likewise.
58712 * misc/err.c: Likewise.
58713 * misc/getttyent.c: Likewise.
58714 * misc/mntent_r.c: Likewise.
58715 * posix/getopt.c: Likewise.
58716 * posix/wordexp.c: Likewise.
58717 * pwd/fgetpwent_r.c: Likewise.
58718 * resolv/Versions: Likewise.
58719 * resolv/res_hconf.c: Likewise.
58720 * shadow/fgetspent_r.c: Likewise.
58721 * shadow/putspent.c: Likewise.
58722 * stdio-common/printf_fphex.c: Likewise.
58723 * stdio-common/tmpfile.c: Likewise.
58724 * stdlib/abort.c: Likewise.
58725 * stdlib/fmtmsg.c: Likewise.
58726 * sunrpc/auth_unix.c: Likewise.
58727 * sunrpc/clnt_perr.c: Likewise.
58728 * sunrpc/clnt_tcp.c: Likewise.
58729 * sunrpc/clnt_udp.c: Likewise.
58730 * sunrpc/clnt_unix.c: Likewise.
58731 * sunrpc/openchild.c: Likewise.
58732 * sunrpc/svc_simple.c: Likewise.
58733 * sunrpc/svc_tcp.c: Likewise.
58734 * sunrpc/svc_udp.c: Likewise.
58735 * sunrpc/svc_unix.c: Likewise.
58736 * sunrpc/xdr.c: Likewise.
58737 * sunrpc/xdr_array.c: Likewise.
58738 * sunrpc/xdr_rec.c: Likewise.
58739 * sunrpc/xdr_ref.c: Likewise.
58740 * sunrpc/xdr_stdio.c: Likewise.
58742 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58744 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58746 2011-07-03 Andreas Jaeger <aj@suse.de>
58748 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58749 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58750 regenerate with gen-libm-tests.pl.
58752 2010-05-12 Petr Baudis <pasky@suse.cz>
58755 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58756 around j0() zero points by switching to j1().
58757 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58758 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58762 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58764 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58769 Patch in part by Pavel Roskin <proski@gnu.org>.
58772 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58774 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58775 Free memory block if necessary.
58778 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58779 be NULL. Don't lock in this case.
58781 2011-09-09 Roland McGrath <roland@hack.frob.com>
58783 * elf/elf.h (ELFOSABI_GNU): New macro.
58784 (ELFOSABI_LINUX): Define to that.
58786 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58788 * string/strncat.c (strncat): Undef the symbol in case it has been
58789 defined in bits/string.h.
58791 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58793 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58795 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58798 2011-08-17 Andreas Jaeger <aj@suse.de>
58800 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58802 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58803 Ian Lance Taylor <iant@google.com>
58805 * math/libm-test.inc (lround_test): New testcase.
58806 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58808 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58810 * Makefile: Remove support for automatic cvs check-ins.
58811 * Makerules: Likewise.
58812 * config.make.in: Likewise.
58813 * configure.in: Likewise.
58814 * intl/Makefile: Likewise.
58815 * locale/Makefile: Likewise.
58816 * po/Makefile: Likewise.
58817 * posix/Makefile: Likewise.
58818 * sysdeps/gnu/Makefile: Likewise.
58819 * sysdeps/mach/hurd/Makefile: Likewise.
58820 * sysdeps/sparc/sparc32/Makefile: Likewise.
58823 * posix/Makefile (bug-regex32-ENV): Define.
58824 Patch by John Stanley <jpsinthemix@verizon.net>.
58826 * misc/Makefile (headers): Add bits/select2.h.
58827 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58828 * misc/bits/select2.h: New file.
58829 * include/bits/select2.h: New file.
58830 * debug/Makefile (routines): Add fdelt_chk.
58831 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58832 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58834 * debug/fdelt_chk.c: New file.
58836 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58837 * wcsmbs/test-wmemcmp.c: Likewise.
58838 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58839 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58841 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58843 * string/Makefile (strop-tests): Add memcmp.
58844 * string/test-wmemcmp.c: New file.
58845 * string/test-memcmp.c: Add wmemcmp support.
58847 2011-09-08 Roland McGrath <roland@hack.frob.com>
58850 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58853 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58854 garbage value in a __mach_port_mod_refs call in the cases of the
58855 task-self and thread-self ports.
58857 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58859 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58861 2011-09-08 Andreas Schwab <schwab@redhat.com>
58863 * elf/dl-load.c (lose): Check for non-null L.
58865 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58867 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58869 * elf/dl-libc.c (dlerror_run): Pass back error code from
58873 * elf/dl-load.c (lose): Free l_origin if it is valid.
58875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58877 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58880 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58882 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58884 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58886 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58887 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58888 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58889 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58890 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58891 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58892 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58893 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58894 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58895 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58897 2011-08-15 Alan Modra <amodra@gmail.com>
58900 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58901 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58902 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58903 ppc_mcount to static-only-routines.
58904 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58906 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58907 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58909 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58911 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58912 for finite and infinity parameters.
58914 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58917 and add nop instructions for throughput optimization.
58918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58920 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58922 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58923 aligned copy for power7 with vector-scalar instructions.
58924 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58926 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58931 2011-09-07 Andreas Schwab <schwab@redhat.com>
58934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58937 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58939 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58940 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58941 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58942 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58945 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58947 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58948 Forgot to demangle the pointer.
58950 * sysdeps/i386/sysdep.h: Define atom_text_section.
58951 * sysdeps/x86_64/sysdep.h: Likewise.
58952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58953 section with atom_text_section.
58954 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58956 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58960 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58962 already be defined. Change to take two parameters and don't assign
58963 result to variable. Adjust all users.
58964 Define INTERNAL_GETTIME if not already defined.
58965 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58968 HAVE_CLOCK_GETTIME_VSYSCALL.
58969 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58972 gettimeofday vsyscall, just use time.
58974 2011-09-06 Andreas Schwab <schwab@redhat.com>
58976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58979 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58981 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58985 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58987 syscall if possible.
58989 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58991 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58992 e_ident. Don't pass to find_mapsXX.
58993 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58995 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58998 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58999 * sysdeps/x86_64/multiarch/strchr.S: Update.
59000 Check bit_slow_BSF bit.
59001 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59002 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59005 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59008 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59010 (tryshell): Define.
59011 (__spawni): Change last parameter to be flag. Test
59012 SPAWN_XFLAGS_USE_PATH flag to use path or not.
59013 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59014 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59015 * posix/spawni.c: Likewise.
59016 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59017 * posix/spawnp.c: Likewise. Change normal version to use
59018 SPAWN_XFLAGS_USE_PATH.
59019 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59020 SPAWN_XFLAGS_TRY_SHELL.
59023 * posix/glob.h: Remove gcc 1.x support.
59026 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59028 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59031 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59033 * sysdeps/i386/i686/multiarch/strchr.S: New file.
59034 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59035 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59038 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59040 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59042 * sysdeps/x86_64/wcscmp.S: New file.
59044 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59045 wcscmp-c wcscmp-sse2
59046 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59047 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59049 * wcsmbs/wcscmp.c: Allow renaming.
59051 2011-09-05 David S. Miller <davem@davemloft.net>
59053 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59054 stack slot, rather than the struct return pointer slot.
59055 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59056 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59058 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59060 2011-09-05 Ulrich Drepper <drepper@gmail.com>
59062 * po/ja.po: Update from translation team.
59065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59066 kernel in 64-bit binaries.
59068 2011-09-01 David S. Miller <davem@davemloft.net>
59070 * elf/elf.h (HWCAP_SPARC_*): Move to..
59071 * sysdeps/sparc/sysdep.h: this new file and add new values.
59072 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59073 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59074 _DL_HWCAP_COUNT to 24.
59075 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59077 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59078 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59079 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59081 instead of magic constants.
59082 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59084 2011-08-31 David S. Miller <davem@davemloft.net>
59086 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59088 Reimplement to do errno handling inline.
59089 (SYSCALL_ERROR_HANDLER): New macro.
59090 (__SYSCALL_STRING): Do not do errno handling in asm.
59091 (__CLONE_SYSCALL_STRING): Delete.
59092 (__INTERNAL_SYSCALL_STRING): Delete.
59093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59094 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59095 (PSEUDO): Reimplement to do errno handling inline.
59096 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59097 (SYSCALL_ERROR_HANDLER): New macro.
59098 (__SYSCALL_STRING): Do not do errno handling in asm.
59099 (__CLONE_SYSCALL_STRING): Delete.
59100 (__INTERNAL_SYSCALL_STRING): Delete.
59101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59102 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59104 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59105 (inline_syscall*): Add 'err' argument.
59106 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59107 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59108 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59109 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59111 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59112 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59114 2011-08-30 Andreas Schwab <schwab@redhat.com>
59116 * elf/rtld.c (dl_main): Relocate objects in dependency order.
59118 2011-08-29 Jiri Olsa <jolsa@redhat.com>
59120 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59123 2011-08-24 David S. Miller <davem@davemloft.net>
59125 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59127 2011-08-24 Andreas Schwab <schwab@redhat.com>
59129 * elf/Makefile: Add rules to build and run unload8 test.
59130 * elf/unload8.c: New file.
59131 * elf/unload8mod1.c: New file.
59132 * elf/unload8mod1x.c: New file.
59133 * elf/unload8mod2.c: New file.
59134 * elf/unload8mod3.c: New file.
59136 * elf/dl-close.c (_dl_close_worker): Reset private search list if
59139 2011-08-23 David S. Miller <davem@davemloft.net>
59141 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59142 subtract stack bias.
59143 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59144 %sp not %fp in calculations.
59145 (_JMPBUF_UNWINDS_ADJ): Likewise.
59147 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59148 (aio_suspend): Call it to force an exception region around the
59149 AIO_MISC_WAIT() invocation.
59151 2011-08-23 Andreas Schwab <schwab@redhat.com>
59153 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59156 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
59158 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59160 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59161 and <dl-machine.h>.
59162 (Elf64_FuncDesc): Remove.
59164 2011-08-22 David S. Miller <davem@davemloft.net>
59166 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59167 sigaltstack check, add missing cfi directives.
59168 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59169 missing cfi directives, and sigaltstack handling.
59171 2011-08-16 Andreas Schwab <schwab@redhat.com>
59174 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59175 object is seen twice.
59176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59178 * elf/Makefile (distribute): Add tst-initorder2.c.
59179 (tests): Add tst-initorder2.
59180 (modules-names): Add tst-initorder2a tst-initorder2b
59181 tst-initorder2c tst-initorder2d. Add rules to build them.
59182 ($(objpfx)tst-initorder2.out): New rule.
59183 * elf/tst-initorder2.c: New file.
59184 * elf/tst-initorder2.exp: New file.
59186 2011-08-22 Andreas Schwab <schwab@redhat.com>
59188 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59190 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59191 dependencies back to end of function.
59193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59194 $(elfobjdir)/ld.so.
59196 2011-08-21 Ulrich Drepper <drepper@gmail.com>
59198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59199 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59201 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59202 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59203 of __vdso_gettimeofday.
59204 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59205 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
59207 (_libc_vdso_platform_setup): Remove initialization of
59208 __vdso_gettimeofday and __vdso_time.
59210 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59212 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59213 and fgetc_unlocked.
59214 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59217 * elf/dl-open.c (add_to_global): Report additions to the global scope
59218 for LD_DEBUG=scopes.
59219 (dl_open_worker): Also print scope of newly loaded dependencies.
59220 (_dl_show_scope): Indicate if there is no scope.
59223 * stdio-common/Makefile (tests): Add bug24.
59224 * stdio-common/bug24.c: New file.
59226 2011-08-19 Andreas Jaeger <aj@suse.de>
59229 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59230 non-existant file when using close-on-exec mode.
59232 2011-08-20 Ulrich Drepper <drepper@gmail.com>
59234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59235 the very first instruction.
59237 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59238 the CFI state in the end.
59239 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59240 inclusion of dl-trampoline.h.
59241 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59243 2011-08-19 Andreas Schwab <schwab@redhat.com>
59245 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59246 expectations for long double.
59248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59249 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59251 2011-08-14 David S. Miller <davem@davemloft.net>
59253 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59254 artificual limit depends upon the system page size.
59256 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59258 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59259 * resolv/Makefile: Define CFLAGS-libresolv.
59261 2011-08-17 Andreas Schwab <schwab@redhat.com>
59263 * nss/makedb.c (compute_tables): Make variables used in nested
59266 2011-08-17 Ulrich Drepper <drepper@gmail.com>
59268 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59269 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59270 if buffer was too small.
59272 * elf/pldd.c (main): Attach to all threads in the process.
59273 Rewrite /proc handling to use *at functions.
59275 2011-08-16 Ulrich Drepper <drepper@gmail.com>
59277 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59278 specifies first scope to show.
59279 (dl_open_worker): Update callers. Move printing scope of new
59280 object to before the relocation.
59281 * elf/rtld.c (dl_main): Update _dl_show_scope call.
59282 * sysdeps/generic/ldsodefs.h: Update declaration.
59284 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59285 string for the scope number.
59287 2011-08-14 Ulrich Drepper <drepper@gmail.com>
59289 * nscd/servicescache.c (cache_addserv): Make sure written is always
59292 2011-08-14 Roland McGrath <roland@hack.frob.com>
59294 * sysdeps/i386/i486/bits/atomic.h
59295 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59296 statement expression, so as to suppress "set but not used" warning.
59297 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59299 * string/strncat.c (STRNCAT): Use prototype definition.
59301 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59302 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59304 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59305 (localedef-modules): Add localedef.
59306 (locale-modules): Add locale.
59308 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59309 * elf/rtld.c (dl_main): Invert order of assignment in last change,
59310 to avoid a warning.
59312 2011-08-14 David S. Miller <davem@davemloft.net>
59314 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59315 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59317 2011-08-13 Ulrich Drepper <drepper@gmail.com>
59319 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59320 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59321 * elf/rtld.c (dl_main): Set l_name of vDSO.
59322 Call _dl_show_scope when DL_DEBUG_SCOPES.
59323 (process_dl_debug): Recognize scopes flag and also set it for all.
59324 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59325 Declare _dl_show_scope.
59327 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59328 (do_dlopen): Pass caller_dlopen to dl_open.
59329 (__libc_dlopen_mode): Initialize caller_dlopen.
59331 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59332 of libc. Make tolower call locale-independent. Optimize a bit by
59333 using isdigit instead of isalnum.
59334 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59336 2011-08-12 Ulrich Drepper <drepper@gmail.com>
59338 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59339 was a dependency or dynamically loaded.
59341 2011-08-11 Ulrich Drepper <drepper@gmail.com>
59343 * intl/l10nflist.c: Allow architecture-specific pop function.
59344 * sysdeps/x86_64/l10nflist.c: New file.
59346 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59349 2011-08-10 Andreas Schwab <schwab@redhat.com>
59351 * include/dirent.h: Add libc_hidden_proto for scandirat and
59352 scandirat64. Don't declare __scandirat64.
59353 * dirent/scandirat.c: Add libc_hidden_def.
59354 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59355 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59357 2011-08-10 David S. Miller <davem@davemloft.net>
59359 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59365 2011-08-09 Ulrich Drepper <drepper@gmail.com>
59367 * Versions.def [libc]: Add GLIBC_2.15.
59368 * dirent/Makefile (routines): Add scandirat and scandirat64.
59369 * dirent/Versions [libc]: Export scandirat and scandirat64 for
59371 * dirent/dirent.h: Declare scandirat and scandirat64.
59372 * dirent/scandirat.c: New file.
59373 * dirent/scandirat64.c: New file.
59374 * sysdeps/wordsize-64/scandirat.c: New file.
59375 * sysdeps/wordsize-64/scandirat64.c: New file.
59376 * dirent/opendir.c: Define opendirat.
59377 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
59379 * dirent/scandir64.c: Adjust for scandir.c change.
59380 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
59381 __scandirat64, and __scandir_cancel_handler.
59382 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
59383 additional parameter and use openat instead of open (outside of ld.so).
59384 Add new __opendir as wrapper around __opendirat.
59385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59386 here without requiring old scandirat implementation.
59388 2011-08-08 Ulrich Drepper <drepper@gmail.com>
59390 * dirent/scandir.c (cancel_handler): Renamed to
59391 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
59392 defined. Adjust users.
59393 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59396 2011-08-04 Ulrich Drepper <drepper@gmail.com>
59398 * string/test-string.h (IMPL): Use __STRING to expand name and then
59401 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
59404 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59406 * string/Makefile: Update.
59407 (strop-tests): Append strncat.
59408 * string/test-wcscmp.c: New file.
59409 New comprehensive test for wcscmp.
59410 * string/test-strcmp.c: Update.
59411 (WIDE): New define.
59413 2011-07-22 Andreas Schwab <schwab@redhat.com>
59415 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59418 2011-07-26 Andreas Schwab <schwab@redhat.com>
59420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59421 encoding to ACE if AI_IDN.
59423 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59426 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59428 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59431 Fix overflow bug in strncat.
59432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59434 * string/test-strncat.c: Update.
59435 Add new tests for checking overflow bugs.
59437 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59440 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59441 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59442 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59444 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59445 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59446 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59447 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59450 (USE_AS_STRCAT): Define.
59451 Add strcat and strncat support.
59452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59454 2011-07-25 Andreas Schwab <schwab@redhat.com>
59456 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59457 __n bigger than INT_MAX+1.
59458 (__strncmp_g): Likewise.
59460 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59462 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59463 * libio/stido.h: Likewise.
59465 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59470 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59471 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59473 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59477 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59482 (_dl_x86_64_save_sse): Likewise.
59484 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59488 (_dl_x86_64_save_sse): Likewise.
59490 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59492 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59494 2011-07-21 Andreas Schwab <schwab@redhat.com>
59496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59498 (_dl_x86_64_save_sse): Use correct AVX check.
59500 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59502 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59503 bug in strncpy/strncat.
59504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59506 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59508 * string/tester.c (test_strcat): Add tests for different alignments
59509 of source and destination.
59510 (test_strncat): Likewise.
59512 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59515 * posix/glob.c (glob): Check passed in values before using them in
59516 expressions to avoid some overflows.
59517 (glob_in_dir): Likewise.
59520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59521 check for AVX enablement so that we don't crash with old kernels and
59523 * elf/tst-audit4.c: Add same checks here.
59524 * elf/tst-audit6.c: Likewise.
59526 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59528 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59530 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59532 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59534 * po/cs.po: Update from translation team.
59535 * po/bg.po: Likewise.
59537 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59539 * misc/sys/cdefs.h: Add support for const attribute.
59540 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59541 to gnu_dev_{major,minor,makedev} functions.
59543 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59545 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59547 2011-07-20 Andreas Schwab <schwab@redhat.com>
59549 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59552 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59555 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59556 register in order to avoid conflicts with the soft frame pointer
59557 being held in r11 when necessary.
59558 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59559 (INTERNAL_VSYSCALL_NCS): Likewise.
59561 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59563 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59564 * elf/dl-fini.c (_dl_fini): Adjust caller.
59565 * elf/dl-close.c (_dl_close_worker): Likewise.
59566 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59568 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59570 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59571 "aux_cache->nlibs < 0".
59573 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59574 in the reload-count case.
59576 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59579 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59580 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59581 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59582 * sysdeps/x86_64/multiarch/strcat.S: New file.
59583 * sysdeps/x86_64/multiarch/strncat.S: New file.
59584 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59586 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59587 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59589 (USE_AS_STRCAT): Define.
59590 Add strcat and strncat support.
59591 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59593 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59594 * string/strncat.c: Update.
59595 (USE_AS_STRNCAT): Define.
59596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59597 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59599 * sysdeps/x86_64/multiarch/init-arch.h
59600 (bit_Prefer_PMINUB_for_stringop): New.
59601 (index_Prefer_PMINUB_for_stringop): Likewise.
59602 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59603 bit_Prefer_PMINUB_for_stringop.
59605 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59607 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59609 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59610 of casting of buffer.
59611 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59612 buffer32 and buffer64.
59613 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59614 writes instead of casting of buffer.
59615 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59617 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59620 2011-07-19 Andreas Schwab <schwab@redhat.com>
59622 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59624 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59626 * nscd/nscd.c (termination_handler): Don't do anything for a database
59627 if it has not yet been initialized.
59629 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59631 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59633 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59635 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59637 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59639 * po/nl.po: Update from translation team.
59640 * po/sv.po: Likewise.
59642 2011-07-16 Roland McGrath <roland@hack.frob.com>
59644 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59645 now disallowed by GCC.
59647 * configure.in (use-default-link): Default to yes if a test -shared
59648 link meets our qualifications.
59649 * configure: Regenerated.
59651 * config.make.in (output-format): New variable.
59652 * configure.in: Check for ld --print-output-format support.
59653 * configure: Regenerated.
59654 * Makerules ($(common-objpfx)format.lds)
59655 [$(output-format) != unknown]: Just use $(output-format),
59656 instead of the linker-script munging.
59658 2011-07-14 Roland McGrath <roland@hack.frob.com>
59660 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59661 of $(common-objpfx)shlib.lds.
59662 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59664 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59665 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59667 * configure.in (-z relro check): Adjust test code to add a large
59668 writable data section after it.
59669 * configure: Regenerated.
59671 2011-07-11 Roland McGrath <roland@hack.frob.com>
59673 * configure.in (-z relro check): Fix test code to make the variable
59675 * configure: Regenerated.
59677 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59679 * nscd/nscd.h (struct traced_file): Define.
59680 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59681 elements. Add traced_files.
59682 (inotify_fd): Declare.
59683 (register_traced_file): Declare.
59684 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59685 (inotify_fd): Export.
59686 (resolv_conf_descr): Remove.
59687 (nscd_init): Move inotify descriptor creation to main.
59688 Don't register files for notification here.
59689 (register_traced_file): New function.
59690 (invalidate_cache): Don't use reset_res to determine whether to call
59691 res_init, go through the list of registered files.
59692 (main_loop_poll): The inotify descriptors are now stored in the
59693 structures for the traced files.
59694 (main_loop_epoll): Likewise
59695 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59696 to __nss_disable_nscd.
59697 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59698 for a database anymore. Check the records for all the registered
59700 * nss/Makefile (libnss_files-routines): Add files-init.
59701 (libnss_db-routines): Add db-init.
59702 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59703 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59704 * nss/nss_db/db-init.c: New file.
59705 * nss/nss_files/files-init.c: New file.
59706 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59707 __nss_lookup_function.
59708 (__nss_lookup_function): Call nss_load_library.
59709 (nss_load_all_libraries): New function.
59710 (__nss_disable_nscd): Take parameter with callback function for files
59711 to register. Set is_nscd. Load all the DSOs for the NSS modules
59712 used for the cached services.
59713 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59714 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59715 options for features to all the files in nscd.
59717 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59719 2011-07-10 Roland McGrath <roland@hack.frob.com>
59721 * csu/elf-init.c (__libc_csu_init): Comment typo.
59723 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59725 * po/pl.po: Update from translation team.
59726 * po/ja.po: Likewise.
59727 * po/ru.po: Likewise.
59728 * po/ko.po: Likewise.
59729 * po/fr.po: Likewise.
59731 2011-07-09 Roland McGrath <roland@hack.frob.com>
59733 * configure.in (.ctors/.dtors header and trailer check):
59734 Use an empirical test on a built program.
59735 * configure: Regenerated.
59737 * configure.in (-z relro check): Use an empirical test on a built DSO.
59738 Detect, but do not require, on ia64.
59739 * configure: Regenerated.
59741 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59742 Update tests that use readelf to use $READELF instead.
59743 * configure: Regenerated.
59745 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59747 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59748 if the result is not used.
59750 2011-07-05 Andreas Jaeger <aj@suse.de>
59753 * stdlib/tst-strtod.c: Add testcase.
59755 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59757 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59758 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59759 The latter has a higher limit. Take additional parameter to pass to
59761 (__pathconf): Pass file to __statfs_link_max.
59762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59764 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59768 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59772 (__statfs_filesize_max): Likewise.
59773 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59775 2011-07-05 Andreas Jaeger <aj@suse.de>
59777 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59779 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59781 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59783 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59786 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59788 * Makefile (strop-tests): Add strncat.
59789 * string/test-strncat.c: New file.
59791 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59793 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59795 2011-06-21 Andreas Jaeger <aj@suse.de>
59797 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59798 Copy rule from iconvdata/Makefile.
59800 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59803 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59804 but no long options are defined, just return 'W'.
59806 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59809 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59811 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59813 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59815 (innetgr): Likewise.
59817 2011-07-05 Roland McGrath <roland@hack.frob.com>
59819 * config.make.in (install_root): Default to $(DESTDIR).
59821 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59823 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59825 2011-07-02 Roland McGrath <roland@hack.frob.com>
59827 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59829 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59830 containing directory rather than embedding absolute directory names.
59832 * scripts/check-local-headers.sh: Rewritten using awk.
59833 Match by word, not by line. Print error messages for matches.
59834 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59836 * Makerules [shlib-lds-flags empty]:
59837 ($(common-objpfx)libc_pic.opts): New target.
59838 ($(common-objpfx)libc_pic.os.clean): New target.
59839 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59841 * config.make.in (OBJCOPY): New variable.
59842 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59843 * configure: Regenerated.
59845 * config.make.in (use-default-link): New variable.
59846 * configure.in (use_default_link): Grok --with-default-link to set it.
59847 * configure: Regenerated.
59848 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59849 (shlib-lds, shlib-lds-flags): Define to empty.
59851 * Makerules (shlib-lds): New variable.
59852 (shlib-lds-flags): New variable.
59853 (build-shlib, build-moduile, build-module-asneeded): Use it.
59854 ($(common-objpfx)libc.so): Use $(shlib-lds).
59855 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59856 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59858 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59859 DT_FLAGS/DT_FLAGS_1 with zero flags.
59861 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59862 linker script munging.
59864 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59866 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59868 * crypt/sha512.c (sha512_process_block): Perform total addition using
59869 128-bit if possible.
59870 (__sha512_finish_ctx): Likewise.
59871 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59873 * crypt/sha256.c (SWAP64): Define.
59874 (sha256_process_block): Perform total addition using 64-bit if
59876 (__sha256_finish_ctx): Likewise.
59878 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59880 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59882 * nscd/hstcache.c (cache_addhst): Likewise.
59883 * nscd/grpcache.c (cache_addgr): Likewise.
59884 * nscd/aicache.c (addhstaiX): Likewise
59885 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59887 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59889 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59891 * nscd/hstcache.c (cache_addhst): Likewise.
59892 * nscd/grpcache.c (cache_addgr): Likewise.
59893 * nscd/aicache.c (addhstaiX): Likewise
59895 2011-07-01 Andreas Schwab <schwab@redhat.com>
59897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59898 domain only when needed.
59900 2011-06-30 Andreas Schwab <schwab@redhat.com>
59902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59903 is always restored.
59905 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59907 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59908 are re-adding the entry.
59909 * nscd/servicescache.c (cache_addserv): Likewise.
59911 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59913 * sysdeps/generic/dl-irel.h: fix protection against multiple
59915 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59917 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59920 * malloc/memusage.sh: Fix quoting in message.
59921 * debug/xtrace.sh: Likewise.
59923 * configure.in: Remove support for --experimental-malloc option, make
59925 * config.make.in: Likewise.
59926 * malloc/Makefile: Likewise.
59928 2011-06-27 Andreas Schwab <schwab@redhat.com>
59930 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59931 two-byte characters.
59933 2011-06-27 Roland McGrath <roland@hack.frob.com>
59935 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59936 AC_CACHE_CHECK invocation.
59937 * configure: Regenerated.
59939 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59941 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59944 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59945 bit from old_res_options.
59947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59949 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59950 value type for setfct.
59952 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59955 __gettimeofday instead of gettimeofday.
59957 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59959 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59961 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59968 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59971 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59972 strcpy-sse2-unaligned strncpy-sse2-unaligned
59973 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59974 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59975 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59976 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59977 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59980 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59981 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59982 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59983 (STRCPY): Support SSE2 and SSSE3 versions.
59985 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59989 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59990 kernels which artificially limit size of requests.
59992 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59995 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59996 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59997 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59998 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59999 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60000 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60001 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60004 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60005 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60006 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60007 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60008 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60010 Enable unaligned load optimization for Intel Core i3, i5 and i7
60012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60014 (index_Fast_Unaligned_Load): Define.
60015 (HAS_FAST_UNALIGNED_LOAD): Define.
60017 2011-06-23 Marek Polacek <mpolacek@redhat.com>
60019 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60021 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60025 until it is clear that the information is realy needed.
60026 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60028 2011-06-22 Andreas Schwab <schwab@redhat.com>
60030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60032 2011-06-22 Ulrich Drepper <drepper@gmail.com>
60034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60035 /sys/devices/system/cpu/online if it is usable.
60037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60038 reading the information from the /proc filesystem to once a second.
60040 2011-06-21 Andreas Jaeger <aj@suse.de>
60042 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60043 NULL after inclusion of kernel headers.
60045 2011-06-21 Ulrich Drepper <drepper@gmail.com>
60047 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60048 calls to internal_setent.
60051 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60052 addresses using gethostbyname4_r ignore IPv4 addresses.
60054 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60055 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
60057 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60059 2011-06-20 David S. Miller <davem@davemloft.net>
60061 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60063 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60065 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60066 (elf_irel): Use it.
60067 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60068 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60069 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60070 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60071 * sysdeps/x86_64/dl-irel.h: Likewise.
60073 * elf/dl-runtime.c: Use elf_ifunc_invoke.
60074 * elf/dl-sym.c: Likewise.
60076 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60078 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
60079 need to dereference resplen2.
60081 2011-06-14 Andreas Schwab <schwab@redhat.com>
60083 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60085 2011-06-15 Ulrich Drepper <drepper@gmail.com>
60087 * Makeconfig: Define vardbdir and inst_vardbdir.
60088 * nss/Makefile: Add rules to install db-Makefile.
60090 * nss/nss_db/db-XXX.c: Cleanup.
60092 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60093 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60095 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60096 * nss/makedb.c: Implement -g option to specify that value strings
60097 are generated and should not be added to table iterated over for
60099 * nss/nss_db/db-initgroups.c: New file.
60101 * nss/getent.c: Add support for initgroups lookups through getgrouplist
60104 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60105 (internal_getgrouplist): Adjust to name change.
60106 Update use_initgroups_entry if this is not the first call.
60107 * nss/databases.def: Add initgroups entry.
60109 * nss/makedb.c (compute_tables): Check result of multiple hash table
60110 sizes to minimize maximum chain length.
60112 2011-06-14 Ulrich Drepper <drepper@gmail.com>
60114 * Versions.def: Add entry for libnss_db.
60115 * shlib-versions: Likewise.
60116 * nss/Makefile: Add rules to build libnss_db.
60117 * nss/Versions: Add libnss_db information. Organize libnss_files
60119 * nss/db-Makefile: Add gshadow support. Change rules for the new
60120 makedb progra. Some minor improvements to generate smaller files.
60121 * nss/nss_db/nss_db.h: Move NSS database header data structures to
60123 * nss/makedb.c: ...here.
60124 Improve database format to be smaller and require less memory at
60126 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
60128 * nss/nss_db/db-netgrp.c: Likewise.
60129 * nss/nss_db/db-open.c: Likewise.
60130 * nss/nss_files/flies-XXX.x: Adjust comments.
60131 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60132 * nss/nss_files/files-grp.c: Likewise.
60133 * nss/nss_files/files-hosts.c: Likewise.
60134 * nss/nss_files/files-network.c: Likewise.
60135 * nss/nss_files/files-proto.c: Likewise.
60136 * nss/nss_files/files-pwd.c: Likewise.
60137 * nss/nss_files/files-rpc.c: Likewise.
60138 * nss/nss_files/files-service.c: Likewise.
60139 * nss/nss_files/files-sgrp.c: Likewise.
60140 * nss/nss_files/files-spwd.c: Likewise.
60141 * nss/nss_db/db-alias.c: Removed.
60142 * nss/nss_db/dummy-db.h: Removed.
60144 2011-06-02 Ulrich Drepper <drepper@gmail.com>
60146 * nss/makedb.c: Rewritten to not use database library.
60147 * nss/Makefile: Update to build new makedb program.
60149 2011-06-14 Andreas Jaeger <aj@suse.de>
60151 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60152 memset declaration.
60154 2011-06-10 Andreas Schwab <schwab@redhat.com>
60156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60159 2011-06-10 Roland McGrath <roland@hack.frob.com>
60161 * Makerules (shlib.lds): Fail if the linker script comes out empty.
60162 * elf/Makefile ($(objpfx)ld.so): Likewise.
60164 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60165 Don't list ld.so twice in dependencies.
60167 * posix/bug-regex31.c: Include <stdlib.h>.
60169 * nscd/hstcache.c (cache_addhst): Remove unused variable.
60171 * nis/nss_compat/compat-spwd.c
60172 (getspent_next_nss_netgr): Remove unused variable.
60173 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60175 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60176 nonmembers" output to use the right array.
60178 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60180 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60182 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60183 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60184 * catgets/gencat.c (read_input_file): Likewise.
60185 * locale/programs/locarchive.c (enlarge_archive): Likewise.
60187 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60188 variable definition inside #if's controlling its use.
60190 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60192 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60194 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60196 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60199 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60201 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60202 * configure: Regenerated.
60204 * Makerules: Revert last change.
60205 * elf/Makefile: Likewise.
60207 2011-06-09 Roland McGrath <roland@hack.frob.com>
60209 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60210 * elf/Makefile ($(objpfx)librtld.os): Likewise.
60211 (reloc-link): Likewise.
60213 2011-06-09 Ulrich Drepper <drepper@gmail.com>
60215 * elf/Makefile: Add rules to build pldd.
60216 * elf/pldd.c: New file.
60217 * elf/pldd-xx.c: New file.
60219 2011-06-07 Ulrich Drepper <drepper@gmail.com>
60221 * version.h: Update for 2.15 development version.
60223 2011-06-07 David S. Miller <davem@davemloft.net>
60225 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60228 elf_machine_lazy_rel): Likewise.
60229 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60231 elf_machine_lazy_rel): Likewise.
60232 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60233 dl_hwcap via passed in argument.
60234 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60237 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60239 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
60241 2011-06-06 Roland McGrath <roland@hack.frob.com>
60244 * manual/fdl-1.1.texi: New file, verbatim from:
60245 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60246 * manual/lgpl-2.1.texi: New file, verbatim from:
60247 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60248 * manual/Makefile (licenses): New variable, list those new file names.
60250 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60252 * manual/fdl.texi: File removed.
60253 * manual/lesser.texi: File removed.
60254 * manual/libc.texinfo (Copying, Documentation License):
60255 Use new @include file names, put @appendix directive before @include.
60257 2011-06-04 Jakub Jelinek <jakub@redhat.com>
60260 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60261 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60262 (mq_open): Add __NTH.
60264 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
60266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60267 Assume Intel Core i3/i5/i7 processor if AVX is available.
60269 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60274 2011-05-31 Andreas Schwab <schwab@redhat.com>
60276 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60277 memory. Use alloca_account. Fix memory leak when retrying.
60279 2011-05-31 Ulrich Drepper <drepper@gmail.com>
60281 * version.h (RELEASE): Bump for 2.14 release.
60282 * include/features.h (__GLIBC_MINOR__): Bump to 14.
60284 * config.make.in (RANLIB): Remove entry.
60286 2011-05-30 Ulrich Drepper <drepper@gmail.com>
60288 * po/Makefile (po-sed-cmd): Add ksh to extensions.
60289 (libc.pot): Work around missing support for .ksh extension in xgettext.
60292 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60293 if both request failed.
60294 (send_dg): In case of server errors clear resplen or *resplen2.
60297 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60298 when there are multiple maps.
60299 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60300 (_dl_fini): Remove test here.
60302 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60304 2011-05-29 Ulrich Drepper <drepper@gmail.com>
60307 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60308 bit from old_res_options.
60309 (gaih_inet): Likewise.
60312 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60315 * resolv/res_init.c (res_setoptions): Make the code more compact.
60318 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60322 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60324 * malloc/malloc.h: Mark malloc hook variables as deprecated.
60327 * malloc/malloc.h: Declare malloc hook variables as volatile.
60329 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60333 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60334 raise in the comment.
60335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60337 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60339 2011-05-28 Ulrich Drepper <drepper@gmail.com>
60342 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60343 grow the buffers more if it already has to be sufficient.
60344 (build_wcs_upper_buffer): Likewise.
60345 * posix/regexec.c (check_matching): Likewise.
60346 (clean_state_log_if_needed): Likewise.
60347 (extend_buffers): Don't enlarge buffers beyond size of the input
60349 Patches mostly by Emil Wojak <emil@wojak.eu>.
60350 * posix/bug-regex32.c: New file.
60351 * posix/Makefile (tests): Add bug-regex32.
60353 * locale/findlocale.c (_nl_find_locale): Return right away if
60354 _nl_explode_name failed.
60355 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60357 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60359 * debug/xtrace.sh: Unify messages.
60360 * malloc/memusage.sh: Likewise.
60363 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60364 time symbol from vDSO. Substitute with vsyscall if not available.
60365 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60368 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60369 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60370 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60371 Add sendmmsg and internal_sendmmsg.
60372 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60373 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60374 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60376 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60377 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60380 2011-05-27 Ulrich Drepper <drepper@gmail.com>
60383 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60384 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
60386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60390 * iconvdata/Makefile (tests): Add bug-iconv9.
60391 * iconvdata/bug-iconv9.c: New file.
60393 2011-05-27 Andreas Schwab <schwab@redhat.com>
60396 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60398 2011-05-25 Jakub Jelinek <jakub@redhat.com>
60400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60401 (struct user_regs_struct): Change intcs field back to cs.
60403 2011-05-25 Ulrich Drepper <drepper@gmail.com>
60405 * po/ja.po: Update from translation team.
60407 2011-05-23 Ulrich Drepper <drepper@gmail.com>
60410 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60411 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60413 2011-05-20 Andreas Schwab <schwab@redhat.com>
60415 * stdlib/longlong.h: Update from GCC.
60417 2011-05-23 Andreas Schwab <schwab@redhat.com>
60419 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60421 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60422 Add parameter name.
60423 (__sysconf): Pass it down.
60425 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60428 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60431 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60432 add in in __libc_use_alloca calls. Adjust callers.
60433 (glob): Use malloc in some situations.
60435 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60436 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60439 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60441 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60442 and CLOCK_BOOTTIME_ALARM.
60445 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60448 * string/_strerror.c (__strerror_r): Print negative errors as signed
60452 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60453 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60454 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60456 * configure.in: Fix typo in redirection and correct removal of test
60457 files in two cases.
60460 * locale/setlocale.c (new_composite_name): Fix test to check for
60461 identical name of all categories.
60464 * libio/filedoalloc.c (local_isatty): New function.
60465 (_IO_file_doallocate): Use local_isatty.
60466 * stdio-common/perror.c (perror): In case a new stream is used
60467 forward the stream error.
60468 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60471 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60476 * include/alloca.h (extend_alloca_account): Define.
60479 * posix/regex.h: Fix comments with documentation of user-accessible
60480 fields after compilation and describe correct free'ing of pattern
60481 after re_compile_pattern.
60482 Patch by Reuben Thomas <rrt@sc3d.org>.
60484 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60486 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60487 and -mno-altivec to prevent the compiler from using Altivec and/or
60488 VSX instructions when the corresponding registers are not available.
60490 2011-05-19 Andreas Schwab <schwab@redhat.com>
60492 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60494 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60496 * libio/freopen.c (freopen): Use __dup2, not dup2.
60497 * libio/freopen64.c (freopen64): Likewise.
60499 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60502 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60503 * math/Makefile (tests): Add test-powl.
60504 (CFLAGS-test-powl.c): Define.
60505 * math/test-powl.c: New file.
60507 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60509 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60511 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60514 * iconvdata/gb18030.c: Update to GB18020-2005.
60516 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60518 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60519 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60520 Patch by Aharon Robbins <arnold@skeeve.com>.
60523 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60527 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60528 through underflows.
60531 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60532 point to strings before performing equality test for error_one_per_line
60536 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60540 (struct user_fpregs_struct): Avoid __uint*_t types.
60543 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60544 symbol info. Use it instead of calling _dl_addr locally.
60545 (lock_and_info): New function.
60546 (tr_freehook): Call lock_and_info and pass symbol info as additional
60547 parameter to tr_where.
60548 (tr_mallochook): Likewise.
60549 (tr_reallochook): Likewise.
60550 (tr_memalignhook): Likewise.
60552 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60553 used and couldn't be at all thread-safe.
60555 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60557 * libio/freopen.c (freopen): Don't close old file descriptor
60558 before the new one is opened. Instead dup the new file descriptor
60559 to the old one after the new stream is created.
60560 * libio/freopen64.c (freopen64): Likewise.
60561 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60562 * libio/fileops.c (_IO_new_file_close_it): Handle new
60563 _IO_FLAGS2_NOCLOSE flag.
60564 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60565 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60566 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60567 _IO_FLAGS2_NOCLOSE flag.
60568 * include/unistd.h: Add hidden_proto for dup3.
60569 Define __have_dup3.
60570 * io/dup3.c: Define hidden symbol.
60571 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60574 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60575 when an incomplete long option is used.
60576 * posix/tst-getopt_long1.c: New file.
60577 * posix/Makefile (tests): Add tst-getopt_long1.
60580 * scripts/config.guess: Update from autoconf-2.68.
60581 * scripts/config.sub: Likewise.
60584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60586 (has_cpuclock): ...this. New function.
60587 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60588 macro here based on has_cpuclock code.
60591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60592 First byte (not low byte) is now always NUL.
60593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60596 Use non-cancelable interfaces.
60599 * locale/iso-639.def: Add entry for Sorani.
60602 * include/stdlib.h: Move include protection to the right place.
60603 Define abort_msg_s. Declare __abort_msg with it.
60604 * stdlib/abort.c (__abort_msg): Adjust type.
60605 * assert/assert.c (__assert_fail_base): New function. Majority
60606 of code from __assert_fail. Allocate memory for __abort_msg with
60608 (__assert_fail): Now call __assert_fail_base.
60609 * assert/assert-perr.c: Remove bulk of implementation. Use
60610 __assert_fail_base.
60611 * include/assert.hL Declare __assert_fail_base.
60612 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60614 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60616 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60620 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60621 until all modules are registered in the DTV.
60622 * elf/Makefile: Add rules to build and run tst-tls19.
60623 * elf/tst-tls19.c: New file.
60624 * elf/tst-tls19mod1.c: New file.
60625 * elf/tst-tls19mod2.c: New file.
60626 * elf/tst-tls19mod3.c: New file.
60627 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60630 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60634 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60635 two-byte sequence errors.
60636 * iconvdata/Makefile (tests): Add bug-iconv8.
60637 * iconvdata/bug-iconv8.c: New file.
60640 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60643 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60646 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60647 (dummy_getcfa): New function.
60648 (init): Get _Unwind_GetCFA address, use dummy if not found.
60649 (backtrace_helper): In recursion check, also check whether CFA changes.
60650 (__backtrace): Completely initialize arg.
60652 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60653 storing incomplete byte sequence in state object. Avoid testing for
60654 guaranteed too small input if we know there is enough data available.
60656 2011-05-11 Andreas Schwab <schwab@redhat.com>
60658 * Makeconfig (+link-pie): Indent.
60659 * Rules (binaries-pie): Define if $(have-fpie) and
60661 (binaries-shared): Also filter out $(binaries-pie).
60662 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60663 * nscd/Makefile (others-pie): Add nscd.
60664 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60665 ($(objpfx)nscd): Remove command override.
60666 * login/Makefile (others-pie): Add pt_chown.
60667 ($(objpfx)pt_chown): Remove command override.
60668 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60669 remove command overrides.
60671 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60673 * libio/tst_putwc.c: Fix error messages.
60676 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60677 currently writing and seek to current position when not.
60678 * libio/Makefile (tests): Add bug-fclose1.
60679 * libio/bug-fclose1.c: New file.
60681 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60684 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60685 don't set DF_1_NODELETE here.
60686 (do_lookup_x): When entering new entry test for copy relocation
60687 and if necessary set DF_1_NODELETE flag.
60688 * elf/tst-unique4.cc: New file.
60689 * elf/tst-unique4.h: New file.
60690 * elf/tst-unique4lib.cc: New file.
60691 * elf/Makefile: Add rules to build and run tst-unique4.
60692 Patch by Piotr Bury <pbury@goahead.com>.
60694 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60697 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60700 * misc/mntent_r.c (addmntent): Flush the stream after the output
60703 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60704 (is_trusted_path_normalize): Skip initial colon. Append slash
60705 to empty buffer. Duplicate is_trusted_path code but allow
60706 constructed patch to be prefix.
60707 (is_dst): Allow $ORIGIN followed by /.
60708 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60709 Correct testing of result of is_trusted_path_normalize
60710 (decompose_rpath): Fix warning.
60712 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60715 * grp/initgroups.c (internal_getgrouplist): When we found the service
60716 list through the initgroups entry in nsswitch.conf do not always
60717 continue on a successful lookup. Don't always use the
60718 __nss_group_database value if it is set.
60719 * nss/nsswitch.conf (initgroups): Change action for successful db
60720 lookup to continue for compatibility.
60722 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60725 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60727 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60729 * iconvdata/tst-tables.sh: Likewise.
60730 * iconvdata/cp770.c: New file.
60731 * iconvdata/cp771.c: New file.
60732 * iconvdata/cp772.c: New file.
60733 * iconvdata/cp773.c: New file.
60734 * iconvdata/cp774.c: New file.
60735 * iconvdata/testdata/CP770: New file.
60736 * iconvdata/testdata/CP770..UTF8: New file.
60737 * iconvdata/testdata/CP771: New file.
60738 * iconvdata/testdata/CP771..UTF8: New file.
60739 * iconvdata/testdata/CP772: New file.
60740 * iconvdata/testdata/CP772..UTF8: New file.
60741 * iconvdata/testdata/CP773: New file.
60742 * iconvdata/testdata/CP773..UTF8: New file.
60743 * iconvdata/testdata/CP774: New file.
60744 * iconvdata/testdata/CP774..UTF8: New file.
60746 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60748 * iconvdata/gen-8bit-gap.sh: Likewise.
60749 * iconvdata/gen-8bit.sh: Likewise.
60751 * locale/iso-639.def: Add ary entry.
60754 * locale/C-translit.h.in: Add U20A1 transliteration.
60757 * locale/iso-639.def: Add wae entry.
60758 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60761 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60765 * locale/C-translit.h.in: Add entry for U20B9.
60766 Patch by pravin.d.s@gmail.com.
60768 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60771 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60772 ENAMETOOLONG use generic getcwd.
60773 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60774 in rtld. Use *stat64.
60775 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60776 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60777 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60778 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60779 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60780 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60781 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60782 __fstatat64 macros.
60783 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60784 * dirent/rewinddir.c: Add libc_hidden_def.
60785 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60786 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60788 * include/dirent.h (__alloc_dir): Add flags parameter.
60789 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60790 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60792 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60793 from fdopendir if O_CLOEXEC is already set.
60795 2011-03-15 Alan Modra <amodra@gmail.com>
60797 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60798 l_tls_firstbyte_offset non-zero. Save padding offset in
60799 l_tls_firstbyte_offset for later use.
60800 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60801 freeing static tls block.
60803 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60805 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60806 where #ifdef was intended. The intent is to prevent ARG_MAX from
60807 being defined by the kernel headers.
60809 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60812 * resolv/resolv.h: Define RES_NOTLDQUERY.
60813 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60814 no-tld-query and set RES_NOTLDQUERY.
60815 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60816 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60817 modern BIND to search name as TLD unless forbidden.
60819 2011-05-07 Petr Baudis <pasky@suse.cz>
60820 Ulrich Drepper <drepper@gmail.com>
60823 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60824 (is_trusted_path): ...to here.
60825 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60826 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60827 using is_trusted_path_normalize() in setuid scripts.
60829 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60831 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60832 __BEGIN/__END_DECLS.
60834 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60837 NSS_STATUS_NOTFOUND if no record was found.
60839 2011-05-05 Andreas Schwab <schwab@redhat.com>
60841 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60842 (headers-not-in-tirpc): Remove rpc/netdb.h
60843 * resolv/netdb.h: Revert last change.
60845 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60847 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60848 circular dependency between libgcc.a and libc.a.
60850 2011-05-05 Andreas Schwab <schwab@redhat.com>
60852 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60853 * nis/Makefile: Don't install rpcsvc/*.
60854 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60855 instead of <rpc/types.h>.
60856 (MAXHOSTNAMELEN): Define.
60858 2011-05-03 Andreas Schwab <schwab@redhat.com>
60860 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60862 2011-04-28 Maciej Babinski <mbabinski@google.com>
60865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60866 gethostbyname4_r when IPv6 results are possible.
60868 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60871 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60872 _PC_PIPE_BUF handling.
60874 2011-04-30 Bruno Haible <bruno@clisp.org>
60877 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60878 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60880 * inet/getnameinfo.c (getnameinfo): Likewise.
60882 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60884 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60885 to groups setting in database lookup.
60886 * nss/nsswitch.conf: Add initgroups entry.
60888 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60891 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60893 Patch by Eric Blake <eblake@redhat.com>.
60895 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60897 * sunrpc/Makefile (need-export-routines): Add svc_run.
60898 (routines): Remove svc_run.
60899 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60900 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60901 * sunrpc/svc_run.c (svc_run): Likewise.
60902 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60904 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60907 problem in reallocation in last patch.
60909 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60911 * sunrpc/Makefile: Move inclusion of Rules.
60913 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60915 * nss/nss_files/files-initgroups.c: New file.
60916 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60917 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60918 _nss_files_initgroups_dyn.
60920 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60922 * elf/elf.h (R_ARM_IRELATIVE): Define.
60924 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60926 * po/ru.po: Update from translation team.
60928 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60930 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60933 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60936 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60937 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60938 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60942 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60944 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60946 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60950 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60953 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60955 * stdlib/bug-getcontext.c: New file.
60956 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60958 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60960 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60961 instructions into .machine "z9-109".
60962 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60963 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60965 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60967 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60968 between environment variables and auxiliary vector.
60970 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60972 * Makefile: Add rules to build linkobj/libc.so.
60973 * include/libc-symbols.h: Define libc_hidden_nolink.
60974 * include/rpc/auth.h: Mark functions which are to be hidden.
60975 * include/rpc/auth_des.h: Likewise.
60976 * include/rpc/auth_unix.h: Likewise.
60977 * include/rpc/clnt.h: Likewise.
60978 * include/rpc/des_crypt.h: Likewise.
60979 * include/rpc/key_prot.h: Likewise.
60980 * include/rpc/pmap_clnt.h: Likewise.
60981 * include/rpc/pmap_prot.h: Likewise.
60982 * include/rpc/pmap_rmt.h: Likewise.
60983 * include/rpc/rpc_msg.h: Likewise.
60984 * include/rpc/svc.h: Likewise.
60985 * include/rpc/svc_auth.h: Likewise.
60986 * include/rpc/xdr.h: Likewise.
60987 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60988 * nss/Makefile: Likewise.
60989 * sunrpc/Makefile: Don't install headers. Build library with normal
60990 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60991 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60992 for the compat linking library. Remove use of INTDEF/INTUSE.
60993 * sunrpc/auth_none.c: Likewise.
60994 * sunrpc/auth_unix.c: Likewise.
60995 * sunrpc/authdes_prot.c: Likewise.
60996 * sunrpc/authuxprot.c: Likewise.
60997 * sunrpc/clnt_gen.c: Likewise.
60998 * sunrpc/clnt_perr.c: Likewise.
60999 * sunrpc/clnt_raw.c: Likewise.
61000 * sunrpc/clnt_simp.c: Likewise.
61001 * sunrpc/clnt_tcp.c: Likewise.
61002 * sunrpc/clnt_udp.c: Likewise.
61003 * sunrpc/clnt_unix.c: Likewise.
61004 * sunrpc/des_crypt.c: Likewise.
61005 * sunrpc/des_soft.c: Likewise.
61006 * sunrpc/get_myaddr.c: Likewise.
61007 * sunrpc/key_call.c: Likewise.
61008 * sunrpc/key_prot.c: Likewise.
61009 * sunrpc/netname.c: Likewise.
61010 * sunrpc/pm_getmaps.c: Likewise.
61011 * sunrpc/pm_getport.c: Likewise.
61012 * sunrpc/pmap_clnt.c: Likewise.
61013 * sunrpc/pmap_prot.c: Likewise.
61014 * sunrpc/pmap_prot2.c: Likewise.
61015 * sunrpc/pmap_rmt.c: Likewise.
61016 * sunrpc/publickey.c: Likewise.
61017 * sunrpc/rpc_cmsg.c: Likewise.
61018 * sunrpc/rpc_common.c: Likewise.
61019 * sunrpc/rpc_dtable.c: Likewise.
61020 * sunrpc/rpc_prot.c: Likewise.
61021 * sunrpc/rpc_thread.c: Likewise.
61022 * sunrpc/rtime.c: Likewise.
61023 * sunrpc/svc.c: Likewise.
61024 * sunrpc/svc_auth.c: Likewise.
61025 * sunrpc/svc_authux.c: Likewise.
61026 * sunrpc/svc_raw.c: Likewise.
61027 * sunrpc/svc_run.c: Likewise.
61028 * sunrpc/svc_simple.c: Likewise.
61029 * sunrpc/svc_tcp.c: Likewise.
61030 * sunrpc/svc_udp.c: Likewise.
61031 * sunrpc/svc_unix.c: Likewise.
61032 * sunrpc/svcauth_des.c: Likewise.
61033 * sunrpc/xcrypt.c: Likewise.
61034 * sunrpc/xdr.c: Likewise.
61035 * sunrpc/xdr_array.c: Likewise.
61036 * sunrpc/xdr_float.c: Likewise.
61037 * sunrpc/xdr_intXX_t.c: Likewise.
61038 * sunrpc/xdr_mem.c: Likewise.
61039 * sunrpc/xdr_rec.c: Likewise.
61040 * sunrpc/xdr_ref.c: Likewise.
61041 * sunrpc/xdr_sizeof.c: Likewise.
61042 * sunrpc/xdr_stdio.c: Likewise.
61044 2011-04-10 Ulrich Drepper <drepper@gmail.com>
61047 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61048 * sysdeps/ia64/dl-tls.h: Likewise.
61049 * sysdeps/powerpc/dl-tls.h: Likewise.
61050 * sysdeps/s390/dl-tls.h: Likewise.
61051 * sysdeps/sh/dl-tls.h: Likewise.
61052 * sysdeps/sparc/dl-tls.h: Likewise.
61053 * sysdeps/x86_64/dl-tls.h: Likewise.
61054 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61056 2011-03-14 Andreas Schwab <schwab@redhat.com>
61058 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61059 rpath element also skip the following colon.
61060 (expand_dynamic_string_token): Add is_path parameter and pass
61061 down to DL_DST_REQUIRED and _dl_dst_substitute.
61062 (decompose_rpath): Call expand_dynamic_string_token with
61063 non-zero is_path. Ignore empty rpaths.
61064 (_dl_map_object_from_fd): Call expand_dynamic_string_token
61067 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
61069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61072 2011-04-09 Ulrich Drepper <drepper@gmail.com>
61075 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61076 Patch by Filipe David Manana <fdmanana@apache.org>.
61078 2011-04-07 Andreas Schwab <schwab@redhat.com>
61080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61081 Maintain aligned stack.
61082 (CHECK_RSP): Remove unused macro.
61084 2011-04-03 Ulrich Drepper <drepper@gmail.com>
61086 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61087 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61089 2011-04-02 Ulrich Drepper <drepper@gmail.com>
61091 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61093 * include/features.h: Mention __USE_XOPEN2K8 in comment.
61095 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
61098 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61099 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61100 * sysdeps/x86_64/memmove.c: New file.
61101 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61102 (memcpy): Renamed to ...
61103 (__new_memcpy): This.
61104 (memcpy): Provide GLIBC_2_14 memcpy.
61105 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61106 (memcpy): Provide GLIBC_2_2_5 memcpy.
61108 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61111 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61113 2011-03-30 Andreas Schwab <schwab@redhat.com>
61115 * misc/syncfs.c: New file.
61116 * misc/Makefile (routines): Add syncfs.
61117 * posix/unistd.h: Declare syncfs.
61118 * sysdeps/unix/syscalls.list: Add syncfs.
61120 2011-04-01 Andreas Schwab <schwab@redhat.com>
61122 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61129 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61132 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61135 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61142 * io/Makefile: Compile fallocate.c, fallocate64.c, and
61143 sync_file_range.c with -fexceptions.
61144 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61145 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61146 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61147 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61148 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61149 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61151 sync_file_range as cancellation point
61152 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
61153 now a wrapper around __call_sync_file_range with cancellation handling.
61154 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61155 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
61156 function name to __call_sync_file_range.
61157 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61158 Add call_sync_file_range.
61160 2011-04-01 Andreas Schwab <schwab@redhat.com>
61162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61165 2011-04-01 Ulrich Drepper <drepper@gmail.com>
61167 * iconv/iconv.h: Fix typo in comment.
61168 * io/fcntl.h: Likewise.
61169 * libio/stdio.h: Likewise.
61170 * posix/spawn.h: Likewise.
61171 * posix/unistd.h: Likewise.
61172 * stdlib/stdlib.h: Likewise.
61173 * time/time.h: Likewise.
61174 * wcsmbs/wchar.h: Likewise.
61176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61177 open_by_handle): Add.
61178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61179 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
61180 Augment a few comments.
61181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61186 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61189 * io/fcntl.h (AT_EMPTY_PATH): Define.
61191 2011-03-30 Ulrich Drepper <drepper@gmail.com>
61193 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61194 * sysdeps/unix/sysv/linux/bits/time.h: New file.
61195 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61197 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
61198 * Versions.def: Add GLIBC_2.14.
61199 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61202 2011-03-22 Ulrich Drepper <drepper@gmail.com>
61204 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61206 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61208 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
61211 * string/test-strncmp.c (do_page_test): New function.
61212 (check2): Likewise.
61213 (test_main): Call check2.
61214 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61216 2011-03-20 Ulrich Drepper <drepper@gmail.com>
61219 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61220 Handle cache information in CPU leaf 4.
61221 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61223 2011-03-18 Ulrich Drepper <drepper@gmail.com>
61226 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61227 character representation.
61228 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61230 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
61232 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61233 END(__isnan) to END(__isnanf) to match function entry point/label
61234 EALIGN(__isnanf,...).
61236 2011-03-10 Jakub Jelinek <jakub@redhat.com>
61238 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61240 2011-03-10 Ulrich Drepper <drepper@gmail.com>
61243 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61244 copy from the symbol referenced in the relocation to initialize the
61246 Patch by Piotr Bury <pbury@goahead.com>.
61247 * elf/Makefile: Add rules to build and tst-unique3.
61248 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61249 * elf/tst-unique3.cc: New file.
61250 * elf/tst-unique3.h: New file.
61251 * elf/tst-unique3lib.cc: New file.
61252 * elf/tst-unique3lib2.cc: New file.
61254 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61256 2011-03-10 Mike Frysinger <vapier@gentoo.org>
61258 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61259 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
61262 2011-03-06 Ulrich Drepper <drepper@gmail.com>
61264 * elf/dl-load.c (_dl_map_object): If we are looking for the first
61265 to-be-loaded object along a path to loader is ld.so.
61267 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61268 Ulrich Drepper <drepper@gmail.com>
61270 * sysdeps/x86_64/memset.S: After aligning destination, code
61271 branches to different locations depending on the value of
61272 misalignment, when multiarch is enabled. Fix this.
61274 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
61276 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61277 Set _x86_64_preferred_memory_instruction for AMD processsors.
61278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61279 Set bit_Prefer_SSE_for_memop for AMD processors.
61281 2011-03-04 Ulrich Drepper <drepper@gmail.com>
61283 * libio/fmemopen.c (fmemopen): Optimize a bit.
61285 2011-03-03 Andreas Schwab <schwab@redhat.com>
61287 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61289 2011-03-03 Roland McGrath <roland@redhat.com>
61291 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61293 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
61295 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61296 __bzero_ultra1 instead of __memset_ultra1.
61298 2011-02-23 Andreas Schwab <schwab@redhat.com>
61299 Ulrich Drepper <drepper@gmail.com>
61302 * include/link.h (struct link_map): Add l_orig_initfini.
61303 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61304 returning unsuccessfully.
61305 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61306 close of a file loaded at startup, restore the original l_initfini
61308 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61309 list, store the pointer.
61310 * elf/Makefile ($(objpfx)noload-mem): New rule.
61311 (noload-ENV): Define.
61312 (tests): Add $(objpfx)noload-mem.
61313 * elf/noload.c: Include <memcheck.h>.
61314 (main): Call mtrace. Close all opened handles.
61316 2011-02-17 Andreas Schwab <schwab@redhat.com>
61319 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61320 dependencies are missing.
61322 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
61324 Fix __if_freereq crash: Unlike the generic version which uses free,
61326 * sysdeps/mach/hurd/ifreq.h: New file.
61328 2011-01-27 Petr Baudis <pasky@suse.cz>
61329 Ulrich Drepper <drepper@gmail.com>
61332 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61333 to extend_alloca().
61334 * stdio-common/bug23.c: New file.
61335 * stdio-common/Makefile (tests): Add bug23.
61337 2010-09-28 Andreas Schwab <schwab@redhat.com>
61338 Ulrich Drepper <drepper@gmail.com>
61341 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61342 before performing relro protection. At old place add assertion
61343 to make sure nothing changed.
61345 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
61346 Glauber de Oliveira Costa <glommer@gmail.com>
61348 * elf/elf.h: Add new ARM TLS relocs.
61350 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
61352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61353 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61355 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
61357 * sysdeps/wordsize-64/tst-writev.c: New file.
61359 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
61361 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61362 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61363 insns in _dl_start to prevent a TOC reference before relocs are
61366 2011-02-15 Ulrich Drepper <drepper@gmail.com>
61369 * Makeconfig: Remove RANLIB definition.
61370 * Makerules: Don't use RANLIB.
61371 * aclocal.m4: Remove ranlib test.
61372 * configure.in: No need to check for ranlib.
61373 * elf/rtld-Rules: Don't use RANLIB.
61375 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
61377 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61379 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61380 inclusion protection macro.
61382 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61383 SIGRTMIN and SIGRTMAX and print information in that case only when
61384 SIGRTMIN is defined.
61386 2011-02-11 Jakub Jelinek <jakub@redhat.com>
61388 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61389 arginfo fn returning -1.
61391 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61392 and thousands string is zero terminated.
61394 2011-02-03 Andreas Schwab <schwab@redhat.com>
61396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61397 sysdeps/unix/sysv/linux/bits/socket.h.
61399 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
61401 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61402 (__CPU_COUNT): Remove old macros.
61403 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61404 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61405 (__CPU_ALLOC, __CPU_FREE): Add macros.
61406 (__sched_cpualloc, __sched_cpufree): Add declarations.
61408 2011-02-05 Ulrich Drepper <drepper@gmail.com>
61410 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61411 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61412 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61413 (readdhstai): Return value of addhstaiX call.
61414 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61415 (addgrbyX): Return value returned by cache_addgr.
61416 (readdgrbyname): Return value returned by addgrbyX.
61417 (readdgrbygid): Likewise.
61418 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61419 (addpwbyX): Return value returned by cache_addpw.
61420 (readdpwbyname): Return value returned by addhstbyX.
61421 (readdpwbyuid): Likewise.
61422 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61423 (addservbyX): Return value returned by cache_addserv.
61424 (readdservbyname): Return value returned by addservbyX:
61425 (readdservbyport): Likewise.
61426 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61427 (addhstbyX): Return value returned by cache_addhst.
61428 (readdhstbyname): Return value returned by addhstbyX.
61429 (readdhstbyaddr): Likewise.
61430 (readdhstbynamev6): Likewise.
61431 (readdhstbyaddrv6): Likewise.
61432 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61433 (readdinitgroups): Return value returned by addinitgroupsX.
61434 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61435 (prune_cache): Keep track of timeout value of re-added entries.
61436 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61437 * nscd/nscd.h: Adjust prototypes of readd* functions.
61439 2011-02-04 Roland McGrath <roland@redhat.com>
61441 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61442 (nis_stats): Likewise.
61443 * nis/nis_modify.c (nis_modify): Likewise.
61444 * nis/nis_remove.c (nis_remove): Likewise.
61445 * nis/nis_add.c (nis_add): Likewise.
61447 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61449 * posix/fnmatch_loop.c: Add some consts.
61451 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61453 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61456 * config.make.in (config-cflags-novzeroupper): Define.
61457 * configure.in: Substitute libc_cv_cc_novzeroupper.
61458 * elf/Makefile (AVX-CFLAGS): Define.
61459 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61460 (CFLAGS-tst-auditmod4a.c): Likewise.
61461 (CFLAGS-tst-auditmod4b.c): Likewise.
61462 (CFLAGS-tst-auditmod6b.c): Likewise.
61463 (CFLAGS-tst-auditmod6c.c): Likewise.
61464 (CFLAGS-tst-auditmod7b.c): Likewise.
61465 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61467 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61469 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61470 function to the callback.
61471 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61473 2011-02-02 Andreas Schwab <schwab@redhat.com>
61475 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61478 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61481 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61483 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61485 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61488 * elf/Makefile: Add rules to build and run new test.
61489 * elf/tst-initorder.c: New file.
61490 * elf/tst-initorder.exp: New file.
61491 * elf/tst-initordera1.c: New file.
61492 * elf/tst-initordera2.c: New file.
61493 * elf/tst-initordera3.c: New file.
61494 * elf/tst-initordera4.c: New file.
61495 * elf/tst-initorderb1.c: New file.
61496 * elf/tst-initorderb2.c: New file.
61497 * elf/tst-order-a1.c: New file.
61498 * elf/tst-order-a2.c: New file.
61499 * elf/tst-order-a3.c: New file.
61500 * elf/tst-order-a4.c: New file.
61501 * elf/tst-order-b1.c: New file.
61502 * elf/tst-order-b2.c: New file.
61503 * elf/tst-order-main.c: New file.
61504 New test case by George Gensure <werkt0@gmail.com>.
61506 2010-10-01 Andreas Schwab <schwab@redhat.com>
61508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61509 decoding ACE if AI_CANONIDN.
61511 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61513 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61515 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61517 * version.h (RELEASE): Bump for 2.13 release.
61518 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61520 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61524 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61527 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61531 * posix/getconf.c: Update copyright year.
61532 * catgets/gencat.c: Likewise.
61533 * csu/version.c: Likewise.
61534 * debug/catchsegv.sh: Likewise.
61535 * debug/xtrace.sh: Likewise.
61536 * elf/ldconfig.c: Likewise.
61537 * elf/ldd.bash.in: Likewise.
61538 * elf/sprof.c (print_version): Likewise.
61539 * iconv/iconv_prog.c: Likewise.
61540 * iconv/iconvconfig.c: Likewise.
61541 * locale/programs/locale.c: Likewise.
61542 * locale/programs/localedef.c: Likewise.
61543 * malloc/memusage.sh: Likewise.
61544 * malloc/mtrace.pl: Likewise.
61545 * nscd/nscd.c (print_version): Likewise.
61546 * nss/getent.c: Likewise.
61548 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61549 PF_CAIF, and PF_ALG.
61550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61552 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61554 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61555 (modules-names): Use them.
61556 (ifunc-test-modules, ifunc-pie-tests): Define.
61557 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61558 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61559 (test-extras): Likewise.
61560 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61561 $(compile-command.c).
61562 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61563 (all-built-dso): Define.
61564 (check-textrel.out, check-execstack.out): Depend on it.
61566 * configure.in: Don't override --enable-multi-arch.
61568 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61571 * nscd/hstcache.c (tryagain): Define.
61572 (cache_addhst): Return tryagain not notfound for temporary errors.
61573 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61576 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61579 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61580 to make the syscall.
61581 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61584 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61585 and fall back to matching as normal character if the string ends before
61586 the matching ']' is found. This is what POSIX requires.
61587 * posix/testfnm.c: Adjust test result.
61588 * posix/globtest.sh: Adjust test result. Add new test.
61589 * posix/tst-fnmatch.input: Likewise.
61590 * posix/tst-fnmatch2.c: Add new test.
61592 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61594 * elf/Makefile (check-execstack): Revert last change. Depend on
61596 (check-execstack.h): New target.
61597 (generated): Add check-execstack.h.
61598 * elf/check-execstack.c: Include "check-execstack.h".
61599 (main): Revert last change.
61600 (handle_file): Return zero if GNU_STACK is absent and
61601 DEFAULT_STACK_PERMS doesn't include PF_X.
61603 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61605 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61606 in child fails because the descriptor is already closed.
61607 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61608 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61609 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61612 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61616 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61617 temporary buffer used to handle multi lookups locally.
61618 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61620 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61622 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61625 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61627 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61628 alignment for SSE2.
61630 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61633 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61634 characters. When rounding increased number of integer digits recompute
61636 * stdio-common/tst-grouping.c: New file.
61637 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61639 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61641 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61642 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61644 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61646 * bits/select.h: Likewise.
61648 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61650 * po/ja.po: Update from translation team.
61652 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61655 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61656 implementation just like for lxstat, fxstatat, et al.
61658 2010-12-27 Jim Meyering <meyering@redhat.com>
61661 * posix/regexec.c (build_trtable): Return failure indication upon
61662 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61664 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61667 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61668 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61669 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61673 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61676 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61677 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61679 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61681 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61682 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61683 script has SORT_BY_INIT_PRIORITY.
61684 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61685 NO_CTORS_DTORS_SECTIONS is defined.
61686 * elf/soinit.c: Likewise.
61687 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61688 NO_CTORS_DTORS_SECTIONS is defined.
61689 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61690 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61691 * sysdeps/sh/init-first.c: Likewise.
61692 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61694 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61696 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61697 always use the slow path.
61699 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61701 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61702 similar rule which adds the sysdep directories to the header search in
61703 order to pick up the correct platform stackinfo.h.
61704 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61705 perform test if it is, otherwise return successfully without testing.
61706 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61707 DEFAULT_STACK_PERMS define in stackinfo.h.
61708 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61709 defined in stackinfo.h.
61710 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61711 DEFAULT_STACK_PERMS defined in stackinfo.h.
61712 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61713 * sysdeps/ia64/stackinfo.h: Likewise.
61714 * sysdeps/s390/stackinfo.h: Likewise.
61715 * sysdeps/sh/stackinfo.h: Likewise.
61716 * sysdeps/sparc/stackinfo.h: Likewise.
61717 * sysdeps/x86_64/stackinfo.h: Likewise.
61718 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61719 PF_X for powerpc64. Retain PF_X for powerpc32.
61721 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61723 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61725 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61726 GETDENTS_64BIT_ALIGNED.
61728 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61730 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61732 2010-12-10 Andreas Schwab <schwab@redhat.com>
61734 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61737 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61738 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61740 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61741 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61743 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61746 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61749 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61751 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61753 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61755 * po/it.po: Update from translation team.
61757 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61762 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61764 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61766 2010-11-24 Andreas Schwab <schwab@redhat.com>
61768 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61770 (gaih_getanswer_slice): Likewise.
61772 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61776 2010-05-31 Petr Baudis <pasky@suse.cz>
61779 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61780 silently even in the chroot mode.
61782 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61784 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61785 last patch a bit. Pretty printing
61787 2010-05-31 Petr Baudis <pasky@suse.cz>
61790 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61791 initialization of skip_initgroups_dyn.
61793 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61795 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61798 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61800 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61802 2010-11-11 Andreas Schwab <schwab@redhat.com>
61804 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61805 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61806 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61807 ($(objpfx)tst-fnmatch-mem): New rule.
61808 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61809 * posix/tst-fnmatch.c (main): Call mtrace.
61811 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61814 Support Intel processor model 6 and model 0x2c.
61816 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61821 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61824 * string/test-strncasecmp.c (check_result): New function.
61825 (do_one_test): Use it.
61826 (check1): New function.
61827 (test_main): Use it.
61828 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61829 Support strcasecmp and strncasecmp.
61831 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61834 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61835 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61837 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61839 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61843 * sysdeps/x86_64/multiarch/bzero.S: New file.
61844 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61845 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61846 * sysdeps/x86_64/multiarch/memset.S: New file.
61847 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61849 Set bit_Prefer_SSE_for_memop for Intel processors.
61850 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61852 (index_Prefer_SSE_for_memop): Define.
61853 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61855 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61857 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61858 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61860 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61863 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61864 (__x86_64_raw_data_cache_size_half): Likewise.
61865 (__x86_64_raw_shared_cache_size): Likewise.
61866 (__x86_64_raw_shared_cache_size_half): Likewise.
61868 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61869 (__x86_64_raw_data_cache_size_half): Likewise.
61870 (__x86_64_raw_shared_cache_size): Likewise.
61871 (__x86_64_raw_shared_cache_size_half): Likewise.
61872 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61873 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61874 and __x86_64_raw_shared_cache_size_half. Round
61875 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61876 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61877 to multiple of 256 bytes.
61879 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61882 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61883 of inacessible symlinks. Verify result of symlink before returning it.
61884 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61885 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61887 2010-10-28 Erich Ritz <erichritz@gmail.com>
61889 * math/math.h (isinf): Fix typo in comment.
61891 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61893 * po/da.po: Update from translation team.
61895 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61897 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61898 is added to the list.
61900 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61901 Ulrich Drepper <drepper@gmail.com>
61903 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61904 the global list here. Move code to...
61905 (_dl_add_to_namespace_list): ...here. New function.
61906 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61907 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61908 * elf/dl-load.c (lose): Don't remove the element from the list.
61909 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61910 (_dl_map_object): Likewise.
61912 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61915 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61916 into all bytes of SSE register.
61917 Patch by Richard Li <richardpku@gmail.com>.
61919 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61922 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61925 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61927 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61928 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61929 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61935 2010-10-22 Andreas Schwab <schwab@redhat.com>
61937 * include/dlfcn.h (__RTLD_SECURE): Define.
61938 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61939 mode & __RTLD_SECURE instead.
61940 (open_path): Rename preloaded parameter to secure.
61941 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61942 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61943 * elf/dl-deps.c (openaux): Likewise.
61944 * elf/rtld.c (struct map_args): Remove is_preloaded.
61945 (map_doit): Don't use it.
61946 (dl_main): Likewise.
61947 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61948 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61950 2010-09-09 Andreas Schwab <schwab@redhat.com>
61952 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61953 (sysd-rules-targets): Remove duplicates.
61954 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61955 rtld-%.$o dependency.
61957 2010-10-18 Andreas Schwab <schwab@redhat.com>
61959 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61960 _dl_map_object do it.
61962 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61964 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61965 fast fma builtins, define the macros in the C99 standard.
61966 (FP_FAST_FMAF): Likewise.
61967 (FP_FAST_FMAL): Likewise.
61968 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61970 * bits/mathdef.h: Update copyright year.
61971 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61973 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61975 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61976 builtins, define the macros in the C99 standard.
61977 (FP_FAST_FMAF): Likewise.
61978 (FP_FAST_FMAL): Likewise.
61979 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61981 (FP_FAST_FMAF): Likewise.
61983 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61986 * math/libm-test.inc (fma_test): Some new testcases.
61987 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61989 y and infinite z. Do multiplication by C already in long double.
61990 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61992 y and infinite z. Do bitwise or of inexact bit into u.d.
61993 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61994 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61995 * sysdeps/i386/fpu/s_fma.S: Removed.
61996 * sysdeps/i386/fpu/s_fmal.S: Removed.
61998 2010-10-16 Jakub Jelinek <jakub@redhat.com>
62001 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62003 computation is not scheduled after fetestexcept. Fix value
62004 of minimum denormal long double.
62006 2010-10-14 Jakub Jelinek <jakub@redhat.com>
62009 * math/libm-test.inc (fma_test): Add some more tests.
62010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62013 2010-10-15 Andreas Schwab <schwab@redhat.com>
62015 * scripts/data/localplt-s390-linux-gnu.data: New file.
62016 * scripts/data/localplt-s390x-linux-gnu.data: New file.
62018 2010-10-13 Jakub Jelinek <jakub@redhat.com>
62021 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62022 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62024 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62026 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62028 if one of x and y is very large and the other is subnormal.
62029 * sysdeps/s390/fpu/s_fmaf.c: New file.
62030 * sysdeps/s390/fpu/s_fma.c: New file.
62031 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62032 * sysdeps/powerpc/fpu/s_fma.S: New file.
62033 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62034 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62035 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62037 2010-10-12 Jakub Jelinek <jakub@redhat.com>
62040 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62043 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62044 * sysdeps/i386/i686/multiarch/s_fma.c: Include
62045 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62046 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62047 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62048 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62050 2010-10-12 Ulrich Drepper <drepper@redhat.com>
62053 * posix/regcomp.c (parse_branch): One more memory leak plugged.
62054 * posix/bug-regex31.input: Add test case.
62056 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62058 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62059 * posix/bug-regex31.input: New file.
62062 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62063 (parse_sub_exp): Fix last change, use postorder.
62065 * posix/bug-regex31.c: New file.
62066 * posix/Makefile: Add rules to build and run bug-regex31.
62068 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62071 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62074 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62075 to have entries in sys_siglist.
62078 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62081 2010-10-07 Jakub Jelinek <jakub@redhat.com>
62084 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62085 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62086 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62087 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62088 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62089 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62090 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62091 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62092 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62093 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62094 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62095 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62096 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62097 * math/ftestexcept.c (fetestexcept): Likewise.
62098 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62099 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62100 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62101 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62102 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62103 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62104 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62106 2010-10-11 Ulrich Drepper <drepper@gmail.com>
62109 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62112 2010-10-06 Ulrich Drepper <drepper@gmail.com>
62114 * string/bug-strstr1.c: New file.
62115 * string/Makefile: Add rules to build and run bug-strstr1.
62117 2010-10-05 Eric Blake <eblake@redhat.com>
62120 * string/str-two-way.h (two_way_long_needle): Always clear memory
62121 when skipping input due to the shift table.
62123 2010-10-03 Ulrich Drepper <drepper@gmail.com>
62126 * malloc/mcheck.c: Handle large requests.
62129 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62130 for strncmp and strncasecmp.
62131 * string/stratcliff.c: Add tests for strcmp and strncmp.
62132 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62134 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
62136 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62139 2010-09-30 Andreas Jaeger <aj@suse.de>
62141 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62142 (CGROUP_SUPER_MAGIC): Define.
62143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62144 Handle btrfs and cgroup file systems.
62145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62148 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
62150 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62151 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62153 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62156 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62157 trying to locate the ELF header.
62159 2010-09-27 Andreas Schwab <schwab@redhat.com>
62162 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62163 Mask out sign-bit copies when constructing f_fsid.
62165 2010-09-24 Petr Baudis <pasky@suse.cz>
62167 * debug/stack_chk_fail_local.c: Add missing licence exception.
62168 * debug/warning-nop.c: Likewise.
62170 2010-09-15 Joseph Myers <joseph@codesourcery.com>
62172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62173 implementing getdents64 using getdents syscall, set d_type if
62174 __ASSUME_GETDENTS32_D_TYPE.
62176 2010-09-16 Andreas Schwab <schwab@redhat.com>
62178 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62179 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62181 2010-09-21 Ulrich Drepper <drepper@redhat.com>
62184 * posix/unistd.h: Undo change of feature selection for ftruncate from
62187 2010-09-20 Ulrich Drepper <drepper@redhat.com>
62189 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62192 2010-09-20 Andreas Schwab <schwab@redhat.com>
62194 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62198 2010-09-14 Andreas Schwab <schwab@redhat.com>
62200 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62201 variables after CHECK_SP call.
62202 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62204 2010-09-13 Andreas Schwab <schwab@redhat.com>
62205 Ulrich Drepper <drepper@redhat.com>
62207 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62208 re-relocationg ld.so.
62209 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62210 _dl_init_paths call.
62211 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
62214 2010-09-14 Ulrich Drepper <drepper@redhat.com>
62216 * resolv/res_init.c (__res_vinit): Count the default server we added.
62218 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
62219 Ulrich Drepper <drepper@redhat.com>
62222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62223 (____longjmp_chk): Use %ebx for saving value across system call.
62226 2010-09-06 Andreas Schwab <schwab@redhat.com>
62228 * manual/Makefile: Don't mix pattern rules with normal rules.
62230 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
62232 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62234 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62235 * libio/iofopncook.c (_IO_cookie_init): Likewise.
62236 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62237 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62241 2010-09-04 Ulrich Drepper <drepper@redhat.com>
62244 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62245 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62247 2010-09-02 Ulrich Drepper <drepper@redhat.com>
62249 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62250 * sysdeps/x86_64/addmul_1.S: Likewise.
62251 * sysdeps/x86_64/lshift.S: Likewise.
62252 * sysdeps/x86_64/mul_1.S: Likewise.
62253 * sysdeps/x86_64/rshift.S: Likewise.
62254 * sysdeps/x86_64/sub_n.S: Likewise.
62255 * sysdeps/x86_64/submul_1.S: Likewise.
62257 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
62259 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62260 Define __sched_param instead of SCHED_* and sched_param when
62261 <bits/sched.h> is included with __need_schedparam defined.
62262 * bits/sched.h [__need_schedparam]
62263 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62264 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62265 (__defined_schedparam): Define to 1.
62266 (__sched_param): New structure, identical to sched_param.
62267 (__need_schedparam): Undefine.
62269 2010-08-31 Mike Frysinger <vapier@gentoo.org>
62271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62272 (epoll_create1): Declare.
62274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62276 2010-08-31 Andreas Schwab <schwab@redhat.com>
62279 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62280 shifting retval into place.
62282 2010-09-01 Ulrich Drepper <drepper@redhat.com>
62284 * nis/rpcsvc/nis.h: Update copyright notice.
62285 * nis/rpcsvc/nis.x: Likewise.
62286 * nis/rpcsvc/nis_callback.h: Likewise.
62287 * nis/rpcsvc/nis_callback.x: Likewise.
62288 * nis/rpcsvc/nis_object.x: Likewise.
62289 * nis/rpcsvc/nis_tags.h: Likewise.
62290 * nis/rpcsvc/yp.h: Likewise.
62291 * nis/rpcsvc/yp.x: Likewise.
62292 * nis/rpcsvc/ypupd.h: Likewise.
62293 * nis/yp_xdr.c: Likewise.
62294 * nis/ypupdate_xdr.c: Likewise.
62296 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
62297 mainly the body of pmap_getport. Add parameters to specify timeouts.
62298 (pmap_getport): Use __libc_rpc_getport.
62299 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62300 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62301 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62303 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
62305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62308 2010-08-27 Roland McGrath <roland@redhat.com>
62310 * sysdeps/i386/i686/multiarch/Makefile
62311 (CFLAGS-varshift.c): New variable.
62313 2010-08-27 Ulrich Drepper <drepper@redhat.com>
62315 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62316 * sysdeps/i386/i686/multiarch/varshift.c: New file.
62318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62320 * sysdeps/x86_64/strlen.S: Minimal code improvement.
62322 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
62324 * sysdeps/x86_64/strlen.S: Unroll the loop.
62325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62326 strlen-sse2 strlen-sse2-bsf.
62327 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62328 __strlen_no_bsf if bit_Slow_BSF is set.
62329 (__strlen_sse42): Removed.
62330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62331 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62333 2010-08-25 Roland McGrath <roland@redhat.com>
62335 * sysdeps/x86_64/multiarch/varshift.S: File removed.
62336 * sysdeps/x86_64/multiarch/varshift.c: New file.
62337 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62338 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62339 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62340 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62342 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
62344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62345 strlen-sse2 strlen-sse2-bsf.
62346 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62347 __strlen_sse2_bsf if bit_Slow_BSF is unset.
62348 (__strlen_sse2): Removed.
62349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62352 bit_Slow_BSF for Atom.
62353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62354 (index_Slow_BSF): Define.
62355 (HAS_SLOW_BSF): Define.
62357 2010-08-25 Ulrich Drepper <drepper@redhat.com>
62360 * resolv/res_init.c (__res_vinit): When no server address at all
62361 is given default to loopback.
62363 2010-08-24 Roland McGrath <roland@redhat.com>
62365 * configure.in: Remove config-name.h generation.
62366 * configure: Regenerated.
62367 * config-name.in: File removed.
62368 * scripts/config-uname.sh: New file.
62369 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62370 ($(objdir)config-name.h): New target.
62372 * sunrpc/rpc_parse.h: Avoid nested comment.
62374 2010-08-24 Richard Henderson <rth@redhat.com>
62375 Ulrich Drepper <drepper@redhat.com>
62376 H.J. Lu <hongjiu.lu@intel.com>
62378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62380 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62381 Replace _mm_srli_si128 with __m128i_shift_right. Replace
62382 _mm_alignr_epi8 with _mm_loadu_si128.
62383 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62384 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62385 (__m128i_shift_right): Removed.
62386 * sysdeps/i386/i686/multiarch/varshift.h: New file.
62387 * sysdeps/i386/i686/multiarch/varshift.S: New file.
62388 * sysdeps/x86_64/multiarch/varshift.h: New file.
62389 * sysdeps/x86_64/multiarch/varshift.S: New file.
62391 2010-08-21 Mike Frysinger <vapier@gentoo.org>
62393 * configure.in: Move assembler checks to before sysdep dir checking.
62395 2010-08-20 Petr Baudis <pasky@suse.cz>
62397 * LICENSES: Sync the sunrpc license.
62399 2010-08-19 Ulrich Drepper <drepper@redhat.com>
62401 * sunrpc/auth_des.c: Update copyright notice once again.
62402 * sunrpc/auth_none.c: Likewise.
62403 * sunrpc/auth_unix.c: Likewise.
62404 * sunrpc/authdes_prot.c: Likewise.
62405 * sunrpc/authuxprot.c: Likewise.
62406 * sunrpc/bindrsvprt.c: Likewise.
62407 * sunrpc/clnt_gen.c: Likewise.
62408 * sunrpc/clnt_perr.c: Likewise.
62409 * sunrpc/clnt_raw.c: Likewise.
62410 * sunrpc/clnt_simp.c: Likewise.
62411 * sunrpc/clnt_tcp.c: Likewise.
62412 * sunrpc/clnt_udp.c: Likewise.
62413 * sunrpc/clnt_unix.c: Likewise.
62414 * sunrpc/des_crypt.c: Likewise.
62415 * sunrpc/des_soft.c: Likewise.
62416 * sunrpc/get_myaddr.c: Likewise.
62417 * sunrpc/getrpcport.c: Likewise.
62418 * sunrpc/key_call.c: Likewise.
62419 * sunrpc/key_prot.c: Likewise.
62420 * sunrpc/openchild.c: Likewise.
62421 * sunrpc/pm_getmaps.c: Likewise.
62422 * sunrpc/pm_getport.c: Likewise.
62423 * sunrpc/pmap_clnt.c: Likewise.
62424 * sunrpc/pmap_prot.c: Likewise.
62425 * sunrpc/pmap_prot2.c: Likewise.
62426 * sunrpc/pmap_rmt.c: Likewise.
62427 * sunrpc/rpc/auth.h: Likewise.
62428 * sunrpc/rpc/auth_unix.h: Likewise.
62429 * sunrpc/rpc/clnt.h: Likewise.
62430 * sunrpc/rpc/des_crypt.h: Likewise.
62431 * sunrpc/rpc/key_prot.h: Likewise.
62432 * sunrpc/rpc/netdb.h: Likewise.
62433 * sunrpc/rpc/pmap_clnt.h: Likewise.
62434 * sunrpc/rpc/pmap_prot.h: Likewise.
62435 * sunrpc/rpc/pmap_rmt.h: Likewise.
62436 * sunrpc/rpc/rpc.h: Likewise.
62437 * sunrpc/rpc/rpc_des.h: Likewise.
62438 * sunrpc/rpc/rpc_msg.h: Likewise.
62439 * sunrpc/rpc/svc.h: Likewise.
62440 * sunrpc/rpc/svc_auth.h: Likewise.
62441 * sunrpc/rpc/types.h: Likewise.
62442 * sunrpc/rpc/xdr.h: Likewise.
62443 * sunrpc/rpc_clntout.c: Likewise.
62444 * sunrpc/rpc_cmsg.c: Likewise.
62445 * sunrpc/rpc_common.c: Likewise.
62446 * sunrpc/rpc_cout.c: Likewise.
62447 * sunrpc/rpc_dtable.c: Likewise.
62448 * sunrpc/rpc_hout.c: Likewise.
62449 * sunrpc/rpc_main.c: Likewise.
62450 * sunrpc/rpc_parse.c: Likewise.
62451 * sunrpc/rpc_parse.h: Likewise.
62452 * sunrpc/rpc_prot.c: Likewise.
62453 * sunrpc/rpc_sample.c: Likewise.
62454 * sunrpc/rpc_scan.c: Likewise.
62455 * sunrpc/rpc_scan.h: Likewise.
62456 * sunrpc/rpc_svcout.c: Likewise.
62457 * sunrpc/rpc_tblout.c: Likewise.
62458 * sunrpc/rpc_util.c: Likewise.
62459 * sunrpc/rpc_util.h: Likewise.
62460 * sunrpc/rpcinfo.c: Likewise.
62461 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62462 * sunrpc/rpcsvc/key_prot.x: Likewise.
62463 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62464 * sunrpc/rpcsvc/mount.x: Likewise.
62465 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62466 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62467 * sunrpc/rpcsvc/rex.x: Likewise.
62468 * sunrpc/rpcsvc/rstat.x: Likewise.
62469 * sunrpc/rpcsvc/rusers.x: Likewise.
62470 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62471 * sunrpc/rpcsvc/spray.x: Likewise.
62472 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62473 * sunrpc/rtime.c: Likewise.
62474 * sunrpc/svc.c: Likewise.
62475 * sunrpc/svc_auth.c: Likewise.
62476 * sunrpc/svc_authux.c: Likewise.
62477 * sunrpc/svc_raw.c: Likewise.
62478 * sunrpc/svc_run.c: Likewise.
62479 * sunrpc/svc_simple.c: Likewise.
62480 * sunrpc/svc_tcp.c: Likewise.
62481 * sunrpc/svc_udp.c: Likewise.
62482 * sunrpc/svc_unix.c: Likewise.
62483 * sunrpc/svcauth_des.c: Likewise.
62484 * sunrpc/xcrypt.c: Likewise.
62485 * sunrpc/xdr.c: Likewise.
62486 * sunrpc/xdr_array.c: Likewise.
62487 * sunrpc/xdr_float.c: Likewise.
62488 * sunrpc/xdr_mem.c: Likewise.
62489 * sunrpc/xdr_rec.c: Likewise.
62490 * sunrpc/xdr_ref.c: Likewise.
62491 * sunrpc/xdr_sizeof.c: Likewise.
62492 * sunrpc/xdr_stdio.c: Likewise.
62494 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62497 2010-08-19 Andreas Schwab <schwab@redhat.com>
62499 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62501 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62503 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62504 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62505 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62506 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62507 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62508 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62509 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62510 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62512 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62513 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62514 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62515 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62518 2010-07-26 Anton Blanchard <anton@samba.org>
62520 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62521 * malloc/arena.c (heap_trim): Likewise.
62523 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62525 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62528 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62530 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62532 * sysdeps/i386/elf/Makefile: New file.
62534 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62536 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62537 from fanotify_init.
62538 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62541 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62543 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62545 * sysdeps/multiarch/strcmp.S: Likewise.
62547 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62549 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62550 strncase_l-nonascii.
62551 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62552 Add strncase_l-ssse3.
62553 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62554 * sysdeps/x86_64/strcmp.S: Likewise.
62555 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62556 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62557 * sysdeps/x86_64/strncase.S: New file.
62558 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62559 * sysdeps/x86_64/strncase_l.S: New file.
62560 * string/Makefile (strop-tests): Add strncasecmp.
62561 * string/test-strncasecmp.c: New file.
62563 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62566 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62567 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62569 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62571 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62573 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62575 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62576 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62577 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62579 2010-05-01 Alan Modra <amodra@gmail.com>
62581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62582 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62583 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62584 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62585 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62586 tidying. Don't tail-call __sigjmp_save for static lib.
62587 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62589 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62590 (CALL_MCOUNT): Add eh info, and nop after bl.
62591 (TAIL_CALL_SYSCALL_ERROR): New macro.
62592 (PSEUDO_RET): Use it.
62593 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62594 Correct save location of integer regs and cr.
62595 (_dl_profile_resolve): Correct cr save location. Delete nops
62596 after bl when SHARED. Reduce cfi size a little by better
62597 placement of cfi directives.
62598 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62599 make a stack frame. Instead use parm save area as a temp.
62600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62601 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62603 Don't make a stack frame for parent, use parm save area.
62604 Increase child stack frame to 112 bytes. Don't save unused reg,
62605 and adjust reg usage. Set up cfi on error recovery and
62606 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62608 (__makecontext): Add dummy nop after jump to exit.
62609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62610 Use correct parm save area and cr save, reduce stack frame.
62611 Correct cfi for possible PSEUDO_RET frame setup.
62612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62613 Branch to local label emitted by PSEUDO_RET rather than
62616 2010-08-12 Andreas Schwab <schwab@redhat.com>
62619 * locale/programs/locale.c (print_assignment): New function.
62620 (show_locale_vars): Use it.
62622 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62624 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62626 (struct statfs64): Likewise.
62627 (_STATFS_F_FLAGS): Define.
62628 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62630 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62631 (ST_VALID): Define locally.
62632 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62633 __statvfs_getflags, use the provided value.
62634 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62635 __ASSUME_STATFS_F_FLAGS.
62637 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62639 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62640 Add sys/fanotify.h.
62641 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62642 fanotify_mask for GLIBC_2.13.
62643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62644 fanotify_init and fanotify_mark.
62645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62646 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62650 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62651 prlimit64 for GLIBC_2.13.
62652 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62657 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62658 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62662 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62665 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62666 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62668 * nss/Makefile: Add rules to build and run tst-nss-test1.
62669 * shlib-versions: Add entry for libnss_test1.
62670 * nss/nss_test1.c: New file.
62671 * nss/tst-nss-test1.c: New file.
62673 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62674 (__nss_configure_lookup): Set appropriate entry in
62675 __nss_configure_lookup to true.
62676 * nss/nsswitch.h: Define enum with indeces of databases in
62677 databases and __nss_database_custom arrays. Declare
62678 __nss_database_custom.
62679 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62680 to avoid using nscd when custom rules are installed.
62681 * nss/getXXbyYY_r.c: Likewise.
62682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62684 * nss/nss_files/files-parse.c: Whitespace fixes.
62686 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62689 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62690 * posix/fnmatch_loop.c: Likewise.
62692 2010-07-17 Andi Kleen <ak@linux.intel.com>
62694 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62695 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62696 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62697 * Versions.def [GLIBC_2.13]: Add.
62699 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62701 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62702 Also fail if tpwd after pwuid call is NULL.
62704 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62706 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62707 when converting to ms.
62709 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62711 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62712 EOPNOTSUPP errors with ENOTTY.
62713 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62714 EOPNOTSUPP errors with ENOTTY.
62716 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62719 Add strcasecmp_l-ssse3.
62720 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62722 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62723 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62724 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62726 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62728 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62730 * string/Makefile (strop-tests): Add strcasecmp.
62731 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62732 strcasecmp_l-nonascii.
62733 (gen-as-const-headers): Add locale-defines.sym.
62734 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62735 * sysdeps/x86_64/strcasecmp.S: New file.
62736 * sysdeps/x86_64/strcasecmp_l.S: New file.
62737 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62738 * sysdeps/x86_64/locale-defines.sym: New file.
62739 * string/test-strcasecmp.c: New file.
62741 * string/test-strcasestr.c: Test both ends of the range of characters.
62742 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62744 2010-07-29 Roland McGrath <roland@redhat.com>
62747 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62749 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62751 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62754 2010-07-27 Andreas Schwab <schwab@redhat.com>
62756 * manual/memory.texi (Malloc Tunable Parameters): Document
62759 2010-07-26 Roland McGrath <roland@redhat.com>
62762 * configure.in (-fgnu89-inline check): Set and substitute
62763 gnu89_inline, not libc_cv_gnu89_inline.
62764 * configure: Regenerated.
62765 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62767 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62769 * string/test-strnlen.c: New file.
62770 * string/Makefile (strop-tests): Add strnlen.
62771 * string/tester.c (test_strnlen): Add a few more test cases.
62772 * string/tst-strlen.c: Better error reporting.
62774 * sysdeps/x86_64/strnlen.S: New file.
62776 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62778 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62779 lower-latency instructions.
62781 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62783 * string/test-strcasestr.c: New file.
62784 * string/test-strstr.c: New file.
62785 * string/Makefile (strop-tests): Add strstr and strcasestr.
62786 * string/str-two-way.h: Don't undefine MAX.
62787 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62789 2010-07-21 Andreas Schwab <schwab@redhat.com>
62791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62792 strcasestr-nonascii.
62793 (CFLAGS-strcasestr-nonascii.c): Define.
62794 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62796 Remove unused attribute.
62798 2010-07-20 Roland McGrath <roland@redhat.com>
62800 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62801 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62802 ld.so.cache was broken. With it, there is no way to disable dsocaps
62803 like LD_HWCAP_MASK can disable hwcaps.
62805 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62807 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62809 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62811 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62812 call in strcasestr.
62813 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62814 __strcasestr_sse42_nonascii.
62815 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62816 strcasestr-nonascii.c.
62817 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62819 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62821 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62822 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62824 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62826 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62831 2010-07-06 Andreas Schwab <schwab@redhat.com>
62834 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62837 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62840 _PC_PIPE_BUF using F_GETPIPE_SZ.
62842 2010-07-05 Roland McGrath <roland@redhat.com>
62844 * manual/arith.texi (Rounding Functions): Fix rint description
62845 implicit in round description.
62847 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62849 * elf/Makefile: Fix linking for a few tests to make recent linker
62852 2010-06-30 Andreas Schwab <schwab@redhat.com>
62854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62855 $(common-objpfx)libc_nonshared.a.
62857 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62859 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62860 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62861 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62862 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62863 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62864 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62865 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62866 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62881 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62882 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62883 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62884 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62885 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62886 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62887 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62888 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62889 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62890 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62891 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62892 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62908 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62910 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62911 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62912 * string/memmove.c (memmove): Renamed to ...
62913 (MEMMOVE): ...this. Default to memmove.
62914 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62915 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62918 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62919 mempcpy-ssse3-back memmove-ssse3-back.
62920 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62922 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62923 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62924 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62925 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62926 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62927 * sysdeps/x86_64/multiarch/memmove.c: New file.
62928 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62929 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62930 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62931 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62932 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62935 (index_Fast_Copy_Backward): Define.
62936 (HAS_ARCH_FEATURE): Define.
62937 (HAS_FAST_REP_STRING): Define.
62938 (HAS_FAST_COPY_BACKWARD): Define.
62940 2010-06-21 Andreas Schwab <schwab@redhat.com>
62942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62943 Restore proper fallback handling.
62945 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62948 * posix/group_member.c (__group_member): Correct checking loop.
62950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62951 OOM in getpwuid_r correctly. Return error number when the caller
62952 should return, otherwise -1.
62953 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62954 call returning > 0 value.
62955 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62957 2010-06-07 Andreas Schwab <schwab@redhat.com>
62959 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62960 libc_nonshared.a from targets in modules-names.
62962 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62964 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62967 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62969 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62970 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62974 2010-06-02 Andreas Schwab <schwab@redhat.com>
62976 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62978 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62982 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62987 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62989 2010-06-14 Roland McGrath <roland@redhat.com>
62991 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62993 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62995 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62996 __REDIRECT followed by __THROW.
62997 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62998 * posix/getopt.h (getopt): Likewise.
63000 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
63002 * hurd/lookup-at.c (__file_name_lookup_at): Accept
63003 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
63004 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63006 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63007 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63009 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
63011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63013 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
63016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63017 Properly check family and model.
63019 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
63021 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63023 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
63025 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63027 2010-05-21 Ulrich Drepper <drepper@redhat.com>
63029 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63032 2010-05-19 Andreas Schwab <schwab@redhat.com>
63034 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63037 2010-05-21 Andreas Schwab <schwab@redhat.com>
63039 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63040 and internal_recvmmsg.
63041 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63042 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63043 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63044 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63046 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63047 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63048 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63050 2010-05-20 Andreas Schwab <schwab@redhat.com>
63052 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63054 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
63056 POWER7 optimizations.
63057 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63058 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63060 2010-05-19 Ulrich Drepper <drepper@redhat.com>
63062 * version.h: Update for 2.13 development version.
63064 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
63066 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63067 exceptions. Return 0.
63069 2010-05-07 Roland McGrath <roland@redhat.com>
63071 * elf/ldconfig.c (main): Add a const.
63073 2010-05-06 Ulrich Drepper <drepper@redhat.com>
63075 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63076 (args_options): Add no-idn option.
63077 (ahosts_keys_int): Add idn_flags to ai_flags.
63078 (parse_option): Handle 'i' option to clear idn_flags.
63080 * malloc/malloc.c (_int_free): Possible race in the most recently
63081 added check. Only act on the data if no current modification
63084 See ChangeLog.17 for earlier changes.